/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/ |
D | WifiTetherApBandPreferenceControllerTest.java | 90 mController.onPreferenceChange(mPreference, "-1"); in display_5GhzSupported_shouldDisplayFullList() 128 mController.onPreferenceChange(mPreference, "-1"); in changePreference_noDualModeWith5G_shouldUpdateValue() 134 mController.onPreferenceChange(mPreference, "1"); in changePreference_noDualModeWith5G_shouldUpdateValue() 140 mController.onPreferenceChange(mPreference, "0"); in changePreference_noDualModeWith5G_shouldUpdateValue() 155 mController.onPreferenceChange(mPreference, "-1"); in changePreference_dualModeWith5G_shouldUpdateValue() 161 mController.onPreferenceChange(mPreference, "1"); in changePreference_dualModeWith5G_shouldUpdateValue() 167 mController.onPreferenceChange(mPreference, "0"); in changePreference_dualModeWith5G_shouldUpdateValue() 180 mController.onPreferenceChange(mPreference, "1"); in updateDisplay_shouldUpdateValue()
|
D | WifiTetherPasswordPreferenceControllerTest.java | 94 mController.onPreferenceChange(mPreference, VALID_PASS); in changePreference_shouldUpdateValue() 98 mController.onPreferenceChange(mPreference, VALID_PASS2); in changePreference_shouldUpdateValue() 109 mController.onPreferenceChange(mPreference, VALID_PASS); in updateDisplay_shouldUpdateValue() 129 mController.onPreferenceChange(mPreference, VALID_PASS); in updateDisplay_shouldSetInputType()
|
D | WifiTetherSSIDPreferenceControllerTest.java | 99 mController.onPreferenceChange(mPreference, "1"); in changePreference_shouldUpdateValue() 102 mController.onPreferenceChange(mPreference, "0"); in changePreference_shouldUpdateValue() 112 mController.onPreferenceChange(mPreference, "1"); in updateDisplay_shouldUpdateValue()
|
D | WifiTetherAutoOffPreferenceControllerTest.java | 54 mController.onPreferenceChange(null, true); in testOnPreferenceChange_toggleOn_settingsOn() 61 mController.onPreferenceChange(null, false); in testOnPreferenceChange_toggleOff_settingsOff()
|
/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() 156 mController.onPreferenceChange(mPreference, TESTING_STRING); in setDeviceName_ignoresIfCancelPressed() 165 mController.onPreferenceChange(mPreference, TESTING_STRING); in setDeviceName_okInDeviceNameWarningDialog_shouldChangePreferenceText() 174 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/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 | BluetoothSnoopLogPreferenceControllerTest.java | 92 mController.onPreferenceChange(null, in onPreferenceChanged_turnOnFullBluetoothSnoopLog() 101 mController.onPreferenceChange(null, in onPreferenceChanged_turnOnFilteredBluetoothSnoopLog() 110 mController.onPreferenceChange(null, in onPreferenceChanged_turnOffBluetoothSnoopLog()
|
D | ForceMSAAPreferenceControllerTest.java | 61 mController.onPreferenceChange(mPreference, true /* new value */); in onPreferenceChanged_settingEnabled_turnOnForceMsaa() 70 mController.onPreferenceChange(mPreference, false /* new value */); in onPreferenceChanged_settingDisabled_turnOffForceMsaa()
|
D | ShowLayoutBoundsPreferenceControllerTest.java | 59 mController.onPreferenceChange(mPreference, true /* new value */); in onPreferenceChanged_settingEnabled_turnOnShowLayoutBounds() 68 mController.onPreferenceChange(mPreference, false /* new value */); in onPreferenceChanged_settingDisabled_turnOffShowLayoutBounds()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | AssistantCapabilityPreferenceControllerTest.java | 145 mPrioritizerController.onPreferenceChange(mPrioritizerPreference, true); in onPreferenceChange_prioritizerOn() 151 mPrioritizerController.onPreferenceChange(mPrioritizerPreference, false); in onPreferenceChange_prioritizerOff() 157 mChipController.onPreferenceChange(mChipPreference, true); in onPreferenceChange_chipsOn() 164 mChipController.onPreferenceChange(mChipPreference, false); in onPreferenceChange_chipsOff()
|
D | BubblePreferenceControllerTest.java | 101 mController.onPreferenceChange(mock(RestrictedSwitchPreference.class), true); in testNoCrashIfNoOnResume() 311 mController.onPreferenceChange(pref, true); in testOnPreferenceChange_on_channel() 331 mController.onPreferenceChange(pref, false); in testOnPreferenceChange_off_channel() 348 mController.onPreferenceChange(pref, true); in testOnPreferenceChange_on_app() 366 mController.onPreferenceChange(pref, false); in testOnPreferenceChange_off_app() 385 mController.onPreferenceChange(pref, true); in testOnPreferenceChange_on_app_offGlobally()
|
D | BadgePreferenceControllerTest.java | 88 mController.onPreferenceChange(mock(RestrictedSwitchPreference.class), true); in testNoCrashIfNoOnResume() 253 mController.onPreferenceChange(pref, true); in testOnPreferenceChange_on_channel() 272 mController.onPreferenceChange(pref, false); in testOnPreferenceChange_off_channel() 288 mController.onPreferenceChange(pref, true); in testOnPreferenceChange_on_app() 305 mController.onPreferenceChange(pref, false); in testOnPreferenceChange_off_app()
|
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 | VibrationPreferenceControllerTest.java | 92 mController.onPreferenceChange(mock(RestrictedSwitchPreference.class), true); in testNoCrashIfNoOnResume() 202 mController.onPreferenceChange(pref, true); in testOnPreferenceChange_on() 220 mController.onPreferenceChange(pref, false); in testOnPreferenceChange_off()
|
D | ShowOnLockscreenNotificationPreferenceControllerTest.java | 183 mController.onPreferenceChange(mPreference, in onPreferenceChange_allToAlerting() 204 mController.onPreferenceChange(mPreference, in onPreferenceChange_noneToAll() 225 mController.onPreferenceChange(mPreference, in onPreferenceChange_alertingToNone()
|
D | LightsPreferenceControllerTest.java | 100 mController.onPreferenceChange(mock(RestrictedSwitchPreference.class), true); in testNoCrashIfNoOnResume() 206 mController.onPreferenceChange(pref, true); in testOnPreferenceChange_on() 224 mController.onPreferenceChange(pref, false); in testOnPreferenceChange_off()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | UseOpenWifiPreferenceControllerTest.java | 154 assertThat(mController.onPreferenceChange(pref, null)).isFalse(); in onPreferenceChange_nonMatchingKey_shouldDoNothing() 164 assertThat(mController.onPreferenceChange(pref, null)).isFalse(); in onPreferenceChange_notAvailable_shouldDoNothing() 175 assertThat(mController.onPreferenceChange(pref, null)).isFalse(); in onPreferenceChange_matchingKeyAndAvailable_enableShouldStartEnableActivity() 194 assertThat(mController.onPreferenceChange(pref, null)).isTrue(); in onPreferenceChange_matchingKeyAndAvailable_disableShouldUpdateSetting()
|
/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/development/gamedriver/ |
D | GameDriverEnableForAllAppsPreferenceControllerTest.java | 184 mController.onPreferenceChange(mPreference, mPreferenceDefault); in onPreferenceChange_default_shouldUpdateSettingsGlobal() 195 mController.onPreferenceChange(mPreference, mPreferenceGameDriver); in onPreferenceChange_gameDriver_shouldUpdateSettingsGlobal() 206 mController.onPreferenceChange(mPreference, mPreferencePrereleaseDriver); in onPreferenceChange_prereleaseDriver_shouldUpdateSettingsGlobal()
|
/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/datetime/ |
D | AutoTimePreferenceControllerTest.java | 67 mController.onPreferenceChange(mPreference, true); in updatePreferenceChange_prefIsChecked_shouldUpdatePreferenceAndNotifyCallback() 75 mController.onPreferenceChange(mPreference, false); in updatePreferenceChange_prefIsUnchecked_shouldUpdatePreferenceAndNotifyCallback()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | TogglePreferenceControllerTest.java | 72 mToggleController.onPreferenceChange(mPreference, newValue); in testUpdatesPreferenceOnChange_turnsOn() 82 mToggleController.onPreferenceChange(mPreference, newValue); in testUpdatesPreferenceOnChange_turnsOff()
|