/packages/services/Car/tests/carservice_unit_test/src/android/car/test/ |
D | PermissionsCheckerRuleTest.java | 64 Description testMethod = newTestMethod(); in testNoAnnotation() local 66 mRule.apply(mBaseStatement, testMethod).evaluate(); in testNoAnnotation() 75 Description testMethod = newTestMethod(new EnsureHasPermissionAnnotation("To Kill")); in testEnsureHasPermission_onePermission() local 77 mRule.apply(mBaseStatement, testMethod).evaluate(); in testEnsureHasPermission_onePermission() 86 Description testMethod = newTestMethod(new EnsureHasPermissionAnnotation("To Kill")); in testEnsureHasPermission_onePermissionTestThrows() local 91 () -> mRule.apply(mBaseStatement, testMethod).evaluate()); in testEnsureHasPermission_onePermissionTestThrows() 100 Description testMethod = newTestMethod(new EnsureHasPermissionAnnotation("To", "Kill")); in testEnsureHasPermission_multiplePermissions() local 102 mRule.apply(mBaseStatement, testMethod).evaluate(); in testEnsureHasPermission_multiplePermissions() 111 Description testMethod = newTestMethod(new EnsureHasPermissionAnnotation("To Kill")); in testEnsureHasPermission_permissionsAdoptedBefore() local 114 mRule.apply(mBaseStatement, testMethod).evaluate(); in testEnsureHasPermission_permissionsAdoptedBefore() [all …]
|
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/ |
D | AbstractSdkLevelSupportedRuleTest.java | 147 Description testMethod = newTestMethod(); in testPassesWhenDeviceLevelIsInRange() local 150 rule.apply(mBaseStatement, testMethod).evaluate(); in testPassesWhenDeviceLevelIsInRange() 164 Description testMethod = newTestMethod(); in testSkipsWhenDeviceLevelIsOutsideRange() local 169 () -> rule.apply(mBaseStatement, testMethod).evaluate()); in testSkipsWhenDeviceLevelIsOutsideRange() 198 Description testMethod) { in assertGetRequiredRange() argument 199 RequiredRange actualRequiredRange = rule.getRequiredRange(testMethod); in assertGetRequiredRange() 203 rule, expectedRequiredRange, actualRequiredRange, testMethod); in assertGetRequiredRange() 784 Description testMethod = newTestMethod(newAnnotationForLessThanT(REASON)); in testSkippedWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithLessThanT() local 789 () -> rule.apply(mBaseStatement, testMethod).evaluate()); in testSkippedWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithLessThanT() 802 Description testMethod = newTestMethod(newAnnotationForLessThanT(REASON)); in testThrewWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithLessThanT() local [all …]
|
/packages/modules/AdServices/adservices/libraries/health/runners/concurrent-longevity/adservices/src/android/adservices/test/longevity/concurrent/ |
D | ConcurrentScenariosStatement.java | 54 FrameworkMethod testMethod = mMethods.get(i); in evaluate() local 58 testMethod.invokeExplosively(testClass); in evaluate() 69 testMethod.getName()), in evaluate() 77 testMethod.getName())); in evaluate()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | SetFeatureFlagsRule.kt | 73 val testMethod = description.testClass.getMethod(description.methodName) in apply() constant 74 val featureFlagAnnotations = testMethod.getAnnotationsByType( in apply()
|
/packages/modules/Connectivity/tools/testdata/ |
D | test-unsupportedappusage.txt | 1 Ltest/unsupportedappusage/TestUnsupportedAppUsageClass;->testMethod()V
|
/packages/modules/Connectivity/tools/testdata/java/test/unsupportedappusage/ |
D | TestUnsupportedAppUsageClass.java | 25 public void testMethod() {} in testMethod() method in TestUnsupportedAppUsageClass
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/observations/ |
D | PrivacyGeneratorStatisticalTest.java | 70 private void assertStatisticalTest(int numberOfVotes, Runnable testMethod) throws Exception { in assertStatisticalTest() argument 76 testMethod.run(); in assertStatisticalTest()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/ |
D | AbstractExtendedMockitoTestCase.java | 638 Method testMethod = AbstractExtendedMockitoTestCase.this.getClass() in apply() local 640 ExpectWtf expectWtfAnnotation = testMethod.getAnnotation(ExpectWtf.class); in apply()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/ |
D | CSTest.kt | 240 val testMethod = this::class.java.getMethod(testMethodName) in setUp() constant 241 val featureFlags = testMethod.getAnnotation(FeatureFlags::class.java) in setUp()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpReachabilityMonitorTest.kt | 307 var testMethod = this::class.java.getMethod(mTestName.methodName) in setUp() variable 308 val flags = testMethod.getAnnotationsByType(Flag::class.java) in setUp()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 738 final Method testMethod = IpClientIntegrationTestCommon.class.getMethod(testMethodName); 739 mIsSignatureRequiredTest = testMethod.getAnnotation(SignatureRequiredTest.class) != null; 747 final Flag[] flags = testMethod.getAnnotationsByType(Flag.class);
|