/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/ |
D | AccountStorage.java | 42 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(c); in SetAccount() local 51 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(c); in GetAccount() local
|
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/ |
D | Utils.java | 94 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in storeLocation() local 109 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getLocation() local 124 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in storeGeofenceEnabled() local 134 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getGeofenceEnabled() local
|
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/ |
D | SimpleGeofenceStore.java | 87 SharedPreferences.Editor prefs = mPrefs.edit(); in setGeofence() local 104 SharedPreferences.Editor prefs = mPrefs.edit(); in clearGeofence() local
|
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
D | ExampleAppWidgetConfigure.java | 108 SharedPreferences.Editor prefs = context.getSharedPreferences(PREFS_NAME, 0).edit(); in saveTitlePref() local 116 SharedPreferences prefs = context.getSharedPreferences(PREFS_NAME, 0); in loadTitlePref() local
|
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/ |
D | Policy.java | 89 SharedPreferences prefs = mContext.getSharedPreferences(APP_PREF, Context.MODE_PRIVATE); in readFromLocal() local 163 SharedPreferences prefs = context.getSharedPreferences(APP_PREF, Activity.MODE_PRIVATE); in onDisabled() local
|
D | PolicySetupActivity.java | 67 SharedPreferences prefs = getSharedPreferences(APP_PREF, MODE_PRIVATE); in onResume() local
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | PersistentState.java | 99 SharedPreferences prefs = getPreferences(0); in onResume() local
|
D | DeviceAdminSample.java | 486 final SharedPreferences prefs = getPreferenceManager().getSharedPreferences(); in reloadSummaries() local
|
/development/samples/VoiceRecognitionService/src/com/example/android/voicerecognitionservice/ |
D | VoiceRecognitionService.java | 48 SharedPreferences prefs = getSharedPreferences( in onStartListening() local
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
D | MessageLogger.java | 40 SharedPreferences prefs = getPrefs(context); in logMessage() local
|
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
D | ToyVpnClient.java | 43 final SharedPreferences prefs = getSharedPreferences(Prefs.NAME, MODE_PRIVATE); in onCreate() local
|
D | ToyVpnService.java | 101 final SharedPreferences prefs = getSharedPreferences(ToyVpnClient.Prefs.NAME, MODE_PRIVATE); in connect() local
|
/development/samples/SipDemo/src/com/example/android/sip/ |
D | WalkieTalkieActivity.java | 123 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getBaseContext()); in initializeLocalProfile() local
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
D | CubeWallpaper2.java | 105 public void onSharedPreferenceChanged(SharedPreferences prefs, String key) { in onSharedPreferenceChanged()
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
D | AppRestrictionEnforcerFragment.java | 245 SharedPreferences prefs = activity.getSharedPreferences(PREFS_KEY, Context.MODE_PRIVATE); in loadRestrictions() local
|
/development/samples/Vault/src/com/example/android/vault/ |
D | VaultProvider.java | 300 final SharedPreferences prefs = getContext() in createDocument() local
|