/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ui/ |
D | SafetyCenterQsActivityTest.kt | 37 import org.junit.Rule 49 @get:Rule(order = 1) val supportsSafetyCenterRule = SupportsSafetyCenterRule(context) 50 @get:Rule(order = 2) val enableCameraRule = EnableSensorRule(context, CAMERA) 51 @get:Rule(order = 3) val enableMicrophoneRule = EnableSensorRule(context, MICROPHONE) 52 @get:Rule(order = 4) val safetyCenterTestRule = SafetyCenterTestRule(safetyCenterTestHelper) 53 @get:Rule(order = 5) val disableAnimationRule = DisableAnimationRule() 54 @get:Rule(order = 6) val freezeRotationRule = FreezeRotationRule()
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/junit/ |
D | EasilyExtensibleBlockJUnit4ClassRunner.java | 18 import org.junit.Rule; 60 testClass.collectAnnotatedMethodValues(target, Rule.class, TestRule.class, collector); in getTestRules() 61 testClass.collectAnnotatedFieldValues(target, Rule.class, TestRule.class, collector); in getTestRules() 67 testClass.collectAnnotatedMethodValues(target, Rule.class, MethodRule.class, collector); in rules() 68 testClass.collectAnnotatedFieldValues(target, Rule.class, MethodRule.class, collector); in rules() 100 Rule rule = member.getAnnotation(Rule.class); in accept()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/ |
D | DataEntriesFragmentTest.kt | 40 import org.junit.Rule 46 @get:Rule val disableAnimationRule = DisableAnimationRule() 48 @get:Rule val freezeRotationRule = FreezeRotationRule() 81 @Rule 87 @Rule 93 @Rule 99 @Rule
|
D | ManageDataFragmentTest.kt | 27 import org.junit.Rule 31 @get:Rule 34 @get:Rule
|
D | DataAccessFragmentTest.kt | 34 import org.junit.Rule 38 @get:Rule 41 @get:Rule
|
/packages/modules/AdServices/adservices/tests/test-util/host-side/com/android/adservices/common/ |
D | AdServicesHostSideTestCase.java | 21 import org.junit.Rule; 33 @Rule(order = 0) 36 @Rule(order = 1) 40 @Rule(order = 2)
|
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/ui/ |
D | SafetyCenterActivityTest.kt | 35 import org.junit.Rule 46 @get:Rule(order = 1) val supportsSafetyCenterRule = SupportsSafetyCenterRule(context) 47 @get:Rule(order = 2) val safetyCenterTestRule = SafetyCenterTestRule(safetyCenterTestHelper) 48 @get:Rule(order = 3) val disableAnimationRule = DisableAnimationRule() 49 @get:Rule(order = 4) val freezeRotationRule = FreezeRotationRule()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | GridMigrationTest.kt | 31 import org.junit.Rule in <lambda>() 73 @Rule 78 @Rule 147 @Rule 170 @Rule in 5x5 to 3x3() 193 @Rule in 5x5 to 3x3() 216 @Rule in 5x5 to 3x3()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/measurement/load/scenarios/ |
D | AbstractTestAction.java | 29 import org.junit.Rule; 60 @Rule 64 @Rule 68 @Rule 72 @Rule
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/ |
D | DeviceSideTestCase.java | 22 import org.junit.Rule; 47 @Rule(order = 0) 51 @Rule
|
/packages/modules/AdServices/adservices/tests/perf/tests/src/android/adservices/test/scenario/adservices/iapc/ |
D | GetAdIdApiCallCacheDisabledMicrobenchmark.java | 25 import org.junit.Rule; 31 @Rule(order = 12) 35 @Rule(order = 13)
|
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/ |
D | SdkSandboxCapabilitiesTest.java | 44 import org.junit.Rule; 53 @Rule(order = 0) 56 @Rule(order = 1) 60 @Rule(order = 3)
|
D | SdkSandboxControllerTest.java | 46 import org.junit.Rule; 55 @Rule(order = 0) 58 @Rule(order = 1) 61 @Rule(order = 2)
|
D | SdkSandboxValidationOverTTests.java | 34 import org.junit.Rule; 41 @Rule(order = 0) 44 @Rule(order = 1)
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/ |
D | ProcessLifeguardTestSuite.java | 36 import org.junit.Rule; 100 @Rule 139 @Rule(order = 0) 143 @Rule(order = 1) 160 @Rule
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | BaseNotificationListenerCheckTest.java | 48 import org.junit.Rule; 111 @Rule 119 @Rule 127 @Rule 134 @Rule
|
D | AccessibilityPrivacySourceTest.kt | 55 import org.junit.Rule 78 @get:Rule val screenRecordRule = ScreenRecordRule(false, false) 80 @get:Rule 84 @get:Rule 93 @get:Rule
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/ |
D | DckScanTest.kt | 34 import org.junit.Rule 52 @Rule(order = 0) @JvmField val shellPermissionRule = AdoptShellPermissionsRule() 56 @Rule(order = 1) @JvmField val bumble = PandoraDevice() 59 @get:Rule(order = 2)
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/backuprestore/ |
D | BackupAndRestoreDBSelectionTest.kt | 31 import org.junit.Rule 43 @JvmField @Rule var backAndRestoreRule = BackAndRestoreRule() 46 @Rule
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/viewmodel/ |
D | DeviceRotationViewModelTest.java | 31 import org.junit.Rule; 40 @Rule public final MockitoRule mockito = MockitoJUnit.rule(); 41 @Rule public final InstantTaskExecutorRule mTaskExecutorRule = new InstantTaskExecutorRule();
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/ |
D | KeyAttestationTest.java | 33 import org.junit.Rule; 67 @Rule(order = 0) 70 @Rule(order = 1) 74 @Rule public final MockitoRule mockito = MockitoJUnit.rule();
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | ProtectedSignalsManagerTest.java | 33 import org.junit.Rule; 40 @Rule(order = 0) 43 @Rule(order = 1)
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | SharedStorageDatabaseMigrationTest.java | 31 import org.junit.Rule; 45 @Rule(order = 0) 48 @Rule(order = 1)
|
/packages/modules/Bluetooth/floss/hcidoc/src/ |
D | engine.rs | 25 pub trait Rule { trait 44 rules: Vec<Box<dyn Rule>>, 52 pub fn add_rule(&mut self, rule: Box<dyn Rule>) { in add_rule() argument
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/devapi/ |
D | AppPackageNameRetrieverTest.java | 33 import org.junit.Rule; 40 @Rule public final MockitoRule mMockitoRule = MockitoJUnit.rule(); 45 @Rule(order = 0)
|