Home
last modified time | relevance | path

Searched refs:natives (Results 1 – 25 of 34) sorted by relevance

12

/external/libchrome/base/android/jni_generator/
Djni_registration_generator.py68 natives = jni_generator.ExtractNatives(contents, 'long')
69 if len(natives) == 0:
78 namespace, fully_qualified_class, natives, jni_params, main_dex)
138 def __init__(self, namespace, fully_qualified_class, natives, jni_params, argument
141 self.natives = natives
163 classes = self.helper.GetUniqueClasses(self.natives)
175 for native in self.natives:
225 for native in self.natives:
246 all_classes = self.helper.GetUniqueClasses(self.natives)
273 natives = self._GetRegisterNativesImplString()
[all …]
Djni_generator_tests.py162 natives = jni_generator.ExtractNatives(test_data, 'int')
287 self.assertListEquals(golden_natives, natives)
289 natives, [], [], jni_params,
293 '', 'org/chromium/TestJni', natives, jni_params, True)
310 natives = jni_generator.ExtractNatives(test_data, 'int')
317 self.assertListEquals(golden_natives, natives)
320 natives, [], [], jni_params,
335 natives = jni_generator.ExtractNatives(test_data, 'int')
346 self.assertListEquals(golden_natives, natives)
349 natives, [], [], jni_params,
[all …]
Djni_generator.py460 natives = []
470 natives += [native]
471 return natives
780 natives = ExtractNatives(contents, options.ptr_type)
782 if len(natives) == 0 and len(called_by_natives) == 0:
786 jni_namespace, fully_qualified_class, natives, called_by_natives, [],
890 def __init__(self, namespace, fully_qualified_class, natives, argument
895 self.natives = natives
961 classes.update(self.helper.GetUniqueClasses(self.natives))
976 for native in self.natives:
/external/cronet/base/android/jni_generator/
Djni_generator_tests.py41 def _RemoveHashedNames(natives): argument
43 for n in natives:
308 natives = jni_generator.ExtractNatives(test_data, 'int')
427 self.AssertListEquals(golden_natives, natives)
429 natives, [], [], jni_params,
435 natives, jni_params)
451 natives = jni_generator.ExtractNatives(test_data, 'int')
460 self.AssertListEquals(golden_natives, natives)
463 natives, [], [], jni_params,
478 natives = jni_generator.ExtractNatives(test_data, 'int')
[all …]
Djni_registration_generator.py147 natives, found_module_name = jni_generator.ProxyHelpers.ExtractStaticProxyNatives(
157 natives += jni_generator.ExtractNatives(contents, 'long')
159 if len(natives) == 0:
168 natives, jni_params)
423 fully_qualified_class, natives, jni_params): argument
427 self.natives = natives
428 self.proxy_natives = [n for n in natives if n.is_proxy]
429 self.non_proxy_natives = [n for n in natives if not n.is_proxy]
473 classes = self.helper.GetUniqueClasses(self.natives)
486 for native in self.natives:
[all …]
Djni_generator.py546 natives = []
556 natives += [native]
557 return natives
1006 natives, module_name = ProxyHelpers.ExtractStaticProxyNatives(
1008 natives += ExtractNatives(contents, options.ptr_type)
1010 if len(natives) == 0 and len(called_by_natives) == 0:
1014 module_name, jni_namespace, fully_qualified_class, natives,
1160 def __init__(self, module_name, namespace, fully_qualified_class, natives, argument
1165 self.natives = natives
1236 classes.update(self.helper.GetUniqueClasses(self.natives))
[all …]
/external/cronet/base/android/jni_generator/golden/
DtestProxyNativesRegistrations.golden68 base::android::GetClass(env, "org/chromium/base/natives/GEN_JNI");
89 // Register natives in a proxy.
DModuleGenJni.golden5 package org.chromium.base.natives;
DtestProxyNativesJava.golden5 package org.chromium.base.natives;
DSampleForAnnotationProcessorManualJni.golden213 base::android::GetClass(env, "org/chromium/base/natives/GEN_JNI");
234 // Register natives in a proxy.
DtestProxyPackagePrefixWithManualRegistrationHeader.golden233 base::android::GetClass(env, "this/is/a/package/prefix/org/chromium/base/natives/GEN_JNI");
254 // Register natives in a proxy.
DtestGenJniFlagsMocksRequired.golden5 package org.chromium.base.natives;
DtestProxyPackagePrefixWithManualRegistration.2.golden5 package this.is.a.package.prefix.org.chromium.base.natives;
DtestGenJniFlagsDisabled.golden5 package org.chromium.base.natives;
DtestGenJniFlagsMocksEnabled.golden5 package org.chromium.base.natives;
DSampleForAnnotationProcessorGenJni.golden5 package org.chromium.base.natives;
DtestProxyMultiplexGenJni.2.golden5 package org.chromium.base.natives;
DHashedSampleForAnnotationProcessorGenJni.2.golden5 package org.chromium.base.natives;
DtestProxyPackagePrefixWithManualRegistrationProxyHash.2.golden5 package this.is.a.package.prefix.org.chromium.base.natives;
DtestProxyPackagePrefixWithProxyHash.2.golden5 package this.is.a.package.prefix.org.chromium.base.natives;
DtestProxyPackagePrefixWithManualRegistrationProxyHashHeader.golden181 // Register natives in a proxy.
DtestProxyMultiplexNativesRegistration.golden424 // Register natives in a proxy.
/external/cronet/testing/android/docs/
DREADME.md18 …t that needs to mock native calls?](/base/android/jni_generator/README.md#testing-mockable-natives)
/external/chromium-trace/catapult/third_party/polymer/components/webcomponentsjs/
Dbuild.log300 natives: 1.1.0
/external/chromium-trace/catapult/third_party/polymer/components/polymer/
Dbuild.log354 natives: 1.1.0

12