Home
last modified time | relevance | path

Searched refs:getMethod (Results 1 – 25 of 28) sorted by relevance

12

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCurrentApiHelperTest.java53 Method publicMethod = mClazz.getMethod("lockNow"); in testGetPublicApisIncludeMethods()
55 publicMethod = mClazz.getMethod("isProfileOwnerApp", String.class); in testGetPublicApisIncludeMethods()
57 publicMethod = mClazz.getMethod("resetPassword", String.class, int.class); in testGetPublicApisIncludeMethods()
59 publicMethod = mClazz.getMethod("hasGrantedPolicy", ComponentName.class, int.class); in testGetPublicApisIncludeMethods()
61 publicMethod = mClazz.getMethod("installCaCert", ComponentName.class, Class.forName("[B")); in testGetPublicApisIncludeMethods()
72 Method hiddenMethod = mClazz.getMethod("isDeviceProvisioned"); in testGetPublicApisExcludeMethods()
74 Method systemMethod = mClazz.getMethod("getProfileOwnerNameAsUser", int.class); in testGetPublicApisExcludeMethods()
DPasswordMinimumRestrictionsTest.java187 final Method setMethod = DevicePolicyManager.class.getMethod(setMethodName(methodName), in invokeSetMethod()
197 final Method getMethod = in invokeGetMethod() local
198 DevicePolicyManager.class.getMethod(getMethodName(methodName), ComponentName.class); in invokeGetMethod()
199 return (int) getMethod.invoke(dpm, componentName); in invokeGetMethod()
DCurrentApiHelper.java94 builder.add(clazz.getMethod(name, paramTypes)); in getPublicApis()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DSmallStructsTest.java118 return ScriptC_small_structs.class.getMethod(name, getUnwrappedClassForType(type)); in getInitialValueSetter()
157 Allocation alloc = (Allocation) scriptFieldClass.getMethod("getAllocation") in testSmallStructsOfCharArray()
161 Method set_bytes = scriptFieldClass.getMethod("set_bytes", in testSmallStructsOfCharArray()
174 Method modify = ScriptC_small_structs.class.getMethod( in testSmallStructsOfCharArray()
178 Method verify = ScriptC_small_structs.class.getMethod( in testSmallStructsOfCharArray()
217 Allocation alloc = (Allocation) scriptFieldClass.getMethod("getAllocation") in testSmallStructsOfHeterogeneousTypes()
224 Method fieldASetter = scriptFieldClass.getMethod("set_a", in testSmallStructsOfHeterogeneousTypes()
230 Method fieldBSetter = scriptFieldClass.getMethod("set_b", in testSmallStructsOfHeterogeneousTypes()
236 Method modify = ScriptC_small_structs.class.getMethod( in testSmallStructsOfHeterogeneousTypes()
240 Method verify = ScriptC_small_structs.class.getMethod( in testSmallStructsOfHeterogeneousTypes()
/cts/tests/tests/keystore/src/android/keystore/cts/
DPutOverflowTest.java26 Method getInstance = keystoreClass.getMethod("getInstance"); in testCrash()
27 Method put = keystoreClass.getMethod("put", in testCrash()
/cts/tests/tests/security/src/android/security/cts/
DPutOverflowTest.java28 Method getInstance = keystoreClass.getMethod("getInstance"); in testCrash()
29 Method put = keystoreClass.getMethod("put", in testCrash()
DActivityManagerTest.java37 Class.forName("android.app.ActivityManagerNative").getMethod( in testActivityManager_injectInputEvents()
/cts/tools/dex-tools/test/dex/reader/
DDexFileReaderTests.java99 DexMethod method = getMethod(clazz, "publicStringMethodInt", "I"); in testT0()
101 method = getMethod(clazz, "protectedStringMethodInt", "I");/** a.b.C */ in testT0()
103 method = getMethod(clazz, "defaultStringMethodInt", "I"); in testT0()
105 method = getMethod(clazz, "privateStringMethodInt", "I"); in testT0()
330 DexMethod method = getMethod(A, "m", "I"); in testParameterAnnotation()
DDexTestsCommon.java129 protected DexMethod getMethod(DexClass clazz, String methodName, String... typeNames) { in getMethod() method in DexTestsCommon
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DUserDeviceInfo.java38 Method method = UserManager.class.getMethod("getMaxSupportedUsers"); in getMaxSupportedUsers()
/cts/tests/tests/util/src/android/util/cts/
DStrictJarFileTest.java131 assertEquals(ZipEntry.DEFLATED, ze.getMethod()); in checkIteration()
137 assertEquals(ZipEntry.DEFLATED, ze.getMethod()); in checkIteration()
147 assertEquals(ZipEntry.DEFLATED, ze.getMethod()); in checkIteration()
174 assertEquals(ZipEntry.DEFLATED, ze.getMethod()); in checkFindEntry()
DArrayMapTest.java490 Method appendMethod = ArrayMap.class.getMethod("append", Object.class, Object.class);
496 Method writeArrayMapMethod = Parcel.class.getMethod("writeArrayMap", ArrayMap.class);
502 Parcel.class.getMethod("readArrayMap", ArrayMap.class, ClassLoader.class).invoke(
/cts/tests/tests/jni/src/android/jni/cts/
DLinkerNamespacesHelper.java96 clazz.getMethod("incrementGlobal").invoke(null); in invokeIncrementGlobal()
99 return (Integer)clazz.getMethod("getGlobal").invoke(null); in invokeGetGlobal()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiClass.java117 ApiMethod apiMethod = getMethod(name, parameterTypes, returnType); in markMethodCovered()
160 private ApiMethod getMethod(String name, List<String> parameterTypes, String returnType) { in getMethod() method in ApiClass
/cts/tests/tests/permission/src/android/permission/cts/
DAppOpsTest.java49 Method setMode = mAppOps.getClass().getMethod("setMode", int.class, int.class, in testSetMode()
/cts/tests/tests/os/src/android/os/cts/
DWorkSourceTest.java43 mAddUid = WorkSource.class.getMethod("add", new Class[] { int.class }); in setUp()
44 mAddUidName = WorkSource.class.getMethod("add", new Class[] { int.class, String.class }); in setUp()
45 …mAddReturningNewbs = WorkSource.class.getMethod("addReturningNewbs", new Class[] { WorkSource.clas… in setUp()
46 …mSetReturningDiffs = WorkSource.class.getMethod("setReturningDiffs", new Class[] { WorkSource.clas… in setUp()
47 mStripNames = WorkSource.class.getMethod("stripNames", new Class[] { }); in setUp()
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/
DShortcutManagerSecondaryUserTest.java91 Method of = UserHandle.class.getMethod("of", int.class); in getUser0Handle()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestActivity.java162 testClass.getMethod("suite"); in hasSuiteMethod()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestActivity.java157 testClass.getMethod("suite"); in hasSuiteMethod()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewClientTest.java476 assertEquals(server.getLastRequest(mainPath).getRequestLine().getMethod(), in testShouldInterceptRequestParams()
477 client.interceptRequest.getMethod()); in testShouldInterceptRequestParams()
DWebViewTest.java534 assertEquals(request.getRequestLine().getMethod(), "POST");
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java545 Log.i(TAG, requestLine.getMethod() + ": " + uriString); in getResponse()
555 if (requestLine.getMethod().equals("POST")) { in getResponse()
DTestWebServer.java402 Log.i(TAG, requestLine.getMethod() + ": " + requestLine.getUri()); in getResponse()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java405 final Method method = UserManager.class.getMethod("getMaxSupportedUsers"); in getMultiUserInfo()
/cts/tools/utils/
DCollectAllTests.java366 Method testMethod = testClass.getMethod(testName, (Class[])null); in getAnnotation()

12