/cts/hostsidetests/appsearch/src/android/appsearch/cts/ |
D | AppSearchHostTestBase.java | 47 protected void runDeviceTestAsUserInPkgA(@Nonnull String testMethod, int userId) in runDeviceTestAsUserInPkgA() argument 49 assertWithMessage(testMethod + " failed").that( in runDeviceTestAsUserInPkgA() 50 runDeviceTests(getDevice(), TARGET_PKG_A, TEST_CLASS_A, testMethod, userId, in runDeviceTestAsUserInPkgA() local 54 protected void runDeviceTestAsUserInPkgA(@Nonnull String testMethod, int userId, in runDeviceTestAsUserInPkgA() argument 58 .setTestMethodName(testMethod) in runDeviceTestAsUserInPkgA() 64 assertWithMessage(testMethod + " failed").that( in runDeviceTestAsUserInPkgA() 68 protected void runStorageAugmenterDeviceTestAsUserInPkgA(@Nonnull String testMethod, int userId) in runStorageAugmenterDeviceTestAsUserInPkgA() argument 70 assertWithMessage(testMethod + " failed").that( in runStorageAugmenterDeviceTestAsUserInPkgA() 72 testMethod, userId, DEFAULT_INSTRUMENTATION_TIMEOUT_MS)).isTrue(); in runStorageAugmenterDeviceTestAsUserInPkgA() local 75 protected void runContactsIndexerDeviceTestAsUserInPkgA(@Nonnull String testMethod, int userId, in runContactsIndexerDeviceTestAsUserInPkgA() argument [all …]
|
D | AppSearchInstantAppTest.java | 52 private void runDeviceTestAsUserInPkgA(@Nonnull String testMethod, int userId) in runDeviceTestAsUserInPkgA() argument 54 assertWithMessage(testMethod + " failed").that( in runDeviceTestAsUserInPkgA() 55 runDeviceTests(getDevice(), TARGET_PKG_A, TEST_CLASS_A, testMethod, userId, in runDeviceTestAsUserInPkgA() local
|
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/ |
D | TestInfo.java | 28 public final String testMethod; field in TestInfo 30 public TestInfo(String testPackage, String testClass, String testMethod) { in TestInfo() argument 33 this.testMethod = testMethod; in TestInfo() 42 return testClass + "#" + testMethod; in getTestName()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | SensorCtsVerifierTestActivity.java | 76 Method testMethod = testMethodIt.next(); in executeTests() local 78 getTestLogger().logTestStart(testMethod.getName()); in executeTests() 79 SensorTestDetails testDetails = executeTest(testMethod); in executeTests() 93 testDetails = executeTest(testMethod); in executeTests() 122 private SensorTestDetails executeTest(Method testMethod) throws InterruptedException { in executeTest() argument 123 String testMethodName = testMethod.getName(); in executeTest() 125 mCurrentTestNode = new TestNode(testMethod); in executeTest() 129 String testSummary = (String) testMethod.invoke(this); in executeTest() 164 public TestNode(Method testMethod) { in TestNode() argument 165 mTestMethod = testMethod; in TestNode()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | CddCoverage.java | 42 public void addCoverage(String cddRequirementId, TestMethod testMethod) { in addCoverage() argument 47 requirements.get(cddRequirementId).addTestMethod(testMethod); in addCoverage() 82 public void addTestMethod(TestMethod testMethod) { in addTestMethod() argument 83 mtestMethods.add(testMethod); in addTestMethod() 96 TestMethod(String testModule, String testClass, String testMethod) { in TestMethod() argument 99 this.mTestMethod = testMethod; in TestMethod()
|
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/ |
D | BaseBlobStoreHostTest.java | 63 protected void runDeviceTest(String testPkg, String testClass, String testMethod) in runDeviceTest() argument 65 runDeviceTest(testPkg, testClass, testMethod, null); in runDeviceTest() 68 protected void runDeviceTestAsUser(String testPkg, String testClass, String testMethod, in runDeviceTestAsUser() argument 70 runDeviceTestAsUser(testPkg, testClass, testMethod, null, userId); in runDeviceTestAsUser() 73 protected void runDeviceTest(String testPkg, String testClass, String testMethod, in runDeviceTest() argument 75 runDeviceTestAsUser(testPkg, testClass, testMethod, instrumentationArgs, -1); in runDeviceTest() 78 protected void runDeviceTestAsUser(String testPkg, String testClass, String testMethod, in runDeviceTestAsUser() argument 82 .setTestMethodName(testMethod) in runDeviceTestAsUser() 92 assertWithMessage(testMethod + " failed").that( in runDeviceTestAsUser()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | OverlayHostTest.java | 147 String testMethod) 162 runDeviceTests(TEST_APP_PACKAGE, TEST_APP_CLASS, testMethod, false /* instant */); 269 String testMethod = "testSameSignatureNoOverlayableSucceeds"; 271 OVERLAY_ALL_PACKAGE, testMethod); 280 String testMethod = "testOverlayPolicyAll"; 282 testMethod); 287 String testMethod = "testOverlayCodeNotLoaded"; 289 testMethod); 320 String testMethod = "testFrameworkDoesNotDefineOverlayable"; 321 runDeviceTests(TEST_APP_PACKAGE, TEST_APP_CLASS, testMethod, false /* instant */); [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/ |
D | PowerManagerStatsTests.java | 100 final String testMethod = "testGetThermalHeadroom"; in testThermalHeadroomCalledIsPushed() local 102 DEVICE_TEST_PKG + DEVICE_TEST_CLASS + "#" + testMethod); in testThermalHeadroomCalledIsPushed() 106 DEVICE_TEST_CLASS, testMethod); in testThermalHeadroomCalledIsPushed() 129 final String testMethod = "testGetCurrentThermalStatus"; in testThermalStatusCalledIsPushed() local 131 DEVICE_TEST_PKG + DEVICE_TEST_CLASS + "#" + testMethod); in testThermalStatusCalledIsPushed() 135 DEVICE_TEST_CLASS, testMethod); in testThermalStatusCalledIsPushed() 155 final String testMethod = "testGetThermalHeadroomThresholds"; in testThermalHeadroomThresholdsCalledIsPushed() local 157 DEVICE_TEST_PKG + DEVICE_TEST_CLASS + "#" + testMethod); in testThermalHeadroomThresholdsCalledIsPushed() 161 DEVICE_TEST_CLASS, testMethod); in testThermalHeadroomThresholdsCalledIsPushed()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicommon/ |
D | ApiClass.java | 119 List<String> parameterTypes, String testMethod) { in markConstructorCoveredTest() argument 122 mSuperClass.markConstructorCoveredTest(parameterTypes, testMethod); in markConstructorCoveredTest() 125 apiConstructor.ifPresent(constructor -> constructor.setCoveredTest(testMethod)); in markConstructorCoveredTest() 131 String name, List<String> parameterTypes, String testMethod) { in markMethodCoveredTest() argument 134 mSuperClass.markMethodCoveredTest(name, parameterTypes, testMethod); in markMethodCoveredTest() 140 mInterface.markMethodCoveredTest(name, parameterTypes, testMethod); in markMethodCoveredTest() 145 apiMethod.ifPresent(method -> method.setCoveredTest(testMethod)); in markMethodCoveredTest()
|
D | ApiConstructor.java | 76 public void setCoveredTest(String testMethod) { in setCoveredTest() argument 77 mCoveredTests.put(testMethod, true); in setCoveredTest()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | HeadlessSystemUserDeviceOwnerTest.java | 61 private void executeDeviceTest(String testMethod) throws Exception { in executeDeviceTest() argument 62 executeDeviceTestMethod(".HeadlessSystemUserTest", testMethod); in executeDeviceTest()
|
D | ManagedProfilePasswordTest.java | 215 final String testMethod = in verifyUnifiedPassword() local 218 testMethod, mProfileUserId); in verifyUnifiedPassword()
|
D | DeviceOwnerTest.java | 1130 private void executeCreateAndManageUserTest(String testMethod) throws Exception { in executeCreateAndManageUserTest() argument 1136 executeDeviceOwnerTestMethod(".CreateAndManageUserTest", testMethod); in executeCreateAndManageUserTest() 1139 private void executeListForegroundAffiliatedUsersTest(String testMethod) throws Exception { in executeListForegroundAffiliatedUsersTest() argument 1145 executeDeviceOwnerTestMethod(".ListForegroundAffiliatedUsersTest", testMethod); in executeListForegroundAffiliatedUsersTest()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/performancehintmanager/ |
D | PerformanceHintManagerStatsTests.java | 120 final String testMethod = "testCreateHintSession"; in testCreateHintSessionStatsdApp() local 122 DEVICE_TEST_PKG + DEVICE_TEST_CLASS + "#" + testMethod); in testCreateHintSessionStatsdApp() 126 DEVICE_TEST_CLASS, testMethod); in testCreateHintSessionStatsdApp() 170 final String testMethod = "testCreateHintSession"; in testCreateHintSessionStatsdGame() local 172 DEVICE_TEST_PKG + DEVICE_TEST_CLASS + "#" + testMethod); in testCreateHintSessionStatsdGame() 176 DEVICE_TEST_CLASS, testMethod); in testCreateHintSessionStatsdGame() 239 final String testMethod = "testAdpfTidCleanup"; in testAdpfHintSessionTidCleanupIsPushed() local 241 DEVICE_TEST_PKG + DEVICE_TEST_CLASS + "#" + testMethod); in testAdpfHintSessionTidCleanupIsPushed() 245 DEVICE_TEST_CLASS, testMethod); in testAdpfHintSessionTidCleanupIsPushed()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/media/projection/ |
D | MediaProjectionAtomsTests.java | 111 final String testMethod = "testCallbackOnStop"; in testMediaProjectionStateChanged_stoppedCapture() local 113 TestDescription.fromString(TEST_PKG + testClass + "#" + testMethod); in testMediaProjectionStateChanged_stoppedCapture() 116 DeviceUtils.runDeviceTests(getDevice(), TEST_PKG, testClass, testMethod); in testMediaProjectionStateChanged_stoppedCapture() 156 final String testMethod = "testCallbackOnStop"; in testMediaProjectionTargetChanged_stoppedCapture() local 158 TestDescription.fromString(TEST_PKG + testClass + "#" + testMethod); in testMediaProjectionTargetChanged_stoppedCapture() 161 DeviceUtils.runDeviceTests(getDevice(), TEST_PKG, testClass, testMethod); in testMediaProjectionTargetChanged_stoppedCapture() 190 final String testMethod = "testMediaProjectionPermissionDialogCancel"; in testMediaProjectionStateChanged_setupCancelled() local 192 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), testClass, testMethod); in testMediaProjectionStateChanged_setupCancelled() local
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/ |
D | AppCloningBaseHostTest.java | 187 protected void runDeviceTestAsUserInPkgA(@Nonnull String testMethod, int userId, in runDeviceTestAsUserInPkgA() argument 190 runDeviceTestAsUser(APP_A_PACKAGE, TEST_CLASS_A, testMethod, userId, args); in runDeviceTestAsUserInPkgA() 194 @Nonnull String testMethod, int userId, @Nonnull Map<String, String> args) in runDeviceTestAsUser() argument 198 .setTestMethodName(testMethod) in runDeviceTestAsUser() 205 assertWithMessage(testMethod + " failed").that( in runDeviceTestAsUser()
|
/cts/hostsidetests/angle/src/android/angle/cts/ |
D | CtsAngleDeveloperOptionHostTest.java | 167 final String testMethod = getTestMethod(getDevice()); in testUseDefaultDriver() local 175 testMethod); in testUseDefaultDriver() 221 final String testMethod = getTestMethod(getDevice()); in testSettingsLengthMismatch() local 231 testMethod); in testSettingsLengthMismatch() 234 ANGLE_DRIVER_TEST_SEC_PKG + "." + ANGLE_DRIVER_TEST_CLASS, testMethod); in testSettingsLengthMismatch() 244 final String testMethod = getTestMethod(getDevice()); in testUseInvalidDriverSetting() local 251 testMethod); in testUseInvalidDriverSetting()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | EndToEndImeTestBase.java | 126 final Method testMethod; in verifyAppModeConsistency() local 128 testMethod = thisClass.getMethod(testMethodName); in verifyAppModeConsistency() 133 final boolean hasAppModeFull = testMethod.getAnnotation(AppModeFull.class) != null; in verifyAppModeConsistency() 134 final boolean hasAppModeInstant = testMethod.getAnnotation(AppModeInstant.class) != null; in verifyAppModeConsistency()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | TestHelper.java | 87 final Method testMethod = getTestMethod(); in TestHelper() local 88 final Class<?> testClass = testMethod.getDeclaringClass(); in TestHelper() 91 testMethod.getName()); in TestHelper()
|
/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() local 60 testMethod.invoke(null, getResources(), in runTest()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/ |
D | TarJan.java | 52 public TarJan(MethodProfile testMethod, Set<String> resolvedMethods) { in TarJan() argument 54 tarjan(testMethod); in TarJan()
|
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
D | AppCloningMediaProviderHostTest.java | 184 protected void runDeviceTestAsUserInPkgA(@Nonnull String testMethod, int userId, in runDeviceTestAsUserInPkgA() argument 190 .setTestMethodName(testMethod) in runDeviceTestAsUserInPkgA() 196 assertWithMessage(testMethod + " failed").that( in runDeviceTestAsUserInPkgA()
|
/cts/hostsidetests/usb/src/com/android/cts/usb/ |
D | TestUsbTest.java | 95 private void runTestOnDevice(String testMethod) throws DeviceNotAvailableException { in runTestOnDevice() argument 99 testRunner.setMethodName(TEST_CLASS_NAME, testMethod); in runTestOnDevice()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appexit/ |
D | AppExitHostTest.java | 126 private void performLogStatsdTest(String testMethod, String targetPackage, int expectedSize, in performLogStatsdTest() argument 135 DeviceUtils.runDeviceTests(getDevice(), TEST_PKG, TEST_CLASS, testMethod); in performLogStatsdTest() local
|
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/ |
D | ShellCommandFromAppTest.java | 54 .setTestMethodName(testInfo.testMethod)); in runDeviceTestMethodWithoutHiddenApiCheck()
|