/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BusinessLogicTestCase.java | 58 String methodName = mTestCase.getMethodName(); in executeBusinessLogic() local 60 + "remote configuration.", methodName), mCanReadBusinessLogic); in executeBusinessLogic() 61 if (methodName.contains(PARAM_START)) { in executeBusinessLogic() 63 methodName = methodName.substring(0, methodName.lastIndexOf(PARAM_START)); in executeBusinessLogic() 65 String testName = String.format("%s#%s", this.getClass().getName(), methodName); in executeBusinessLogic()
|
D | BusinessLogicDeviceExecutor.java | 59 protected ResolvedMethod getResolvedMethod(Class cls, String methodName, String... args) in getResolvedMethod() argument 61 List<Method> nameMatches = getMethodsWithName(cls, methodName); in getResolvedMethod() 97 "BusinessLogic: Failed to invoke action method %s with args: %s", methodName, in getResolvedMethod()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ParentProfileTest.java | 103 String methodName = method.getName(); in testParentProfileApiDisabled() local 104 if (SUPPORTED_APIS.contains(methodName)) { in testParentProfileApiDisabled() 123 methodName + " throws exception other than SecurityException.", e); in testParentProfileApiDisabled() 128 failedMethods.add(methodName); in testParentProfileApiDisabled() 129 Log.e(LOG_TAG, methodName + " failed to throw SecurityException"); in testParentProfileApiDisabled()
|
D | PasswordMinimumRestrictionsTest.java | 185 private void invokeSetMethod(String methodName, DevicePolicyManager dpm, in invokeSetMethod() argument 187 final Method setMethod = DevicePolicyManager.class.getMethod(setMethodName(methodName), in invokeSetMethod() 195 private int invokeGetMethod(String methodName, DevicePolicyManager dpm, in invokeGetMethod() argument 198 DevicePolicyManager.class.getMethod(getMethodName(methodName), ComponentName.class); in invokeGetMethod() 202 private String setMethodName(String methodName) { in setMethodName() argument 203 return "set" + methodName; in setMethodName() 206 private String getMethodName(String methodName) { in getMethodName() argument 207 return "get" + methodName; in getMethodName()
|
/cts/tests/core/runner/src/com/android/cts/core/runner/support/ |
D | SingleTestNgTestExecutor.java | 40 public static Result execute(Class<?> klass, String methodName) { in execute() argument 45 if (methodName == null) { in execute() 59 TestNG testng = createTestNG(klass.getName(), methodName, listener); in execute() 65 Log.w("TestNgExec", "execute class " + klass.getName() + ", method " + methodName + in execute()
|
D | TestNgRunner.java | 105 String methodName = child.getMethodName(); in run() local 117 SingleTestNgTestExecutor.Result result = SingleTestNgTestExecutor.execute(klass, methodName); in run()
|
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/ |
D | NumberBlockingTest.java | 161 private void runTestAsPrimaryUser(String className, String methodName) throws Exception { in runTestAsPrimaryUser() argument 162 runTestAsUser(className, methodName, getDevice().getPrimaryUserId()); in runTestAsPrimaryUser() 165 private void runTestAsSecondaryUser(String className, String methodName) throws Exception { in runTestAsSecondaryUser() argument 166 runTestAsUser(className, methodName, mSecondaryUserId); in runTestAsSecondaryUser() 169 private void runTestAsUser(String className, String methodName, int userId) throws Exception { in runTestAsUser() argument 171 className, methodName, userId); in runTestAsUser() 178 testRunner.setMethodName(NUMBER_BLOCKING_TESTS_PKG + "." + className, methodName); in runTestAsUser()
|
/cts/tests/core/runner/src/com/android/cts/core/runner/ |
D | ExpectationBasedFilter.java | 102 String methodName = testDescription.getMethodName(); in shouldRun() local 103 String testName = className + "#" + methodName; in shouldRun() 133 String methodName = child.getMethodName(); in getTestDescription() local 134 if ("initializationError".equals(methodName)) { in getTestDescription()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/ |
D | TestResult.java | 87 private TestResult(String packageName, String componentName, String methodName, in TestResult() argument 92 mMethodName = methodName; in TestResult() 137 private String methodName; field in TestResult.Builder 154 methodName = _methodName; in setMethodName() 174 return new TestResult(packageName, componentName, methodName, in build()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | DeviceAtomTestCase.java | 67 String methodName, int atom, int key, int stateOn, int stateOff, in doDeviceMethodOnOff() argument 72 List<EventMetricData> data = doDeviceMethod(methodName, conf); in doDeviceMethodOnOff() 89 protected List<EventMetricData> doDeviceMethod(String methodName, StatsdConfig.Builder cfg) in doDeviceMethod() argument 95 LogUtil.CLog.d("\nPerforming device-side test of " + methodName + " for uid " + appUid); in doDeviceMethod() 96 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", methodName); in doDeviceMethod()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | AllowBackupHostSideTest.java | 126 private void checkAllowBackupDeviceTest(String methodName) in checkAllowBackupDeviceTest() argument 129 methodName); in checkAllowBackupDeviceTest()
|
D | KeyValueBackupRestoreHostSideTest.java | 157 private void checkDeviceTest(String methodName) in checkDeviceTest() argument 160 methodName); in checkDeviceTest()
|
D | FullBackupOnlyHostSideTest.java | 171 private void checkFullBackupOnlyDeviceTest(String methodName) in checkFullBackupOnlyDeviceTest() argument 174 methodName); in checkFullBackupOnlyDeviceTest()
|
D | RestoreAnyVersionHostSideTest.java | 175 private void checkRestoreAnyVersionDeviceTest(String methodName) in checkRestoreAnyVersionDeviceTest() argument 178 methodName); in checkRestoreAnyVersionDeviceTest()
|
D | SuccessNotificationHostSideTest.java | 231 private void checkDeviceTest(String methodName) throws DeviceNotAvailableException { in checkDeviceTest() argument 233 methodName); in checkDeviceTest()
|
/cts/tools/utils/ |
D | rerun.py | 80 [className, methodName] = failure.split('#') 84 command += " --class " + className + " --method " + methodName
|
/cts/tests/tests/telecom2/src/android/telecom/cts/ |
D | DefaultDialerOperationsNoPermissionsTest.java | 145 private void verifyForReadPhoneStateOrDefaultDialer(Runnable runnable, String methodName) in verifyForReadPhoneStateOrDefaultDialer() argument 149 fail("TelecomManager." + methodName + " should throw SecurityException if no " in verifyForReadPhoneStateOrDefaultDialer()
|
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/ |
D | DalvikTestRunner.java | 145 String methodName = String.format("%s#%s", className, parts[0]); in shouldCollect() local 157 if (excludes.contains(methodName)) { in shouldCollect() 162 || includes.contains(methodName) in shouldCollect() 391 String methodName = String.format("%s#%s", className, parts[0]); 403 if (mExcludes.contains(methodName)) { 408 || mIncludes.contains(methodName)
|
/cts/hostsidetests/net/src/com/android/cts/net/ |
D | HostsideNetworkTestCase.java | 128 protected void runDeviceTests(String packageName, String testClassName, String methodName) in runDeviceTests() argument 134 if (methodName != null) { in runDeviceTests() 135 testRunner.setMethodName(testClassName, methodName); in runDeviceTests()
|
/cts/suite/cts/utils/ |
D | get_csv_report.py | 66 methodName = test.getAttribute("name") 68 if methodName == "testAndroidTestCaseSetupProperly": 70 caseName = str(className + "#" + methodName)
|
/cts/tests/signature/src/android/signature/cts/ |
D | CurrentApi.java | 94 String methodName = parser.getAttributeValue(null, ATTRIBUTE_NAME); in loadMethodInfo() local 97 return new JDiffMethod(methodName, modifier, returnType); in loadMethodInfo()
|
/cts/tests/tests/telephony/src/android/telephony/embms/cts/ |
D | MbmsStreamingTestBase.java | 147 protected List<List<Object>> getMiddlewareCalls(String methodName) throws RemoteException { in getMiddlewareCalls() argument 149 .filter((elem) -> elem.get(0).equals(methodName)) in getMiddlewareCalls()
|
D | MbmsDownloadTestBase.java | 183 protected List<Bundle> getMiddlewareCalls(String methodName) throws RemoteException { in getMiddlewareCalls() argument 185 .filter((elem) -> elem.getString(CtsDownloadService.METHOD_NAME).equals(methodName)) in getMiddlewareCalls()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | SettingsIncidentTest.java | 136 private static <T> T invoke(GeneratedMessage instance, String methodName, Object... args) in invoke() argument 142 instance.getClass().getDeclaredMethod(methodName, inputParamTypes), in invoke()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | CtsApiCoverage.java | 434 String methodName = method.getName(); in addCddApkCoverage() local 436 cddCoverage, moduleName, className, methodName, method.getAnnotations()); in addCddApkCoverage() 443 String methodName, Set<? extends Annotation> annotations) { in handleAnnotations() argument 452 moduleName, dexToJavaName(className), methodName); in handleAnnotations()
|