/packages/services/Telephony/src/com/android/phone/ |
D | GsmUmtsAdditionalCallOptions.java | 31 private final ArrayList<Preference> mPreferences = new ArrayList<Preference>(); field in GsmUmtsAdditionalCallOptions 86 mPreferences.add(mCLIRButton); in onCreate() 98 mPreferences.add(mCWButton); in onCreate() 105 if (mPreferences.size() != 0) { in onCreate() 111 mInitIndex = mPreferences.size(); in onCreate() 141 int indexOfStartInit = mPreferences.size(); in onResume() 149 if (mPreferences.contains(mCLIRButton)) { in onResume() 150 mPreferences.remove(mCLIRButton); in onResume() 155 if (!mPreferences.contains(mCLIRButton)) { in onResume() 157 mPreferences.add(mCLIRButton); in onResume() [all …]
|
D | GsmUmtsCallForwardOptions.java | 42 private final ArrayList<CallForwardEditPreference> mPreferences = field in GsmUmtsCallForwardOptions 89 mPreferences.add(mButtonCFU); in onCreate() 90 mPreferences.add(mButtonCFB); in onCreate() 91 mPreferences.add(mButtonCFNRy); in onCreate() 92 mPreferences.add(mButtonCFNRc); in onCreate() 100 mPreferences.remove(mButtonCFU); in onCreate() 101 mPreferences.remove(mButtonCFB); in onCreate() 102 mPreferences.remove(mButtonCFNRc); in onCreate() 127 CallForwardEditPreference pref = mPreferences.get(mInitIndex); in onResume() 132 mInitIndex = mPreferences.size(); in onResume() [all …]
|
D | GsmUmtsCallBarringOptions.java | 111 private ArrayList<CallBarringEditPreference> mPreferences = field in GsmUmtsCallBarringOptions 337 for (CallBarringEditPreference pref : mPreferences) { in resetCallBarringPrefState() 415 mPreferences.add(mButtonBAOC); in onCreate() 416 mPreferences.add(mButtonBAOIC); in onCreate() 417 mPreferences.add(mButtonBAOICxH); in onCreate() 418 mPreferences.add(mButtonBAIC); in onCreate() 419 mPreferences.add(mButtonBAICr); in onCreate() 470 mInitIndex = mPreferences.size(); in onCreate() 472 for (CallBarringEditPreference pref : mPreferences) { in onCreate() 500 mPreferences.get(mInitIndex).init(this, false, mPhone); in onResume() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
D | ContactsPreferences.java | 87 private final SharedPreferences mPreferences; field in ContactsPreferences 105 mPreferences = mContext.getSharedPreferences(context.getPackageName(), in ContactsPreferences() 129 mSortOrder = mPreferences.getInt(SORT_ORDER_KEY, getDefaultSortOrder()); in getSortOrder() 136 final Editor editor = mPreferences.edit(); in setSortOrder() 159 mDisplayOrder = mPreferences.getInt(DISPLAY_ORDER_KEY, getDefaultDisplayOrder()); in getDisplayOrder() 166 final Editor editor = mPreferences.edit(); in setDisplayOrder() 187 final Editor editor = mPreferences.edit(); in setPhoneticNameDisplayPreference() 198 mPhoneticNameDisplayPreference = mPreferences.getInt(PHONETIC_NAME_DISPLAY_KEY, in getPhoneticNameDisplayPreference() 217 final String accountString = mPreferences in getDefaultAccount() 228 mPreferences.edit().remove(mDefaultAccountKey).commit(); in clearDefaultAccount() [all …]
|
D | PhoneticNameDisplayPreference.java | 35 private ContactsPreferences mPreferences; field in PhoneticNameDisplayPreference 49 mPreferences = new ContactsPreferences(mContext); in prepare() 58 setValue(String.valueOf(mPreferences.getPhoneticNameDisplayPreference())); in prepare() 68 switch (mPreferences.getPhoneticNameDisplayPreference()) { in getSummary() 80 if (newValue != mPreferences.getPhoneticNameDisplayPreference()) { in persistString() 81 mPreferences.setPhoneticNameDisplayPreference(newValue); in persistString()
|
D | SortOrderPreference.java | 31 private ContactsPreferences mPreferences; field in SortOrderPreference 46 mPreferences = new ContactsPreferences(mContext); in prepare() 55 setValue(String.valueOf(mPreferences.getSortOrder())); in prepare() 65 switch (mPreferences.getSortOrder()) { in getSummary() 77 if (newValue != mPreferences.getSortOrder()) { in persistString() 78 mPreferences.setSortOrder(newValue); in persistString()
|
D | DisplayOrderPreference.java | 31 private ContactsPreferences mPreferences; field in DisplayOrderPreference 46 mPreferences = new ContactsPreferences(mContext); in prepare() 55 setValue(String.valueOf(mPreferences.getDisplayOrder())); in prepare() 65 switch (mPreferences.getDisplayOrder()) { in getSummary() 77 if (newValue != mPreferences.getDisplayOrder()) { in persistString() 78 mPreferences.setDisplayOrder(newValue); in persistString()
|
D | DefaultAccountPreference.java | 33 private ContactsPreferences mPreferences; field in DefaultAccountPreference 63 mPreferences = new ContactsPreferences(getContext()); in prepare() 77 final AccountWithDataSet defaultAccount = mPreferences.getDefaultAccount(); in getSummary() 102 final AccountWithDataSet currentDefault = mPreferences.getDefaultAccount(); in onDialogClosed() 107 mPreferences.setDefaultAccount(chosenAccount); in onDialogClosed()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | UserDeniedManager.java | 39 private final SharedPreferences mPreferences; field in UserDeniedManager 58 mPreferences = context.getSharedPreferences(Constants.REQUEST_ROLE_USER_DENIED_FILE, in UserDeniedManager() 123 mPreferences.edit() in clearPackageDenied() 138 return mPreferences.getStringSet(key, Collections.emptySet()).contains(roleName); in isDenied() 144 Set<String> roleNames = mPreferences.getStringSet(key, Collections.emptySet()); in setDenied() 155 mPreferences.edit().remove(key).apply(); in setDenied() 157 mPreferences.edit().putStringSet(key, roleNames).apply(); in setDenied()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | DebugFragment.java | 41 private Preferences mPreferences; field in DebugFragment 55 mPreferences = Preferences.getPreferences(context); in onCreateView() 81 enableStrictModeView.setChecked(mPreferences.getEnableStrictMode()); in onCreateView() 91 mPreferences.setEnableDebugLogging(isChecked); in onCheckedChanged() 95 mPreferences.setEnableExchangeLogging(isChecked); in onCheckedChanged() 99 mPreferences.setEnableExchangeFileLogging(isChecked); in onCheckedChanged() 103 mPreferences.setEnableStrictMode(isChecked); in onCheckedChanged()
|
/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/ |
D | EnabledKeyboardPreferenceController.java | 50 private final Map<String, Preference> mPreferences = new ArrayMap<>(); field in EnabledKeyboardPreferenceController 73 Set<String> preferencesToRemove = new HashSet<>(mPreferences.keySet()); in updateState() 87 if (mPreferences.containsKey(preference.getKey())) { in updateState() 88 Preference displayedPreference = mPreferences.get(preference.getKey()); in updateState() 109 preferenceGroup.removePreference(mPreferences.get(key)); in updatePreferenceGroup() 110 mPreferences.remove(key); in updatePreferenceGroup() 116 mPreferences.put(pref.getKey(), pref); in updatePreferenceGroup()
|
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/preference/ |
D | PreferenceLiveData.java | 34 private final SharedPreferences mPreferences; field in PreferenceLiveData 46 mPreferences = preferences; in PreferenceLiveData() 60 setValue(fetchValue(mPreferences, mKey)); in onActive() 61 mPreferences.registerOnSharedPreferenceChangeListener(mListener); in onActive() 67 mPreferences.unregisterOnSharedPreferenceChangeListener(mListener); in onInactive()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountListPreferenceController.java | 58 private final ArrayMap<String, Preference> mPreferences = new ArrayMap<>(); field in AccountListPreferenceController 139 Set<String> preferencesToRemove = new HashSet<>(mPreferences.keySet()); in forceUpdateAccountsCategory() 146 mPreferences.put(pref.getKey(), pref); in forceUpdateAccountsCategory() 151 getPreference().removePreference(mPreferences.get(key)); in forceUpdateAccountsCategory() 152 mPreferences.remove(key); in forceUpdateAccountsCategory() 189 AccountPreference preference = (AccountPreference) mPreferences.getOrDefault(key, in getAccountPreferences() 203 return Arrays.asList(mPreferences.getOrDefault(NO_ACCOUNT_PREF_KEY, in getAccountPreferences()
|
D | ChooseAccountPreferenceController.java | 60 private ArrayMap<String, AuthenticatorDescriptionPreference> mPreferences = new ArrayMap<>(); field in ChooseAccountPreferenceController 131 Set<String> preferencesToRemove = new HashSet<>(mPreferences.keySet()); in forceUpdateAccountsCategory() 140 mPreferences.put(key, preference); in forceUpdateAccountsCategory() 145 getPreference().removePreference(mPreferences.get(key)); in forceUpdateAccountsCategory() 146 mPreferences.remove(key); in forceUpdateAccountsCategory() 193 AuthenticatorDescriptionPreference preference = mPreferences.getOrDefault( in getAuthenticatorDescriptionPreferences()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | VideoCamera.java | 145 private ComboPreferences mPreferences; field in VideoCamera 358 mPreferences = new ComboPreferences(this); in onCreate() 359 CameraSettings.upgradeGlobalPreferences(mPreferences.getGlobal()); in onCreate() 360 mCameraId = CameraSettings.readPreferredCameraId(mPreferences); in onCreate() 368 mPreferences.setLocalId(this, mCameraId); in onCreate() 369 CameraSettings.upgradeLocalPreferences(mPreferences.getLocal()); in onCreate() 721 mPreferences.getString(CameraSettings.KEY_VIDEO_QUALITY, in readVideoPreferences() 748 mEffectType = CameraSettings.readEffectType(mPreferences); in readVideoPreferences() 750 mEffectParameter = CameraSettings.readEffectParameter(mPreferences); in readVideoPreferences() 772 String frameIntervalStr = mPreferences.getString( in readVideoPreferences() [all …]
|
D | Camera.java | 139 private ComboPreferences mPreferences; field in Camera 328 String value = mPreferences.getString(CameraSettings.KEY_EXPOSURE, in resetExposureCompensation() 331 Editor editor = mPreferences.edit(); in resetExposureCompensation() 363 mPreferences, getContentResolver()); in initializeFirstTime() 397 mPreferences.getBoolean(CameraSettings.KEY_CAMERA_FIRST_USE_HINT_SHOWN, true)) { in initializeFirstTime() 444 mPreferences, getContentResolver()); in initializeSecondTime() 710 updateExposureOnScreenIndicator(CameraSettings.readExposure(mPreferences)); in updateOnScreenIndicators() 1086 mPreferences = new ComboPreferences(this); in getPreferredCameraId() 1087 CameraSettings.upgradeGlobalPreferences(mPreferences.getGlobal()); in getPreferredCameraId() 1090 int attemptedCameraId = CameraSettings.readPreferredCameraId(mPreferences); in getPreferredCameraId() [all …]
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | VisualVoicemailPreferences.java | 38 private final SharedPreferences mPreferences; field in VisualVoicemailPreferences 42 mPreferences = PreferenceManager.getDefaultSharedPreferences(context); in VisualVoicemailPreferences() 51 mEditor = mPreferences.edit(); in Editor() 129 return mPreferences.contains(getKey(key)); in contains() 136 Object object = mPreferences.getAll().get(getKey(key)); in getValue()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | MobileNetworkListController.java | 59 private Map<Integer, Preference> mPreferences; field in MobileNetworkListController 65 mPreferences = new ArrayMap<>(); in MobileNetworkListController() 97 final Map<Integer, Preference> existingPreferences = mPreferences; in update() 98 mPreferences = new ArrayMap<>(); in update() 131 mPreferences.put(subId, pref); in update()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | MobileNetworkListController.java | 59 private Map<Integer, Preference> mPreferences; field in MobileNetworkListController 65 mPreferences = new ArrayMap<>(); in MobileNetworkListController() 97 final Map<Integer, Preference> existingPreferences = mPreferences; in update() 98 mPreferences = new ArrayMap<>(); in update() 136 mPreferences.put(subId, pref); in update()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | WallpaperSetter.java | 46 private final WallpaperPreferences mPreferences; field in WallpaperSetter 57 mPreferences = preferences; in WallpaperSetter() 82 mPreferences.setPendingWallpaperSetStatus( in setCurrentWallpaper() 166 mPreferences.setPendingWallpaperSetStatus( in onWallpaperApplied() 176 mPreferences.setPendingWallpaperSetStatus( in onWallpaperApplyError()
|
/packages/apps/OneTimeInitializer/src/com/android/onetimeinitializer/ |
D | OneTimeInitializer.java | 56 private SharedPreferences mPreferences; field in OneTimeInitializer 61 mPreferences = mContext.getSharedPreferences(SHARED_PREFS_FILE, Context.MODE_PRIVATE); in OneTimeInitializer() 84 return mPreferences.getInt(MAPPING_VERSION_PREF, 0); in getMappingVersion() 88 SharedPreferences.Editor ed = mPreferences.edit(); in updateMappingVersion()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/view/ |
D | ViewEmergencyInfoFragment.java | 40 private final List<Preference> mPreferences = new ArrayList<Preference>(); field in ViewEmergencyInfoFragment 48 mPreferences.add(preference); in onCreatePreferences() 69 for (Preference preference : mPreferences) { in onResume()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipEditor.java | 565 private Preference[] mPreferences; field in SipEditor.AdvancedSettings 584 mPreferences = new Preference[group.getPreferenceCount()]; in loadAdvancedPreferences() 586 for (int i = 0, n = mPreferences.length; i < n; i++) { in loadAdvancedPreferences() 590 mPreferences[i] = pref; in loadAdvancedPreferences() 598 for (Preference pref : mPreferences) { in show() 611 for (Preference pref : mPreferences) { in hide()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PickRawContactDialogFragment.java | 57 private final ContactsPreferences mPreferences; field in PickRawContactDialogFragment.RawContactAccountListAdapter 64 mPreferences = new ContactsPreferences(context); in RawContactAccountListAdapter() 104 mPreferences.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY in getView()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | WallpaperPickerDelegate.java | 74 private WallpaperPreferences mPreferences; field in WallpaperPickerDelegate 93 mPreferences = injector.getPreferences(activity); in WallpaperPickerDelegate() 375 return mPreferences; in getPreferences()
|