/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowContextImplTest.java | 58 String PREFS = "PREFS"; 62 .getSharedPreferences(PREFS, Context.MODE_PRIVATE) 69 assertThat(dpContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE).contains(PREF_NAME)) 71 assertThat(context.getSharedPreferences(PREFS, Context.MODE_PRIVATE).contains(PREF_NAME)) 74 assertThat(dpContext.moveSharedPreferencesFrom(context, PREFS)).isTrue(); 76 assertThat(dpContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE).contains(PREF_NAME)) 78 assertThat(context.getSharedPreferences(PREFS, Context.MODE_PRIVATE).contains(PREF_NAME))
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
BlockChangeReceiver.java | 17 SharedPreferences prefs = context.getSharedPreferences( local 18 NotificationListenerVerifierActivity.PREFS, Context.MODE_PRIVATE); 19 SharedPreferences.Editor editor = prefs.edit();
|
NotificationListenerVerifierActivity.java | 72 protected static final String PREFS = "listener_prefs"; 307 SharedPreferences prefs = mContext.getSharedPreferences( local 308 NotificationListenerVerifierActivity.PREFS, Context.MODE_PRIVATE); 311 if (prefs.contains(mChannelId) && prefs.getBoolean(mChannelId, false)) { 332 SharedPreferences prefs = mContext.getSharedPreferences( local 333 NotificationListenerVerifierActivity.PREFS, Context.MODE_PRIVATE); 334 SharedPreferences.Editor editor = prefs.edit(); 386 SharedPreferences prefs = mContext.getSharedPreferences( local 387 NotificationListenerVerifierActivity.PREFS, Context.MODE_PRIVATE) 411 SharedPreferences prefs = mContext.getSharedPreferences( local 454 SharedPreferences prefs = mContext.getSharedPreferences( local 483 SharedPreferences prefs = mContext.getSharedPreferences( local 526 SharedPreferences prefs = mContext.getSharedPreferences( local 551 SharedPreferences prefs = mContext.getSharedPreferences( local [all...] |
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/ |
ConsoleActivity.java | 99 private SharedPreferences prefs = null; field in class:ConsoleActivity 130 EDIT, PREFS, EMAIL, RESIZE, COPY, PASTE; 262 prefs = PreferenceManager.getDefaultSharedPreferences(this); 265 if (prefs.getBoolean(PreferenceConstants.FULLSCREEN, false)) { 339 if (prefs.getBoolean(PreferenceConstants.HIDE_KEYBOARD, false)) { 569 String rotate = prefs.getString(PreferenceConstants.ROTATION, rotateDefault); 760 if (wakelock != null && prefs.getBoolean(PreferenceConstants.KEEP_ALIVE, true)) { [all...] |