Home
last modified time | relevance | path

Searched refs:getDefaultKey (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDefaultFragmentTest.java63 assertThat(mFragment.getDefaultKey()) in getDefaultKey_isNone_shouldReturnNone()
70 assertThat(mFragment.getDefaultKey()) in getDefaultKey_isMtp_shouldReturnMtp()
77 assertThat(mFragment.getDefaultKey()) in getDefaultKey_isPtp_shouldReturnPtp()
84 assertThat(mFragment.getDefaultKey()) in getDefaultKey_isRndis_shouldReturnRndis()
91 assertThat(mFragment.getDefaultKey()) in getDefaultKey_isMidi_shouldReturnMidi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverScheduleRadioButtonsControllerTest.java37 assertThat(mController.getDefaultKey()) in getDefaultKey_routine_returnsCorrectValue()
46 assertThat(mController.getDefaultKey()) in getDefaultKey_automatic_returnsCorrectValue()
55 assertThat(mController.getDefaultKey()) in getDefaultKey_none_returnsCorrectValue()
64 assertThat(mController.getDefaultKey()) in setDefaultKey_any_defaultsToNoScheduleIfWarningNotSeen()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
DWhenToDreamPickerTest.java66 assertThat(mPicker.getDefaultKey()) in getDefaultKeyReturnsCurrentWhenToDreamSetting()
70 assertThat(mPicker.getDefaultKey()) in getDefaultKeyReturnsCurrentWhenToDreamSetting()
74 assertThat(mPicker.getDefaultKey()) in getDefaultKeyReturnsCurrentWhenToDreamSetting()
78 assertThat(mPicker.getDefaultKey()) in getDefaultKeyReturnsCurrentWhenToDreamSetting()
DCurrentDreamPickerTest.java76 assertThat(mPicker.getDefaultKey()).isEqualTo(COMPONENT_KEY); in getDefaultShouldReturnActiveDream()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DVibrationPreferenceFragmentTest.java92 assertThat(mFragment.getDefaultKey()).isEqualTo(entry.getValue()); in changeIntensitySetting_shouldResultInCorrespondingKey()
106 assertThat(mFragment.getDefaultKey()).isEqualTo(expectedKey); in changeIntensitySetting_WithoutMultipleIntensitySupport_shouldResultInOn()
114 assertThat(mFragment.getDefaultKey()).isEqualTo(KEY_INTENSITY_MEDIUM); in initialDefaultKey_shouldBeMedium()
121 assertThat(mFragment.getDefaultKey()).isEqualTo(KEY_INTENSITY_ON); in initialDefaultKey_WithoutMultipleIntensitySupport_shouldBeOn()
DShortcutServicePickerFragmentTest.java67 assertThat(mFragment.getDefaultKey()).isEqualTo(TEST_SERVICE_KEY_1); in setAndGetDefaultAppKey_shouldUpdateDefaultAppKey()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DColorModePreferenceFragmentTest.java157 assertThat(mFragment.getDefaultKey()) in getKey_natural()
166 assertThat(mFragment.getDefaultKey()) in getKey_boosted()
175 assertThat(mFragment.getDefaultKey()) in getKey_saturated()
184 assertThat(mFragment.getDefaultKey()) in getKey_automatic()
DVrDisplayPreferencePickerTest.java78 assertThat(mPicker.getDefaultKey()) in getKey_shouldGetFromSettingsProvider()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/defaultapps/
DDefaultAutofillPicker.java222 public static String getDefaultKey(Context context, int userId) { in getDefaultKey() method in DefaultAutofillPicker
235 protected String getDefaultKey() { in getDefaultKey() method in DefaultAutofillPicker
236 return getDefaultKey(getContext(), mUserId); in getDefaultKey()
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultAutofillPicker.java222 public static String getDefaultKey(Context context, int userId) { in getDefaultKey() method in DefaultAutofillPicker
235 protected String getDefaultKey() { in getDefaultKey() method in DefaultAutofillPicker
236 return getDefaultKey(getContext(), mUserId); in getDefaultKey()
/packages/apps/Settings/src/com/android/settings/gestures/
DSystemNavigationGestureSettings.java117 setIllustrationVideo(mVideoPreference, getDefaultKey()); in onAttach()
130 final String defaultKey = getDefaultKey(); in updateCandidates()
206 protected String getDefaultKey() { in getDefaultKey() method in SystemNavigationGestureSettings
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DDarkUISettings.java87 protected String getDefaultKey() { in getDefaultKey() method in DarkUISettings
88 return mController.getDefaultKey(); in getDefaultKey()
DDarkUISettingsRadioButtonsController.java40 public String getDefaultKey() { in getDefaultKey() method in DarkUISettingsRadioButtonsController
DVrDisplayPreferencePicker.java56 protected String getDefaultKey() { in getDefaultKey() method in VrDisplayPreferencePicker
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterysaver/
DBatterySaverScheduleSettings.java131 protected String getDefaultKey() { in getDefaultKey() method in BatterySaverScheduleSettings
132 return mRadioButtonController.getDefaultKey(); in getDefaultKey()
DBatterySaverScheduleRadioButtonsController.java53 public String getDefaultKey() { in getDefaultKey() method in BatterySaverScheduleRadioButtonsController
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverScheduleSettings.java163 protected String getDefaultKey() { in getDefaultKey() method in BatterySaverScheduleSettings
164 return mRadioButtonController.getDefaultKey(); in getDefaultKey()
DBatterySaverScheduleRadioButtonsController.java53 public String getDefaultKey() { in getDefaultKey() method in BatterySaverScheduleRadioButtonsController
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationAssistantPickerTest.java76 String key = mFragment.getDefaultKey(); in getCurrentAssistant()
83 String key = mFragment.getDefaultKey(); in getCurrentAssistant_None()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/
DDefaultAutofillPickerTest.java120 assertThat(mPicker.getDefaultKey()).isEqualTo(MAIN_APP_KEY); in setAndGetDefaultAppKey_shouldUpdateDefaultAutoFill()
123 assertThat(mPicker.getDefaultKey()).isEqualTo(MANAGED_APP_KEY); in setAndGetDefaultAppKey_shouldUpdateDefaultAutoFill()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DRadioButtonPickerFragment.java166 final String defaultKey = getDefaultKey(); in updateCandidates()
269 protected abstract String getDefaultKey(); in getDefaultKey() method in RadioButtonPickerFragment
/packages/apps/Settings/src/com/android/settings/widget/
DRadioButtonPickerFragment.java166 final String defaultKey = getDefaultKey(); in updateCandidates()
269 protected abstract String getDefaultKey(); in getDefaultKey() method in RadioButtonPickerFragment
/packages/apps/Settings/src/com/android/settings/display/
DVrDisplayPreferencePicker.java56 protected String getDefaultKey() { in getDefaultKey() method in VrDisplayPreferencePicker
/packages/apps/Settings/src/com/android/settings/dream/
DCurrentDreamPicker.java67 protected String getDefaultKey() { in getDefaultKey() method in CurrentDreamPicker
DWhenToDreamPicker.java80 protected String getDefaultKey() { in getDefaultKey() method in WhenToDreamPicker

12