/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
Prefs.java | 26 return context.getSharedPreferences(Prefs.SHARED_PREFS_NAME, Context.MODE_PRIVATE); 30 return context.getSharedPreferences(Prefs.SHARED_PREFS_NAME, Context.MODE_PRIVATE).edit();
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
BugreportPrefs.java | 36 PREFS_BUGREPORT, Context.MODE_PRIVATE); 42 PREFS_BUGREPORT, Context.MODE_PRIVATE);
|
/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
DefaultValues.java | 57 PreferenceManager.setDefaultValues(context, PREFS_NAME, MODE_PRIVATE, 59 return context.getSharedPreferences(PREFS_NAME, MODE_PRIVATE);
|
SwitchPreference.java | 31 PreferenceManager.setDefaultValues(this, "switch", MODE_PRIVATE,
|
/external/replicaisland/src/com/replica/replicaisland/ |
SetPreferencesActivity.java | 33 getPreferenceManager().setSharedPreferencesMode(MODE_PRIVATE); 48 config.setPrefs(getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE)); 62 SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
EntropyMixerTest.java | 31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE);
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
PathUtils.java | 55 return appContext.getDir(sDataDirectorySuffix, Context.MODE_PRIVATE).getPath(); 80 return new File(appContext.getDir(sWebappDirectorySuffix, appContext.MODE_PRIVATE),
|
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/ |
Policy.java | 72 mContext.getSharedPreferences(APP_PREF, Context.MODE_PRIVATE).edit(); 89 SharedPreferences prefs = mContext.getSharedPreferences(APP_PREF, Context.MODE_PRIVATE); 163 SharedPreferences prefs = context.getSharedPreferences(APP_PREF, Activity.MODE_PRIVATE);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPreferenceManager.java | 22 return new TestSharedPreferences(shadowApplication.getSharedPreferenceMap(), "__default__", Context.MODE_PRIVATE);
|
/frameworks/base/core/java/android/net/ |
SSLSessionCache.java | 59 File dir = context.getDir("sslcache", Context.MODE_PRIVATE);
|
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
BasicSmsReceiverApp.java | 46 Activity.MODE_PRIVATE);
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarBackupAgent.java | 43 GeneralPreferences.SHARED_PREFS_NAME_NO_BACKUP, Context.MODE_PRIVATE).edit();
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
NativeNfcSecureElement.java | 40 mPrefs = mContext.getSharedPreferences(NativeNfcManager.PREF, Context.MODE_PRIVATE);
|
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/ |
NativeNfcSecureElement.java | 40 mPrefs = mContext.getSharedPreferences(NativeNfcManager.PREF, Context.MODE_PRIVATE);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
RemoveReceiver.java | 35 Context.MODE_PRIVATE);
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
BackupTestActivity.java | 97 output = new PrintStream(openFileOutput(FILE_NAME, MODE_PRIVATE)); 114 SharedPreferences prefs = getSharedPreferences(PREF_GROUP_SETTINGS, MODE_PRIVATE); 123 SharedPreferences prefs = getSharedPreferences(PREF_GROUP_SETTINGS, MODE_PRIVATE); 134 writeFile("a", "a\naa", MODE_PRIVATE); 135 writeFile("empty", "", MODE_PRIVATE);
|
/cts/tests/tests/util/src/android/util/cts/ |
PrintWriterPrinterTest.java | 36 File dbDir = getContext().getDir("tests", Context.MODE_PRIVATE);
|
/development/samples/VoiceRecognitionService/src/com/example/android/voicerecognitionservice/ |
VoiceRecognitionService.java | 50 Context.MODE_PRIVATE);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
PreferenceManagerTest.java | 24 TestSharedPreferences testPrefs = new TestSharedPreferences(content, "__default__", Context.MODE_PRIVATE);
|
/packages/apps/Settings/src/com/android/settings/users/ |
ProfileUpdateReceiver.java | 49 SharedPreferences prefs = context.getSharedPreferences("profile", Context.MODE_PRIVATE);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarUpgradeReceiver.java | 53 SharedPreferences prefs = context.getSharedPreferences(TAG, Context.MODE_PRIVATE);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppPreference.java | 88 Context.MODE_PRIVATE); 90 Constants.BLUETOOTHOPP_CHANNEL_PREFERENCE, Context.MODE_PRIVATE);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/quickcontact/ |
QuickContactTestsActivity.java | 76 final SharedPreferences sharedPreferences = getSharedPreferences(PREF_NAME, MODE_PRIVATE); 101 final SharedPreferences sharedPreferences = getSharedPreferences(PREF_NAME, MODE_PRIVATE);
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
TileInteractionTeaserView.java | 90 DialtactsActivity.SHARED_PREFS_NAME, Context.MODE_PRIVATE); 141 DialtactsActivity.SHARED_PREFS_NAME, Context.MODE_PRIVATE);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
CachedBluetoothDevice.java | 677 mContext.getSharedPreferences(PHONEBOOK_PREFS_NAME, Context.MODE_PRIVATE).edit(); 688 Context.MODE_PRIVATE); 695 Context.MODE_PRIVATE); 702 Context.MODE_PRIVATE).edit(); 728 mContext.getSharedPreferences(MESSAGE_PREFS_NAME, Context.MODE_PRIVATE).edit(); 739 Context.MODE_PRIVATE); 746 Context.MODE_PRIVATE); 752 mContext.getSharedPreferences(MESSAGE_REJECT_TIMES, Context.MODE_PRIVATE).edit();
|