Home
last modified time | relevance | path

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

123

/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()
/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/framework/base/windowmanager/src/android/server/wm/
DWindowManagerReflectionTests.java35 .getMethod("getWindowManagerService") in requestAppKeyboardShortcuts_requiresPermission_b273906410()
41 .getMethod("requestAppKeyboardShortcuts", in requestAppKeyboardShortcuts_requiresPermission_b273906410()
/cts/tests/tests/keystore/src/android/keystore/cts/
DPutOverflowTest.java34 Method getInstance = keystoreClass.getMethod("getInstance"); in testCrash()
35 Method put = keystoreClass.getMethod("put", in testCrash()
/cts/tests/tests/security/src/android/security/cts/
DPutOverflowTest.java36 Method getInstance = keystoreClass.getMethod("getInstance"); in testCrash()
37 Method put = keystoreClass.getMethod("put", in testCrash()
DAttributionSourceTest.java42 Context.class.getMethod("getAttributionSource").invoke(context), in testPidCheck()
DCVE_2022_20135.java48 Object obj = clazz.getMethod("createGenericResponse", int.class).invoke(null, 0); in testPocCVE_2022_20135()
DParcelableExceptionTest.java71 .getMethod("sendBroadcast", in sendBundleToSystem()
DAndroidFutureTest.java75 .getMethod("sendBroadcast", in sendBundleToSystem()
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/
DFrameworkMethodWithParameter.java36 super(frameworkMethod.getMethod()); in FrameworkMethodWithParameter()
58 public Method getMethod() { in getMethod() method in FrameworkMethodWithParameter
59 return mWrappedFrameworkMethod.getMethod(); in getMethod()
DBedsteadJUnit4.java160 return (int) annotation.annotationType().getMethod("weight").invoke(annotation); in getAnnotationWeight()
226 .getMethod("value").invoke(annotation); in getReplacementAnnotations()
313 modifiedTests.add(new BedsteadFrameworkMethod(m.getMethod())); in computeTestMethods()
322 new BedsteadFrameworkMethod(m.getMethod(), annotation)); in computeTestMethods()
343 if (method.getMethod().getParameterCount() == 0) { in generateGeneralParameterisationMethods()
347 for (Parameter parameter : method.getMethod().getParameters()) { in generateGeneralParameterisationMethods()
745 Object arguments = instrumentationRegistryClass.getMethod("getArguments") in isDebug()
748 .getMethod("getString", String.class, String.class) in isDebug()
/cts/tests/app/src/android/app/cts/
DKeyguardManagerTest.java50 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/
DPasswordMinimumRestrictionsTest.java188 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/backup/src/android/backup/cts/
DAgentBindingTest.java175 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/device-info/src/com/android/compatibility/common/deviceinfo/
DUserDeviceInfo.java38 Method method = UserManager.class.getMethod("getMaxSupportedUsers"); in getMaxSupportedUsers()
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DSystemInfoParser.java34 Method m = mType.getMethod("parse", String.class); in apply()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39794/test-app/src/android/security/cts/CVE_2021_39794_test/
DDeviceTest.java41 clazz.getMethod("asInterface", IBinder.class); in testCVE_2021_39794()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DTvUtil.java47 .getMethod("get", String.class); in getHdmiDeviceType()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DDirectShellCommand.java162 final Method getService = serviceManagerClass.getMethod("getService", String.class); in run()
166 final Method shellCommand = IBinder.class.getMethod("shellCommand", in run()
/cts/hostsidetests/compilation/app_using_other_app/src/android/compilation/cts/appusingotherapp/
DUsingOtherAppTest.java55 Method m = c.getMethod("publicMethod"); in useOtherApp()
/cts/tests/tests/util/src/android/util/cts/
DStrictJarFileTest.java132 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/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiClass.java138 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/
DSystemProperties.java51 android.os.SystemProperties.class.getMethod("set", String.class, String.class) in set()
/cts/tests/inputmethod/tests32/src/android/view/inputmethod/cts/sdk32/
DInputMethodManagerTest.kt62 .getMethod("getInputMethodWindowVisibleHeight") in <lambda>()
/cts/hostsidetests/appsecurity/test-apps/RoleSecurityTestApp/src/com/android/cts/rolesecuritytest/
DDeviceTest.java71 final Method getSmsRoleHolderMethod = roleService.getClass().getMethod( in cannotGetSmsRoleHolderForAnotherUser()

123