/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/framework/base/windowmanager/src/android/server/wm/ime/ |
D | WindowManagerReflectionTests.java | 37 .getMethod("getWindowManagerService") in requestAppKeyboardShortcuts_requiresPermission_b273906410() 43 .getMethod("requestAppKeyboardShortcuts", in requestAppKeyboardShortcuts_requiresPermission_b273906410() 54 .getMethod("getWindowManagerService") in requestImeKeyboardShortcuts_requiresPermission() 58 .getMethod("requestImeKeyboardShortcuts", in requestImeKeyboardShortcuts_requiresPermission()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | PutOverflowTest.java | 34 Method getInstance = keystoreClass.getMethod("getInstance"); in testCrash() 35 Method put = keystoreClass.getMethod("put", in testCrash()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | PutOverflowTest.java | 36 Method getInstance = keystoreClass.getMethod("getInstance"); in testCrash() 37 Method put = keystoreClass.getMethod("put", in testCrash()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | SipDetailsTest.java | 48 assertEquals(SipDetails.METHOD_REGISTER, debugInfo.getMethod()); in testSipDetailsAttr() 79 assertEquals(debugInfo.getMethod(), unparcelledDetails.getMethod()); in testParcelUnparcel()
|
D | PublishAttributesTest.java | 71 assertEquals(SipDetails.METHOD_REGISTER, received.getMethod()); in testAttributes() 109 assertEquals(debugInfo.getMethod(), unparcelledDetails.getMethod()); in testParcelUnparcel()
|
/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/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | FrameworkMethodWithParameter.java | 36 super(frameworkMethod.getMethod()); in FrameworkMethodWithParameter() 58 public Method getMethod() { in getMethod() method in FrameworkMethodWithParameter 59 return mWrappedFrameworkMethod.getMethod(); in getMethod()
|
D | BedsteadJUnit4.java | 238 return (int) annotation.annotationType().getMethod("cost").invoke(annotation); in getAnnotationCost() 254 return (int) annotation.annotationType().getMethod("priority").invoke(annotation); in getAnnotationPriority() 392 .getMethod("value").invoke(annotation); in getReplacementAnnotations() 546 modifiedTests.add(new BedsteadFrameworkMethod(this, m.getMethod())); in computeTestMethods() 559 new BedsteadFrameworkMethod(this, m.getMethod(), List.of(annotation))); in computeTestMethods() 574 this, m.getMethod(), annotationsToApplyTogether)); in computeTestMethods() 594 if (method.getMethod().getParameterCount() == 0) { in generateGeneralParameterisationMethods() 598 for (Parameter parameter : method.getMethod().getParameters()) { in generateGeneralParameterisationMethods() 665 frameworkMethod.getMethod().getAnnotation(PolicyAppliesTest.class); in generatePolicyArgumentTests() 667 frameworkMethod.getMethod().getAnnotation(PolicyDoesNotApplyTest.class); in generatePolicyArgumentTests() [all …]
|
/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/tests/tests/wifi/mockWifi/src/android/wifi/mockwifi/nl80211/ |
D | IWifiScannerImp.java | 62 return !wifiScannerInterfaceMock.getClass().getMethod( in isMethodOverridden() 67 return !wifiScannerInterfaceMock.getClass().getMethod( in isMethodOverridden() 71 return !wifiScannerInterfaceMock.getClass().getMethod( in isMethodOverridden()
|
/cts/tests/backup/src/android/backup/cts/ |
D | AgentBindingTest.java | 175 Method bindBackupAgentMethod = activityManagerClass.getMethod(methodName, types); in callActivityManagerMethod() 182 Method asInterfaceMethod = stubClass.getMethod("asInterface", IBinder.class); in getActivityManager() 183 Method getServiceMethod = serviceManagerClass.getMethod("getService", String.class); in getActivityManager()
|
/cts/common/device-side/interactive/src/main/java/com/android/interactive/ |
D | AutomationExecutor.java | 40 return (E) mObject.getClass().getMethod("automate").invoke(mObject); in automate()
|
/cts/libs/webkit-shared/src/android/webkit/cts/ |
D | HttpRequest.java | 59 mMethod = apacheRequest.getRequestLine().getMethod(); in HttpRequest() 125 public String getMethod() { in getMethod() method in HttpRequest
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | UserDeviceInfo.java | 38 Method method = UserManager.class.getMethod("getMaxSupportedUsers"); in getMaxSupportedUsers()
|
D | ScreenDeviceInfo.java | 152 Method getSupportedStatesMethod = getMethod(deviceStateManager.getClass(), in getDeviceStateIdentifiersUsingReflection() 171 private Method getMethod(@NonNull Class<?> classToCheck, @NonNull String methodName) { in getMethod() method in ScreenDeviceInfo 173 return classToCheck.getMethod(methodName); in getMethod()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39794/test-app/src/android/security/cts/CVE_2021_39794_test/ |
D | DeviceTest.java | 41 clazz.getMethod("asInterface", IBinder.class); in testCVE_2021_39794()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicommon/ |
D | ApiClass.java | 144 Optional<ApiMethod> apiMethod = getMethod(name, parameterTypes); in markMethodCoveredTest() 172 Optional<ApiMethod> apiMethod = getMethod(name, parameterTypes); in markMethodCovered() 213 private Optional<ApiMethod> getMethod(String name, List<String> parameterTypes) { in getMethod() method in ApiClass
|
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/ |
D | SystemInfoParser.java | 35 Method m = mType.getMethod("parse", String.class); in apply()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | TvUtil.java | 47 .getMethod("get", String.class); in getHdmiDeviceType()
|
/cts/hostsidetests/compilation/app_using_other_app/src/android/compilation/cts/appusingotherapp/ |
D | UsingOtherAppTest.java | 48 Method m = c.getMethod("publicMethod"); in useOtherApp()
|
/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/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/ |
D | MultiUserAnnotationExecutor.kt | 108 getMethod(INSTALL_INSTRUMENTED_APP).invoke(annotation) as OptionalBoolean in <lambda>() 111 getMethod(SWITCHED_TO_USER).invoke(annotation) as OptionalBoolean in <lambda>()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | StrictJarFileTest.java | 139 assertEquals(ZipEntry.DEFLATED, ze.getMethod()); in checkIteration() 145 assertEquals(ZipEntry.DEFLATED, ze.getMethod()); in checkIteration() 154 assertEquals(ZipEntry.DEFLATED, ze.getMethod()); in checkIteration() 181 assertEquals(ZipEntry.DEFLATED, ze.getMethod()); in checkFindEntry()
|