Index: base/android/jni_generator/jni_generator_tests.py |
diff --git a/base/android/jni_generator/jni_generator_tests.py b/base/android/jni_generator/jni_generator_tests.py |
index 9bd5ed5d8db6cc2eb521c38c6d63c7b74f227699..2596891a8e56ad483185528d80bd9d0084286738 100755 |
--- a/base/android/jni_generator/jni_generator_tests.py |
+++ b/base/android/jni_generator/jni_generator_tests.py |
@@ -402,6 +402,10 @@ class TestGenerator(unittest.TestCase): |
return |
} |
} |
+ @CalledByNative |
+ public static @Status int updateStatus(@Status int status) { |
+ return getAndUpdateStatus(status); |
+ } |
@CalledByNativeUnchecked |
private void uncheckedCall(int iParam); |
@@ -524,6 +528,17 @@ class TestGenerator(unittest.TestCase): |
unchecked=False, |
), |
CalledByNative( |
+ return_type='int', |
+ system_class=False, |
+ static=True, |
+ name='updateStatus', |
+ method_id_var_name='updateStatus', |
+ java_class_name='', |
+ params=[Param(datatype='int', name='status')], |
+ env_call=('Integer', ''), |
+ unchecked=False, |
+ ), |
+ CalledByNative( |
return_type='void', |
system_class=False, |
static=False, |