Home
last modified time | relevance | path

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

12

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothScanningDevicesGroupPreferenceControllerTest.java124 mControllerHelper.markState(Lifecycle.State.STARTED); in disallowConfigBluetooth_doesNotStartScanning()
133 mControllerHelper.markState(Lifecycle.State.STARTED); in onScanningStateChanged_scanningEnabled_receiveStopped_restartsScanning()
144 mControllerHelper.markState(Lifecycle.State.STARTED); in onScanningStateChanged_scanningDisabled_receiveStopped_doesNothing()
157 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceBondStateChanged_refreshesUi()
170 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_callsInternal()
182 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_cancelsScanning()
194 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_noDeviceBonding_startsScanning()
203 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_noDeviceBonding_enablesGroup()
212 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_noDeviceBonding_setsScanModeConnectableDiscoverable()
222 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_deviceBonding_stopsScanning()
[all …]
DBluetoothNamePreferenceControllerTest.java80 mControllerHelper.markState(Lifecycle.State.CREATED); in setUp()
117 mControllerHelper.markState(Lifecycle.State.STARTED); in started_localNameChangedBroadcast_updatesSummary()
130 mControllerHelper.markState(Lifecycle.State.STARTED); in stopped_noUpdateOnLocalNameChangedBroadcast()
133 mControllerHelper.markState(Lifecycle.State.CREATED); in stopped_noUpdateOnLocalNameChangedBroadcast()
143 mControllerHelper.markState(Lifecycle.State.STARTED); in preferenceClicked_launchesRenameDialog()
153 mControllerHelper.markState(Lifecycle.State.STARTED); in preferenceClicked_handled()
DBluetoothDevicePickerPreferenceControllerTest.java155 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_bondedDevice_sendsPickedIntent()
176 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_bondedDevice_goesBack()
191 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_unbondedDevice_doesNotNeedAuth_sendsPickedIntent()
208 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_unbondedDevice_needsAuth_startsPairing()
223 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_unbondedDevice_needsAuth_pairingStartFails_resumesScanning()
240 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceBondStateChanged_selectedDeviceBonded_sendsPickedIntent()
261 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceBondStateChanged_selectedDeviceBonded_goesBack()
280 mControllerHelper.markState(Lifecycle.State.STARTED); in onDestroy_noDeviceSelected_sendsNullPickedIntent()
DBluetoothUnbondedDevicesPreferenceControllerTest.java136 mControllerHelper.markState(Lifecycle.State.STARTED); in showsUnbondedDevices()
146 mControllerHelper.markState(Lifecycle.State.STARTED); in configUnbondedDeviceFilterIncludesPhones_showsUnbondedPhones()
155 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_startsPairing()
166 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_pairingStartFails_resumesScanning()
179 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_requestsPhonebookAccess()
191 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_requestsMessageAccess()
DBluetoothDevicePreferenceControllerTest.java118 mControllerHelper.markState(Lifecycle.State.STARTED); in onStop_unregistersDeviceCallback()
130 mControllerHelper.markState(Lifecycle.State.STARTED); in started_onDeviceAttributesChanged_refreshesUi()
DBluetoothDeviceAddressPreferenceControllerTest.java77 controllerHelper.markState(Lifecycle.State.CREATED); in refreshUi_setsAddress()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DExtraSettingsPreferenceControllerTest.java103 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_initialized_noPreferenceAdded()
116 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_noPreferenceAdded_shouldNotBeVisible()
128 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_initialized_preferenceAdded()
140 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_preferenceAdded_shouldBeVisible()
152 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_refreshedTwice_shouldOnlyAddPreferenceOnce()
165 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_refreshedTwice_stillBeVisible()
177 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_unrestrictedAndDO_intentsIntoActivityNoMetadata_disabled()
193 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_unrestrictedAndDO_intentsIntoNonDOActivity_disabled()
208 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_unrestrictedAndDO_intentsIntoDOActivity_enabled()
DPreferenceControllerTest.java132 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_created_restricted_preferenceDisabled()
143 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_created_restricted_unrestricted_preferenceEnabled()
168 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_restricted_allPreferencesIgnore_preferenceEnabled()
186 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_restricted_thisPreferenceIgnores_preferenceEnabled()
203 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_restricted_uxRestrictionsNotIgnored_preferenceDisabled()
217 mControllerHelper.markState(Lifecycle.State.STARTED); in lifecycle_unsupportedOnDevice_doesNotCallSubclassHooks()
218 mControllerHelper.markState(Lifecycle.State.DESTROYED); in lifecycle_unsupportedOnDevice_doesNotCallSubclassHooks()
259 mControllerHelper.markState(Lifecycle.State.RESUMED); in onPause_callsSubclassHook()
267 mControllerHelper.markState(Lifecycle.State.STARTED); in onStop_callsSubclassHook()
275 mControllerHelper.markState(Lifecycle.State.STARTED); in onDestroy_callsSubclassHook()
DPreferenceControllerTestHelper.java133 markState(getStateAfter(event)); in sendLifecycleEvent()
143 public void markState(Lifecycle.State state) { in markState() method in PreferenceControllerTestHelper
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DTemperatureBackgroundAnimator.java147 markState(startCircle, CircleState.ENTERING); in animateOpen()
153 markState(holdOvershoot, CircleState.OVERSHOT); in animateOpen()
158 markState(rest, CircleState.RESTING); in animateOpen()
163 markState(holdRest, CircleState.RESTED); in animateOpen()
167 markState(exit, CircleState.EXITING); in animateOpen()
181 markState(bump, CircleState.BUMPING); in animateOpen()
190 markState(holdBump, CircleState.BUMPED); in animateOpen()
195 markState(rest, CircleState.RESTING); in animateOpen()
201 markState(holdRest, CircleState.RESTED); in animateOpen()
204 markState(exit, CircleState.EXITING); in animateOpen()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiScanWorker.java62 mLifecycleRegistry.markState(Lifecycle.State.INITIALIZED); in WifiScanWorker()
63 mLifecycleRegistry.markState(Lifecycle.State.CREATED); in WifiScanWorker()
68 mLifecycleRegistry.markState(Lifecycle.State.STARTED); in onSlicePinned()
69 mLifecycleRegistry.markState(Lifecycle.State.RESUMED); in onSlicePinned()
75 mLifecycleRegistry.markState(Lifecycle.State.STARTED); in onSliceUnpinned()
76 mLifecycleRegistry.markState(Lifecycle.State.CREATED); in onSliceUnpinned()
81 mLifecycleRegistry.markState(Lifecycle.State.DESTROYED); in close()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppOpsPreferenceControllerTest.java97 mControllerHelper.markState(Lifecycle.State.CREATED); in setUp()
152 mControllerHelper.markState(Lifecycle.State.STARTED); in onStop_stopsListManager()
167 mControllerHelper.markState(Lifecycle.State.STARTED); in onAppEntryListChanged_addsPreferencesForEntries()
181 mControllerHelper.markState(Lifecycle.State.STARTED); in onPreferenceChange_checkedState_setsAppOpModeAllowed()
197 mControllerHelper.markState(Lifecycle.State.STARTED); in onPreferenceChange_uncheckedState_setsNegativeAppOpMode()
213 mControllerHelper.markState(Lifecycle.State.STARTED); in onPreferenceChange_updatesEntry()
226 mControllerHelper.markState(Lifecycle.State.STARTED); in showSystem_updatesEntries()
235 mControllerHelper.markState(Lifecycle.State.STARTED); in appFilter_showingSystemApps_keepsSystemEntries()
251 mControllerHelper.markState(Lifecycle.State.STARTED); in appFilter_notShowingSystemApps_removesSystemEntries()
267 mControllerHelper.markState(Lifecycle.State.STARTED); in appFilter_removesNullExtraInfoEntries()
DPremiumSmsAccessPreferenceControllerTest.java89 mControllerHelper.markState(Lifecycle.State.CREATED); in setUp()
109 mControllerHelper.markState(Lifecycle.State.STARTED); in onStop_stopsListManager()
124 mControllerHelper.markState(Lifecycle.State.STARTED); in onAppEntryListChanged_addsPreferencesForEntries()
142 mControllerHelper.markState(Lifecycle.State.STARTED); in onPreferenceChange_setsPremiumSmsPermission()
159 mControllerHelper.markState(Lifecycle.State.STARTED); in onPreferenceChange_updatesEntry()
174 mControllerHelper.markState(Lifecycle.State.STARTED); in appFilter_removesUnknownStates()
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/testing/
DTestLifecycleOwner.java45 mRegistry.markState(Lifecycle.State.RESUMED); in before()
50 mRegistry.markState(Lifecycle.State.DESTROYED); in after()
59 public void markState(Lifecycle.State state) { in markState() method in TestLifecycleOwner
60 mRegistry.markState(state); in markState()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountDetailsSettingControllerTest.java116 mHelper.markState(Lifecycle.State.STARTED); in addExtraSettings_preferenceEmpty_shouldNotAddAnyPreferences()
125 mHelper.markState(Lifecycle.State.STARTED); in addExtraSettings_preferenceEmpty_isNotVisible()
134 mHelper.markState(Lifecycle.State.STARTED); in addExtraSettings_accountTypeNotEqual_shouldNotAddAnyPreferences()
148 mHelper.markState(Lifecycle.State.STARTED); in addExtraSettings_accountTypeNotEqual_isNotVisible()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/
DProfilesBasePreferenceControllerTest.java129 mControllerHelper.markState(Lifecycle.State.STARTED); in onDestroy_unregistersOnUsersUpdateListener()
137 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_userChange_updatesGroup()
164 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_noChange_doesNotUpdateGroup()
184 mControllerHelper.markState(Lifecycle.State.STARTED); in onUsersUpdated_updatesGroup()
DProfilesListPreferenceControllerTest.java86 mControllerHelper.markState(Lifecycle.State.STARTED); in setUp()
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppService.java138 mLifecycleRegistry.markState(Lifecycle.State.CREATED); in onCreate()
143 mLifecycleRegistry.markState(Lifecycle.State.STARTED); in onStartCommand()
156 mLifecycleRegistry.markState(Lifecycle.State.STARTED); in onBind()
166 mLifecycleRegistry.markState(Lifecycle.State.CREATED); in onUnbind()
174 mLifecycleRegistry.markState(Lifecycle.State.DESTROYED); in onDestroy()
/packages/apps/Car/Settings/tests/robotests/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()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageSizeBasePreferenceControllerTest.java88 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in setAppsStorageStatsManager_shouldRegisterController()
111 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in onDataLoaded_appStorageStatsSet_shouldUpdateDetailText()
DStorageMediaCategoryPreferenceControllerTest.java47 helper.markState(Lifecycle.State.CREATED); in handlePreferenceClicked_shouldLaunchAccountSyncDetailsFragment()
DStorageSystemCategoryPreferenceControllerTest.java47 preferenceControllerHelper.markState(Lifecycle.State.CREATED); in handlePreferenceClicked_openAlertDialog()
DStorageMediaCategoryDetailPreferenceControllerTest.java63 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in setUp()
DStorageUsageBasePreferenceControllerTest.java75 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceControllerTest.java69 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in setUp()

12