Home
last modified time | relevance | path

Searched refs:preferences (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java733 SharedPreferences preferences = mContext.getSharedPreferences( in migratePhonebookPermissionChoice() local
735 if (!preferences.contains(mDevice.getAddress())) { in migratePhonebookPermissionChoice()
741 preferences.getInt(mDevice.getAddress(), BluetoothDevice.ACCESS_UNKNOWN); in migratePhonebookPermissionChoice()
749 SharedPreferences.Editor editor = preferences.edit(); in migratePhonebookPermissionChoice()
757 SharedPreferences preferences = mContext.getSharedPreferences( in migrateMessagePermissionChoice() local
759 if (!preferences.contains(mDevice.getAddress())) { in migrateMessagePermissionChoice()
765 preferences.getInt(mDevice.getAddress(), BluetoothDevice.ACCESS_UNKNOWN); in migrateMessagePermissionChoice()
773 SharedPreferences.Editor editor = preferences.edit(); in migrateMessagePermissionChoice()
/frameworks/base/core/java/android/preference/
DPreferenceGroupAdapter.java165 private void flattenPreferenceGroup(List<Preference> preferences, PreferenceGroup group) { in flattenPreferenceGroup() argument
173 preferences.add(preference); in flattenPreferenceGroup()
182 flattenPreferenceGroup(preferences, preferenceAsGroup); in flattenPreferenceGroup()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierKeyDownloadMgrTest.java281 SharedPreferences preferences = getDefaultSharedPreferences(mContext); in testCarrierConfigChanged() local
282 String mccMnc = preferences.getString("CARRIER_KEY_DM_MCC_MNC" + slotId, null); in testCarrierConfigChanged()
305 SharedPreferences preferences = getDefaultSharedPreferences(mContext); in testAlarmRenewal() local
306 String mccMnc = preferences.getString("CARRIER_KEY_DM_MCC_MNC" + slotId, null); in testAlarmRenewal()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DSettingsActivity.java32 addPreferencesFromResource(R.xml.preferences); in onCreate()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DSettingsActivity.java37 addPreferencesFromResource(R.xml.preferences); in onCreate()
/frameworks/base/core/tests/coretests/src/android/util/
DHashedStringCacheTest.java178 SharedPreferences preferences = getTestSharedPreferences(mContext); in clearSharedPreferences() local
179 preferences.edit() in clearSharedPreferences()
/frameworks/base/test-runner/src/junit/runner/
DBaseTestRunner.java42 protected static void setPreferences(Properties preferences) { in setPreferences() argument
43 fPreferences= preferences; in setPreferences()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java284 SharedPreferences preferences = getDefaultSharedPreferences(mContext); in getMccMncSetFromPref() local
285 return preferences.getString(MCC_MNC_PREF_TAG + slotId, null); in getMccMncSetFromPref()
/frameworks/layoutlib/create/.settings/
Dorg.eclipse.jdt.core.prefs1 eclipse.preferences.version=1
/frameworks/layoutlib/bridge/.settings/
Dorg.eclipse.jdt.core.prefs1 eclipse.preferences.version=1
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java2292 SharedPreferences preferences = getSharedPreferences(HAS_PRINTED_PREF, MODE_PRIVATE); in hasUserEverPrinted() local
2294 return preferences.getBoolean(HAS_PRINTED_PREF, false); in hasUserEverPrinted()
2301 SharedPreferences preferences = getSharedPreferences(HAS_PRINTED_PREF, MODE_PRIVATE); in setUserPrinted() local
2303 if (!preferences.getBoolean(HAS_PRINTED_PREF, false)) { in setUserPrinted()
2304 SharedPreferences.Editor edit = preferences.edit(); in setUserPrinted()
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto1786 // OPEN: Settings > Security & screen lock -> Lock screen preferences
1947 // OPEN: Settings > Connected devices > Connection preferences
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto3949 // OPEN: Settings > Security & screen lock -> Lock screen preferences
5250 // OPEN: Settings > Connected devices > Connection preferences
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t134 * Execution preferences.