/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/ |
D | TracePointRuleTest.java | 37 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
|
D | TestWatcherTest.java | 38 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
|
D | CompilationFilterRuleTest.java | 41 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
|
D | KillAppsRuleTest.java | 44 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
|
D | IorapCompilationRuleTest.java | 45 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
|
D | QuickstepPressureRuleTest.java | 37 QuickstepPressureRule rule = new QuickstepPressureRule(); in testNoAppToOpenFails() local 47 TestableQuickstepPressureRule rule = in testOneAppToOpen() local 59 TestableQuickstepPressureRule rule = in testMultipleAppsToOpen() local
|
D | UnlockScreenRuleTest.java | 40 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
|
D | FinishActivitiesWithoutProcessKillRuleTest.java | 48 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
|
D | RemoveAppFromStackRuleTest.java | 49 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
|
D | StopwatchRuleTest.java | 40 StopwatchRule rule = new StopwatchRule(); in testMeasurementIsCorrect() local 61 StopwatchRule rule = new StopwatchRule(); in testMetricSendToInstr() local
|
D | GarbageCollectRuleTest.java | 44 GarbageCollectRule rule = new GarbageCollectRule(); in testNoAppToGcFails() local 56 GarbageCollectRule rule = new TestableGarbageCollectRule("package.name1"); in testCallsGcBeforeTest() local
|
D | TestMetricRuleTest.java | 75 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
|
D | CoolDownRuleTest.java | 67 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
|
D | PressHomeRuleTest.java | 46 TestablePressHomeRule rule = new TestablePressHomeRule(pressHomeBundle); in testPressHomeEnabled() local 68 TestablePressHomeRule rule = new TestablePressHomeRule(pressHomeBundle); in testPressHomeDisabled() local
|
D | NotificationPressureRuleTest.java | 42 TestableNotificationPressureRule rule = in testPostNotifications_withoutPackage() local 67 TestableNotificationPressureRule rule = in testPostNotifications_withPackage() local
|
D | DropCachesRuleTest.java | 41 TestableDropCachesRule rule = new TestableDropCachesRule(new Bundle()); in testDropCachesCommand() local 56 TestableDropCachesRule rule = new TestableDropCachesRule(noDropCacheBundle); in testNoDropCacheFlag() local
|
D | NaturalOrientationRuleTest.java | 41 TestableNaturalOrientationRule rule = new TestableNaturalOrientationRule(); in testNaturalOrientationSetAndUnset() local
|
D | Dex2oatPressureRuleTest.java | 68 private Dex2oatPressureRule rule; field in Dex2oatPressureRuleTest
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/service/ |
D | FassMockTest.kt | 41 val rule = WMFlickerServiceRuleTest() constant
|
D | RotationMockTest.kt | 42 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/ |
D | AudioTestHarnessServerModuleTests.java | 44 @Rule public final MockitoRule rule = MockitoJUnit.rule(); field in AudioTestHarnessServerModuleTests
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | DynamicRuleChain.java | 84 TestRule rule = null; in apply() local
|