/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | BlockPreferenceControllerTest.java | 94 mController.updateState(mock(LayoutPreference.class)); in testNoCrashIfNoOnResume() 176 mController.updateState(mPreference); in testIsEnabled_lockedApp() 185 mController.updateState(mPreference); in testIsEnabled_GroupNotBlockable() 194 mController.updateState(mPreference); in testIsEnabled_systemAppNotBlockable() 205 mController.updateState(mPreference); in testIsEnabled_systemAppBlockable() 217 mController.updateState(mPreference); in testIsEnabled_lockedChannel() 230 mController.updateState(mPreference); in testIsEnabled_defaultAppChannel() 242 mController.updateState(mPreference); in testIsEnabled_channel() 252 mController.updateState(mPreference); in testIsEnabled_app() 262 mController.updateState(mPreference); in testUpdateState_app() [all …]
|
D | BubblePreferenceControllerTest.java | 116 mController.updateState(mock(RestrictedSwitchPreference.class)); in testNoCrashIfNoOnResume() 225 mController.updateState(pref); in updateState_disabledByAdmin() 240 mAppPageController.updateState(pref); in updateState_app_disabledByAdmin() 255 mController.updateState(pref); in updateState_channel_channelNotBlockable() 270 mController.updateState(pref); in updateState_channel() 276 mController.updateState(pref); in updateState_channel() 291 mAppPageController.updateState(pref); in updateState_app() 297 mAppPageController.updateState(pref); in updateState_app() 303 mAppPageController.updateState(pref); in updateState_app() 318 mAppPageController.updateState(pref); in updateState_app_offGlobally() [all …]
|
D | ConversationPriorityPreferenceControllerTest.java | 91 mController.updateState(mock(Preference.class)); in testNoCrashIfNoOnResume() 118 mController.updateState(pref); in testUpdateState_disabledByAdmin() 132 mController.updateState(pref); in testUpdateState_notConfigurable() 147 mController.updateState(pref); in testUpdateState_systemButConfigurable() 162 mController.updateState(pref); in testUpdateState_defaultApp() 176 mController.updateState(pref); in testUpdateState() 193 mController.updateState(pref); in testImportanceLowToImportant() 211 mController.updateState(pref); in testImportanceLowToDefault() 230 mController.updateState(pref); in testImportanceDefaultToLow() 249 mController.updateState(pref); in testImportanceLowToDefault_bubblesMaintained() [all …]
|
D | BadgePreferenceControllerTest.java | 88 mController.updateState(mock(RestrictedSwitchPreference.class)); in testNoCrashIfNoOnResume() 185 mController.updateState(pref); in testUpdateState_disabledByAdmin() 199 mController.updateState(pref); in testUpdateState_channelNotBlockable() 212 mController.updateState(pref); in testUpdateState_channel() 218 mController.updateState(pref); in testUpdateState_channel() 230 mController.updateState(pref); in testUpdateState_app() 236 mController.updateState(pref); in testUpdateState_app() 252 mController.updateState(pref); in testOnPreferenceChange_on_channel() 271 mController.updateState(pref); in testOnPreferenceChange_off_channel() 287 mController.updateState(pref); in testOnPreferenceChange_on_app() [all …]
|
D | AllowSoundPreferenceControllerTest.java | 89 mController.updateState(mock(RestrictedSwitchPreference.class)); in testNoCrashIfNoOnResume() 137 mController.updateState(pref); in testUpdateState_disabledByAdmin() 151 mController.updateState(pref); in testUpdateState_notBlockable_oem() 164 mController.updateState(pref); in testUpdateState_configurable() 176 mController.updateState(pref); in testUpdateState_checkedForHighImportanceChannel() 187 mController.updateState(pref); in testUpdateState_checkedForUnspecifiedImportanceChannel() 198 mController.updateState(pref); in testUpdateState_notCheckedForLowImportanceChannel() 211 mController.updateState(pref); in testOnPreferenceChange_on() 228 mController.updateState(pref); in testOnPreferenceChange_off()
|
D | VibrationPreferenceControllerTest.java | 92 mController.updateState(mock(RestrictedSwitchPreference.class)); in testNoCrashIfNoOnResume() 138 mController.updateState(pref); in testUpdateState_disabledByAdmin() 151 mController.updateState(pref); in testUpdateState_notBlockable() 164 mController.updateState(pref); in testUpdateState_configurable() 177 mController.updateState(pref); in testUpdateState_vibrateOn() 189 mController.updateState(pref); in testUpdateState_vibrateOff() 201 mController.updateState(pref); in testOnPreferenceChange_on() 219 mController.updateState(pref); in testOnPreferenceChange_off()
|
D | HighImportancePreferenceControllerTest.java | 86 mController.updateState(mock(Preference.class)); in testNoCrashIfNoOnResume() 139 mController.updateState(pref); in testUpdateState_disabledByAdmin() 153 mController.updateState(pref); in testUpdateState_notConfigurable() 168 mController.updateState(pref); in testUpdateState_systemButConfigurable() 183 mController.updateState(pref); in testUpdateState_defaultApp() 195 mController.updateState(pref); in testUpdateState_high() 207 mController.updateState(pref); in testUpdateState_default() 221 mController.updateState(pref); in onPreferenceChange()
|
D | MinImportancePreferenceControllerTest.java | 86 mController.updateState(mock(Preference.class)); in testNoCrashIfNoOnResume() 139 mController.updateState(pref); in testUpdateState_disabledByAdmin() 153 mController.updateState(pref); in testUpdateState_notConfigurable() 168 mController.updateState(pref); in testUpdateState_systemButConfigurable() 183 mController.updateState(pref); in testUpdateState_defaultApp() 195 mController.updateState(pref); in testUpdateState_min() 207 mController.updateState(pref); in testUpdateState_low() 221 mController.updateState(pref); in onPreferenceChange()
|
D | VisibilityPreferenceControllerTest.java | 115 mController.updateState(mock(RestrictedListPreference.class)); in testNoCrashIfNoOnResume() 166 mController.updateState(pref); in testUpdateState_disabledByAdmin_disableSecure() 188 mController.updateState(pref); in testUpdateState_disabledByAdmin_disableUnredacted() 203 mController.updateState(pref); in testUpdateState_noLockScreenNotificationsGlobally() 228 mController.updateState(pref); in testUpdateState_noLockScreenNotificationsGloballyInProfile() 251 mController.updateState(pref); in testUpdateState_noPrivateLockScreenNotificationsGlobally() 268 mController.updateState(pref); in testUpdateState_noGlobalRestriction() 299 mController.updateState(pref); in testUpdateState_noChannelOverride() 318 mController.updateState(pref); in testUpdateState_channelOverride() 337 mController.updateState(pref); in testOnPreferenceChange_noOverride() [all …]
|
D | ImportancePreferenceControllerTest.java | 92 mController.updateState(mock(Preference.class)); in testNoCrashIfNoOnResume() 156 mController.updateState(pref); in testUpdateState_disabledByAdmin() 170 mController.updateState(pref); in testUpdateState_notConfigurable() 185 mController.updateState(pref); in testUpdateState_systemButConfigurable() 200 mController.updateState(pref); in testUpdateState_defaultApp() 212 mController.updateState(pref); in testUpdateState() 229 mController.updateState(pref); in testImportanceLowToHigh() 247 mController.updateState(pref); in testImportanceHighToLow()
|
D | DndPreferenceControllerTest.java | 108 mController.updateState(pref); in testUpdateState_disabledByAdmin() 121 mController.updateState(pref); in testUpdateState_notBlockable() 134 mController.updateState(pref); in testUpdateState_configurable() 147 mController.updateState(pref); in testUpdateState_bypassDnd() 159 mController.updateState(pref); in testUpdateState_noBypassDnd() 173 mController.updateState(pref); in testOnPreferenceChange_on() 191 mController.updateState(pref); in testOnPreferenceChange_off()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | PrivateDnsPreferenceControllerTest.java | 198 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/Settings/tests/robotests/src/com/android/settings/display/ |
D | BrightnessLevelPreferenceControllerTest.java | 135 mController.updateState(mPreference); in updateState_inVrMode_shouldSetSummaryToVrBrightness() 148 mController.updateState(mPreference); in updateState_autoBrightness_shouldSetSummaryToAutoBrightness() 161 mController.updateState(mPreference); in updateState_manualBrightness_shouldSetSummaryToScreenBrightness() 172 mController.updateState(mPreference); in updateState_brightnessOutOfRange_shouldSetSummaryInRange() 176 mController.updateState(mPreference); in updateState_brightnessOutOfRange_shouldSetSummaryInRange() 186 mController.updateState(mPreference); in updateState_brightnessOutOfRange_shouldSetSummaryInRange() 190 mController.updateState(mPreference); in updateState_brightnessOutOfRange_shouldSetSummaryInRange() 199 mController.updateState(mPreference); in updateState_brightnessOutOfRange_shouldSetSummaryInRange() 203 mController.updateState(mPreference); in updateState_brightnessOutOfRange_shouldSetSummaryInRange()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | NotificationVibrationIntensityPreferenceControllerTest.java | 98 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/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DragAndDropManagerTests.java | 314 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() 453 final @State int state = mManager.updateState( in testUpdateState_UpdatesToCopy_SameRoot_RightCtrlPressed() 475 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_DifferentRoot_LeftCtrlPressed() 497 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_DifferentRoot_RightCtrlPressed() 522 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_SameRoot_LeftCtrlReleased() 547 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_SameRoot_RightCtrlReleased() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/ |
D | AudioSwitchPreferenceController.java | 155 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/ |
D | EnabledNetworkModePreferenceControllerTest.java | 151 mController.updateState(mPreference); in updateState_LteWorldPhone_GlobalHasLte() 165 mController.updateState(mPreference); in updateState_5gWorldPhone_GlobalHasNr() 182 mController.updateState(mPreference); in updateState_selectedOn5gItem() 199 mController.updateState(mPreference); in updateState_disAllowed5g_5gOptionHidden() 217 mController.updateState(mPreference); in updateState_disAllowed5g_selectOn4gOption() 234 mController.updateState(mPreference); in updateState_GlobalDisAllowed5g_GlobalWithoutNR() 252 mController.updateState(mPreference); in updateState_GlobalDisAllowed5g_SelectOnGlobal() 266 mController.updateState(mPreference); in updateState_updateByNetworkMode() 280 mController.updateState(mPreference); in updateState_updateByNetworkMode_useDefaultValue() 292 mController.updateState(mPreference); in onPreferenceChange_updateSuccess() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiWakeupPreferenceControllerTest.java | 89 mController.updateState(preference); in updateState_wifiWakeupEnableScanningDisable_wifiWakeupDisabled() 103 mController.updateState(preference); in updateState_preferenceSetCheckedWhenWakeupSettingEnabled() 115 mController.updateState(preference); in updateState_preferenceSetUncheckedWhenWakeupSettingDisabled() 128 mController.updateState(preference); in updateState_preferenceSetUncheckedWhenWifiScanningDisabled() 139 mController.updateState(preference); in updateState_preferenceSetUncheckedWhenWakeupSettingEnabledNoLocation() 152 mController.updateState(preference); in updateState_preferenceSetUncheckedWhenWakeupSettingDisabledLocationEnabled() 166 mController.updateState(preference); in updateState_preferenceSetUncheckedWhenWifiScanningDisabledLocationEnabled()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TetherSettings.java | 253 updateState(available.toArray(new String[available.size()]), in onReceive() 258 updateState(); in onReceive() 261 updateState(); in onReceive() 264 updateState(); in onReceive() 283 updateState(); in onReceive() 331 updateState(); in onStart() 351 private void updateState() { in updateState() method in TetherSettings 355 updateState(available, tethered, errored); in updateState() 358 private void updateState(String[] available, String[] tethered, in updateState() method in TetherSettings 575 settings.updateState(); in update() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DragAndDropManager.java | 112 @State int updateState( in updateState() method 229 updateState(mView, mDestRoot, mDestDoc); in adjustCtrlKeyCount() 314 updateState(STATE_NOT_ALLOWED); in updateStateToNotAllowed() 318 public @State int updateState( in updateState() method in DragAndDropManager.RuntimeDragAndDropManager 326 updateState(STATE_NOT_ALLOWED); in updateState() 331 updateState(STATE_UNKNOWN); in updateState() 338 updateState(STATE_NOT_ALLOWED); in updateState() 356 updateState(state); in updateState() 364 updateState(STATE_UNKNOWN); in resetState() 372 private void updateState(@State int state) { in updateState() method in DragAndDropManager.RuntimeDragAndDropManager
|
/packages/apps/Settings/src/com/android/settings/sound/ |
D | AudioSwitchPreferenceController.java | 151 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/ |
D | WifiPrivacyPreferenceControllerTest.java | 71 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | TetherSettings.java | 214 updateState(available.toArray(new String[available.size()]), in onReceive() 219 updateState(); in onReceive() 222 updateState(); in onReceive() 225 updateState(); in onReceive() 244 updateState(); in onReceive() 286 updateState(); in onStart() 301 private void updateState() { in updateState() method in TetherSettings 305 updateState(available, tethered, errored); in updateState() 308 private void updateState(String[] available, String[] tethered, in updateState() method in TetherSettings 481 settings.updateState(); in update()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeBehaviorFooterPreferenceControllerTest.java | 128 mController.updateState(mockPref); in zenModeOff_updateState_noFooterTitle() 136 mController.updateState(mockPref); in zenModeImportantInterruptions_updateState_noFooterTitle() 149 mController.updateState(mockPref); in deprecatedZenModeAlarms_qsManualRule_setFooterTitle() 165 mController.updateState(mockPref); in deprecatedZenModeAlarms_appManualRule_setFooterTitle() 179 mController.updateState(mockPref); in deprecatedZenModeNoInterruptions_qsManualRule_setFooterTitle() 195 mController.updateState(mockPref); in deprecatedZenModeNoInterruptions_appManualRule_setFooterTitle() 215 mController.updateState(mockPref); in deprecatedZenModeAlarms_automaticRule_setFooterTitle() 235 mController.updateState(mockPref); in deprecatedZenModeNoInterruptions_automaticRule_setFooterTitle()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppPermissionsPreferenceControllerTest.java | 67 mController.updateState(mPreference); in updateState_shouldResetNumPackageChecked() 75 mController.updateState(mPreference); in updateSummary_noGrantedPermission_shouldSetNoPermissionGrantedSummary() 87 mController.updateState(mPreference); in updateSummary_hasOnePermission_shouldSetPermissionAsSummary() 102 mController.updateState(mPreference); in updateSummary_hasThreePermissions_shouldShowThreePermissionAsSummary() 118 mController.updateState(mPreference); in updateSummary_hasFivePermissions_shouldShowThreePermissionsAndMoreAsSummary() 137 mController.updateState(mPreference); in updateSummary_notReachCallbackCount_shouldNotSetSummary()
|