Home
last modified time | relevance | path

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

1234

/frameworks/native/libs/renderengine/gl/
DProgramCache.h57 key_t mKey; variable
122 inline Key() : mKey(0) {} in Key()
123 inline Key(const Key& rhs) : mKey(rhs.mKey) {} in Key()
126 mKey = (mKey & ~mask) | value; in set()
130 inline bool isTexturing() const { return (mKey & TEXTURE_MASK) != TEXTURE_OFF; } in isTexturing()
132 inline int getTextureTarget() const { return (mKey & TEXTURE_MASK); } in getTextureTarget()
133 inline bool isPremultiplied() const { return (mKey & BLEND_MASK) == BLEND_PREMULT; } in isPremultiplied()
134 inline bool isOpaque() const { return (mKey & OPACITY_MASK) == OPACITY_OPAQUE; } in isOpaque()
135 inline bool hasAlpha() const { return (mKey & ALPHA_MASK) == ALPHA_LT_ONE; } in hasAlpha()
137 return (mKey & ROUNDED_CORNERS_MASK) == ROUNDED_CORNERS_ON; in hasRoundedCorners()
[all …]
/frameworks/opt/net/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 …]
/frameworks/base/core/java/android/util/
DKeyValueListParser.java220 private final String mKey; field in KeyValueListParser.IntValue
226 mKey = key; in IntValue()
233 mValue = parser.getInt(mKey, mDefaultValue); in parse()
238 return mKey; in getKey()
259 pw.print(mKey); in dump()
273 private final String mKey; field in KeyValueListParser.LongValue
279 mKey = key; in LongValue()
286 mValue = parser.getLong(mKey, mDefaultValue); in parse()
291 return mKey; in getKey()
312 pw.print(mKey); in dump()
[all …]
/frameworks/base/core/java/android/app/
DPerson.java37 @Nullable private String mKey; field in Person
47 mKey = in.readString(); in Person()
56 mKey = builder.mKey; in Person()
95 return mKey; in getKey()
148 && Objects.equals(mKey, other.mKey) in equals()
157 return Objects.hash(mName, mIcon, mUri, mKey, mIsBot, mIsImportant); in hashCode()
175 dest.writeString(mKey); in writeToParcel()
185 @Nullable private String mKey; field in Person.Builder
197 mKey = person.mKey; in Builder()
260 mKey = key; in setKey()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/shadows/
DDataEntity.java27 public final String mKey; field in DataEntity
36 this.mKey = Objects.requireNonNull(key); in DataEntity()
46 this.mKey = Objects.requireNonNull(key); in DataEntity()
64 this.mKey = Objects.requireNonNull(key); in DataEntity()
86 if (!mKey.equals(that.mKey)) { in equals()
94 int result = mKey.hashCode(); in hashCode()
/frameworks/base/core/java/android/content/
DRestrictionEntry.java109 private String mKey; field in RestrictionEntry
146 mKey = key; in RestrictionEntry()
155 this.mKey = key; in RestrictionEntry()
166 this.mKey = key; in RestrictionEntry()
177 this.mKey = key; in RestrictionEntry()
188 mKey = key; in RestrictionEntry()
205 mKey = key; in RestrictionEntry()
435 return mKey; in getKey()
459 if (mType != other.mType || !mKey.equals(other.mKey)) { in equals()
483 result = 31 * result + mKey.hashCode(); in hashCode()
[all …]
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/
DEncryptedChunk.java48 private ChunkHash mKey; field in EncryptedChunk
53 mKey = key; in EncryptedChunk()
60 return mKey; in key()
85 && mKey.equals(encryptedChunkOrdering.mKey); in equals()
90 return Objects.hash(mKey, Arrays.hashCode(mNonce), Arrays.hashCode(mEncryptedBytes)); in hashCode()
/frameworks/base/core/java/android/text/
DAnnotation.java27 private final String mKey; field in Annotation
31 mKey = key; in Annotation()
36 mKey = src.readString(); in Annotation()
59 dest.writeString(mKey); in writeToParcelInternal()
64 return mKey; in getKey()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DSettingsStateManager.java32 private final String mKey; field in SettingsStateManager
45 mKey = key; in SettingsStateManager()
50 SettingsHelper.syncSet(mContext, mNamespace, mKey, value); in set()
56 return SettingsHelper.get(mNamespace, mKey); in get()
61 return "SettingsStateManager[namespace=" + mNamespace + ", key=" + mKey + "]"; in toString()
/frameworks/base/core/java/android/preference/
DPreference.java135 private String mKey; field in Preference
275 mKey = a.getString(attr); in Preference()
1024 mKey = key; in setKey()
1038 return mKey; in getKey()
1048 if (mKey == null) { in requireKey()
1061 return !TextUtils.isEmpty(mKey); in hasKey()
1392 + "\" not found for preference \"" + mKey + "\" (title: \"" + mTitle + "\""); in registerDependency()
1586 if (!shouldPersist || !getSharedPreferences().contains(mKey)) { in dispatchSetInitialValue()
1653 dataStore.putString(mKey, value); in persistString()
1656 editor.putString(mKey, value); in persistString()
[all …]
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DProviderTile.java43 private String mKey; field in ProviderTile
49 mKey = metaData.getString(META_DATA_PREFERENCE_KEYHINT); in ProviderTile()
55 mKey = getMetaData().getString(META_DATA_PREFERENCE_KEYHINT); in ProviderTile()
60 return Objects.hash(mAuthority, mKey); in getId()
65 return mAuthority + "/" + mKey; in getDescription()
80 mKey)); in getComponentInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DRebootEscrowDataTest.java33 private RebootEscrowKey mKey; field in RebootEscrowDataTest
37 mKey = RebootEscrowKey.generate(); in generateKey()
50 RebootEscrowData.fromSyntheticPassword(mKey, (byte) 2, null); in fromEntries_failsOnNull()
56 RebootEscrowData expected = RebootEscrowData.fromSyntheticPassword(mKey, (byte) 2, testSp); in fromEncryptedData_failsOnNullData()
64 RebootEscrowData expected = RebootEscrowData.fromSyntheticPassword(mKey, (byte) 2, testSp); in fromEncryptedData_failsOnNullKey()
71 RebootEscrowData expected = RebootEscrowData.fromSyntheticPassword(mKey, (byte) 2, testSp); in fromEntries_loopback_success()
/frameworks/base/core/java/android/service/notification/
DAdjustment.java48 private final String mKey; field in Adjustment
154 mKey = key; in Adjustment()
174 mKey = key; in Adjustment()
191 mKey = in.readString(); in Adjustment()
193 mKey = null; in Adjustment()
222 return mKey; in getKey()
257 if (mKey != null) { in writeToParcel()
259 dest.writeString(mKey); in writeToParcel()
/frameworks/base/core/java/android/net/
DIpSecAlgorithm.java128 private final byte[] mKey; field in IpSecAlgorithm
159 mKey = key.clone(); in IpSecAlgorithm()
161 checkValidOrThrow(mName, mKey.length * 8, mTruncLenBits); in IpSecAlgorithm()
173 return mKey.clone(); in getKey()
189 out.writeByteArray(mKey); in writeToParcel()
292 .append(isUnsafeBuild() ? HexDump.toHexString(mKey) : "<hidden>") in toString()
304 && Arrays.equals(lhs.mKey, rhs.mKey) in equals()
/frameworks/base/services/core/java/com/android/server/locksettings/
DRebootEscrowKey.java38 private final SecretKey mKey; field in RebootEscrowKey
41 mKey = key; in RebootEscrowKey()
61 return mKey; in getKey()
65 return mKey.getEncoded(); in getKeyBytes()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreHmacSpi.java76 private AndroidKeyStoreSecretKey mKey; field in AndroidKeyStoreHmacSpi
118 mKey = (AndroidKeyStoreSecretKey) key; in init()
128 mKey = null; in resetAll()
157 if (mKey == null) { in ensureKeystoreOperationInitialized()
167 mKey.getAlias(), in ensureKeystoreOperationInitialized()
172 mKey.getUid()); in ensureKeystoreOperationInitialized()
185 mKeyStore, mKey, opResult.resultCode); in ensureKeystoreOperationInitialized()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformEncryptionKey.java36 private final AndroidKeyStoreSecretKey mKey; field in PlatformEncryptionKey
46 mKey = key; in PlatformEncryptionKey()
60 return mKey; in getKey()
DPlatformDecryptionKey.java33 private final AndroidKeyStoreSecretKey mKey; field in PlatformDecryptionKey
45 mKey = key; in PlatformDecryptionKey()
63 return mKey; in getKey()
/frameworks/opt/bitmap/src/com/android/bitmap/
DDecodeTask.java51 private final RequestKey mKey; field in DecodeTask
100 mKey = requestKey; in DecodeTask()
163 if (mKey.hasOrientationExif()) { in decode()
275 + mInBitmap + " key=" + mKey); in decode()
280 + mInBitmap + " key=" + mKey); in decode()
446 mCache.put(mKey, result); in decode()
451 Log.d(TAG, "placed result in cache: key=" + mKey + " bmp=" in decode()
457 + mKey + " bmp=" + mInBitmap); in decode()
474 in = mKey.createInputStream(); in reset()
482 in = mKey.createInputStream(); in reset()
[all …]
/frameworks/av/camera/include/camera/
DCameraParameters2.h128 return mList[idx].mKey; in keyAt()
145 if (mList[vectorIdx].mKey == key) { in indexOfKey()
176 Pair() : mKey(), mValue() {} in Pair()
178 mKey(key), in Pair()
180 KeyT mKey; member
/frameworks/base/services/core/java/com/android/server/notification/
DRankingReconsideration.java35 protected String mKey; field in RankingReconsideration
43 mKey = key; in RankingReconsideration()
48 return mKey; in getKey()
DInlineReplyUriRecord.java32 private final String mKey; field in InlineReplyUriRecord
46 mKey = key; in InlineReplyUriRecord()
95 return mKey; in getKey()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DMasterSwitchControllerTest.java54 private String mKey; field in MasterSwitchControllerTest.TestMasterSwitchController
57 mKey = key; in TestMasterSwitchController()
62 return mKey; in getSwitchKey()
/frameworks/base/cmds/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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DListEntry.java29 private final String mKey; field in ListEntry
37 mKey = key; in ListEntry()
41 return mKey; in getKey()

1234