/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BusinessLogicTestCase.java | 65 String methodName = mTestCase.getMethodName(); in executeBusinessLogic() local 67 + "remote configuration.", methodName), mCanReadBusinessLogic); in executeBusinessLogic() 68 if (methodName.contains(PARAM_START)) { in executeBusinessLogic() 70 methodName = methodName.substring(0, methodName.lastIndexOf(PARAM_START)); in executeBusinessLogic() 72 String testName = String.format("%s#%s", this.getClass().getName(), methodName); in executeBusinessLogic()
|
D | BusinessLogicDeviceExecutor.java | 76 protected ResolvedMethod getResolvedMethod(Class cls, String methodName, String... args) in getResolvedMethod() argument 78 List<Method> nameMatches = getMethodsWithName(cls, methodName); in getResolvedMethod() 114 "BusinessLogic: Failed to invoke action method %s with args: %s", methodName, in getResolvedMethod()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BusinessLogicTestCase.java | 64 String methodName = mTestCase.getMethodName(); in executeBusinessLogic() local 66 + "remote configuration.", methodName), mCanReadBusinessLogic); in executeBusinessLogic() 67 if (methodName.contains(PARAM_START)) { in executeBusinessLogic() 69 methodName = methodName.substring(0, methodName.lastIndexOf(PARAM_START)); in executeBusinessLogic() 71 String testName = String.format("%s#%s", this.getClass().getName(), methodName); in executeBusinessLogic()
|
D | BusinessLogicDeviceExecutor.java | 76 protected ResolvedMethod getResolvedMethod(Class cls, String methodName, String... args) in getResolvedMethod() argument 78 List<Method> nameMatches = getMethodsWithName(cls, methodName); in getResolvedMethod() 114 "BusinessLogic: Failed to invoke action method %s with args: %s", methodName, in getResolvedMethod()
|
D | DeviceConfigStateManager.java | 89 private void debug(@NonNull String methodName, @NonNull String msg, Object...args) { in debug() argument 92 final String prefix = String.format("%s(%s:%s): ", methodName, mNamespace, mKey); in debug()
|
/cts/tests/tests/libcoreapievolution/src/android/apievolution/cts/ |
D | ApiEvolutionTest.java | 122 Class<? extends Buffer> bufferClass, String methodName, Class[] parameterTypes) in assertSyntheticBufferMethodOverloadExists() argument 124 assertSyntheticMethodOverloadExists(bufferClass, methodName, parameterTypes, in assertSyntheticBufferMethodOverloadExists() 131 Class<?> clazz, String methodName, Class[] parameterTypes, in assertSyntheticMethodOverloadExists() argument 138 String fullMethodName = clazz + "." + methodName; in assertSyntheticMethodOverloadExists() 141 Method declaredMethod = clazz.getDeclaredMethod(methodName, parameterTypes); in assertSyntheticMethodOverloadExists() 148 if (methodMatches(methodName, parameterTypes, method)) { in assertSyntheticMethodOverloadExists() 203 private static boolean methodMatches(String methodName, Class[] parameterTypes, Method method) { in methodMatches() argument 204 return method.getName().equals(methodName) in methodMatches()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | PasswordMinimumRestrictionsTest.java | 186 private void invokeSetMethod(String methodName, DevicePolicyManager dpm, in invokeSetMethod() argument 188 final Method setMethod = DevicePolicyManager.class.getMethod(setMethodName(methodName), in invokeSetMethod() 196 private int invokeGetMethod(String methodName, DevicePolicyManager dpm, in invokeGetMethod() argument 199 DevicePolicyManager.class.getMethod(getMethodName(methodName), ComponentName.class); in invokeGetMethod() 203 private String setMethodName(String methodName) { in setMethodName() argument 204 return "set" + methodName; in setMethodName() 207 private String getMethodName(String methodName) { in getMethodName() argument 208 return "get" + methodName; in getMethodName()
|
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()
|
/cts/tests/core/runner-axt/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()
|
/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()
|
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/ |
D | NumberBlockingTest.java | 192 private void runTestAsPrimaryUser(String className, String methodName) throws Exception { in runTestAsPrimaryUser() argument 193 runTestAsUser(className, methodName, getDevice().getPrimaryUserId()); in runTestAsPrimaryUser() 196 private void runTestAsSecondaryUser(String className, String methodName) throws Exception { in runTestAsSecondaryUser() argument 197 runTestAsUser(className, methodName, mSecondaryUserId); in runTestAsSecondaryUser() 200 private void runTestAsUser(String className, String methodName, int userId) throws Exception { in runTestAsUser() argument 202 className, methodName, userId); in runTestAsUser() 209 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/tests/core/runner-axt/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/tools/vm-tests-tf/build/src/util/build/ |
D | BuildCTSMainsSources.java | 130 private File getFileFromPackage(String pname, String methodName) throws IOException { in getFileFromPackage() argument 132 String path = getFileName(pname, methodName, ".java"); in getFileFromPackage() 142 private String getFileName(String pname, String methodName, String extension) { in getFileName() argument 144 return new File(path, "Main_" + methodName + extension).getPath(); in getFileName()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | DeviceAtomTestCase.java | 75 String methodName, int atom, int key, int stateOn, int stateOff, in doDeviceMethodOnOff() argument 80 List<EventMetricData> data = doDeviceMethod(methodName, conf); in doDeviceMethodOnOff() 97 protected List<EventMetricData> doDeviceMethod(String methodName, StatsdConfig.Builder cfg) in doDeviceMethod() argument 103 LogUtil.CLog.d("\nPerforming device-side test of " + methodName + " for uid " + appUid); in doDeviceMethod() 104 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, ".AtomTests", methodName); in doDeviceMethod()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | OtherSoundsSettingsHostSideTest.java | 117 private void checkDeviceTest(String methodName) throws DeviceNotAvailableException { in checkDeviceTest() argument 118 checkDeviceTest(APP_PACKAGE, TEST_CLASS, methodName); in checkDeviceTest()
|
D | AllowBackupHostSideTest.java | 124 private void checkAllowBackupDeviceTest(String methodName) in checkAllowBackupDeviceTest() argument 127 methodName); in checkAllowBackupDeviceTest()
|
D | SyncAdapterSettingsHostSideTest.java | 151 private void checkDeviceTest(String methodName) throws DeviceNotAvailableException { in checkDeviceTest() argument 152 checkDeviceTest(APP_PACKAGE, TEST_CLASS, methodName); in checkDeviceTest()
|
D | ProfileSerialNumberHostSideTest.java | 102 private void checkDeviceTest(String methodName) throws DeviceNotAvailableException { in checkDeviceTest() argument 103 checkDeviceTestAsUser(TEST_PACKAGE, TEST_CLASS, methodName, mProfileUserId.get()); in checkDeviceTest()
|
D | FullBackupOnlyHostSideTest.java | 174 private void checkFullBackupOnlyDeviceTest(String methodName) in checkFullBackupOnlyDeviceTest() argument 177 methodName); in checkFullBackupOnlyDeviceTest()
|
D | KeyValueBackupRestoreHostSideTest.java | 163 private void checkDeviceTest(String methodName) in checkDeviceTest() argument 166 methodName); in checkDeviceTest()
|
D | RestoreAnyVersionHostSideTest.java | 178 private void checkRestoreAnyVersionDeviceTest(String methodName) in checkRestoreAnyVersionDeviceTest() argument 181 methodName); in checkRestoreAnyVersionDeviceTest()
|
/cts/tests/backup/src/android/backup/cts/ |
D | AgentBindingTest.java | 70 String methodName, Class<?>[] types, Object[] args) throws Exception { in callActivityManagerMethod() argument 73 Method bindBackupAgentMethod = activityManagerClass.getMethod(methodName, types); in callActivityManagerMethod()
|
/cts/tools/utils/ |
D | rerun.py | 80 [className, methodName] = failure.split('#') 84 command += " --class " + className + " --method " + methodName
|