Home
last modified time | relevance | path

Searched refs:markState (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/Settings/tests/deviceless/src/com/android/car/settings/common/
DExtraSettingsPreferenceControllerTest.java102 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_initialized_noPreferenceAdded()
115 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_noPreferenceAdded_shouldNotBeVisible()
127 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_initialized_preferenceAdded()
139 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_preferenceAdded_shouldBeVisible()
151 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_refreshedTwice_shouldOnlyAddPreferenceOnce()
164 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_refreshedTwice_stillBeVisible()
177 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_unrestrictedAndDO_intentsIntoActivityNoMetadata_disabled()
194 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_unrestrictedAndDO_intentsIntoNonDOActivity_disabled()
209 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_unrestrictedAndDO_intentsIntoDOActivity_enabled()
DPreferenceControllerTest.java135 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_created_restricted_preferenceDisabled()
147 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_created_restricted_unrestricted_preferenceEnabled()
172 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_restricted_allPreferencesIgnore_preferenceEnabled()
190 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_restricted_thisPreferenceIgnores_preferenceEnabled()
208 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_restricted_uxRestrictionsNotIgnored_preferenceDisabled()
324 mControllerHelper.markState(Lifecycle.State.STARTED); in lifecycle_unsupportedOnDevice_doesNotCallSubclassHooks()
325 mControllerHelper.markState(Lifecycle.State.DESTROYED); in lifecycle_unsupportedOnDevice_doesNotCallSubclassHooks()
367 mControllerHelper.markState(Lifecycle.State.RESUMED); in onPause_callsSubclassHook()
375 mControllerHelper.markState(Lifecycle.State.STARTED); in onStop_callsSubclassHook()
383 mControllerHelper.markState(Lifecycle.State.STARTED); in onDestroy_callsSubclassHook()
DPreferenceControllerTestHelper.java174 markState(getStateAfter(event)); in sendLifecycleEvent()
184 public void markState(Lifecycle.State state) { in markState() method in PreferenceControllerTestHelper
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiScanWorker.java65 mLifecycleRegistry.markState(Lifecycle.State.INITIALIZED); in WifiScanWorker()
66 mLifecycleRegistry.markState(Lifecycle.State.CREATED); in WifiScanWorker()
71 mLifecycleRegistry.markState(Lifecycle.State.STARTED); in onSlicePinned()
72 mLifecycleRegistry.markState(Lifecycle.State.RESUMED); in onSlicePinned()
78 mLifecycleRegistry.markState(Lifecycle.State.STARTED); in onSliceUnpinned()
79 mLifecycleRegistry.markState(Lifecycle.State.CREATED); in onSliceUnpinned()
84 mLifecycleRegistry.markState(Lifecycle.State.DESTROYED); in close()
/packages/apps/Car/Settings/tests/deviceless/src/com/android/car/settings/bluetooth/
DBluetoothNamePreferenceControllerTest.java77 mControllerHelper.markState(Lifecycle.State.CREATED); in setUp()
114 mControllerHelper.markState(Lifecycle.State.STARTED); in started_localNameChangedBroadcast_updatesSummary()
127 mControllerHelper.markState(Lifecycle.State.STARTED); in stopped_noUpdateOnLocalNameChangedBroadcast()
130 mControllerHelper.markState(Lifecycle.State.CREATED); in stopped_noUpdateOnLocalNameChangedBroadcast()
140 mControllerHelper.markState(Lifecycle.State.STARTED); in preferenceClicked_launchesRenameDialog()
150 mControllerHelper.markState(Lifecycle.State.STARTED); in preferenceClicked_handled()
DBluetoothDevicePreferenceControllerTest.java146 mControllerHelper.markState(Lifecycle.State.STARTED); in onStop_unregistersDeviceCallback()
158 mControllerHelper.markState(Lifecycle.State.STARTED); in started_onDeviceAttributesChanged_refreshesUi()
DBluetoothPreferenceControllerTest.java275 mControllerHelper.markState(Lifecycle.State.STARTED); in onStop_unregistersEventListener()
DBluetoothDevicesGroupPreferenceControllerTest.java106 controllerHelper.markState(Lifecycle.State.STARTED); in setUp()
DPairNewDevicePreferenceControllerTest.java93 mControllerHelper.markState(Lifecycle.State.STARTED); in setUp()
/packages/apps/Car/Settings/tests/deviceless/src/com/android/car/settings/accounts/
DAccountDetailsSettingControllerTest.java108 mHelper.markState(Lifecycle.State.STARTED); in addExtraSettings_preferenceEmpty_shouldNotAddAnyPreferences()
117 mHelper.markState(Lifecycle.State.STARTED); in addExtraSettings_preferenceEmpty_isNotVisible()
126 mHelper.markState(Lifecycle.State.STARTED); in addExtraSettings_accountTypeNotEqual_shouldNotAddAnyPreferences()
140 mHelper.markState(Lifecycle.State.STARTED); in addExtraSettings_accountTypeNotEqual_isNotVisible()
DAccountSyncPreferenceControllerTest.java75 helper.markState(Lifecycle.State.STARTED); in setUp()
DAccountSyncDetailsPreferenceControllerTest.java97 helper.markState(Lifecycle.State.STARTED); in setUp()
/packages/apps/Car/Settings/tests/deviceless/src/com/android/car/settings/suggestions/
DSuggestionsPreferenceControllerTest.java84 mControllerHelper.markState(Lifecycle.State.STARTED); in setUp()
120 mControllerHelper.markState(Lifecycle.State.CREATED); in onStop_stopsSuggestionController()
127 mControllerHelper.markState(Lifecycle.State.CREATED); in onStop_destroysLoader()