Home
last modified time | relevance | path

Searched defs:rule (Results 1 – 22 of 22) sorted by relevance

/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DTracePointRuleTest.java37 TestableTracePointRule rule = new TestableTracePointRule(); in testNoNameGiven() local
46 TestableTracePointRule rule = new TestableTracePointRule(""); in testEmptyStringGiven() local
55 TestableTracePointRule rule = new TestableTracePointRule("FakeName"); in testTagGiven() local
64 TestableTracePointRule rule = new TestableTracePointRule(); in testTraceCallOrder() local
74 TestableTracePointRule rule = new TestableTracePointRule("FakeName", 4); in testSectionNameMaxLength_withTag() local
83 TestableTracePointRule rule = new TestableTracePointRule(7); in testSectionNameMaxLength_withTestName() local
DTestWatcherTest.java38 TestableTestWatcher rule = in testAllCallsSuccessful() local
50 TestableTestWatcher rule = in testCallsFail_starting() local
66 TestableTestWatcher rule = in testCallsFail_statement() local
82 TestableTestWatcher rule = in testCallsFail_succeeded() local
98 TestableTestWatcher rule = in testStatementIsSkipped() local
114 TestableTestWatcher rule = in testCallFails_skipped() local
131 TestableTestWatcher rule = in testCallsFail_failed() local
147 TestableTestWatcher rule = in testCallsFail_finished() local
DCompilationFilterRuleTest.java41 CompilationFilterRule rule = new CompilationFilterRule(); in testNoAppToCompileFails() local
52 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(badFilterBundle, in testAppToCompile_badFilterThrows() local
66 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testAppToCompile_failCompilationThrows() local
86 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testOneAppToCompile() local
107 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testMultipleAppsToCompile() local
133 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testMultipleAppsToCompileInSpeedProfile() local
DKillAppsRuleTest.java44 KillAppsRule rule = new KillAppsRule(); in testNoAppToKillFails() local
56 TestableKillAppsRule rule = new TestableKillAppsRule(new Bundle(), "example.package.name"); in testOneAppToKill() local
69 TestableKillAppsRule rule = new TestableKillAppsRule(new Bundle(), in testMultipleAppsToKill() local
90 TestableKillAppsRule rule = new TestableKillAppsRule(noKillAppsBundle, in testDisableKillsAppsRuleOption() local
DIorapCompilationRuleTest.java45 IorapCompilationRule rule = new IorapCompilationRule(); in testNoAppToKillFails() local
57 TestableIorapCompilationRule rule = in testDoingNothingWhenParamsUnset() local
73 TestableIorapCompilationRule rule = in testDisablingIorapdWhenParamsAreSet() local
93 TestableIorapCompilationRule rule = in testEnablingIorapdWhenParamsAreSet() local
114 TestableIorapCompilationRule rule = in testCompilingIorapdWhenParamsAreSet() local
DQuickstepPressureRuleTest.java37 QuickstepPressureRule rule = new QuickstepPressureRule(); in testNoAppToOpenFails() local
47 TestableQuickstepPressureRule rule = in testOneAppToOpen() local
59 TestableQuickstepPressureRule rule = in testMultipleAppsToOpen() local
DUnlockScreenRuleTest.java40 TestableUnlockScreenRule rule = new TestableUnlockScreenRule(false, false); in testScreenOff() local
56 TestableUnlockScreenRule rule = new TestableUnlockScreenRule(true, false); in testScreenLocked() local
72 TestableUnlockScreenRule rule = new TestableUnlockScreenRule(true, true); in testScreenOn() local
DFinishActivitiesWithoutProcessKillRuleTest.java48 FinishActivitiesWithoutProcessKillRule rule = in testNoAppToFinishActivitiesFails() local
61 TestableRule rule = new TestableRule(new Bundle(), "example.package.name"); in testFinishActivities() local
80 TestableRule rule = new TestableRule(bundle, "example.package.name"); in testDisableFinishActivities() local
DRemoveAppFromStackRuleTest.java49 RemoveAppFromStackRule rule = new RemoveAppFromStackRule(); in testNoAppToRemoveFromStackFails() local
61 TestableRule rule = new TestableRule(new Bundle(), "example.package.name"); in testRemoveAppFromStack() local
79 TestableRule rule = new TestableRule(noRemoveAppFromStackBundle, "example.package.name"); in testDisableRemoveAppFromStack() local
DStopwatchRuleTest.java40 StopwatchRule rule = new StopwatchRule(); in testMeasurementIsCorrect() local
61 StopwatchRule rule = new StopwatchRule(); in testMetricSendToInstr() local
DGarbageCollectRuleTest.java44 GarbageCollectRule rule = new GarbageCollectRule(); in testNoAppToGcFails() local
56 GarbageCollectRule rule = new TestableGarbageCollectRule("package.name1"); in testCallsGcBeforeTest() local
DTestMetricRuleTest.java75 TestMetricRule rule = in testValidListener_testPasses() local
91 TestMetricRule rule = in testValidListener_testFails() local
114 TestMetricRule rule = in testMultipleListeners_allValid() local
149 TestMetricRule rule = in testInvalidListenerNameThrows() local
163 TestMetricRule rule = createWithMetricCollectorNames(simpleName); in testSimpleClassNameAttemptedWithKnownPackage() local
DCoolDownRuleTest.java67 TestableRule rule = getDefaultRule(screenOn, maxWait, abortOnTimeout); in testCoolDownNormal() local
94 TestableRule rule = new TestableRule(screenOn, mThermalHelper); in testCoolDownFallback() local
106 TestableRule rule = getDefaultRule(screenOn, maxWait, abortOnTimeout); in testCoolDownTimeout() local
139 TestableRule rule = getDefaultRule(screenOn, maxWait, abortOnTimeout); in testCoolDownTimeoutAbort() local
172 TestableRule rule = getDefaultRule(screenOn, maxWait, abortOnTimeout); in testCoolDownScreenOff() local
255 TestableRule rule = new TestableRule(screenOn, mThermalHelper); in getDefaultRule() local
DPressHomeRuleTest.java46 TestablePressHomeRule rule = new TestablePressHomeRule(pressHomeBundle); in testPressHomeEnabled() local
68 TestablePressHomeRule rule = new TestablePressHomeRule(pressHomeBundle); in testPressHomeDisabled() local
DNotificationPressureRuleTest.java42 TestableNotificationPressureRule rule = in testPostNotifications_withoutPackage() local
67 TestableNotificationPressureRule rule = in testPostNotifications_withPackage() local
DDropCachesRuleTest.java41 TestableDropCachesRule rule = new TestableDropCachesRule(new Bundle()); in testDropCachesCommand() local
56 TestableDropCachesRule rule = new TestableDropCachesRule(noDropCacheBundle); in testNoDropCacheFlag() local
DNaturalOrientationRuleTest.java41 TestableNaturalOrientationRule rule = new TestableNaturalOrientationRule(); in testNaturalOrientationSetAndUnset() local
DDex2oatPressureRuleTest.java68 private Dex2oatPressureRule rule; field in Dex2oatPressureRuleTest
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/service/
DFassMockTest.kt41 val rule = WMFlickerServiceRuleTest() constant
DRotationMockTest.kt42 val rule = WMFlickerServiceRuleTest() constant in com.android.server.wm.flicker.service.RotationMockTest
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/
DAudioTestHarnessServerModuleTests.java44 @Rule public final MockitoRule rule = MockitoJUnit.rule(); field in AudioTestHarnessServerModuleTests
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DDynamicRuleChain.java84 TestRule rule = null; in apply() local