/frameworks/av/media/libstagefright/renderfright/gl/ |
D | ProgramCache.h | 57 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/native/libs/renderengine/gl/ |
D | ProgramCache.h | 57 key_t mKey; variable 127 inline Key() : mKey(0) {} in Key() 128 inline Key(const Key& rhs) : mKey(rhs.mKey) {} in Key() 131 mKey = (mKey & ~mask) | value; in set() 135 inline bool isTexturing() const { return (mKey & TEXTURE_MASK) != TEXTURE_OFF; } in isTexturing() 137 inline int getTextureTarget() const { return (mKey & TEXTURE_MASK); } in getTextureTarget() 138 inline bool isPremultiplied() const { return (mKey & BLEND_MASK) == BLEND_PREMULT; } in isPremultiplied() 139 inline bool isOpaque() const { return (mKey & OPACITY_MASK) == OPACITY_OPAQUE; } in isOpaque() 140 inline bool hasAlpha() const { return (mKey & ALPHA_MASK) == ALPHA_LT_ONE; } in hasAlpha() 142 return (mKey & ROUNDED_CORNERS_MASK) == ROUNDED_CORNERS_ON; in hasRoundedCorners() [all …]
|
/frameworks/base/core/java/android/util/ |
D | KeyValueListParser.java | 220 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/ |
D | Person.java | 37 @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/ |
D | DataEntity.java | 27 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/ |
D | RestrictionEntry.java | 110 private String mKey; field in RestrictionEntry 147 mKey = key; in RestrictionEntry() 156 this.mKey = key; in RestrictionEntry() 167 this.mKey = key; in RestrictionEntry() 178 this.mKey = key; in RestrictionEntry() 189 mKey = key; in RestrictionEntry() 206 mKey = key; in RestrictionEntry() 436 return mKey; in getKey() 460 if (mType != other.mType || !mKey.equals(other.mKey)) { in equals() 484 result = 31 * result + mKey.hashCode(); in hashCode() [all …]
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/ |
D | EncryptedChunk.java | 48 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/services/tests/servicestests/src/com/android/server/locksettings/ |
D | RebootEscrowDataTest.java | 39 private RebootEscrowKey mKey; field in RebootEscrowDataTest 52 mKey = RebootEscrowKey.generate(); in generateKey() 66 RebootEscrowData.fromSyntheticPassword(mKey, (byte) 2, null, mKeyStoreEncryptionKey); in fromEntries_failsOnNull() 72 RebootEscrowData expected = RebootEscrowData.fromSyntheticPassword(mKey, (byte) 2, testSp, in fromEncryptedData_failsOnNullData() 81 RebootEscrowData expected = RebootEscrowData.fromSyntheticPassword(mKey, (byte) 2, testSp, in fromEncryptedData_failsOnNullKey() 89 RebootEscrowData expected = RebootEscrowData.fromSyntheticPassword(mKey, (byte) 2, testSp, in fromEntries_loopback_success() 114 byte[] ksEncryptedBlob = AesEncryptionUtil.encrypt(mKey.getKey(), testSp); in fromEncryptedData_legacyVersion_success() 124 RebootEscrowData actual = RebootEscrowData.fromEncryptedData(mKey, legacyBlob, null); in fromEncryptedData_legacyVersion_success() 127 assertThat(actual.getKey().getKeyBytes(), is(mKey.getKeyBytes())); in fromEncryptedData_legacyVersion_success()
|
/frameworks/base/core/java/android/text/ |
D | Annotation.java | 27 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/ |
D | SettingsStateManager.java | 32 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/services/tests/servicestests/src/com/android/server/utils/ |
D | WatchableTester.java | 37 public String mKey; field in WatchableTester 52 mKey = k; in WatchableTester() 73 assertEquals(mKey + " " + msg, want, mChanges); in verify() 79 assertTrue(mKey + " " + msg, mLastChangeCount < mChanges); in verifyChangeReported() 85 assertTrue(mKey + " " + msg, mLastChangeCount == mChanges); in verifyNoChangeReported()
|
/frameworks/base/services/core/java/com/android/server/location/listeners/ |
D | RemovableListenerRegistration.java | 34 private volatile @Nullable Object mKey; field in RemovableListenerRegistration 53 return Objects.requireNonNull(mKey); in getKey() 61 Object key = mKey; in remove() 69 mKey = Objects.requireNonNull(key); in onRegister() 76 mKey = null; in onUnregister()
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreHmacSpi.java | 78 private AndroidKeyStoreSecretKey mKey; field in AndroidKeyStoreHmacSpi 90 mKey = null; in AndroidKeyStoreHmacSpi() 124 mKey = (AndroidKeyStoreSecretKey) key; in init() 141 mKey = null; in resetAll() 160 if (mKey == null) { in ensureKeystoreOperationInitialized() 179 mOperation = mKey.getSecurityLevel().createOperation( in ensureKeystoreOperationInitialized() 180 mKey.getKeyIdDescriptor(), in ensureKeystoreOperationInitialized() 186 mKey, keyStoreException); in ensureKeystoreOperationInitialized() 196 mOperation, mKey); in ensureKeystoreOperationInitialized()
|
D | AndroidKeyStoreKeyAgreementSpi.java | 67 private AndroidKeyStorePrivateKey mKey; field in AndroidKeyStoreKeyAgreementSpi 92 mKey = (AndroidKeyStorePrivateKey) key; in engineInit() 203 mKey = null; in resetAll() 208 if (mKey == null) { in ensureKeystoreOperationInitialized() 224 mKey.getSecurityLevel().createOperation(mKey.getKeyIdDescriptor(), parameters); in ensureKeystoreOperationInitialized() 228 KeyStoreCryptoOperationUtils.getInvalidKeyException(mKey, keyStoreException); in ensureKeystoreOperationInitialized() 238 KeyStoreCryptoOperationUtils.getOrMakeOperationChallenge(mOperation, mKey); in ensureKeystoreOperationInitialized()
|
D | AndroidKeyStoreSignatureSpiBase.java | 56 private AndroidKeyStoreKey mKey; field in AndroidKeyStoreSignatureSpiBase 92 mKey = null; in AndroidKeyStoreSignatureSpiBase() 152 mKey = key; in initKey() 172 mKey = null; in resetAll() 201 if (mKey == null) { in ensureKeystoreOperationInitialized() 213 mOperation = mKey.getSecurityLevel().createOperation( in ensureKeystoreOperationInitialized() 214 mKey.getKeyIdDescriptor(), in ensureKeystoreOperationInitialized() 218 mKey, keyStoreException); in ensureKeystoreOperationInitialized() 225 mOperation, mKey); in ensureKeystoreOperationInitialized()
|
/frameworks/base/core/java/android/preference/ |
D | Preference.java | 135 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/ |
D | ProviderTile.java | 43 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/core/java/android/service/notification/ |
D | Adjustment.java | 46 private final String mKey; field in Adjustment 151 mKey = key; in Adjustment() 171 mKey = key; in Adjustment() 188 mKey = in.readString(); in Adjustment() 190 mKey = null; in Adjustment() 219 return mKey; in getKey() 253 if (mKey != null) { in writeToParcel() 255 dest.writeString(mKey); in writeToParcel()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | DeviceConfigSession.java | 32 private final String mKey; field in DeviceConfigSession 40 mKey = key; in DeviceConfigSession() 56 DeviceConfig.setProperty(mNamespace, mKey, in set() 61 return mGetter.apply(mNamespace, mKey, mDefaultValue); in get() 69 SystemUtil.runShellCommand("device_config delete " + mNamespace + " " + mKey); in close()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | StandardNetworkDetailsTracker.java | 51 private final StandardWifiEntryKey mKey; field in StandardNetworkDetailsTracker 69 mKey = new StandardWifiEntryKey(key); in StandardNetworkDetailsTracker() 70 if (mKey.isNetworkRequest()) { in StandardNetworkDetailsTracker() 72 mChosenEntry = new NetworkRequestEntry(mContext, mMainHandler, mKey, mWifiManager, in StandardNetworkDetailsTracker() 76 mChosenEntry = new StandardWifiEntry(mContext, mMainHandler, mKey, mWifiManager, in StandardNetworkDetailsTracker() 177 .filter(scan -> new ScanResultKey(scan).equals(mKey.getScanResultKey())) in cacheNewScanResults() 185 return mKey.equals(new StandardWifiEntryKey(config, mKey.isTargetingNewNetworks())); in configMatches()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | RebootEscrowKey.java | 38 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/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | PlatformEncryptionKey.java | 36 private final SecretKey mKey; field in PlatformEncryptionKey 46 mKey = key; in PlatformEncryptionKey() 60 return mKey; in getKey()
|
D | PlatformDecryptionKey.java | 33 private final SecretKey mKey; field in PlatformDecryptionKey 45 mKey = key; in PlatformDecryptionKey() 63 return mKey; in getKey()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | DecodeTask.java | 51 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/ |
D | CameraParameters2.h | 128 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
|