Home
last modified time | relevance | path

Searched refs:mKey (Results 1 – 25 of 63) sorted by relevance

123

/packages/apps/Settings/src/com/android/settings/slices/
DSliceData.java53 private final String mKey; field in SliceData
79 return mKey; in getKey()
127 mKey = builder.mKey; in SliceData()
143 return mKey.hashCode(); in hashCode()
152 return TextUtils.equals(mKey, newObject.mKey); in equals()
156 private String mKey; field in SliceData.Builder
181 mKey = key; in setKey()
242 if (TextUtils.isEmpty(mKey)) { in build()
262 return mKey; in getKey()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSliceData.java53 private final String mKey; field in SliceData
79 return mKey; in getKey()
127 mKey = builder.mKey; in SliceData()
143 return mKey.hashCode(); in hashCode()
152 return TextUtils.equals(mKey, newObject.mKey); in equals()
156 private String mKey; field in SliceData.Builder
181 mKey = key; in setKey()
242 if (TextUtils.isEmpty(mKey)) { in build()
262 return mKey; in getKey()
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
DSetting.java25 private String mKey; field in Setting
41 mKey = key; in Setting()
49 mKey = key; in Setting()
66 return mKey; in getKey()
74 return mSharedPreferences.getInt(mKey, -1); in getIntValue()
78 return mSharedPreferences.getString(mKey, ""); in getStringValue()
82 mSharedPreferences.edit().putInt(mKey, value).apply(); in setValue()
87 mSharedPreferences.edit().putString(mKey, value).apply(); in setValue()
/packages/apps/TV/common/src/com/android/tv/common/feature/
DSharedPreferencesFeature.java29 private final String mKey; field in SharedPreferencesFeature
43 mKey = key; in SharedPreferencesFeature()
57 mEnabled = mSharedPreferences.getBoolean(mKey, mDefaultValue); in isEnabled()
59 if (DEBUG) Log.d(TAG, mKey + " is " + mEnabled); in isEnabled()
65 return "SharedPreferencesFeature:key=" + mKey + ",value=" + mEnabled; in toString()
69 if (DEBUG) Log.d(TAG, mKey + " is set to " + enable); in setEnabled()
75 mSharedPreferences.edit().putBoolean(mKey, enable).apply(); in setEnabled()
78 mSharedPreferences.edit().putBoolean(mKey, enable).apply(); in setEnabled()
/packages/apps/TV/common/src/com/android/tv/common/dev/
DDeveloperPreference.java54 final String mKey; field in DeveloperPreference
59 mKey = key; in DeveloperPreference()
91 getPreferences(context).edit().remove(mKey).apply(); in clear()
96 return "[" + mKey + "]=" + mValue + " Default value : " + mDefaultValue; in toString()
107 getPreferences(context).edit().putBoolean(mKey, value).apply(); in storeValue()
112 return getPreferences(context).getBoolean(mKey, mDefaultValue); in getStoredValue()
124 getPreferences(context).edit().putInt(mKey, value).apply(); in storeValue()
129 return getPreferences(context).getInt(mKey, mDefaultValue); in getStoredValue()
/packages/apps/Car/libs/EncryptionRunner/src/android/car/encryptionrunner/
DHandshakeMessage.java67 private final Key mKey; field in HandshakeMessage
87 mKey = key; in HandshakeMessage()
113 return mKey; in getKey()
127 Key mKey; field in HandshakeMessage.Builder
137 mKey = key; in setKey()
160 return new HandshakeMessage(mHandshakeState, mKey, mNextMessage, mVerificationCode); in build()
/packages/services/Car/EncryptionRunner/src/android/car/encryptionrunner/
DHandshakeMessage.java66 private final Key mKey; field in HandshakeMessage
86 mKey = key; in HandshakeMessage()
112 return mKey; in getKey()
125 Key mKey; field in HandshakeMessage.Builder
135 mKey = key; in setKey()
158 return new HandshakeMessage(mHandshakeState, mKey, mNextMessage, mVerificationCode); in build()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/
DFakeImageRequest.java24 private final String mKey; field in FakeImageRequest
28 mKey = key; in FakeImageRequest()
34 return mKey; in getKey()
40 if (TextUtils.equals(mKey, INVALID_KEY)) { in loadMediaBlocking()
43 return new FakeImageResource(mSize, mKey); in loadMediaBlocking()
/packages/apps/TV/common/src/com/android/tv/common/
DBooleanSystemProperty.java38 private final String mKey; field in BooleanSystemProperty
49 mKey = key; in BooleanSystemProperty()
94 mValue = getBoolean(mKey, mDefaultValue); in getValue()
95 if (DEBUG) Log.d(TAG, mKey + "=" + mValue); in getValue()
102 return "SystemProperty[" + mKey + "]=" + getValue(); in toString()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/data/
DBooleanSharedPreferenceLiveData.java42 private final @NonNull String mKey; field in BooleanSharedPreferenceLiveData
65 mKey = key; in BooleanSharedPreferenceLiveData()
70 onSharedPreferenceChanged(mPrefs, mKey); in onActive()
81 if (mKey.equals(key)) { in onSharedPreferenceChanged()
82 setValue(sharedPreferences.getBoolean(mKey, false)); in onSharedPreferenceChanged()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DAction.java42 private final String mKey; field in Action
64 private String mKey; field in Action.Builder
79 mKey, in build()
94 mKey = key; in key()
157 mKey = key; in Action()
214 return mKey; in getKey()
344 dest.writeString(mKey); in writeToParcel()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java83 private int[] mKey = new int[CACHE_SIZE]; field in NinePatchTexture.SmallCache
92 mKey[CACHE_SIZE - 1] = key; in put()
96 mKey[mCount] = key; in put()
105 if (mKey[i] == key) { in get()
110 int tmpKey = mKey[i]; in get()
111 mKey[i] = mKey[i - 1]; in get()
112 mKey[i - 1] = tmpKey; in get()
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingObserver.java56 private final String mKey; field in SettingObserver
62 mKey = key; in SettingObserver()
98 return (T) Integer.valueOf(mSettingsManager.getInteger(mScope, mKey)); in get()
100 Object string = mSettingsManager.getString(mScope, mKey); in get()
107 return (T) Boolean.valueOf(mSettingsManager.getBoolean(mScope, mKey)); in get()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dtrie_map.h68 : mTrieMap(trieMap), mKey(key), mValue(value), in IterationResult()
80 return mKey; in key()
93 const int mKey; variable
100 mKey(0), mValue(0), mIsValid(false), mNextLevelBitmapEntryIndex(INVALID_INDEX) { in TrieMapIterator()
111 return IterationResult(mTrieMap, mKey, mValue, mNextLevelBitmapEntryIndex);
120 const Result result = mTrieMap->iterateNext(&mStateStack, &mKey);
134 int mKey; variable
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/featureflags/
DFeatureFlagPreference.java26 private final String mKey; field in FeatureFlagPreference
31 mKey = key; in FeatureFlagPreference()
48 FeatureFlagPersistent.setEnabled(getContext(), mKey, isChecked); in setChecked() local
50 FeatureFlagUtils.setEnabled(getContext(), mKey, isChecked); in setChecked() local
/packages/apps/Settings/src/com/android/settings/development/featureflags/
DFeatureFlagPreference.java26 private final String mKey; field in FeatureFlagPreference
31 mKey = key; in FeatureFlagPreference()
48 FeatureFlagPersistent.setEnabled(getContext(), mKey, isChecked); in setChecked() local
50 FeatureFlagUtils.setEnabled(getContext(), mKey, isChecked); in setChecked() local
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
DMetadataResponseListener.java30 private final CaptureResult.Key<V> mKey; field in MetadataResponseListener
37 mKey = key; in MetadataResponseListener()
43 V newValue = partialResult.get(mKey); in onProgressed()
51 V newValue = totalCaptureResult.get(mKey); in onCompleted()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/prefs/
DTmaPrefs.java78 protected final String mKey; field in TmaPrefs.PrefEntry
81 mKey = prefKey.name(); in PrefEntry()
100 if (mKey.equals(key)) { in registerChangeListener()
157 String id = mSharedPrefs.getString(mKey, null); in getValue()
170 mSharedPrefs.edit().putString(mKey, value.getId()).commit(); in setValue()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DSharedPreferencesLiveData.java36 private final String mKey; field in SharedPreferencesLiveData
43 mKey = key; in SharedPreferencesLiveData()
46 if (TextUtils.equals(k, mKey)) { in SharedPreferencesLiveData()
78 return mKey; in getKey()
/packages/apps/Messaging/src/com/android/messaging/ui/debug/
DDebugMmsConfigItemView.java48 private String mKey; field in DebugMmsConfigItemView
69 mKey = key; in bind()
95 mListener.onValueChanged(mKey, mKeyType, String.valueOf(isChecked)); in onCheckedChanged()
113 .setTitle(mKey) in onClick()
132 mListener.onValueChanged(mKey, mKeyType, mEditText.getText().toString()); in onClick()
/packages/apps/LegacyCamera/src/com/android/camera/
DListPreference.java35 private final String mKey; field in ListPreference
49 mKey = Util.checkNotNull( in ListPreference()
73 return mKey; in getKey()
94 mValue = getSharedPreferences().getString(mKey, in getValue()
138 editor.putString(mKey, value); in persistStringValue()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DIndexData.java95 key = builder.mKey; in IndexData()
167 private String mKey; field in IndexData.Builder
186 return mKey; in getKey()
255 mKey = key; in setKey()
303 mKey, mScreenTitle); in buildIntent()
306 mIntentTargetPackage, mIntentTargetClass, mKey); in buildIntent()
/packages/apps/TV/src/com/android/tv/util/images/
DImageLoader.java281 private final String mKey; field in ImageLoader.LoadBitmapTask
318 return mImageCache.get(mKey); in getFromCache()
332 mKey = key; in LoadBitmapTask()
359 if (DEBUG) Log.d(ImageLoader.TAG, "Bitmap is loaded " + mKey); in onPostExecute()
364 ImageLoader.sPendingListMap.remove(mKey); in onPostExecute()
368 return mKey; in getKey()
375 + mKey in toString()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/autofill/
DAbstractGlobalSettingsPreference.java36 private final String mKey; field in AbstractGlobalSettingsPreference
45 mKey = key; in AbstractGlobalSettingsPreference()
67 mKey, mDefaultValue); in getCurrentValue()
100 Settings.Global.putInt(getContext().getContentResolver(), mKey, newValue); in onDialogClosed() local
/packages/apps/Settings/src/com/android/settings/development/autofill/
DAbstractGlobalSettingsPreference.java36 private final String mKey; field in AbstractGlobalSettingsPreference
45 mKey = key; in AbstractGlobalSettingsPreference()
67 mKey, mDefaultValue); in getCurrentValue()
100 Settings.Global.putInt(getContext().getContentResolver(), mKey, newValue); in onDialogClosed() local

123