/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/ |
D | CompilationFilterRuleTest.java | 48 CompilationFilterRule rule = new CompilationFilterRule(); in testNoAppToCompileFails() local 59 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(badFilterBundle, in testAppToCompile_badFilterThrows() local 73 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testAppToCompile_failCompilationThrows() local 93 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testOneAppToCompile() local 114 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testOneAppToCompileMultipleIterations() local 137 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testOneAppMultipleCompileMultipleTests() local 160 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testOneAppToCompileDuplicateTests() local 183 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testMultipleAppsToCompile() local 209 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testMultipleAppsToCompileInSpeedProfile() local
|
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 | LimitDevicesRuleTest.kt | 40 val rule = LimitDevicesRule(thisDevice = CF_PHONE.product) in allowOnPhone_withPhone_succeeds() constant 49 val rule = LimitDevicesRule(thisDevice = CF_TABLET.product) in allowOnPhone_withTablet_fails() constant 58 val rule = LimitDevicesRule(thisDevice = CF_TABLET.product) in denyOnPhone_withTablet_succeeds() constant 67 val rule = LimitDevicesRule(thisDevice = CF_PHONE.product) in denyOnPhone_withPhone_fails() constant
|
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 | GarbageCollectRuleTest.java | 44 GarbageCollectRule rule = new TestableGarbageCollectRule(); in testNoGcBeforeTest() local 62 GarbageCollectRule rule = new TestableGarbageCollectRule("package.name1"); in testCallsGcBeforeTest() local 83 GarbageCollectRule rule = new TestableGarbageCollectRule(gcEndBundle, "package.name1"); in testCallsGcBeforeAndAfterTest() local 104 GarbageCollectRule rule = new TestableGarbageCollectRule(gcEndBundle, "package.name1"); in testCallsGcOnlyBeforeTest() 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 | StopwatchRuleTest.java | 40 StopwatchRule rule = new StopwatchRule(); in testMeasurementIsCorrect() local 60 StopwatchRule rule = new StopwatchRule(); in testMetricSendToInstr() local 77 TestableStopwatchRule rule = new TestableStopwatchRule(args); in testMetricKeyWithoutAppend() local 98 TestableStopwatchRule rule = new TestableStopwatchRule(args); in testMetricKeyWithAppend() 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 | TestMetricRuleTest.java | 75 TestMetricRule rule = in testValidListener_testPasses() local 93 TestMetricRule rule = in testValidListener_testFails() local 118 TestMetricRule rule = in testMultipleListeners_allValid() local 157 TestMetricRule rule = in testInvalidListenerNameThrows() local 171 TestMetricRule rule = createWithMetricCollectorNames(simpleName); in testSimpleClassNameAttemptedWithKnownPackage() local 181 TestMetricRule rule = in testInitWithDifferentOptionName() 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 | KillAppsOnFailureRuleTest.java | 55 TestableKillAppsOnFailureRule rule = new TestableKillAppsOnFailureRule(null); in testDefaultDoesNothing() local 65 TestableKillAppsOnFailureRule rule = new TestableKillAppsOnFailureRule(app); in testKillsSpecifiedApp() local 75 TestableKillAppsOnFailureRule rule = new TestableKillAppsOnFailureRule(apps); in testKillsSpecifiedApps() local
|
D | SuspendUnsuspendAppRuleTest.java | 52 TestableSuspendUnsuspendAppRule rule = in testSuspendUnsuspendAppRule() local 86 TestableSuspendUnsuspendAppRule rule = in testEnableSuspendUnsuspendAppRuleTrue() local 121 TestableSuspendUnsuspendAppRule rule = in testEnableSuspendUnsuspendAppRuleFalse() local
|
D | WaitForIdleTimeoutRuleTest.java | 79 WaitForIdleTimeoutRule rule = createRule(timeout, false); in testSetsAndRestoresTimeout() local 95 WaitForIdleTimeoutRule rule = createRule(777L, null); in testDisable() local 109 WaitForIdleTimeoutRule rule = spy(new WaitForIdleTimeoutRule()); in createRule() 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 | ClassMetricRuleTest.java | 69 ClassMetricRule rule = in testRunsSpecifiedCollectorsAndReportRunMetrics() local 92 ClassMetricRule rule = in testUsesTestCallbackRatherThanRunCallback() 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 | 40 val rule = WMFlickerServiceRuleTest() constant
|
D | RotationMockTest.kt | 41 val rule = WMFlickerServiceRuleTest() constant
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/ |
D | AudioTestHarnessServerModuleTests.java | 45 @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
|