Home
last modified time | relevance | path

Searched refs:Rule (Results 1 – 25 of 2009) sorted by relevance

12345678910>>...81

/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ui/
DSafetyCenterQsActivityTest.kt37 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/
DEasilyExtensibleBlockJUnit4ClassRunner.java18 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/
DDataEntriesFragmentTest.kt40 import org.junit.Rule
46 @get:Rule val disableAnimationRule = DisableAnimationRule()
48 @get:Rule val freezeRotationRule = FreezeRotationRule()
81 @Rule
87 @Rule
93 @Rule
99 @Rule
DManageDataFragmentTest.kt27 import org.junit.Rule
31 @get:Rule
34 @get:Rule
DDataAccessFragmentTest.kt34 import org.junit.Rule
38 @get:Rule
41 @get:Rule
/packages/modules/AdServices/adservices/tests/test-util/host-side/com/android/adservices/common/
DAdServicesHostSideTestCase.java21 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/
DSafetyCenterActivityTest.kt35 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/
DGridMigrationTest.kt31 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/
DAbstractTestAction.java29 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/
DDeviceSideTestCase.java22 import org.junit.Rule;
47 @Rule(order = 0)
51 @Rule
/packages/modules/AdServices/adservices/tests/perf/tests/src/android/adservices/test/scenario/adservices/iapc/
DGetAdIdApiCallCacheDisabledMicrobenchmark.java25 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/
DSdkSandboxCapabilitiesTest.java44 import org.junit.Rule;
53 @Rule(order = 0)
56 @Rule(order = 1)
60 @Rule(order = 3)
DSdkSandboxControllerTest.java46 import org.junit.Rule;
55 @Rule(order = 0)
58 @Rule(order = 1)
61 @Rule(order = 2)
DSdkSandboxValidationOverTTests.java34 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/
DProcessLifeguardTestSuite.java36 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/
DBaseNotificationListenerCheckTest.java48 import org.junit.Rule;
111 @Rule
119 @Rule
127 @Rule
134 @Rule
DAccessibilityPrivacySourceTest.kt55 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/
DDckScanTest.kt34 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/
DBackupAndRestoreDBSelectionTest.kt31 import org.junit.Rule
43 @JvmField @Rule var backAndRestoreRule = BackAndRestoreRule()
46 @Rule
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/viewmodel/
DDeviceRotationViewModelTest.java31 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/
DKeyAttestationTest.java33 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/
DProtectedSignalsManagerTest.java33 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/
DSharedStorageDatabaseMigrationTest.java31 import org.junit.Rule;
45 @Rule(order = 0)
48 @Rule(order = 1)
/packages/modules/Bluetooth/floss/hcidoc/src/
Dengine.rs25 pub trait Rule { interface
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/
DAppPackageNameRetrieverTest.java33 import org.junit.Rule;
40 @Rule public final MockitoRule mMockitoRule = MockitoJUnit.rule();
45 @Rule(order = 0)

12345678910>>...81