/frameworks/base/tests/RollbackTest/TestApp/src/com/android/tests/rollback/testapp/ |
D | CrashingMainActivity.java | 37 SharedPreferences preferences = getSharedPreferences("prefs", Context.MODE_PRIVATE); in incrementCountAndBroadcast() local 38 SharedPreferences.Editor editor = preferences.edit(); in incrementCountAndBroadcast() 39 int count = preferences.getInt("crash_count", 0); in incrementCountAndBroadcast()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceGroupAdapter.java | 165 private void flattenPreferenceGroup(List<Preference> preferences, PreferenceGroup group) { in flattenPreferenceGroup() argument 173 preferences.add(preference); in flattenPreferenceGroup() 182 flattenPreferenceGroup(preferences, preferenceAsGroup); in flattenPreferenceGroup()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | SettingsActivity.java | 32 addPreferencesFromResource(R.xml.preferences); in onCreate()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 750 SharedPreferences preferences = mContext.getSharedPreferences( in migratePhonebookPermissionChoice() local 752 if (!preferences.contains(mDevice.getAddress())) { in migratePhonebookPermissionChoice() 758 preferences.getInt(mDevice.getAddress(), BluetoothDevice.ACCESS_UNKNOWN); in migratePhonebookPermissionChoice() 766 SharedPreferences.Editor editor = preferences.edit(); in migratePhonebookPermissionChoice() 774 SharedPreferences preferences = mContext.getSharedPreferences( in migrateMessagePermissionChoice() local 776 if (!preferences.contains(mDevice.getAddress())) { in migrateMessagePermissionChoice() 782 preferences.getInt(mDevice.getAddress(), BluetoothDevice.ACCESS_UNKNOWN); in migrateMessagePermissionChoice() 790 SharedPreferences.Editor editor = preferences.edit(); in migrateMessagePermissionChoice()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierKeyDownloadMgrTest.java | 306 SharedPreferences preferences = getDefaultSharedPreferences(mContext); in testCarrierConfigChanged() local 307 String mccMnc = preferences.getString("CARRIER_KEY_DM_MCC_MNC" + slotId, null); in testCarrierConfigChanged() 330 SharedPreferences preferences = getDefaultSharedPreferences(mContext); in testAlarmRenewal() local 331 String mccMnc = preferences.getString("CARRIER_KEY_DM_MCC_MNC" + slotId, null); in testAlarmRenewal()
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | SettingsActivity.java | 37 addPreferencesFromResource(R.xml.preferences); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | HashedStringCacheTest.java | 178 SharedPreferences preferences = getTestSharedPreferences(mContext); in clearSharedPreferences() local 179 preferences.edit() in clearSharedPreferences()
|
/frameworks/base/test-runner/src/junit/runner/ |
D | BaseTestRunner.java | 42 protected static void setPreferences(Properties preferences) { in setPreferences() argument 43 fPreferences= preferences; in setPreferences()
|
/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/java/com/prefabulated/bouncyball/ |
D | SettingsFragment.java | 43 addPreferencesFromResource(R.xml.preferences); in onCreatePreferences()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierKeyDownloadManager.java | 283 SharedPreferences preferences = getDefaultSharedPreferences(mContext); in getMccMncSetFromPref() local 284 return preferences.getString(MCC_MNC_PREF_TAG + slotId, null); in getMccMncSetFromPref()
|
/frameworks/layoutlib/create/.settings/ |
D | org.eclipse.jdt.core.prefs | 1 eclipse.preferences.version=1
|
/frameworks/layoutlib/bridge/.settings/ |
D | org.eclipse.jdt.core.prefs | 1 eclipse.preferences.version=1
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintActivity.java | 2292 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/ |
D | settings_enums.proto | 1776 // OPEN: Settings > Security & screen lock -> Lock screen preferences 1937 // OPEN: Settings > Connected devices > Connection preferences
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 3949 // OPEN: Settings > Security & screen lock -> Lock screen preferences 5250 // OPEN: Settings > Connected devices > Connection preferences
|