Home
last modified time | relevance | path

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

123

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothScanningDevicesGroupPreferenceControllerTest.java128 mControllerHelper.markState(Lifecycle.State.STARTED); in disallowConfigBluetooth_doesNotStartScanning()
137 mControllerHelper.markState(Lifecycle.State.STARTED); in onScanningStateChanged_scanningEnabled_receiveStopped_restartsScanning()
148 mControllerHelper.markState(Lifecycle.State.STARTED); in onScanningStateChanged_scanningDisabled_receiveStopped_doesNothing()
161 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceBondStateChanged_refreshesUi()
174 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_callsInternal()
186 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_cancelsScanning()
198 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_noDeviceBonding_startsScanning()
207 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_noDeviceBonding_enablesGroup()
216 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_noDeviceBonding_setsScanModeConnectableDiscoverable()
226 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_deviceBonding_stopsScanning()
[all …]
DBluetoothNamePreferenceControllerTest.java85 mControllerHelper.markState(Lifecycle.State.CREATED); in setUp()
123 mControllerHelper.markState(Lifecycle.State.STARTED); in started_localNameChangedBroadcast_updatesSummary()
136 mControllerHelper.markState(Lifecycle.State.STARTED); in stopped_noUpdateOnLocalNameChangedBroadcast()
139 mControllerHelper.markState(Lifecycle.State.CREATED); in stopped_noUpdateOnLocalNameChangedBroadcast()
149 mControllerHelper.markState(Lifecycle.State.STARTED); in preferenceClicked_launchesRenameDialog()
159 mControllerHelper.markState(Lifecycle.State.STARTED); in preferenceClicked_handled()
DBluetoothDevicePickerPreferenceControllerTest.java162 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_bondedDevice_sendsPickedIntent()
183 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_bondedDevice_goesBack()
198 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_unbondedDevice_doesNotNeedAuth_sendsPickedIntent()
215 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_unbondedDevice_needsAuth_startsPairing()
230 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_unbondedDevice_needsAuth_pairingStartFails_resumesScanning()
247 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceBondStateChanged_selectedDeviceBonded_sendsPickedIntent()
268 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceBondStateChanged_selectedDeviceBonded_goesBack()
287 mControllerHelper.markState(Lifecycle.State.STARTED); in onDestroy_noDeviceSelected_sendsNullPickedIntent()
DBluetoothBondedDevicesPreferenceControllerTest.java127 mControllerHelper.markState(Lifecycle.State.STARTED); in showsOnlyBondedDevices()
136 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceBondStateChanged_refreshesUi()
150 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_notConnected_connectsToDevice()
162 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_connected_showsDisconnectConfirmDialog()
176 mControllerHelper.markState(Lifecycle.State.STARTED); in devicePreferenceButtonClicked_noUserRestrictions_launchesDetailsFragment()
191 mControllerHelper.markState(Lifecycle.State.STARTED); in devicePreferenceButton_disallowConfigBluetooth_actionStaysHidden()
DBluetoothUnbondedDevicesPreferenceControllerTest.java140 mControllerHelper.markState(Lifecycle.State.STARTED); in showsUnbondedDevices()
150 mControllerHelper.markState(Lifecycle.State.STARTED); in configUnbondedDeviceFilterIncludesPhones_showsUnbondedPhones()
159 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_startsPairing()
170 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_pairingStartFails_resumesScanning()
183 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_requestsPhonebookAccess()
195 mControllerHelper.markState(Lifecycle.State.STARTED); in onDeviceClicked_requestsMessageAccess()
DBluetoothDeviceNamePreferenceControllerTest.java95 mControllerHelper.markState(Lifecycle.State.CREATED); in setUp()
151 mControllerHelper.markState(Lifecycle.State.STARTED); in preferenceClicked_launchesRenameDialog()
161 mControllerHelper.markState(Lifecycle.State.STARTED); in preferenceClicked_handled()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DPreferenceControllerTest.java142 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_created_available_updatesState()
159 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_created_restricted_preferenceDisabled()
170 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_created_restricted_unrestricted_preferenceEnabled()
195 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_restricted_allPreferencesIgnore_preferenceEnabled()
213 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_restricted_thisPreferenceIgnores_preferenceEnabled()
230 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_restricted_uxRestrictionsNotIgnored_preferenceDisabled()
251 mControllerHelper.markState(Lifecycle.State.CREATED); in refreshUi_created_available_preferenceShownAndEnabled()
263 mControllerHelper.markState(Lifecycle.State.CREATED); in refreshUi_created_availableForViewing_preferenceShownAndDisabled()
275 mControllerHelper.markState(Lifecycle.State.CREATED); in refreshUi_created_notAvailable_preferenceHidden()
285 mControllerHelper.markState(Lifecycle.State.CREATED); in refreshUi_created_available_updatesState()
[all …]
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()
DPreferenceControllerTestHelper.java133 markState(getStateAfter(event)); in sendLifecycleEvent()
143 public void markState(Lifecycle.State state) { in markState() method in PreferenceControllerTestHelper
/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.java90 mControllerHelper.markState(Lifecycle.State.CREATED); in setUp()
110 mControllerHelper.markState(Lifecycle.State.STARTED); in onStop_stopsListManager()
125 mControllerHelper.markState(Lifecycle.State.STARTED); in onAppEntryListChanged_addsPreferencesForEntries()
143 mControllerHelper.markState(Lifecycle.State.STARTED); in onPreferenceChange_setsPremiumSmsPermission()
160 mControllerHelper.markState(Lifecycle.State.STARTED); in onPreferenceChange_updatesEntry()
175 mControllerHelper.markState(Lifecycle.State.STARTED); in appFilter_removesUnknownStates()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DMasterClearAccountsPreferenceControllerTest.java98 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_accountsPresent_showsGroup()
110 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_noAccountsPresent_hidesGroup()
121 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_multipleProfiles_showsAllAccounts()
145 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_missingAccountDescription_skipsAccount()
165 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_accountAdded_addsPreferenceToGroup()
183 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_accountRemoved_removesPreferenceFromGroup()
DSystemUpdatePreferenceControllerTest.java123 mControllerHelper.markState(Lifecycle.State.CREATED); in onCreate_setsActivityLabelAsTitle()
131 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_activityNotFount_hidesPreference()
154 mControllerHelper.markState(Lifecycle.State.STARTED); in preferenceClicked_triggersClientInitiatedAction()
169 mControllerHelper.markState(Lifecycle.State.STARTED); in preferenceClicked_handledReturnsFalse()
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/testing/
DTestLifecycleOwner.java46 mRegistry.markState(Lifecycle.State.RESUMED); in before()
51 mRegistry.markState(Lifecycle.State.DESTROYED); in after()
60 public void markState(Lifecycle.State state) { in markState() method in TestLifecycleOwner
61 mRegistry.markState(state); in markState()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceControllerTest.java119 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_serviceStarted()
126 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_serviceStarted_multipleCalls()
136 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_createdPreferenceHasMinMax()
146 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testOnPreferenceChange_ringtonePlays()
155 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testOnPreferenceChange_audioManagerSet()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datetime/
DTimeZonePickerScreenPreferenceControllerTest.java85 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testOnCreate_hasElements()
94 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testOnPreferenceClick_setTimeZoneCalled()
107 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testOnPreferenceClick_fragmentControllerGoBack()
118 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testOnPreferenceClick_broadcastFired()
144 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testTimeZonesComparator()
DTimePickerPreferenceControllerTest.java53 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in setUp()
72 mPreferenceControllerHelper.markState(Lifecycle.State.STARTED); in testRefreshUi_fromBroadcastReceiver_disabled()
80 mPreferenceControllerHelper.markState(Lifecycle.State.STARTED); in testRefreshUi_fromBroadcastReceiver_enabled()
DDatePickerPreferenceControllerTest.java53 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in setUp()
72 mPreferenceControllerHelper.markState(Lifecycle.State.STARTED); in testRefreshUi_fromBroadcastReceiver_disabled()
80 mPreferenceControllerHelper.markState(Lifecycle.State.STARTED); in testRefreshUi_fromBroadcastReceiver_enabled()
DTimeZonePickerPreferenceControllerTest.java53 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in setUp()
72 mPreferenceControllerHelper.markState(Lifecycle.State.STARTED); in testRefreshUi_fromBroadcastReceiver_disabled()
80 mPreferenceControllerHelper.markState(Lifecycle.State.STARTED); in testRefreshUi_fromBroadcastReceiver_enabled()
/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/system/legal/
DLegalPreferenceControllerTest.java104 mControllerHelper.markState(Lifecycle.State.CREATED); in refreshUi_intentResolvesToActivity_isVisible()
130 mControllerHelper.markState(Lifecycle.State.CREATED); in refreshUi_intentResolvesToActivity_updatesTitle()
162 mControllerHelper.markState(Lifecycle.State.CREATED); in refreshUi_intentResolvesToActivity_updatesIntentToSpecificActivity()
176 mControllerHelper.markState(Lifecycle.State.CREATED); in refreshUi_intentResolvesToNull_isNotVisible()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DUsersBasePreferenceControllerTest.java121 mControllerHelper.markState(Lifecycle.State.STARTED); in onDestroy_unregistersOnUsersUpdateListener()
131 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_userChange_updatesGroup()
156 mControllerHelper.markState(Lifecycle.State.STARTED); in refreshUi_noChange_doesNotUpdateGroup()
178 mControllerHelper.markState(Lifecycle.State.STARTED); in onUsersUpdated_updatesGroup()
/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()

123