Home
last modified time | relevance | path

Searched refs:setDefaultKey (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDefaultFragmentTest.java97 mFragment.setDefaultKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_NONE)); in setDefaultKey_isNone_shouldSetNone()
103 mFragment.setDefaultKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_MTP)); in setDefaultKey_isMtp_shouldSetMtp()
109 mFragment.setDefaultKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_PTP)); in setDefaultKey_isPtp_shouldSetPtp()
115 mFragment.setDefaultKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_MIDI)); in setDefaultKey_isMidi_shouldSetMidi()
123 mFragment.setDefaultKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_MTP)); in setDefaultKey_isMonkey_shouldDoNothing()
132 mFragment.setDefaultKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_RNDIS)); in setDefaultKey_functionRndis_startTetheringInvoked()
144 mFragment.setDefaultKey(UsbBackend.usbFunctionsToString(UsbManager.FUNCTION_PTP)); in setDefaultKey_functionOther_setCurrentFunctionInvoked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
DWhenToDreamPickerTest.java85 mPicker.setDefaultKey(key); in setDreamWhileCharging()
92 mPicker.setDefaultKey(key); in setDreamWhileDocked()
99 mPicker.setDefaultKey(key); in setDreamWhileChargingOrDocked()
106 mPicker.setDefaultKey(key); in setDreamNever()
DCurrentDreamPickerTest.java88 mPicker.setDefaultKey(COMPONENT_KEY); in setDefaultShouldUpdateActiveDream()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DColorModePreferenceFragmentTest.java190 mFragment.setDefaultKey(ColorModePreferenceFragment.KEY_COLOR_MODE_NATURAL); in setKey_natural()
196 mFragment.setDefaultKey(ColorModePreferenceFragment.KEY_COLOR_MODE_BOOSTED); in setKey_boosted()
202 mFragment.setDefaultKey(ColorModePreferenceFragment.KEY_COLOR_MODE_SATURATED); in setKey_saturated()
208 mFragment.setDefaultKey(ColorModePreferenceFragment.KEY_COLOR_MODE_AUTOMATIC); in setKey_automatic()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DDarkUISettings.java92 protected boolean setDefaultKey(String key) { in setDefaultKey() method in DarkUISettings
93 return mController.setDefaultKey(key); in setDefaultKey()
DDarkUISettingsRadioButtonsController.java46 public boolean setDefaultKey(String key) { in setDefaultKey() method in DarkUISettingsRadioButtonsController
DVrDisplayPreferencePicker.java64 protected boolean setDefaultKey(String key) { in setDefaultKey() method in VrDisplayPreferencePicker
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterysaver/
DBatterySaverScheduleSettings.java136 protected boolean setDefaultKey(String key) { in setDefaultKey() method in BatterySaverScheduleSettings
137 return mRadioButtonController.setDefaultKey(key); in setDefaultKey()
DBatterySaverScheduleRadioButtonsController.java71 public boolean setDefaultKey(String key) { in setDefaultKey() method in BatterySaverScheduleRadioButtonsController
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverScheduleSettings.java168 protected boolean setDefaultKey(String key) { in setDefaultKey() method in BatterySaverScheduleSettings
169 return mRadioButtonController.setDefaultKey(key); in setDefaultKey()
DBatterySaverScheduleRadioButtonsController.java71 public boolean setDefaultKey(String key) { in setDefaultKey() method in BatterySaverScheduleRadioButtonsController
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationAssistantPickerTest.java89 mFragment.setDefaultKey(TEST_CMP); in setAssistant()
95 mFragment.setDefaultKey(""); in setAssistant_None()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/
DDefaultAutofillPickerTest.java113 assertThat(mPicker.setDefaultKey(MAIN_APP_KEY)).isTrue(); in setAndGetDefaultAppKey_shouldUpdateDefaultAutoFill()
116 assertThat(mPicker.setDefaultKey(MANAGED_APP_KEY)).isTrue(); in setAndGetDefaultAppKey_shouldUpdateDefaultAutoFill()
DDefaultAppPickerFragmentTest.java124 protected boolean setDefaultKey(String key) { in setDefaultKey() method in DefaultAppPickerFragmentTest.TestFragment
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DRadioButtonPickerFragment.java142 final boolean success = setDefaultKey(selectedKey); in onRadioButtonConfirmed()
271 protected abstract boolean setDefaultKey(String key); in setDefaultKey() method in RadioButtonPickerFragment
/packages/apps/Settings/src/com/android/settings/widget/
DRadioButtonPickerFragment.java142 final boolean success = setDefaultKey(selectedKey); in onRadioButtonConfirmed()
271 protected abstract boolean setDefaultKey(String key); in setDefaultKey() method in RadioButtonPickerFragment
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DShortcutServicePickerFragmentTest.java66 assertThat(mFragment.setDefaultKey(TEST_SERVICE_KEY_1)).isTrue(); in setAndGetDefaultAppKey_shouldUpdateDefaultAppKey()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverScheduleRadioButtonsControllerTest.java63 mController.setDefaultKey(BatterySaverScheduleRadioButtonsController.KEY_ROUTINE); in setDefaultKey_any_defaultsToNoScheduleIfWarningNotSeen()
/packages/apps/Settings/src/com/android/settings/display/
DVrDisplayPreferencePicker.java64 protected boolean setDefaultKey(String key) { in setDefaultKey() method in VrDisplayPreferencePicker
/packages/apps/Settings/src/com/android/settings/dream/
DCurrentDreamPicker.java57 protected boolean setDefaultKey(String key) { in setDefaultKey() method in CurrentDreamPicker
DWhenToDreamPicker.java85 protected boolean setDefaultKey(String key) { in setDefaultKey() method in WhenToDreamPicker
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dream/
DWhenToDreamPicker.java85 protected boolean setDefaultKey(String key) { in setDefaultKey() method in WhenToDreamPicker
DCurrentDreamPicker.java57 protected boolean setDefaultKey(String key) { in setDefaultKey() method in CurrentDreamPicker
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/
DUsbDefaultFragment.java117 protected boolean setDefaultKey(String key) { in setDefaultKey() method in UsbDefaultFragment
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbDefaultFragment.java117 protected boolean setDefaultKey(String key) { in setDefaultKey() method in UsbDefaultFragment

12