Home
last modified time | relevance | path

Searched refs:moveToState (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/android/car/app/
DCarTaskViewControllerHostLifecycleFactoryTest.java52 activityRule.getScenario().moveToState(Lifecycle.State.CREATED); in forActivity_activityResumed_callsObserver()
53 activityRule.getScenario().moveToState(Lifecycle.State.RESUMED); in forActivity_activityResumed_callsObserver()
67 activityRule.getScenario().moveToState(Lifecycle.State.CREATED); in forActivity_activityStarted_callsObserver()
68 activityRule.getScenario().moveToState(Lifecycle.State.STARTED); in forActivity_activityStarted_callsObserver()
82 activityRule.getScenario().moveToState(Lifecycle.State.RESUMED); in forActivity_activityStopped_callsObserver()
83 activityRule.getScenario().moveToState(Lifecycle.State.CREATED); in forActivity_activityStopped_callsObserver()
97 activityRule.getScenario().moveToState(Lifecycle.State.CREATED); in forActivity_activityDestroyed_callsObserver()
98 activityRule.getScenario().moveToState(Lifecycle.State.DESTROYED); in forActivity_activityDestroyed_callsObserver()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/shortcuts/
DEditShortcutsPreferenceFragmentTest.java170 mFragmentScenario.moveToState(Lifecycle.State.CREATED); in fragmentCreated_inSuw_controllersTargetsSet()
186 mFragmentScenario.moveToState(Lifecycle.State.CREATED); in fragmentCreated_notInSuw_controllersTargetsSet()
207 mFragmentScenario.moveToState(Lifecycle.State.CREATED); in fragmentCreated_settingsObserversAreRegistered()
219 .moveToState(Lifecycle.State.CREATED); in fragmentDestroyed_unregisterSettingsObserver()
230 mFragmentScenario.moveToState(Lifecycle.State.CREATED); in onVolumeKeysShortcutSettingChanged_volumeKeyControllerUpdated()
245 mFragmentScenario.moveToState(Lifecycle.State.CREATED); in onSoftwareShortcutSettingChanged_softwareControllersUpdated()
261 mFragmentScenario.moveToState(Lifecycle.State.CREATED); in onSoftwareShortcutModeChanged_softwareControllersUpdated()
277 mFragmentScenario.moveToState(Lifecycle.State.CREATED); in onTripleTapShortcutSettingChanged_tripleTapShortcutControllerUpdated()
295 mFragmentScenario.moveToState(Lifecycle.State.CREATED); in onTwoFingersShortcutSettingChanged_twoFingersDoubleTapShortcutControllerUpdated()
319 mFragmentScenario.moveToState(Lifecycle.State.RESUMED); in fragmentResumed_enableTouchExploration_gestureShortcutOptionSummaryUpdated()
[all …]
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/calmmode/
DCalmModeFragmentTest.java78 mFragmentScenario.moveToState(RESUMED); in fragmentResumed_testContainerTouched_activityFinishes()
87 mFragmentScenario.moveToState(RESUMED); in fragmentResumed_testClock_isInvisible()
95 mFragmentScenario.moveToState(RESUMED); in fragmentResumed_testDate_isInvisible()
103 mFragmentScenario.moveToState(RESUMED); in fragmentResumed_testMedia_isInvisible()
116 mFragmentScenario.moveToState(RESUMED); in fragmentResumed_testMediaItemNull_isGone()
126 mFragmentScenario.moveToState(RESUMED); in fragmentResumed_testMediaTitleNull_isGone()
136 mFragmentScenario.moveToState(RESUMED); in fragmentResumed_testMediaSubTitleNull_isVisible()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsProgressCategoryController.java217 moveToState( in handleSourceFound()
339 moveToState(preference, AudioStreamState.SYNCED); in handleSourceRemoved()
397 moveToState(existingPreference, AudioStreamState.SOURCE_ADDED); in handleSourceConnected()
414 moveToState(existingPreference, AudioStreamState.ADD_SOURCE_BAD_CODE); in handleSourceConnectBadCode()
428 moveToState(existingPreference, AudioStreamState.ADD_SOURCE_FAILED); in handleSourceFailedToConnect()
447 moveToState(existingPreference, AudioStreamState.ADD_SOURCE_WAIT_FOR_RESPONSE); in handleSourceAddRequest()
535 moveToState(preference, state); in addNewPreference()
545 moveToState(preference, state); in addNewPreference()
549 private void moveToState(AudioStreamPreference preference, AudioStreamState state) { in moveToState() method in AudioStreamsProgressCategoryController
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/
DCarLauncherTest.java97 mActivityScenario.moveToState(Lifecycle.State.RESUMED); in onResume_mapsCard_isVisible()
105 mActivityScenario.moveToState(Lifecycle.State.RESUMED); in onResume_assistiveCard_isVisible()
113 mActivityScenario.moveToState(Lifecycle.State.RESUMED); in onResume_audioCard_isVisible()
189 mActivityScenario.moveToState(Lifecycle.State.RESUMED); in onCreate_tosStateContentObserver_tosAccepted()
203 mActivityScenario.moveToState(Lifecycle.State.RESUMED); in onCreate_registerTosStateContentObserver_tosNotAccepted()
217 mActivityScenario.moveToState(Lifecycle.State.RESUMED); in onCreate_registerTosStateContentObserver_tosNotInitialized()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/
DSdkSandboxControllerTest.java104 mScenario.moveToState(Lifecycle.State.DESTROYED); in testSdkDetectsAppForegroundState()
132 mScenario.moveToState(Lifecycle.State.DESTROYED); in testUnregisterSdkSandboxClientImportanceListener()
DSdkSandboxManagerTest.java556 mScenario.moveToState(Lifecycle.State.DESTROYED); in testLoadSdkInBackgroundFails()
623 mScenario.moveToState(Lifecycle.State.DESTROYED); in testSdkAndAppProcessImportanceIsAligned_AppIsBackgrounded()
/packages/apps/Nfc/tests/instrumentation/src/com/android/nfc/cardemulation/
DTapAgainDialogTest.java80 scenario.moveToState(Lifecycle.State.DESTROYED); in testOnDestroy()
90 scenario.moveToState(Lifecycle.State.CREATED); in testOnStop()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DScreenFlashNotificationColorDialogFragmentTest.java130 mFragmentScenario.moveToState(Lifecycle.State.CREATED); in clickNeutralAndPause_assertStopPreview()
209 mFragmentScenario.moveToState(Lifecycle.State.RESUMED); in setupFragment()
/packages/apps/TvSettings/
Dtwo-panel-baseline-profile.txt209 HSPLandroidx/fragment/app/FragmentManager;->moveToState(IZ)V
419 HSPLandroidx/lifecycle/LifecycleRegistry;->moveToState(Landroidx/lifecycle/Lifecycle$State;)V