Home
last modified time | relevance | path

Searched refs:methods (Results 1 – 25 of 91) sorted by relevance

1234

/frameworks/base/tests/testables/src/android/testing/
DAndroidTestingRunner.java88 List<FrameworkMethod> methods) { in looperWrap() argument
92 methods = new ArrayList<>(methods); in looperWrap()
93 for (int i = 0; i < methods.size(); i++) { in looperWrap()
94 methods.set(i, LooperFrameworkMethod.get(methods.get(i), in looperWrap()
98 return methods; in looperWrap()
/frameworks/base/services/core/jni/
Dcom_android_server_devicepolicy_CryptoTestHelper.cpp28 static const JNINativeMethod methods[] = { variable
39 env, "com/android/server/devicepolicy/CryptoTestHelper", methods, NELEM(methods)); in register_android_server_devicepolicy_CryptoTestHelper()
Dcom_android_server_storage_AppFuseBridge.cpp134 const JNINativeMethod methods[] = { variable
175 RegisterMethodsOrDie(env, CLASS_NAME, methods, NELEM(methods)); in register_android_server_storage_AppFuse()
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/jni/
Dnative.cpp36 static const JNINativeMethod methods[] = { variable
69 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/32/jni/
Dnative.cpp36 static const JNINativeMethod methods[] = { variable
69 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/jni/
Dnative.cpp36 static const JNINativeMethod methods[] = { variable
69 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
/frameworks/base/test-runner/api/
Dlint-baseline.txt139 …Protected methods not allowed; must be public: method android.test.ActivityInstrumentationTestCase…
141 …Protected methods not allowed; must be public: method android.test.ActivityInstrumentationTestCase…
143 …Protected methods not allowed; must be public: method android.test.ActivityInstrumentationTestCase…
145 …Protected methods not allowed; must be public: method android.test.ActivityInstrumentationTestCase…
147 …Protected methods not allowed; must be public: method android.test.ActivityInstrumentationTestCase…
149 Protected methods not allowed; must be public: method android.test.ActivityUnitTestCase.setUp()}
151 …Protected methods not allowed; must be public: method android.test.ActivityUnitTestCase.tearDown()}
153 Protected methods not allowed; must be public: method android.test.ApplicationTestCase.setUp()}
155 … Protected methods not allowed; must be public: method android.test.ApplicationTestCase.tearDown()}
157 Protected methods not allowed; must be public: method android.test.ProviderTestCase.setUp()}
[all …]
/frameworks/base/core/jni/
Dandroid_os_MemoryFile.cpp59 static const JNINativeMethod methods[] = { variable
66 return RegisterMethodsOrDie(env, "android/os/MemoryFile", methods, NELEM(methods)); in register_android_os_MemoryFile()
Dandroid_os_SharedMemory.cpp97 const JNINativeMethod methods[] = { variable
112 return RegisterMethodsOrDie(env, "android/os/SharedMemory", methods, NELEM(methods)); in register_android_os_SharedMemory()
Dandroid_util_MemoryIntArray.cpp212 static const JNINativeMethod methods[] = { variable
223 return RegisterMethodsOrDie(env, "android/util/MemoryIntArray", methods, NELEM(methods)); in register_android_util_MemoryIntArray()
Dandroid_opengl_EGLExt.cpp150 static const JNINativeMethod methods[] = { variable
158 …err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods)); in register_android_opengl_jni_EGLExt()
Dcom_android_internal_os_FuseAppLoop.cpp176 const JNINativeMethod methods[] = { variable
229 RegisterMethodsOrDie(env, CLASS_NAME, methods, NELEM(methods)); in register_com_android_internal_os_FuseAppLoop()
DBindTest.cpp210 static VMMethod methods[] = { variable
229 jamvm_registerClass("BindTest", methods); in register_BindTest()
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-layout.md10methods such as ```moveStack(x, y)``` to animate the stack to a given point. ExpansionAnimationCon…
13 …t override configuration methods, which are used by the layout while constructing the animations, …
16 …are configured using the controller's configuration methods.](physics-animation-layout-config-meth…
17 The controller must override the following methods:
32 …troller the opportunity to animate the child in/out/visible/gone. Custom methods are called by any…
38 Like `ViewPropertyAnimator`, `PhysicsPropertyAnimator` provides the following methods for animating…
43 ...as well as shortcut methods to reduce the amount of boilerplate code needed for common use cases:
47 It also provides the following configuration methods:
71 …set starting values for properties before the animation begins. Property methods like `translation…
73 …s called with a `PhysicsPropertyAnimator` for each child, where calls to methods like `translation…
[all …]
/frameworks/base/startop/view_compiler/
Dapk_layout_compiler.cc101 std::vector<dex::MethodBuilder> methods; in CompileApkAssetsLayouts() local
126 methods.push_back(compiled_view.CreateMethod( in CompileApkAssetsLayouts()
131 DexViewBuilder builder(&methods.back()); in CompileApkAssetsLayouts()
136 methods.back().Encode(); in CompileApkAssetsLayouts()
DREADME.md39 generated DEX files and exercises methods in the file.
52 instead add more methods to the files that are already generated. In this case,
/frameworks/layoutlib/create/
DREADME.txt92 - specific methods to override (see method stubs details below).
93 - specific methods for which to delegate calls.
94 - specific methods to remove based on their return type.
110 changed from protected/private to public. The code of the methods is then kept as-is, except for
111 native methods which are replaced by a stub. Methods that are to be overridden are also replaced by
118 methods and types. Note that other classes are not transformed and keep referencing the original
134 ReplaceMethodCallsAdapter replaces calls to certain methods. This is different from the
137 This is useful for methods in the Java namespace where we cannot add delegates. The configuration
149 As indicated above, all native and overridden methods are replaced by a stub. We don't have the
173 some specific methods that are stubbed out and change their return value.
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiTestUtil.java46 Method[] methods = clazz.getDeclaredMethods(); in getTestMethod() local
47 for (Method method : methods) { in getTestMethod()
/frameworks/base/core/java/android/view/
DViewDebug.java1337 Method[] methods = map.get(klass);
1338 if (methods != null) {
1339 return methods;
1342 methods = klass.getDeclaredMethodsUnchecked(false);
1345 for (final Method method : methods) {
1363 methods = foundMethods.toArray(new Method[foundMethods.size()]);
1364 map.put(klass, methods);
1366 return methods;
1440 final Method[] methods = getExportedPropertyMethods(klass);
1441 int count = methods.length;
[all …]
/frameworks/base/core/jni/android/graphics/
DPathMeasure.cpp146 static const JNINativeMethod methods[] = { variable
159 return RegisterMethodsOrDie(env, "android/graphics/PathMeasure", methods, NELEM(methods)); in register_android_graphics_PathMeasure()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DTestCaseCollector.java88 Method[] methods = clazz.getMethods(); in addTestClass() local
89 for (Method method : methods) { in addTestClass()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmGenerator.java115 Set<String> methods = mDelegateMethods.get(className); in AsmGenerator() local
116 if (methods == null) { in AsmGenerator()
117 methods = new HashSet<>(); in AsmGenerator()
118 mDelegateMethods.put(className, methods); in AsmGenerator()
120 methods.add(DelegateClassAdapter.ALL_NATIVES); in AsmGenerator()
/frameworks/base/packages/MtpDocumentsProvider/
Dproguard.flags1 # Keeps methods that are invoked by JNI.
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java58 final String[] methods = CreateInfo.DELEGATE_METHODS; in testMethodDelegates() local
60 for (String methodName : methods) { in testMethodDelegates()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java79 List<Method> methods = Arrays.asList(testCaseClass.getMethods()); in getTestMethods() local
80 return select(methods, new TestMethodPredicate()); in getTestMethods()

1234