Home
last modified time | relevance | path

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

123

/frameworks/native/libs/renderengine/gl/
DProgramCache.h57 key_t mKey; variable
117 inline Key() : mKey(0) {} in Key()
118 inline Key(const Key& rhs) : mKey(rhs.mKey) {} in Key()
121 mKey = (mKey & ~mask) | value; in set()
125 inline bool isTexturing() const { return (mKey & TEXTURE_MASK) != TEXTURE_OFF; } in isTexturing()
126 inline int getTextureTarget() const { return (mKey & TEXTURE_MASK); } in getTextureTarget()
127 inline bool isPremultiplied() const { return (mKey & BLEND_MASK) == BLEND_PREMULT; } in isPremultiplied()
128 inline bool isOpaque() const { return (mKey & OPACITY_MASK) == OPACITY_OPAQUE; } in isOpaque()
129 inline bool hasAlpha() const { return (mKey & ALPHA_MASK) == ALPHA_LT_ONE; } in hasAlpha()
131 return (mKey & ROUNDED_CORNERS_MASK) == ROUNDED_CORNERS_ON; in hasRoundedCorners()
[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.java36 @Nullable private String mKey; field in Person
46 mKey = in.readString(); in Person()
55 mKey = builder.mKey; in Person()
94 return mKey; in getKey()
133 && Objects.equals(mKey, other.mKey) in equals()
142 return Objects.hash(mName, mIcon, mUri, mKey, mIsBot, mIsImportant); in hashCode()
160 dest.writeString(mKey); in writeToParcel()
170 @Nullable private String mKey; field in Person.Builder
182 mKey = person.mKey; in Builder()
245 mKey = key; in setKey()
/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/services/backup/java/com/android/server/backup/encryption/chunking/
DEncryptedChunk.java47 private ChunkHash mKey; field in EncryptedChunk
52 mKey = key; in EncryptedChunk()
59 return mKey; in key()
84 && mKey.equals(encryptedChunkOrdering.mKey); in equals()
89 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/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/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()
DOneTimeSettingsListener.java40 private final String mKey; field in OneTimeSettingsListener
46 mKey = key; in OneTimeSettingsListener()
75 "Settings " + mKey + " not called in " + mTimeoutMs + "ms"); in assertCalled()
/frameworks/base/core/java/android/service/notification/
DAdjustment.java48 private final String mKey; field in Adjustment
140 mKey = key; in Adjustment()
160 mKey = key; in Adjustment()
177 mKey = in.readString(); in Adjustment()
179 mKey = null; in Adjustment()
208 return mKey; in getKey()
243 if (mKey != null) { in writeToParcel()
245 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/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()
DAndroidKeyStoreSignatureSpiBase.java52 private AndroidKeyStoreKey mKey; field in AndroidKeyStoreSignatureSpiBase
142 mKey = key; in initKey()
160 mKey = null; in resetAll()
195 if (mKey == null) { in ensureKeystoreOperationInitialized()
203 mKey.getAlias(), in ensureKeystoreOperationInitialized()
208 mKey.getUid()); in ensureKeystoreOperationInitialized()
220 mKeyStore, mKey, opResult.resultCode); in ensureKeystoreOperationInitialized()
/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/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/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()
/frameworks/base/services/core/java/com/android/server/
DCountryDetectorService.java61 private final IBinder mKey; field in CountryDetectorService.Receiver
65 mKey = listener.asBinder(); in Receiver()
69 removeListener(mKey); in binderDied()
75 return mKey.equals(((Receiver) otherObj).mKey); in equals()
82 return mKey.hashCode(); in hashCode()
/frameworks/base/core/java/android/hardware/camera2/
DCaptureResult.java75 private final CameraMetadataNative.Key<T> mKey; field in CaptureResult.Key
84 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId); in Key()
93 mKey = new CameraMetadataNative.Key<T>(name, fallbackName, type); in Key()
104 mKey = new CameraMetadataNative.Key<T>(name, type); in Key()
114 mKey = new CameraMetadataNative.Key<T>(name, typeReference); in Key()
132 return mKey.getName(); in getName()
141 return mKey.getVendorId(); in getVendorId()
149 return mKey.hashCode(); in hashCode()
158 return o instanceof Key && ((Key<T>)o).mKey.equals(mKey); in equals()
172 return String.format("CaptureResult.Key(%s)", mKey.getName()); in toString()
[all …]
/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp343 mKey(key), in CacheEntry()
348 mKey(ce.mKey), in CacheEntry()
353 return *mKey < *rhs.mKey; in operator <()
357 mKey = rhs.mKey; in operator =()
363 return mKey; in getKey()
/frameworks/av/media/libstagefright/webm/
DWebmFrame.cpp43 mKey(false), in WebmFrame()
51 mKey(key), in WebmFrame()
61 mKey, in SimpleBlock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubble.java56 private final String mKey; field in Bubble
94 mKey = e.key; in Bubble()
118 return mKey; in getKey()
435 return "Bubble{" + mKey + '}'; in toString()
443 pw.print("key: "); pw.println(mKey); in dump()
457 return Objects.equals(mKey, bubble.mKey); in equals()
462 return Objects.hash(mKey); in hashCode()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DConcreteCandidate.java24 private WifiCandidates.Key mKey; field in ConcreteCandidate
45 mKey = candidate.getKey(); in ConcreteCandidate()
68 mKey = key; in setKey()
74 return mKey; in getKey()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowBackupDataInput.java51 private String mKey; field in ShadowBackupDataInput
72 mKey = mInput.readUTF(); in readNextHeader()
80 return mKey; in getKey()

123