Home
last modified time | relevance | path

Searched refs:testMethodName (Results 1 – 11 of 11) sorted by relevance

/packages/modules/RemoteKeyProvisioning/app/tests/hosttest/src/com/android/rkpdapp/hosttest/
DAtomsHostTest.java75 void runIntegrationTest(String testMethodName, String className) throws Exception { in runIntegrationTest() argument
76 testMethodName = testMethodName + "[0: instanceName=default]"; in runIntegrationTest()
77 runTest("com.android.rkpdapp.e2etest", testMethodName, className); in runIntegrationTest()
80 void runUnitTest(String testMethodName, String className) throws Exception { in runUnitTest() argument
81 runTest("com.android.rkpdapp.unittest", testMethodName, className); in runUnitTest()
95 private void runTest(String packageName, String testMethodName, String className) in runTest() argument
98 assertThat(runDeviceTests(packageName, testClassName, testMethodName)).isTrue(); in runTest()
DRkpdWidevineTests.java42 private void runTest(String testMethodName) throws Exception { in runTest() argument
60 assertThat(runDeviceTests(testPackageName, testClassName, testMethodName)) in runTest()
/packages/modules/Permission/tests/hostside/safetycenter/src/android/safetycenter/hostside/
DSafetyCenterInteractionLoggingHostTest.kt70 helperAppRule.runTest(TEST_CLASS_NAME, testMethodName = "openSafetyCenter") in openSafetyCenter_recordsSafetyCenterViewedEvent()
109 helperAppRule.runTest(TEST_CLASS_NAME, testMethodName = "openSafetyCenterWithIssueIntent") in openSafetyCenterWithIssueIntent_recordsViewEventWithAssociatedIssueMetadata()
127 testMethodName = "openSafetyCenterFromNotification" in openSafetyCenterWithNotification_recordsViewEventWithAssociatedIssueMetadata()
145 testMethodName = "sendNotification" in sendNotification_recordsNotificationPostedEvent()
159 helperAppRule.runTest(TEST_CLASS_NAME, testMethodName = "openSubpageFromIntentExtra") in openSubpageFromIntentExtra_recordsEventWithUnknownNavigationSource()
175 helperAppRule.runTest(TEST_CLASS_NAME, testMethodName = "openSubpageFromHomepage") in openSubpageFromHomepage_recordsEventWithSafetyCenterNavigationSource()
189 helperAppRule.runTest(TEST_CLASS_NAME, testMethodName = "openSubpageFromSettingsSearch") in openSubpageFromSettingsSearch_recordsEventWithSettingsNavigationSource()
/packages/services/Car/libs/car-test-lib/src/android/car/test/
DApiCheckerRule.java584 private void validateOptionalAnnotations(Class<?> testClass, String testMethodName,
593 validateUnsupportedVersionTest(testClass, testMethodName,
598 validateSupportedVersionTest(testClass, testMethodName,
604 private void validateUnsupportedVersionTest(Class<?> testClass, String testMethodName,
638 if (!testMethodName.equals(unsupportedVersionMethodOnSupportedAnnotation)) {
643 + ": it should be " + testMethodName);
647 private void validateSupportedVersionTest(Class<?> testClass, String testMethodName,
681 if (!testMethodName.equals(supportedVersionMethodOnSupportedAnnotation)) {
686 + ": it should be " + testMethodName);
/packages/modules/Permission/tests/hostside/safetycenter/src/android/safetycenter/hostside/rules/
DHelperAppRule.kt54 fun runTest(testClassName: String, testMethodName: String) { in runTest()
55 DeviceUtils.runDeviceTests(hostTestClass.device, packageName, testClassName, testMethodName) in runTest()
/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/testrule/src/android/app/sdksandbox/testutils/testscenario/
DSdkSandboxScenarioRule.java143 public void assertSdkTestRunPasses(String testMethodName) throws Throwable {
144 assertSdkTestRunPasses(testMethodName, new Bundle());
147 public void assertSdkTestRunPasses(String testMethodName, Bundle params) throws Throwable {
163 runSdkMethod(testMethodName, params);
/packages/apps/Settings/tests/Enable16KbTests/src/com/android/test/
DEnable16KbTest.java100 private void runTestAndWait(String testMethodName) throws Exception { in runTestAndWait() argument
101 runDeviceTests(APP_PACKAGE, APP_PACKAGE + "." + TEST_NAME, testMethodName); in runTestAndWait()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/database/
DDatabaseTestUtils.java154 ITestDevice device, String pkgName, String testClassName, String testMethodName) in runDeviceTests() argument
163 if (testClassName != null && testMethodName != null) { in runDeviceTests()
164 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DAbstractExtendedMockitoTestCase.java635 String testMethodName = description.getMethodName(); in apply()
639 .getMethod(testMethodName); in apply()
645 beginTrace("evaluate-" + testMethodName); in apply()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/
DCSTest.kt238 val testMethodName = testNameRule.methodName in setUp() constant
240 val testMethod = this::class.java.getMethod(testMethodName) in setUp()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java737 final String testMethodName = mTestNameRule.getMethodName();
738 final Method testMethod = IpClientIntegrationTestCommon.class.getMethod(testMethodName);