Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverScheduleRadioButtonsControllerTest.java54 assertThat(mController.getDefaultKey()) in getDefaultKey_routine_returnsCorrectValue()
63 assertThat(mController.getDefaultKey()) in getDefaultKey_automatic_returnsCorrectValue()
72 assertThat(mController.getDefaultKey()) in getDefaultKey_none_returnsCorrectValue()
81 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/connecteddevice/usb/
DUsbDefaultFragmentTest.java74 assertThat(mFragment.getDefaultKey()) in getDefaultKey_isNone_shouldReturnNone()
81 assertThat(mFragment.getDefaultKey()) in getDefaultKey_isMtp_shouldReturnMtp()
88 assertThat(mFragment.getDefaultKey()) in getDefaultKey_isPtp_shouldReturnPtp()
95 assertThat(mFragment.getDefaultKey()) in getDefaultKey_isRndis_shouldReturnRndis()
102 assertThat(mFragment.getDefaultKey()) in getDefaultKey_isMidi_shouldReturnMidi()
110 assertThat(mFragment.getDefaultKey()) in getDefaultKey_isNcm_returnsRndis()
/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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DVibrateForCallsPreferenceFragmentTest.java57 assertThat(mFragment.getDefaultKey()).isEqualTo( in getDefaultKey_applyRampingRinger_keyRampingRinger()
66 assertThat(mFragment.getDefaultKey()).isEqualTo( in getDefaultKey_enableVibrateWhenRinging_keyAlwaysVibrate()
75 assertThat(mFragment.getDefaultKey()).isEqualTo( in getDefaultKey_notApplyRampingRingerDisableVibrateWhenRinging_keyNeverVibrate()
/packages/apps/Settings/tests/unit/src/com/android/settings/display/
DColorModePreferenceFragmentTest.java158 assertThat(mFragment.getDefaultKey()) in getKey_natural()
168 assertThat(mFragment.getDefaultKey()) in getKey_boosted()
178 assertThat(mFragment.getDefaultKey()) in getKey_saturated()
188 assertThat(mFragment.getDefaultKey()) in getKey_automatic()
/packages/apps/Settings/src/com/android/settings/gestures/
DSystemNavigationGestureSettings.java85 setIllustrationVideo(mVideoPreference, getDefaultKey()); in onAttach()
97 final String defaultKey = getDefaultKey(); in updateCandidates()
168 protected String getDefaultKey() { in getDefaultKey() method in SystemNavigationGestureSettings
/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/fuelgauge/batterysaver/
DBatterySaverScheduleSettings.java163 protected String getDefaultKey() { in getDefaultKey() method in BatterySaverScheduleSettings
164 return mRadioButtonController.getDefaultKey(); in getDefaultKey()
DBatterySaverScheduleRadioButtonsController.java54 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.java121 assertThat(mPicker.getDefaultKey()).isEqualTo(MAIN_APP_KEY); in setAndGetDefaultAppKey_shouldUpdateDefaultAutoFill()
124 assertThat(mPicker.getDefaultKey()).isEqualTo(MANAGED_APP_KEY); in setAndGetDefaultAppKey_shouldUpdateDefaultAutoFill()
DDefaultAppPickerFragmentTest.java119 protected String getDefaultKey() { in getDefaultKey() method in DefaultAppPickerFragmentTest.TestFragment
/packages/apps/Settings/src/com/android/settings/widget/
DRadioButtonPickerFragment.java165 final String defaultKey = getDefaultKey(); in updateCandidates()
265 protected abstract String getDefaultKey(); in getDefaultKey() method in RadioButtonPickerFragment
/packages/apps/Settings/src/com/android/settings/display/
DScreenTimeoutSettings.java174 final String defaultKey = getDefaultKey(); in updateCandidates()
254 protected String getDefaultKey() { in getDefaultKey() method in ScreenTimeoutSettings
DVrDisplayPreferencePicker.java56 protected String getDefaultKey() { in getDefaultKey() method in VrDisplayPreferencePicker
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DVrDisplayPreferencePickerTest.java78 assertThat(mPicker.getDefaultKey()) in getKey_shouldGetFromSettingsProvider()
/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
/packages/apps/Settings/src/com/android/settings/applications/assist/
DDefaultVoiceInputPicker.java68 protected String getDefaultKey() { in getDefaultKey() method in DefaultVoiceInputPicker
/packages/apps/Settings/tests/robotests/src/com/android/settings/tts/
DTtsEnginePreferenceFragmentTest.java100 assertThat(mTtsEnginePreferenceFragment.getDefaultKey()).isEqualTo(TEST_ENGINE); in getDefaultKey_validKey_returnCorrectKey()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DRadioButtonPickerFragmentTest.java149 protected String getDefaultKey() { in getDefaultKey() method in RadioButtonPickerFragmentTest.TestFragment
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAssistantPicker.java86 protected String getDefaultKey() { in getDefaultKey() method in NotificationAssistantPicker
/packages/apps/Settings/src/com/android/settings/webview/
DWebViewAppPicker.java80 protected String getDefaultKey() { in getDefaultKey() method in WebViewAppPicker

12