Home
last modified time | relevance | path

Searched refs:updateState (Results 1 – 25 of 1056) sorted by relevance

12345678910>>...43

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DBlockPreferenceControllerTest.java93 mController.updateState(mock(LayoutPreference.class)); in testNoCrashIfNoOnResume()
175 mController.updateState(mPreference); in testIsEnabled_lockedApp()
184 mController.updateState(mPreference); in testIsEnabled_GroupNotBlockable()
193 mController.updateState(mPreference); in testIsEnabled_systemAppNotBlockable()
204 mController.updateState(mPreference); in testIsEnabled_systemAppBlockable()
216 mController.updateState(mPreference); in testIsEnabled_lockedChannel()
229 mController.updateState(mPreference); in testIsEnabled_defaultAppChannel()
241 mController.updateState(mPreference); in testIsEnabled_channel()
251 mController.updateState(mPreference); in testIsEnabled_app()
261 mController.updateState(mPreference); in testUpdateState_app()
[all …]
DBadgePreferenceControllerTest.java87 mController.updateState(mock(RestrictedSwitchPreference.class)); in testNoCrashIfNoOnResume()
184 mController.updateState(pref); in testUpdateState_disabledByAdmin()
198 mController.updateState(pref); in testUpdateState_channelNotBlockable()
211 mController.updateState(pref); in testUpdateState_channel()
217 mController.updateState(pref); in testUpdateState_channel()
229 mController.updateState(pref); in testUpdateState_app()
235 mController.updateState(pref); in testUpdateState_app()
251 mController.updateState(pref); in testOnPreferenceChange_on_channel()
270 mController.updateState(pref); in testOnPreferenceChange_off_channel()
286 mController.updateState(pref); in testOnPreferenceChange_on_app()
[all …]
DBubblePreferenceControllerTest.java100 mController.updateState(mock(RestrictedSwitchPreference.class)); in testNoCrashIfNoOnResume()
221 mController.updateState(pref); in testUpdateState_disabledByAdmin()
235 mController.updateState(pref); in testUpdateState_channelNotBlockable()
249 mController.updateState(pref); in testUpdateState_channel()
255 mController.updateState(pref); in testUpdateState_channel()
269 mController.updateState(pref); in testUpdateState_app()
275 mController.updateState(pref); in testUpdateState_app()
292 mController.updateState(pref); in testUpdateState_app_offGlobally()
309 mController.updateState(pref); in testOnPreferenceChange_on_channel()
329 mController.updateState(pref); in testOnPreferenceChange_off_channel()
[all …]
DAllowSoundPreferenceControllerTest.java88 mController.updateState(mock(RestrictedSwitchPreference.class)); in testNoCrashIfNoOnResume()
136 mController.updateState(pref); in testUpdateState_disabledByAdmin()
150 mController.updateState(pref); in testUpdateState_notBlockable_oem()
163 mController.updateState(pref); in testUpdateState_configurable()
175 mController.updateState(pref); in testUpdateState_checkedForHighImportanceChannel()
186 mController.updateState(pref); in testUpdateState_checkedForUnspecifiedImportanceChannel()
197 mController.updateState(pref); in testUpdateState_notCheckedForLowImportanceChannel()
210 mController.updateState(pref); in testOnPreferenceChange_on()
227 mController.updateState(pref); in testOnPreferenceChange_off()
DVibrationPreferenceControllerTest.java91 mController.updateState(mock(RestrictedSwitchPreference.class)); in testNoCrashIfNoOnResume()
137 mController.updateState(pref); in testUpdateState_disabledByAdmin()
150 mController.updateState(pref); in testUpdateState_notBlockable()
163 mController.updateState(pref); in testUpdateState_configurable()
176 mController.updateState(pref); in testUpdateState_vibrateOn()
188 mController.updateState(pref); in testUpdateState_vibrateOff()
200 mController.updateState(pref); in testOnPreferenceChange_on()
218 mController.updateState(pref); in testOnPreferenceChange_off()
DVisibilityPreferenceControllerTest.java114 mController.updateState(mock(RestrictedListPreference.class)); in testNoCrashIfNoOnResume()
165 mController.updateState(pref); in testUpdateState_disabledByAdmin_disableSecure()
187 mController.updateState(pref); in testUpdateState_disabledByAdmin_disableUnredacted()
202 mController.updateState(pref); in testUpdateState_noLockScreenNotificationsGlobally()
227 mController.updateState(pref); in testUpdateState_noLockScreenNotificationsGloballyInProfile()
250 mController.updateState(pref); in testUpdateState_noPrivateLockScreenNotificationsGlobally()
267 mController.updateState(pref); in testUpdateState_noGlobalRestriction()
298 mController.updateState(pref); in testUpdateState_noChannelOverride()
317 mController.updateState(pref); in testUpdateState_channelOverride()
336 mController.updateState(pref); in testOnPreferenceChange_noOverride()
[all …]
DMinImportancePreferenceControllerTest.java85 mController.updateState(mock(Preference.class)); in testNoCrashIfNoOnResume()
138 mController.updateState(pref); in testUpdateState_disabledByAdmin()
152 mController.updateState(pref); in testUpdateState_notConfigurable()
167 mController.updateState(pref); in testUpdateState_systemButConfigurable()
182 mController.updateState(pref); in testUpdateState_defaultApp()
194 mController.updateState(pref); in testUpdateState_min()
206 mController.updateState(pref); in testUpdateState_low()
220 mController.updateState(pref); in onPreferenceChange()
DHighImportancePreferenceControllerTest.java85 mController.updateState(mock(Preference.class)); in testNoCrashIfNoOnResume()
138 mController.updateState(pref); in testUpdateState_disabledByAdmin()
152 mController.updateState(pref); in testUpdateState_notConfigurable()
167 mController.updateState(pref); in testUpdateState_systemButConfigurable()
182 mController.updateState(pref); in testUpdateState_defaultApp()
194 mController.updateState(pref); in testUpdateState_high()
206 mController.updateState(pref); in testUpdateState_default()
220 mController.updateState(pref); in onPreferenceChange()
DZenModePriorityMessagesPreferenceControllerTest.java112 mController.updateState(mockPref); in updateState_TotalSilence()
123 mController.updateState(mockPref); in updateState_AlarmsOnly()
137 mController.updateState(mockPref); in updateState_Priority()
148 mController.updateState(mockPref); in onPreferenceChange_setSelectedContacts_any()
157 mController.updateState(mockPref); in onPreferenceChange_setSelectedContacts_none()
167 mController.updateState(mockPref); in onPreferenceChange_setSelectedContacts_starred()
177 mController.updateState(mockPref); in onPreferenceChange_setSelectedContacts_contacts()
DZenModePriorityCallsPreferenceControllerTest.java112 mController.updateState(mockPref); in updateState_TotalSilence()
123 mController.updateState(mockPref); in updateState_AlarmsOnly()
137 mController.updateState(mockPref); in updateState_Priority()
148 mController.updateState(mockPref); in onPreferenceChange_setSelectedContacts_any()
157 mController.updateState(mockPref); in onPreferenceChange_setSelectedContacts_none()
167 mController.updateState(mockPref); in onPreferenceChange_setSelectedContacts_starred()
177 mController.updateState(mockPref); in onPreferenceChange_setSelectedContacts_contacts()
DZenModeBehaviorFooterPreferenceControllerTest.java127 mController.updateState(mockPref); in zenModeOff_updateState_noFooterTitle()
135 mController.updateState(mockPref); in zenModeImportantInterruptions_updateState_noFooterTitle()
148 mController.updateState(mockPref); in deprecatedZenModeAlarms_qsManualRule_setFooterTitle()
164 mController.updateState(mockPref); in deprecatedZenModeAlarms_appManualRule_setFooterTitle()
178 mController.updateState(mockPref); in deprecatedZenModeNoInterruptions_qsManualRule_setFooterTitle()
194 mController.updateState(mockPref); in deprecatedZenModeNoInterruptions_appManualRule_setFooterTitle()
214 mController.updateState(mockPref); in deprecatedZenModeAlarms_automaticRule_setFooterTitle()
234 mController.updateState(mockPref); in deprecatedZenModeNoInterruptions_automaticRule_setFooterTitle()
DDndPreferenceControllerTest.java107 mController.updateState(pref); in testUpdateState_disabledByAdmin()
120 mController.updateState(pref); in testUpdateState_notBlockable()
133 mController.updateState(pref); in testUpdateState_configurable()
146 mController.updateState(pref); in testUpdateState_bypassDnd()
158 mController.updateState(pref); in testUpdateState_noBypassDnd()
172 mController.updateState(pref); in testOnPreferenceChange_on()
190 mController.updateState(pref); in testOnPreferenceChange_off()
DZenModeSettingsFooterPreferenceControllerTest.java132 mController.updateState(mockPref); in testDefaultNotifPolicy_app_manualRule_setFooterTitle()
144 mController.updateState(mockPref); in testDefaultNotifPolicy_time_manualRule_setFooterTitle()
154 mController.updateState(mockPref); in testDefaultNotifPolicy_forever_manualRule_setFooterTitle()
169 mController.updateState(mockPref); in testDefaultNotifPolicy_automaticRule_noManualRule_setFooterTitle()
185 mController.updateState(mockPref); in testDefaultNotifPolicy_manualRuleEndsLast_hasAutomaticRule_setFooterTitle()
202 mController.updateState(mockPref); in testDefaultNotifPolicy_automaticRuleEndsLast_hasManualRule_setFooterTitle()
224 mController.updateState(mockPref); in testDefaultNotifPolicy_multipleAutomaticRules_autoRuleApp_setFooterTitle()
246 mController.updateState(mockPref); in testDefaultNotifPolicy_multipleAutomaticRules_setFooterTitle()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DPrivateDnsPreferenceControllerTest.java198 mController.updateState(mPreference); in getSummary_PrivateDnsModeOff()
208 mController.updateState(mPreference); in getSummary_PrivateDnsModeOpportunistic()
215 mController.updateState(mPreference); in getSummary_PrivateDnsModeOpportunistic()
222 mController.updateState(mPreference); in getSummary_PrivateDnsModeOpportunistic()
231 mController.updateState(mPreference); in getSummary_PrivateDnsModeProviderHostname()
239 mController.updateState(mPreference); in getSummary_PrivateDnsModeProviderHostname()
246 mController.updateState(mPreference); in getSummary_PrivateDnsModeProviderHostname()
256 mController.updateState(mPreference); in getSummary_PrivateDnsDefaultMode()
264 mController.updateState(mPreference); in getSummary_PrivateDnsDefaultMode()
274 mController.updateState(mPreference); in getSummary_PrivateDnsDefaultMode()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java314 final @State int state = mManager.updateState( in testUpdateState_UpdatesToNotAllowed_RootNotSupportCreate()
333 final @State int state = mManager.updateState( in testUpdateState_UpdatesToUnknown_RootDocIsNull()
352 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_SameRoot()
371 final @State int state = mManager.updateState( in testUpdateState_UpdatesToCopy_DifferentRoot()
393 final @State int state = mManager.updateState( in testUpdateState_UpdatesToCopy_SameRoot_LeftCtrlPressed()
415 final @State int state = mManager.updateState( in testUpdateState_UpdatesToCopy_SameRoot_RightCtrlPressed()
437 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_DifferentRoot_LeftCtrlPressed()
459 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_DifferentRoot_RightCtrlPressed()
484 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_SameRoot_LeftCtrlReleased()
509 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_SameRoot_RightCtrlReleased()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DBrightnessLevelPreferenceControllerTest.java131 mController.updateState(mPreference); in updateState_inVrMode_shouldSetSummaryToVrBrightness()
144 mController.updateState(mPreference); in updateState_autoBrightness_shouldSetSummaryToAutoBrightness()
157 mController.updateState(mPreference); in updateState_manualBrightness_shouldSetSummaryToScreenBrightness()
168 mController.updateState(mPreference); in updateState_brightnessOutOfRange_shouldSetSummaryInRange()
172 mController.updateState(mPreference); in updateState_brightnessOutOfRange_shouldSetSummaryInRange()
182 mController.updateState(mPreference); in updateState_brightnessOutOfRange_shouldSetSummaryInRange()
186 mController.updateState(mPreference); in updateState_brightnessOutOfRange_shouldSetSummaryInRange()
195 mController.updateState(mPreference); in updateState_brightnessOutOfRange_shouldSetSummaryInRange()
199 mController.updateState(mPreference); in updateState_brightnessOutOfRange_shouldSetSummaryInRange()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DNotificationVibrationIntensityPreferenceControllerTest.java98 mController.updateState(mPreference); in updateState_withMultipleIntensitySuport_shouldRefreshSummary()
104 mController.updateState(mPreference); in updateState_withMultipleIntensitySuport_shouldRefreshSummary()
110 mController.updateState(mPreference); in updateState_withMultipleIntensitySuport_shouldRefreshSummary()
116 mController.updateState(mPreference); in updateState_withMultipleIntensitySuport_shouldRefreshSummary()
128 mController.updateState(mPreference); in updateState_withoutMultipleIntensitySupport_shouldRefreshSummary()
134 mController.updateState(mPreference); in updateState_withoutMultipleIntensitySupport_shouldRefreshSummary()
140 mController.updateState(mPreference); in updateState_withoutMultipleIntensitySupport_shouldRefreshSummary()
146 mController.updateState(mPreference); in updateState_withoutMultipleIntensitySupport_shouldRefreshSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/
DAudioSwitchPreferenceController.java155 updateState(mPreference); in onBluetoothStateChanged()
160 updateState(mPreference); in onActiveDeviceChanged()
165 updateState(mPreference); in onAudioModeChanged()
171 updateState(mPreference); in onProfileConnectionStateChanged()
180 updateState(mPreference); in onDeviceAdded()
321 updateState(mPreference); in onAudioDevicesAdded()
326 updateState(mPreference); in onAudioDevicesRemoved()
337 updateState(mPreference); in onReceive()
356 updateState(mPreference); in onRouteAdded()
368 updateState(mPreference); in onRouteChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DEnhanced4gLtePreferenceControllerTest.java109 mController.updateState(mPreference); in updateState_doNotShow4GForLTE_showVolteTitleAndSummary()
116 mController.updateState(mPreference); in updateState_doNotShow4GForLTE_showVolteTitleAndSummary()
128 mController.updateState(mPreference); in updateState_show4GForLTE_show4GTitleAndSummary()
135 mController.updateState(mPreference); in updateState_show4GForLTE_show4GTitleAndSummary()
147 mController.updateState(mPreference); in updateState_variantAdvancedCalling_showAdvancedCallingTitleAndSummary()
154 mController.updateState(mPreference); in updateState_variantAdvancedCalling_showAdvancedCallingTitleAndSummary()
169 mController.updateState(mPreference); in updateState_configEnabled_prefEnabled()
180 mController.updateState(mPreference); in updateState_configOn_prefChecked()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragAndDropManager.java111 @State int updateState( in updateState() method
221 updateState(mView, mDestRoot, mDestDoc); in adjustCtrlKeyCount()
305 updateState(STATE_NOT_ALLOWED); in updateStateToNotAllowed()
309 public @State int updateState( in updateState() method in DragAndDropManager.RuntimeDragAndDropManager
317 updateState(STATE_NOT_ALLOWED); in updateState()
322 updateState(STATE_UNKNOWN); in updateState()
329 updateState(STATE_NOT_ALLOWED); in updateState()
347 updateState(state); in updateState()
355 updateState(STATE_UNKNOWN); in resetState()
358 private void updateState(@State int state) { in updateState() method in DragAndDropManager.RuntimeDragAndDropManager
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DMediaOutputPreferenceControllerTest.java183 mController.updateState(mPreference); in updateState_withoutConnectedBtDevice_preferenceInvisible()
201 mController.updateState(mPreference); in updateState_withConnectedBtDevice_preferenceVisible()
206 mController.updateState(mPreference); in updateState_withConnectedBtDevice_preferenceVisible()
225 mController.updateState(mPreference); in updateState_withConnectedBtDevice_withoutActiveBtDevice_setDefaultSummary()
245 mController.updateState(mPreference); in updateState_withActiveBtDevice_setActivatedDeviceName()
264 mController.updateState(mPreference); in updateState_withConnectedHADevice_preferenceVisible()
269 mController.updateState(mPreference); in updateState_withConnectedHADevice_preferenceVisible()
287 mController.updateState(mPreference); in updateState_withActiveHADevice_setActivatedDeviceName()
312 mController.updateState(mPreference); in updateState_shouldSetSummary()
328 mController.updateState(mPreference); in updateState_duringACall_shouldSetDefaultSummary()
/packages/apps/Settings/src/com/android/settings/sound/
DAudioSwitchPreferenceController.java151 updateState(mPreference); in onBluetoothStateChanged()
156 updateState(mPreference); in onActiveDeviceChanged()
161 updateState(mPreference); in onAudioModeChanged()
167 updateState(mPreference); in onProfileConnectionStateChanged()
176 updateState(mPreference); in onDeviceAdded()
290 updateState(mPreference); in onAudioDevicesAdded()
295 updateState(mPreference); in onAudioDevicesRemoved()
306 updateState(mPreference); in onReceive()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiPrivacyPreferenceControllerTest.java71 mPreferenceController.updateState(mDropDownPreference); in testUpdateState_wifiPrivacy_setCorrectValue()
82 mPreferenceController.updateState(mDropDownPreference); in testUpdateState_wifiNotMetered_setCorrectValue()
100 mPreferenceController.updateState(mDropDownPreference); in testUpdateState_isNotEphemeralNetwork_shouldBeSelectable()
108 mPreferenceController.updateState(mDropDownPreference); in testUpdateState_isEphemeralNetwork_shouldNotSelectable()
116 mPreferenceController.updateState(mDropDownPreference); in testUpdateState_isNotPasspointNetwork_shouldBeSelectable()
124 mPreferenceController.updateState(mDropDownPreference); in testUpdateState_isPasspointNetwork_shouldNotSelectable()
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java218 updateState(available.toArray(new String[available.size()]), in onReceive()
223 updateState(); in onReceive()
226 updateState(); in onReceive()
229 updateState(); in onReceive()
248 updateState(); in onReceive()
290 updateState(); in onStart()
305 private void updateState() { in updateState() method in TetherSettings
309 updateState(available, tethered, errored); in updateState()
312 private void updateState(String[] available, String[] tethered, in updateState() method in TetherSettings
504 settings.updateState(); in update()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTetherSettings.java218 updateState(available.toArray(new String[available.size()]), in onReceive()
223 updateState(); in onReceive()
226 updateState(); in onReceive()
229 updateState(); in onReceive()
248 updateState(); in onReceive()
290 updateState(); in onStart()
305 private void updateState() { in updateState() method in TetherSettings
309 updateState(available, tethered, errored); in updateState()
312 private void updateState(String[] available, String[] tethered, in updateState() method in TetherSettings
504 settings.updateState(); in update()

12345678910>>...43