/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/ |
D | WifiTetherPasswordPreferenceControllerTest.java | 101 mController.onPreferenceChange(mPreference, VALID_PASS); in changePreference_shouldUpdateValue() 105 mController.onPreferenceChange(mPreference, VALID_PASS2); in changePreference_shouldUpdateValue() 115 mController.onPreferenceChange(mPreference, VALID_PASS); in changePreference_shouldLogActionWhenChanged() 123 mController.onPreferenceChange(mPreference, INITIAL_PASSWORD); in changePreference_shouldNotLogActionWhenNotChanged() 132 mController.onPreferenceChange(mPreference, VALID_PASS); in updateDisplay_shouldUpdateValue() 152 mController.onPreferenceChange(mPreference, VALID_PASS); in updateDisplay_shouldSetInputType()
|
D | WifiTetherSSIDPreferenceControllerTest.java | 102 mController.onPreferenceChange(mPreference, "1"); in changePreference_shouldUpdateValue() 105 mController.onPreferenceChange(mPreference, "0"); in changePreference_shouldUpdateValue() 114 mController.onPreferenceChange(mPreference, "1"); in changePreference_shouldLogActionWhenChanged() 122 mController.onPreferenceChange(mPreference, in changePreference_shouldNotLogActionWhenNotChanged() 132 mController.onPreferenceChange(mPreference, "1"); in updateDisplay_shouldUpdateValue()
|
D | WifiTetherApBandPreferenceControllerTest.java | 97 mController.onPreferenceChange(mPreference, VAL_2_5_GHZ_STR); in display_5GhzSupported_shouldDisplayFullList() 137 mController.onPreferenceChange(mPreference, VAL_2_5_GHZ_STR); in changePreference_With5G_shouldUpdateValue() 143 mController.onPreferenceChange(mPreference, VAL_5GHZ_STR); in changePreference_With5G_shouldUpdateValue() 149 mController.onPreferenceChange(mPreference, VAL_2GHZ_STR); in changePreference_With5G_shouldUpdateValue() 162 mController.onPreferenceChange(mPreference, VAL_5GHZ_STR); in updateDisplay_shouldUpdateValue()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
D | DeviceNamePreferenceControllerTest.java | 120 mController.onPreferenceChange(mPreference, TESTING_STRING); in setDeviceName_preferenceUpdatedWhenDeviceNameUpdated() 129 mController.onPreferenceChange(mPreference, TESTING_STRING); in setDeviceName_bluetoothNameUpdatedWhenDeviceNameUpdated() 138 mController.onPreferenceChange(mPreference, TESTING_STRING); in setDeviceName_wifiTetherNameUpdatedWhenDeviceNameUpdated() 157 mController.onPreferenceChange(mPreference, TESTING_STRING); in setDeviceName_ignoresIfCancelPressed() 166 mController.onPreferenceChange(mPreference, TESTING_STRING); in setDeviceName_okInDeviceNameWarningDialog_shouldChangePreferenceText() 175 mController.onPreferenceChange(mPreference, TESTING_STRING); in setDeviceName_cancelInDeviceNameWarningDialog_shouldNotChangePreferenceText()
|
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/edit/ |
D | EditInfoFragmentTest.java | 45 assertThat(listener.onPreferenceChange(preference, value)).isTrue(); in testOnPreferenceChange_without_listener() 56 doReturn(resultValue).when(preference).onPreferenceChange(preference, value); in testOnPreferenceChange_with_listener() 58 assertThat(listener.onPreferenceChange(preference, value)).isEqualTo(resultValue); in testOnPreferenceChange_with_listener() 61 verify(preference).onPreferenceChange(preference, value); in testOnPreferenceChange_with_listener() 78 public boolean onPreferenceChange(Preference preference, Object o) { in onPreferenceChange() method in EditInfoFragmentTest.PreferenceWithListener
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | AssistantCapabilityPreferenceControllerTest.java | 181 mPrioritizerController.onPreferenceChange(mPrioritizerPreference, true); in onPreferenceChange_prioritizerOn() 187 mPrioritizerController.onPreferenceChange(mPrioritizerPreference, false); in onPreferenceChange_prioritizerOff() 193 mRankingController.onPreferenceChange(mRankingPreference, true); in onPreferenceChange_rankingOn() 199 mRankingController.onPreferenceChange(mRankingPreference, false); in onPreferenceChange_rankingOff() 205 mChipController.onPreferenceChange(mChipPreference, true); in onPreferenceChange_chipsOn() 212 mChipController.onPreferenceChange(mChipPreference, false); in onPreferenceChange_chipsOff()
|
D | EmergencyTonePreferenceControllerTest.java | 119 mPreference.getOnPreferenceChangeListener().onPreferenceChange(mPreference, "0"); in onPreferenceChanged_firstItemSelected_shouldSetEmergencyToneToOff() 128 mPreference.getOnPreferenceChangeListener().onPreferenceChange(mPreference, "1"); in onPreferenceChanged_secondItemSelected_shouldSetEmergencyToneToAlert() 137 mPreference.getOnPreferenceChangeListener().onPreferenceChange(mPreference, "2"); in onPreferenceChanged_thirdItemSelected_shouldSetEmergencyToneToVibrate()
|
D | ShowOnLockscreenNotificationPreferenceControllerTest.java | 183 mController.onPreferenceChange(mPreference, in onPreferenceChange_allToAlerting() 204 mController.onPreferenceChange(mPreference, in onPreferenceChange_noneToAll() 225 mController.onPreferenceChange(mPreference, in onPreferenceChange_alertingToNone()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | OverlayCategoryPreferenceControllerTest.java | 111 mController.onPreferenceChange(null, TWO_DISABLED.packageName); in onPreferenceChange_enable() 124 mController.onPreferenceChange(null, TWO_DISABLED.packageName); in onPreferenceChange_enable_fails() 135 mController.onPreferenceChange( in onPreferenceChange_disable() 148 mController.onPreferenceChange( in onPreferenceChange_disable_fails() 162 mController.onPreferenceChange( in onPreferenceChange_disable_throws()
|
D | WirelessDebuggingPreferenceControllerTest.java | 120 mController.onPreferenceChange(null, true); in onPreferenceChange_turnOn_wifiConnected_adbWifiEnabledTrue() 128 mController.onPreferenceChange(null, false); in onPreferenceChange_turnOff_wifiConnected_adbWifiEnabledFalse() 137 mController.onPreferenceChange(null, true); in onPreferenceChange_turnOn_wifiNotConnected_adbWifiEnabledFalse() 145 mController.onPreferenceChange(null, false); in onPreferenceChange_turnOff_wifiNotConnected_adbWifiEnabledFalse()
|
D | AdbAuthorizationTimeoutPreferenceControllerTest.java | 81 mPreferenceController.onPreferenceChange(mPreference, true); in onPreferenceChange_enableSetting_timeoutSetToZero() 96 mPreferenceController.onPreferenceChange(mPreference, true); in onPreferenceChange_enableAndDisableSetting_timeoutSetToDefault() 97 mPreferenceController.onPreferenceChange(mPreference, false); in onPreferenceChange_enableAndDisableSetting_timeoutSetToDefault()
|
D | BluetoothSnoopLogPreferenceControllerTest.java | 92 mController.onPreferenceChange(null, in onPreferenceChanged_turnOnFullBluetoothSnoopLog() 101 mController.onPreferenceChange(null, in onPreferenceChanged_turnOnFilteredBluetoothSnoopLog() 110 mController.onPreferenceChange(null, in onPreferenceChanged_turnOffBluetoothSnoopLog()
|
D | WifiScanThrottlingPreferenceControllerTest.java | 60 mController.onPreferenceChange(mPreference, true /* new value */); in onPreferenceChanged_turnOnScanThrottling() 67 mController.onPreferenceChange(mPreference, false /* new value */); in onPreferenceChanged_turnOffScanThrottling()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | ConversationPriorityPreferenceControllerTest.java | 92 mController.onPreferenceChange(mock(Preference.class), true); in testNoCrashIfNoOnResume() 195 mController.onPreferenceChange(pref, new Pair(IMPORTANCE_HIGH, true)); in testImportanceLowToImportant() 213 mController.onPreferenceChange(pref, new Pair(IMPORTANCE_HIGH, false)); in testImportanceLowToDefault() 232 mController.onPreferenceChange(pref, new Pair(IMPORTANCE_LOW, false)); in testImportanceDefaultToLow() 251 mController.onPreferenceChange(pref, new Pair(IMPORTANCE_DEFAULT, false)); in testImportanceLowToDefault_bubblesMaintained() 271 mController.onPreferenceChange(pref, new Pair(IMPORTANCE_HIGH, false)); in testImportancePriorityToDefault()
|
D | BubblePreferenceControllerTest.java | 117 mController.onPreferenceChange(mock(RestrictedSwitchPreference.class), true); in testNoCrashIfNoOnResume() 337 mController.onPreferenceChange(pref, true); in onPreferenceChange_on_channel() 357 mController.onPreferenceChange(pref, false); in onPreferenceChange_off_channel() 376 mAppPageController.onPreferenceChange(pref, BUBBLE_PREFERENCE_ALL); in onPreferenceChange_app_all() 396 mAppPageController.onPreferenceChange(pref, BUBBLE_PREFERENCE_ALL); in testOnPreferenceChange_app_all_offGlobally() 416 mAppPageController.onPreferenceChange(pref, BUBBLE_PREFERENCE_NONE); in onPreferenceChange_app_selected() 435 mAppPageController.onPreferenceChange(pref, BUBBLE_PREFERENCE_NONE); in onPreferenceChange_app_none() 450 mAppPageController.onPreferenceChange(pref, BUBBLE_PREFERENCE_NONE); in onPreferenceChange_dependentFieldListenerCalled()
|
D | BadgePreferenceControllerTest.java | 89 mController.onPreferenceChange(mock(RestrictedSwitchPreference.class), true); in testNoCrashIfNoOnResume() 254 mController.onPreferenceChange(pref, true); in testOnPreferenceChange_on_channel() 273 mController.onPreferenceChange(pref, false); in testOnPreferenceChange_off_channel() 289 mController.onPreferenceChange(pref, true); in testOnPreferenceChange_on_app() 306 mController.onPreferenceChange(pref, false); in testOnPreferenceChange_off_app()
|
D | InvalidConversationPreferenceControllerTest.java | 95 mController.onPreferenceChange(mock(RestrictedSwitchPreference.class), true); in testNoCrashIfNoOnResume() 183 mController.onPreferenceChange(pref, true); in testOnPreferenceChange_toggleEnabled() 202 mController.onPreferenceChange(pref, false); in testOnPreferenceChange_toggleDisabled()
|
D | VibrationPreferenceControllerTest.java | 93 mController.onPreferenceChange(mock(RestrictedSwitchPreference.class), true); in testNoCrashIfNoOnResume() 203 mController.onPreferenceChange(pref, true); in testOnPreferenceChange_on() 221 mController.onPreferenceChange(pref, false); in testOnPreferenceChange_off()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | CrossProfileCalendarPreferenceControllerTest.java | 142 mController.onPreferenceChange(mPreference, false); in onPreferenceChangeToFalse_shouldUpdateProviderValue() 151 mController.onPreferenceChange(mPreference, false); in onPreferenceChangeToTrue_shouldUpdateProviderValue() 153 mController.onPreferenceChange(mPreference, true); in onPreferenceChangeToTrue_shouldUpdateProviderValue()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/autofill/ |
D | AutofillLoggingLevelPreferenceControllerTest.java | 110 mController.onPreferenceChange(mPreference, mListValues[IDX_OFF]); in onPreferenceChange_off() 119 mController.onPreferenceChange(mPreference, mListValues[IDX_DEBUG]); in onPreferenceChange_debug() 129 mController.onPreferenceChange(mPreference, mListValues[IDX_VERBOSE]); in onPreferenceChange_verbose()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | BatteryPercentagePreferenceControllerTest.java | 52 mController.onPreferenceChange(null, true); in testOnPreferenceChange_TurnOnPercentage_PercentageOn() 59 mController.onPreferenceChange(null, false); in testOnPreferenceChange_TurnOffPercentage_PercentageOff()
|
D | ShowOperatorNamePreferenceControllerTest.java | 73 mController.onPreferenceChange(mPreference, true); in testOnPreferenceChange_TurnOn_ReturnOn() 82 mController.onPreferenceChange(mPreference, false); in testOnPreferenceChange_TurnOff_ReturnOff()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/ |
D | GraphicsDriverEnableForAllAppsPreferenceControllerTest.java | 186 mController.onPreferenceChange(mPreference, mPreferenceDefault); in onPreferenceChange_default_shouldUpdateSettingsGlobal() 197 mController.onPreferenceChange(mPreference, mPreferenceGameDriver); in onPreferenceChange_gameDriver_shouldUpdateSettingsGlobal() 208 mController.onPreferenceChange(mPreference, mPreferencePrereleaseDriver); in onPreferenceChange_prereleaseDriver_shouldUpdateSettingsGlobal()
|
D | GraphicsDriverAppPreferenceControllerTest.java | 243 mController.onPreferenceChange(preference, mValueList[DEFAULT]); in onPreferenceChange_selectDefault_shouldUpdateAttributesAndSettingsGlobal() 259 mController.onPreferenceChange(preference, mValueList[PRERELEASE_DRIVER]); in onPreferenceChange_selectPRERELEASE_DRIVER_shouldUpdateAttrAndSettingsGlobal() 276 mController.onPreferenceChange(preference, mValueList[GAME_DRIVER]); in onPreferenceChange_selectGAME_DRIVER_shouldUpdateAttributesAndSettingsGlobal() 292 mController.onPreferenceChange(preference, mValueList[SYSTEM]); in onPreferenceChange_selectSystem_shouldUpdateAttributesAndSettingsGlobal()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/ |
D | AutoTimePreferenceControllerTest.java | 67 mController.onPreferenceChange(mPreference, true); in updatePreferenceChange_prefIsChecked_shouldUpdatePreferenceAndNotifyCallback() 75 mController.onPreferenceChange(mPreference, false); in updatePreferenceChange_prefIsUnchecked_shouldUpdatePreferenceAndNotifyCallback()
|