/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
H A D | Settings.java | 177 final SharedPreferences prefs = mPrefs; in loadSettings() local 210 public static boolean readVibrationEnabled(final SharedPreferences prefs, in readVibrationEnabled() 217 public static boolean readAutoCorrectEnabled(final SharedPreferences prefs, in readAutoCorrectEnabled() 287 public static float readKeypressSoundVolume(final SharedPreferences prefs, in readKeypressSoundVolume() 304 public static int readKeyLongpressTimeout(final SharedPreferences prefs, in readKeyLongpressTimeout() 345 public static float readKeyboardHeight(final SharedPreferences prefs, in readKeyboardHeight() 377 public static boolean isInternal(final SharedPreferences prefs) { in isInternal() 416 public static String readEmojiRecentKeys(final SharedPreferences prefs) { in readEmojiRecentKeys() 427 final SharedPreferences prefs, final int categoryId) { in readLastTypedEmojiCategoryPageId() 433 final SharedPreferences prefs, final int categoryId) { in writeLastShownEmojiCategoryId() [all …]
|
H A D | AdvancedSettingsFragment.java | 57 final SharedPreferences prefs = getPreferenceManager().getSharedPreferences(); in onCreate() local 100 final SharedPreferences prefs = getPreferenceManager().getSharedPreferences(); in onResume() local 105 public void onSharedPreferenceChanged(final SharedPreferences prefs, final String key) { in onSharedPreferenceChanged() 118 final SharedPreferences prefs = getSharedPreferences(); in refreshEnablingsOfKeypressSoundAndVibrationSettings() local 132 final SharedPreferences prefs = getSharedPreferences(); in setupKeypressVibrationDurationSettings() local 176 final SharedPreferences prefs = getSharedPreferences(); in setupKeypressSoundVolumeSettings() local 227 final SharedPreferences prefs = getSharedPreferences(); in setupKeyLongpressTimeoutSettings() local
|
H A D | DebugSettingsFragment.java | 127 public void onSharedPreferenceChanged(final SharedPreferences prefs, final String key) { in onSharedPreferenceChanged() 154 final SharedPreferences prefs = getSharedPreferences(); in setupKeyPreviewAnimationScale() local 206 final SharedPreferences prefs = getSharedPreferences(); in setupKeyPreviewAnimationDuration() local 244 final SharedPreferences prefs = getSharedPreferences(); in setupKeyboardHeight() local
|
H A D | PreferencesSettingsFragment.java | 87 public void onSharedPreferenceChanged(final SharedPreferences prefs, final String key) { in onSharedPreferenceChanged() 97 final SharedPreferences prefs = getSharedPreferences(); in refreshEnablingsOfKeypressSoundAndVibrationSettings() local
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
H A D | UsbDetailsFunctionsControllerTest.java | 112 List<RadioButtonPreference> prefs = getRadioPreferences(); in displayRefresh_allAllowed_shouldCreatePrefs() local 138 List<RadioButtonPreference> prefs = getRadioPreferences(); in displayRefresh_onlyMidiAllowed_shouldCreateOnlyMidiPref() local 150 List<RadioButtonPreference> prefs = getRadioPreferences(); in displayRefresh_mtpEnabled_shouldCheckSwitches() local 163 List<RadioButtonPreference> prefs = getRadioPreferences(); in displayRefresh_accessoryEnabled_shouldCheckSwitches() local 176 List<RadioButtonPreference> prefs = getRadioPreferences(); in displayRefresh_ncmEnabled_checksSwitches() local 190 List<RadioButtonPreference> prefs = getRadioPreferences(); in onClickMtp_noneEnabled_shouldEnableMtp() local 208 List<RadioButtonPreference> prefs = getRadioPreferences(); in onClickMtp_ptpEnabled_shouldEnableMtp() local 229 List<RadioButtonPreference> prefs = getRadioPreferences(); in onClickNone_mtpEnabled_shouldDisableMtp() local
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | BuglePrefsImpl.java | 45 final SharedPreferences prefs = mContext.getSharedPreferences( in getInt() local 53 final SharedPreferences prefs = mContext.getSharedPreferences( in getLong() local 61 final SharedPreferences prefs = mContext.getSharedPreferences( in getBoolean() local 69 final SharedPreferences prefs = mContext.getSharedPreferences( in getString() local 83 final SharedPreferences prefs = mContext.getSharedPreferences( in putInt() local 93 final SharedPreferences prefs = mContext.getSharedPreferences( in putLong() local 103 final SharedPreferences prefs = mContext.getSharedPreferences( in putBoolean() local 113 final SharedPreferences prefs = mContext.getSharedPreferences( in putString() local 129 final SharedPreferences prefs = mContext.getSharedPreferences( in remove() local
|
/aosp12/system/update_engine/ |
H A D | metrics_utils.cc | 297 int64_t GetPersistedValue(const std::string& key, PrefsInterface* prefs) { in GetPersistedValue() 315 void SetNumReboots(int64_t num_reboots, PrefsInterface* prefs) { in SetNumReboots() 323 PrefsInterface* prefs) { in SetPayloadAttemptNumber() 329 void SetSystemUpdatedMarker(ClockInterface* clock, PrefsInterface* prefs) { in SetSystemUpdatedMarker() 339 PrefsInterface* prefs) { in SetUpdateTimestampStart() 348 PrefsInterface* prefs) { in SetUpdateBootTimestampStart() 357 PrefsInterface* prefs, in LoadAndReportTimeToReboot()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
H A D | VoicemailNotificationSettingsUtil.java | 48 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setVibrationEnabled() local 61 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getVibrationPreference() local 67 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setRingtoneUri() local 82 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getRingTonePreference() local 97 Context context, SharedPreferences prefs) { in migrateVoicemailVibrationSettingsIfNeeded() 136 Context context, SharedPreferences prefs) { in migrateVoicemailRingtoneSettingsIfNeeded()
|
/aosp12/system/update_engine/cros/ |
H A D | excluder_chromeos.cc | 40 auto* prefs = SystemState::Get()->prefs(); in Exclude() local 46 auto* prefs = SystemState::Get()->prefs(); in IsExcluded() local 52 auto* prefs = SystemState::Get()->prefs(); in Reset() local
|
/aosp12/packages/apps/Traceur/src/com/android/traceur/ |
H A D | Receiver.java | 79 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceive() local 118 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in updateTracing() local 246 private static void postCategoryNotification(Context context, SharedPreferences prefs) { in postCategoryNotification() 297 …public static Set<String> getActiveTags(Context context, SharedPreferences prefs, boolean onlyAvai… in getActiveTags() 310 public static Set<String> getActiveUnavailableTags(Context context, SharedPreferences prefs) { in getActiveUnavailableTags()
|
H A D | QsService.java | 51 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in update() local 67 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in onClick() local
|
H A D | UserConsentActivityDialog.java | 93 final SharedPreferences prefs = in getShowDialogState() local 99 final SharedPreferences prefs = in setShowDialogState() local
|
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/settings/ |
H A D | VisualVoicemailSettingsUtil.java | 139 VisualVoicemailPreferences prefs = new VisualVoicemailPreferences(context, phoneAccount); in isEnabled() local 151 VisualVoicemailPreferences prefs = new VisualVoicemailPreferences(context, phoneAccount); in isArchiveEnabled() local 159 VisualVoicemailPreferences prefs = new VisualVoicemailPreferences(context, phoneAccount); in isVoicemailTranscriptionEnabled() local 167 VisualVoicemailPreferences prefs = new VisualVoicemailPreferences(context, phoneAccount); in isVoicemailDonationEnabled() local 181 VisualVoicemailPreferences prefs = new VisualVoicemailPreferences(context, phoneAccount); in isEnabledUserSet() local
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | WidgetPickConversationActivity.java | 98 final BuglePrefs prefs = Factory.get().getWidgetPrefs(); in saveConversationidPref() local 104 final BuglePrefs prefs = Factory.get().getWidgetPrefs(); in getConversationIdPref() local 110 final BuglePrefs prefs = Factory.get().getWidgetPrefs(); in deleteConversationIdPref() local
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | KeyboardTheme.java | 115 static KeyboardTheme getDefaultKeyboardTheme(final SharedPreferences prefs, in getDefaultKeyboardTheme() 150 public static void saveKeyboardThemeId(final int themeId, final SharedPreferences prefs) { in saveKeyboardThemeId() 163 static void saveKeyboardThemeId(final int themeId, final SharedPreferences prefs, in saveKeyboardThemeId() 170 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getKeyboardTheme() local 195 static KeyboardTheme getKeyboardTheme(final SharedPreferences prefs, final int sdkVersion, in getKeyboardTheme()
|
/aosp12/packages/apps/Calendar/src/com/android/calendar/ |
H A D | CalendarUtils.java | 126 SharedPreferences prefs = getSharedPreferences((Context)cookie, mPrefsName); in onQueryComplete() local 223 SharedPreferences prefs = getSharedPreferences(context, mPrefsName); in setTimeZone() local 273 SharedPreferences prefs = getSharedPreferences(context, mPrefsName); in getTimeZone() local 330 public static void setSharedPreference(SharedPreferences prefs, String key, String value) { in setSharedPreference() 345 public static void setSharedPreference(SharedPreferences prefs, String key, boolean value) { in setSharedPreference()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/ |
H A D | AccountsChangedReceiver.java | 48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceive() local 66 private static void removeUnknownAccountFromPreference(final SharedPreferences prefs, in removeUnknownAccountFromPreference()
|
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/prefs/ |
H A D | PreferencesMonitor.java | 43 SharedPreferences prefs, in PreferencesMonitor() 60 void onSharedPreferenceChanged(SharedPreferences prefs, String key) { in onSharedPreferenceChanged()
|
H A D | PrefsBackupHelper.java | 46 void getBackupPreferences(SharedPreferences prefs) { in getBackupPreferences() 57 void putBackupPreferences(SharedPreferences prefs) { in putBackupPreferences()
|
/aosp12/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportPrefs.java | 37 final SharedPreferences prefs = context.getSharedPreferences( in getWarningState() local 43 final SharedPreferences prefs = context.getSharedPreferences( in setWarningState() local
|
/aosp12/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/ |
H A D | Watchdog.java | 47 public Watchdog(Context context, TextView view, SharedPreferences prefs) { in Watchdog() 88 private LinkedList<String> getEventsFromSharedPrefs(SharedPreferences prefs) { in getEventsFromSharedPrefs() 97 private void saveEventsToSharedPrefs(SharedPreferences prefs, LinkedList<String> list) { in saveEventsToSharedPrefs()
|
/aosp12/packages/apps/Settings/src/com/android/settings/sim/receivers/ |
H A D | SimSlotChangeHandler.java | 236 final SharedPreferences prefs = context.getSharedPreferences(EUICC_PREFS, MODE_PRIVATE); in getLastRemovableSimSlotState() local 241 final SharedPreferences prefs = context.getSharedPreferences(EUICC_PREFS, MODE_PRIVATE); in setRemovableSimSlotState() local 246 final SharedPreferences prefs = context.getSharedPreferences(EUICC_PREFS, MODE_PRIVATE); in getSuwRemovableSlotAction() local 251 final SharedPreferences prefs = context.getSharedPreferences(EUICC_PREFS, MODE_PRIVATE); in setSuwRemovableSlotAction() local
|
/aosp12/packages/services/Telephony/src/com/android/phone/settings/ |
H A D | VoicemailProviderSettingsUtil.java | 55 SharedPreferences prefs = getPrefs(context); in load() local 103 SharedPreferences prefs = getPrefs(context); in save() local 136 SharedPreferences prefs = getPrefs(context); in delete() local
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
H A D | DoubleTapPowerPreferenceControllerTest.java | 113 final SharedPreferences prefs = in isSuggestionCompleted_doubleTapPower_falseWhenNotVisited() local 123 final SharedPreferences prefs = in isSuggestionCompleted_doubleTapPower_trueWhenVisited() local
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | PackagesMonitor.java | 34 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getPackagesVersion() local 59 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceiveAsync() local
|