| /packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/bluetooth/fastpair/ |
| D | PreferencesTest.java | 62 Preferences prefs = in testGattOperationTimeoutSeconds() local 76 Preferences prefs = in testGattConnectionTimeoutSeconds() local 90 Preferences prefs = in testBluetoothToggleTimeoutSeconds() local 104 Preferences prefs = in testBluetoothToggleSleepSeconds() local 118 Preferences prefs = in testClassicDiscoveryTimeoutSeconds() local 132 Preferences prefs = in testNumDiscoverAttempts() local 147 Preferences prefs = in testDiscoveryRetrySleepSeconds() local 161 Preferences prefs = in testSdpTimeoutSeconds() local 175 Preferences prefs = in testNumSdpAttempts() local 189 Preferences prefs = in testNumCreateBondAttempts() local [all …]
|
| D | GattConnectionManagerTest.java | 129 private GattConnectionManager createManager(Preferences.Builder prefs) { in createManager() 134 Preferences.Builder prefs, ToggleBluetoothTask toggleBluetooth) { in createManager() 140 Preferences.Builder prefs, in createManager()
|
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
| D | Settings.java | 156 public void onSharedPreferenceChanged(final SharedPreferences prefs, final String key) { in onSharedPreferenceChanged() 177 final SharedPreferences prefs = mPrefs; in loadSettings() local 204 public static boolean readKeypressSoundEnabled(final SharedPreferences prefs, in readKeypressSoundEnabled() 210 public static boolean readVibrationEnabled(final SharedPreferences prefs, in readVibrationEnabled() 217 public static boolean readAutoCorrectEnabled(final SharedPreferences prefs, in readAutoCorrectEnabled() 226 public static boolean readBlockPotentiallyOffensive(final SharedPreferences prefs, in readBlockPotentiallyOffensive() 236 public static boolean readGestureInputEnabled(final SharedPreferences prefs, in readGestureInputEnabled() 246 public static boolean readKeyPreviewPopupEnabled(final SharedPreferences prefs, in readKeyPreviewPopupEnabled() 256 public static int readKeyPreviewPopupDismissDelay(final SharedPreferences prefs, in readKeyPreviewPopupDismissDelay() 263 public static boolean readShowsLanguageSwitchKey(final SharedPreferences prefs) { in readShowsLanguageSwitchKey() [all …]
|
| 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
|
| 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
|
| D | PreferencesSettingsFragment.java | 87 public void onSharedPreferenceChanged(final SharedPreferences prefs, final String key) { in onSharedPreferenceChanged() 97 final SharedPreferences prefs = getSharedPreferences(); in refreshEnablingsOfKeypressSoundAndVibrationSettings() local
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
| D | UsbDetailsFunctionsControllerTest.java | 113 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in displayRefresh_allAllowed_shouldCreatePrefs() local 139 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in displayRefresh_onlyMidiAllowed_shouldCreateOnlyMidiPref() local 151 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in displayRefresh_mtpEnabled_shouldCheckSwitches() local 164 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in displayRefresh_accessoryEnabled_shouldCheckSwitches() local 177 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in displayRefresh_ncmEnabled_checksSwitches() local 191 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in onClickMtp_noneEnabled_shouldEnableMtp() local 209 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in onClickMtp_ptpEnabled_shouldEnableMtp() local 231 List<SelectorWithWidgetPreference> prefs = getRadioPreferences(); in onClickNone_mtpEnabled_shouldDisableMtp() local
|
| /packages/apps/Messaging/src/com/android/messaging/util/ |
| 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
|
| /packages/apps/Dialer/java/com/android/voicemail/impl/settings/ |
| 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
|
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
| 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()
|
| /packages/apps/Traceur/src/com/android/traceur/ |
| D | Receiver.java | 80 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceive() local 133 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in updateTracing() local 295 private static void postCategoryNotification(Context context, SharedPreferences prefs) { in postCategoryNotification() 348 …public static Set<String> getActiveTags(Context context, SharedPreferences prefs, boolean onlyAvai… in getActiveTags() 361 public static Set<String> getActiveUnavailableTags(Context context, SharedPreferences prefs) { in getActiveUnavailableTags()
|
| D | QsService.java | 57 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in update() local 77 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in onClick() local
|
| D | TraceService.java | 101 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in stopTracingWithoutSaving() local 119 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onHandleIntent() local 166 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in startTracingInternal() local 207 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in startStackSamplingInternal() local 246 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in stopTracingInternal() local
|
| D | UserConsentActivityDialog.java | 104 final SharedPreferences prefs = in getShowDialogState() local 110 final SharedPreferences prefs = in setShowDialogState() local
|
| /packages/apps/Messaging/src/com/android/messaging/ui/ |
| 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
|
| /packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/ |
| D | Watchdog.java | 52 public Watchdog(TextView view, SharedPreferences prefs) { in Watchdog() 97 private LinkedList<String> getEventsFromSharedPrefs(SharedPreferences prefs) { in getEventsFromSharedPrefs() 106 private void saveEventsToSharedPrefs(SharedPreferences prefs, LinkedList<String> list) { in saveEventsToSharedPrefs()
|
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/ |
| D | AccountsChangedReceiver.java | 48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceive() local 66 private static void removeUnknownAccountFromPreference(final SharedPreferences prefs, in removeUnknownAccountFromPreference()
|
| /packages/apps/DocumentsUI/src/com/android/documentsui/prefs/ |
| D | PreferencesMonitor.java | 43 SharedPreferences prefs, in PreferencesMonitor() 60 void onSharedPreferenceChanged(SharedPreferences prefs, String key) { in onSharedPreferenceChanged()
|
| D | PrefsBackupHelper.java | 46 void getBackupPreferences(SharedPreferences prefs) { in getBackupPreferences() 57 void putBackupPreferences(SharedPreferences prefs) { in putBackupPreferences()
|
| /packages/services/Telephony/src/com/android/phone/settings/ |
| 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
|
| /packages/apps/Settings/src/com/android/settings/sim/receivers/ |
| D | SimSlotChangeHandler.java | 273 final SharedPreferences prefs = context.getSharedPreferences(EUICC_PREFS, MODE_PRIVATE); in getLastRemovableSimSlotState() local 278 final SharedPreferences prefs = context.getSharedPreferences(EUICC_PREFS, MODE_PRIVATE); in setRemovableSimSlotState() local 284 final SharedPreferences prefs = context.getSharedPreferences(EUICC_PREFS, MODE_PRIVATE); in getSuwRemovableSlotAction() local 289 final SharedPreferences prefs = context.getSharedPreferences(EUICC_PREFS, MODE_PRIVATE); in setSuwRemovableSlotAction() local
|
| /packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/ |
| D | SharedPrefsHandler.java | 12 SharedPreferences prefs; field in SharedPrefsHandler 19 public SharedPrefsHandler(SharedPreferences prefs) { in SharedPrefsHandler()
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
| D | DoubleTapPowerPreferenceControllerTest.java | 113 final SharedPreferences prefs = in isSuggestionCompleted_doubleTapPower_falseWhenNotVisited() local 123 final SharedPreferences prefs = in isSuggestionCompleted_doubleTapPower_trueWhenVisited() local
|
| D | DoubleTapScreenPreferenceControllerTest.java | 85 final SharedPreferences prefs = in isSuggestionCompleted_ambientDisplay_falseWhenNotVisited() local 96 final SharedPreferences prefs = in isSuggestionCompleted_ambientDisplay_trueWhenVisited() local
|
| /packages/apps/Gallery2/src/com/android/gallery3d/app/ |
| D | PackagesMonitor.java | 34 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getPackagesVersion() local 59 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceiveAsync() local
|