Home
last modified time | relevance | path

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

123

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DKeyValueListParser.java221 private final String mKey; field in KeyValueListParser.IntValue
227 mKey = key; in IntValue()
234 mValue = parser.getInt(mKey, mDefaultValue); in parse()
239 return mKey; in getKey()
260 pw.print(mKey); in dump()
269 private final String mKey; field in KeyValueListParser.LongValue
275 mKey = key; in LongValue()
282 mValue = parser.getLong(mKey, mDefaultValue); in parse()
287 return mKey; in getKey()
308 pw.print(mKey); in dump()
[all …]
/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/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/modules/StatsD/statsd/tests/state/
DStateTracker_test.cpp46 Update(const HashableDimensionKey& key, int state) : mKey(key), mState(state){}; in Update()
47 HashableDimensionKey mKey; member
260 EXPECT_EQ(1000, listener->updates[0].mKey.getValues()[0].mValue.int_value); in TEST()
278 EXPECT_EQ(1000, listener->updates[0].mKey.getValues()[0].mValue.int_value); in TEST()
302 EXPECT_EQ(1000, listener->updates[0].mKey.getValues()[0].mValue.int_value); in TEST()
305 mgr.getStateValue(util::BLE_SCAN_STATE_CHANGED, listener->updates[0].mKey, &stateFieldValue); in TEST()
314 EXPECT_EQ(2000, listener->updates[0].mKey.getValues()[0].mValue.int_value); in TEST()
316 mgr.getStateValue(util::BLE_SCAN_STATE_CHANGED, listener->updates[0].mKey, &stateFieldValue); in TEST()
328 mgr.getStateValue(util::BLE_SCAN_STATE_CHANGED, update.mKey, &stateFieldValue); in TEST()
349 EXPECT_EQ(DEFAULT_DIMENSION_KEY, listener1->updates[0].mKey); in TEST()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DTaskKeyLruCache.java55 mMap.entrySet().removeIf(e -> keyCheck.test(e.getValue().mKey)); in removeAll()
64 if (entry != null && entry.mKey.windowingMode == key.windowingMode in getAndInvalidateIfModified()
65 && entry.mKey.lastActiveTime == key.lastActiveTime) { in getAndInvalidateIfModified()
96 final TaskKey mKey; field in TaskKeyLruCache.Entry
100 mKey = key; in Entry()
106 return mKey.id; in hashCode()
/packages/apps/Car/libs/encryption-runner/src/android/car/encryptionrunner/
DHandshakeMessage.java74 private final Key mKey; field in HandshakeMessage
96 mKey = key; in HandshakeMessage()
123 return mKey; in getKey()
146 Key mKey; field in HandshakeMessage.Builder
157 mKey = key; in setKey()
190 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/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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DUserRestrictionListItem.java23 private final String mKey; field in UserRestrictionListItem
27 mKey = key; in UserRestrictionListItem()
32 return mKey; in getKey()
45 return mKey + "(" + (mIsChecked ? "on" : "off") + ")"; in toString()
/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/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/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/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/Dialer/src/com/android/car/dialer/livedata/
DSharedPreferencesLiveData.java40 private final String mKey; field in SharedPreferencesLiveData
49 mKey = context.getString(keyId); in SharedPreferencesLiveData()
52 if (TextUtils.equals(k, mKey)) { in SharedPreferencesLiveData()
80 return mKey; in getKey()
/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()
165 String id = mSharedPrefs.getString(mKey, null); in getValue()
178 mSharedPrefs.edit().putString(mKey, value.getId()).commit(); in setValue()
/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()
267 mKey = key; in setKey()
316 mKey, mScreenTitle); in buildIntent()
319 mIntentTargetPackage, mIntentTargetClass, mKey); in buildIntent()
/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
/packages/apps/Camera2/src/com/android/camera/processing/memory/
DSimpleLruResourcePool.java89 private TKey mKey; field in SimpleLruResourcePool.SynchronizedResource
97 mKey = key; in SynchronizedResource()
118 mPool.release(mKey, mValue); in close()
120 mKey = null; in close()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
DDeviceAdminListItem.java39 private final String mKey; field in DeviceAdminListItem
49 mKey = mUserHandle.getIdentifier() + "@" + mInfo.getComponent().flattenToString(); in DeviceAdminListItem()
56 Log.w(TAG, "Setting description to null because can't find resource: " + mKey); in DeviceAdminListItem()
67 return mKey; in getKey()
/packages/modules/NeuralNetworks/driver/cache/BlobCache/
DBlobCache.cpp457 : mKey(key), mValue(value), mRecency(recency) {} in CacheEntry()
460 : mKey(ce.mKey), mValue(ce.mValue), mRecency(ce.mRecency) {} in CacheEntry()
463 return *mKey < *rhs.mKey; in operator <()
467 mKey = rhs.mKey; in operator =()
474 return mKey; in getKey()

123