/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CurrentApiHelperTest.java | 53 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()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | SmallStructsTest.java | 118 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/ |
D | PutOverflowTest.java | 26 Method getInstance = keystoreClass.getMethod("getInstance"); in testCrash() 27 Method put = keystoreClass.getMethod("put", in testCrash()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | PutOverflowTest.java | 28 Method getInstance = keystoreClass.getMethod("getInstance"); in testCrash() 29 Method put = keystoreClass.getMethod("put", in testCrash()
|
D | ParcelableExceptionTest.java | 62 .getMethod("sendBroadcast", in sendBundleToSystem()
|
D | AndroidFutureTest.java | 74 .getMethod("sendBroadcast", in sendBundleToSystem()
|
D | ActivityManagerTest.java | 45 Class.forName("android.app.ActivityManagerNative").getMethod( in testActivityManager_injectInputEvents()
|
D | CVE_2021_0521.java | 57 .getMethod("getService", String.class).invoke(null, serviceName); in getIBinderFromServiceManager()
|
/cts/tests/backup/src/android/backup/cts/ |
D | AgentBindingTest.java | 73 Method bindBackupAgentMethod = activityManagerClass.getMethod(methodName, types); in callActivityManagerMethod() 80 Method asInterfaceMethod = stubClass.getMethod("asInterface", IBinder.class); in getActivityManager() 81 Method getServiceMethod = serviceManagerClass.getMethod("getService", String.class); in getActivityManager()
|
/cts/tests/app/src/android/app/cts/ |
D | KeyguardManagerTest.java | 50 Method set = KeyguardManager.class.getMethod( in testPrivateNotificationsAllowed() 52 Method get = KeyguardManager.class.getMethod("getPrivateNotificationsAllowed"); in testPrivateNotificationsAllowed()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PasswordMinimumRestrictionsTest.java | 188 final Method setMethod = DevicePolicyManager.class.getMethod(setMethodName(methodName), in invokeSetMethod() 198 final Method getMethod = in invokeGetMethod() local 199 DevicePolicyManager.class.getMethod(getMethodName(methodName), ComponentName.class); in invokeGetMethod() 200 return (int) getMethod.invoke(dpm, componentName); in invokeGetMethod()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | UserDeviceInfo.java | 38 Method method = UserManager.class.getMethod("getMaxSupportedUsers"); in getMaxSupportedUsers()
|
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/ |
D | SystemInfoParser.java | 34 Method m = mType.getMethod("parse", String.class); in apply()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | DirectShellCommand.java | 162 final Method getService = serviceManagerClass.getMethod("getService", String.class); in run() 166 final Method shellCommand = IBinder.class.getMethod("shellCommand", in run()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | StrictJarFileTest.java | 132 assertEquals(ZipEntry.DEFLATED, ze.getMethod()); in checkIteration() 138 assertEquals(ZipEntry.DEFLATED, ze.getMethod()); in checkIteration() 147 assertEquals(ZipEntry.DEFLATED, ze.getMethod()); in checkIteration() 174 assertEquals(ZipEntry.DEFLATED, ze.getMethod()); in checkFindEntry()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | BedsteadJUnit4.java | 89 return (int) annotation.annotationType().getMethod("weight").invoke(annotation); in getAnnotationWeight() 124 annotations.addAll(Arrays.stream(getMethod().getAnnotations()) in calculateAnnotations() 232 .getMethod("value").invoke(annotation); in getReplacementAnnotations() 306 modifiedTests.add(new BedsteadFrameworkMethod(m.getMethod())); in computeTestMethods() 315 new BedsteadFrameworkMethod(m.getMethod(), annotation)); in computeTestMethods()
|
D | DeviceState.java | 256 .getMethod(FOR_USER).invoke(annotation); 265 .getMethod(FOR_USER).invoke(annotation); 268 .getMethod(INSTALL_INSTRUMENTED_APP).invoke(annotation); 274 .getMethod(DPC_IS_PRIMARY).invoke(annotation); 279 .getMethod(SWITCHED_TO_PARENT_USER).invoke(annotation); 300 .getMethod(INSTALL_INSTRUMENTED_APP).invoke(annotation); 303 .getMethod(SWITCHED_TO_USER).invoke(annotation); 314 .getMethod(SWITCHED_TO_USER).invoke(annotation); 329 .getMethod("installInstrumentedAppInParent") 334 .getMethod(SWITCHED_TO_PARENT_USER).invoke(annotation); [all …]
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | ApiClass.java | 138 Optional<ApiMethod> apiMethod = getMethod(name, parameterTypes); in markMethodCovered() 179 private Optional<ApiMethod> getMethod(String name, List<String> parameterTypes) { in getMethod() method in ApiClass
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/systemproperties/ |
D | SystemProperties.java | 51 android.os.SystemProperties.class.getMethod("set", String.class, String.class) in set()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | EndToEndImeTestBase.java | 55 testMethod = thisClass.getMethod(testMethodName); in verifyAppModeConsistency()
|
/cts/tests/tests/content/HelloWorldApp/src_res_hardening/com/example/helloworld/ |
D | TestActivity.java | 58 final Method testMethod = TestUtils.class.getMethod(testName, Resources.class, in runTest()
|
/cts/hostsidetests/appsecurity/test-apps/RoleSecurityTestApp/src/com/android/cts/rolesecuritytest/ |
D | DeviceTest.java | 71 final Method getSmsRoleHolderMethod = roleService.getClass().getMethod( in cannotGetSmsRoleHolderForAnotherUser()
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | TestAppSystemServiceFactory.java | 244 Log.v(TAG, "spying " + inv + " method: " + inv.getMethod()); in getSystemService() 246 Log.i(TAG, "spying " + inv.getMethod()); in getSystemService() 248 String methodName = inv.getMethod().getName(); in getSystemService()
|
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/ |
D | ShortcutManagerSecondaryUserTest.java | 91 Method of = UserHandle.class.getMethod("of", int.class); in getUser0Handle()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioAttributesTest.java | 309 .getMethod("setSystemUsage", int.class); in setSystemUsage() 321 Method getSystemUsageMethod = AudioAttributes.class.getMethod("getSystemUsage"); in getSystemUsage()
|