/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/ |
D | KillAppsRuleTest.java | 45 KillAppsRule rule = new KillAppsRule(); in testNoAppToKillFails() local 57 TestableKillAppsRule rule = new TestableKillAppsRule(new Bundle(), "example.package.name"); in testOneAppToKill() local 70 TestableKillAppsRule rule = new TestableKillAppsRule(new Bundle(), false, in testOneAppToKillAfterTestRun() local 84 TestableKillAppsRule rule = new TestableKillAppsRule(new Bundle(), in testMultipleAppsToKill() local 104 TestableKillAppsRule rule = new TestableKillAppsRule(new Bundle(), false, in testMultipleAppsToKillAfterTestRun() local 126 TestableKillAppsRule rule = new TestableKillAppsRule(noKillAppsBundle, in testDisableKillsAppsRuleOption() 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 | CompilationFilterRuleTest.java | 49 TestableCompilationFilterRule rule = in testNoAppToCompile() local 68 TestableCompilationFilterRule rule = in testSingleAppToCompile() local 88 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(badFilterBundle, in testAppToCompile_badFilterThrows() local 102 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testAppToCompile_failCompilationThrows() local 122 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testOneAppToCompile() local 143 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testOneAppToCompileMultipleIterations() local 178 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testOneAppMultipleCompileMultipleTests() local 213 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testOneAppToCompileDuplicateTests() local 236 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testMultipleAppsToCompile() local 262 TestableCompilationFilterRule rule = new TestableCompilationFilterRule(filterBundle, in testMultipleAppsToCompileInSpeedProfile() local
|
D | GarbageCollectRuleTest.java | 44 GarbageCollectRule rule = new TestableGarbageCollectRule(); in testNoGcBeforeTest() local 62 GarbageCollectRule rule = new TestableGarbageCollectRule("package.name1"); in testCallsGcBeforeTest() local 86 GarbageCollectRule rule = new TestableGarbageCollectRule(gcEndBundle, "package.name1"); in testCallsGcBeforeAndAfterTest() local 108 GarbageCollectRule rule = new TestableGarbageCollectRule(gcEndBundle, "package.name1"); in testCallsGcOnlyBeforeTest() local 129 GarbageCollectRule rule = new TestableGarbageCollectRule(gcEndBundle, "package.name1"); in testExtendWaitTime() local
|
D | QuickstepPressureRuleTest.java | 40 TestableQuickstepPressureRule rule = new TestableQuickstepPressureRule(); in testNoAppToOpenFails() local 52 TestableQuickstepPressureRule rule = in testOneAppToOpen() local 64 TestableQuickstepPressureRule rule = in testMultipleAppsToOpen() local 80 TestableQuickstepPressureRule rule = new TestableQuickstepPressureRule(PackageOption); in testOneAppToOpenFromOption() local
|
D | SetDefaultVolumeRuleTest.kt | 32 val rule = in testSetDefaultMinVolumeRule() constant 49 val rule = in testSetDefaultMaxVolumeRule() constant
|
D | TestMetricRuleTest.java | 75 TestMetricRule rule = in testValidListener_testPasses() local 93 TestMetricRule rule = in testValidListener_testFails() local 118 TestMetricRule rule = in testMultipleListeners_allValid() local 161 TestMetricRule rule = new TestMetricRule(args); in testMultipleListeners_lifoOrder() local 197 TestMetricRule rule = in testInvalidListenerNameThrows() local 211 TestMetricRule rule = createWithMetricCollectorNames(simpleName); in testSimpleClassNameAttemptedWithKnownPackage() local 229 TestMetricRule rule = in testInitWithDifferentOptionNames() 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 | 43 TestableUnlockScreenRule rule = new TestableUnlockScreenRule(false, false); in testScreenOff() local 59 TestableUnlockScreenRule rule = new TestableUnlockScreenRule(true, false); in testScreenLocked() local 75 TestableUnlockScreenRule rule = new TestableUnlockScreenRule(true, true); in testScreenOn() local
|
D | LimitDevicesRuleTest.kt | 42 val rule = LimitDevicesRule(thisDevice = CF_PHONE.product) in allowOnPhone_withPhone_succeeds() constant 51 val rule = LimitDevicesRule(thisDevice = CF_TABLET.product) in allowOnPhone_withTablet_fails() constant 60 val rule = LimitDevicesRule(thisDevice = CF_TABLET.product) in denyOnPhone_withTablet_succeeds() constant 69 val rule = LimitDevicesRule(thisDevice = CF_PHONE.product) in denyOnPhone_withPhone_fails() constant
|
D | DropCachesRuleTest.java | 41 TestableDropCachesRule rule = new TestableDropCachesRule(new Bundle()); in testDropCachesCommand() local 56 TestableDropCachesRule rule = new TestableDropCachesRule(noDropCacheBundle); in testNoDropCacheFlag() local 69 TestableDropCachesRule rule = new TestableDropCachesRule(noSyncBundle); in testNoSync() 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 | 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 | 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
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/ |
D | TraceMonitorRuleTest.kt | 58 val rule = createRule(listOf(monitorWithoutException)) in executesSuccessfully() constant 66 val rule = createRule(listOf(monitorWithoutException, monitorWithoutException)) in executesSuccessfullyMonitor2() constant 76 val rule = createRule(listOf(monitorWithExceptionStart)) in executesWithStartFailure() constant 88 val rule = createRule(listOf(monitorWithExceptionStart, monitorWithoutException)) in executesStartFailureMonitor2() constant 100 val rule = createRule(listOf(monitorWithExceptionStop)) in executesWithStopFailure() constant 112 val rule = createRule(listOf(monitorWithExceptionStop, monitorWithoutException)) in executesStopFailureMonitor2() constant
|
D | TransitionExecutionRuleTest.kt | 73 val rule = createRule(listOf(runTransition)) in runSuccessfully() constant 81 val rule = createRule(listOf(runTransition), writer) in setTransitionStartAndEndTime() constant 91 val rule = createRule(listOf(throwTransitionError)) in throwsTransitionFailure() constant 102 val rule = createRule(listOf()) in throwsTransitionFailureEmptyTransitions() constant 113 val rule = createRule(listOf(throwAssertionError)) in throwsAssertionFailure() constant 123 val rule = createRule(listOf(runCreateValidTags), writer) in createsValidTags() constant 156 val rule = createRule(listOf(runInvalidTagSpace), writer) in throwErrorCreateInvalidTagWithSpace() constant 167 val rule = createRule(listOf(runCreateValidTags, runCreateValidTags), writer) in throwErrorCreateInvalidTagDuplicate() constant 178 val rule = createRule(listOf(runInvalidTagUnderscore), writer) in throwErrorCreateInvalidTagWithUnderscore() constant
|
D | SetupTeardownRuleTest.kt | 54 val rule = createRule(listOf(runSetup), listOf(runTeardown)) in executesSetupTeardown() constant 64 val rule = createRule(listOf(throwError, runSetup), listOf(runTeardown)) in throwsSetupFailureAndExecutesTeardown() constant 76 val rule = createRule(listOf(runSetup), listOf(throwError, runTeardown)) in throwsTeardownFailure() constant
|
/platform_testing/tests/automotive/functional/home/src/android/platform/tests/ |
D | SystemUiTest.java | 37 @Rule public ConditionalIgnoreRule rule = new ConditionalIgnoreRule(); field in SystemUiTest
|
/platform_testing/tests/automotive/functional/profileicon/src/android/platform/tests/ |
D | ProfileIconTest.java | 38 @Rule public ConditionalIgnoreRule rule = new ConditionalIgnoreRule(); field in ProfileIconTest
|