OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PREFERENCE_KEY
(Results
1 - 5
of
5
) sorted by null
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DynamicAvailabilityPreferenceControllerTest.java
48
private final String
PREFERENCE_KEY
= "
preference_key
";
62
when(mPreference.getKey()).thenReturn(
PREFERENCE_KEY
);
63
when(mScreen.findPreference(
PREFERENCE_KEY
)).thenReturn(mPreference);
129
verify(mObserver).onPreferenceAvailabilityUpdated(
PREFERENCE_KEY
, false);
133
verify(mObserver).onPreferenceAvailabilityUpdated(
PREFERENCE_KEY
, true);
155
return
PREFERENCE_KEY
;
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
AutoBrightnessPreferenceControllerTest.java
46
private final String
PREFERENCE_KEY
= "auto_brightness";
52
mController = new AutoBrightnessPreferenceController(mContext,
PREFERENCE_KEY
);
76
mController = new AutoBrightnessPreferenceController(context,
PREFERENCE_KEY
);
84
mController = new AutoBrightnessPreferenceController(context,
PREFERENCE_KEY
);
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
CreatePrivateDataTest.java
63
private static final String
PREFERENCE_KEY
= "
preference_key
";
111
editor.putString(
PREFERENCE_KEY
, PREFERENCE_VALUE);
113
assertEquals(PREFERENCE_VALUE, prefs.getString(
PREFERENCE_KEY
, null));
151
assertNull(prefs.getString(
PREFERENCE_KEY
, null));
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
FastScrollingIndexCache.java
56
static final String
PREFERENCE_KEY
= "LetterCountCache";
255
mPrefs.edit().remove(
PREFERENCE_KEY
).commit();
280
mPrefs.edit().putString(
PREFERENCE_KEY
, sb.toString()).apply();
295
final String savedValue = mPrefs.getString(
PREFERENCE_KEY
, null);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
FastScrollingIndexCacheTest.java
151
mPrefs.edit().putString(FastScrollingIndexCache.
PREFERENCE_KEY
, "123");
Completed in 257 milliseconds