/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/base/core/java/android/util/ |
D | KeyValueListParser.java | 221 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() 274 private final String mKey; field in KeyValueListParser.LongValue 280 mKey = key; in LongValue() 287 mValue = parser.getLong(mKey, mDefaultValue); in parse() 292 return mKey; in getKey() 313 pw.print(mKey); in dump() [all …]
|
/frameworks/base/core/java/android/app/ |
D | Person.java | 38 @Nullable private String mKey; field in Person 48 mKey = in.readString(); in Person() 57 mKey = builder.mKey; in Person() 96 return mKey; in getKey() 149 && Objects.equals(mKey, other.mKey) in equals() 158 return Objects.hash(mName, mIcon, mUri, mKey, mIsBot, mIsImportant); in hashCode() 176 dest.writeString(mKey); in writeToParcel() 204 @Nullable private String mKey; field in Person.Builder 216 mKey = person.mKey; in Builder() 279 mKey = key; in setKey()
|
/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/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreKeyAgreementSpi.java | 80 private AndroidKeyStorePrivateKey mKey; field in AndroidKeyStoreKeyAgreementSpi 105 mKey = (AndroidKeyStorePrivateKey) key; in engineInit() 137 } else if (mKey instanceof ECKey && !(key instanceof ECKey) in engineDoPhase() 146 } else if (mKey instanceof ECKey in engineDoPhase() 148 .equals(((ECKey) mKey).getParams().getCurve())) { in engineDoPhase() 231 mKey = null; in resetAll() 236 if (mKey == null) { in ensureKeystoreOperationInitialized() 253 mKey.getSecurityLevel().createOperation(mKey.getKeyIdDescriptor(), parameters); in ensureKeystoreOperationInitialized() 257 KeyStoreCryptoOperationUtils.getInvalidKeyException(mKey, keyStoreException); in ensureKeystoreOperationInitialized() 267 KeyStoreCryptoOperationUtils.getOrMakeOperationChallenge(mOperation, mKey); in ensureKeystoreOperationInitialized()
|
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 | 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/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/locksettings/ |
D | RebootEscrowDataTest.java | 44 private RebootEscrowKey mKey; field in RebootEscrowDataTest 57 mKey = RebootEscrowKey.generate(); in generateKey() 71 RebootEscrowData.fromSyntheticPassword(mKey, (byte) 2, null, mKeyStoreEncryptionKey); in fromEntries_failsOnNull() 77 RebootEscrowData expected = RebootEscrowData.fromSyntheticPassword(mKey, (byte) 2, testSp, in fromEncryptedData_failsOnNullData() 86 RebootEscrowData expected = RebootEscrowData.fromSyntheticPassword(mKey, (byte) 2, testSp, in fromEncryptedData_failsOnNullKey() 94 RebootEscrowData expected = RebootEscrowData.fromSyntheticPassword(mKey, (byte) 2, testSp, in fromEntries_loopback_success() 119 byte[] ksEncryptedBlob = AesEncryptionUtil.encrypt(mKey.getKey(), testSp); in fromEncryptedData_legacyVersion_success() 129 RebootEscrowData actual = RebootEscrowData.fromEncryptedData(mKey, legacyBlob, null); in fromEncryptedData_legacyVersion_success() 132 assertThat(actual.getKey().getKeyBytes(), is(mKey.getKeyBytes())); in fromEncryptedData_legacyVersion_success()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/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/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/ |
D | RemovedBubble.java | 28 private final String mKey; field in RemovedBubble 32 mKey = key; in RemovedBubble() 37 mKey = parcel.readString(); in RemovedBubble() 42 return mKey; in getKey() 56 dest.writeString(mKey); in writeToParcel()
|
D | BubbleInfo.java | 33 private String mKey; // Same key as the Notification field in BubbleInfo 55 mKey = key; in BubbleInfo() 67 mKey = source.readString(); in BubbleInfo() 79 return mKey; in getKey() 151 return Objects.equals(mKey, bubble.mKey); in equals() 156 return mKey.hashCode(); in hashCode() 166 parcel.writeString(mKey); in writeToParcel()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dream/ |
D | MediaDreamSentinelTest.java | 61 final String mKey = "key"; field in MediaDreamSentinelTest 83 listener.onMediaDataLoaded(mKey, mOldKey, mData, /* immediately= */ true, in testOnMediaDataLoaded_complicationAddition() 88 listener.onMediaDataLoaded(mKey, mOldKey, mData, /* immediately= */true, in testOnMediaDataLoaded_complicationAddition() 104 listener.onMediaDataLoaded(mKey, mOldKey, mData, /* immediately= */true, in testOnMediaDataRemoved_complicationRemoval() 107 listener.onMediaDataRemoved(mKey, false); in testOnMediaDataRemoved_complicationRemoval() 111 listener.onMediaDataRemoved(mKey, false); in testOnMediaDataRemoved_complicationRemoval() 124 listener.onMediaDataLoaded(mKey, mOldKey, mData, /* immediately= */true, in testOnMediaDataLoaded_complicationRemoval() 128 listener.onMediaDataLoaded(mKey, mOldKey, mData, /* immediately= */true, in testOnMediaDataLoaded_complicationRemoval() 133 listener.onMediaDataLoaded(mKey, mOldKey, mData, /* immediately= */true, in testOnMediaDataLoaded_complicationRemoval() 149 listener.onMediaDataLoaded(mKey, mOldKey, mData, /* immediately= */true, in testOnMediaDataLoaded_mediaComplicationDisabled_doesNotAddComplication()
|
/frameworks/base/services/core/java/com/android/server/location/listeners/ |
D | RemovableListenerRegistration.java | 35 @Nullable private volatile TKey mKey; field in RemovableListenerRegistration 54 return Objects.requireNonNull(mKey); in getKey() 78 TKey key = mKey; in remove() 101 mKey = (TKey) Objects.requireNonNull(key); in onRegister() 116 mKey = null; in onUnregister()
|
/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 48 mKey = metaData.getString(META_DATA_PREFERENCE_KEYHINT); in ProviderTile() 54 mKey = getMetaData().getString(META_DATA_PREFERENCE_KEYHINT); in ProviderTile() 59 return Objects.hash(mAuthority, mKey); in getId() 64 return mAuthority + "/" + mKey; in getDescription() 79 mKey)); in getComponentInfo()
|
/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/base/core/java/android/service/notification/ |
D | Adjustment.java | 47 private final String mKey; field in Adjustment 187 mKey = key; in Adjustment() 207 mKey = key; in Adjustment() 224 mKey = in.readString(); in Adjustment() 226 mKey = null; in Adjustment() 255 return mKey; in getKey() 289 if (mKey != null) { in writeToParcel() 291 dest.writeString(mKey); in writeToParcel()
|
/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/core/java/android/credentials/selection/ |
D | Entry.java | 43 private final String mKey; field in Entry 59 mKey = key; in Entry() 60 AnnotationValidations.validate(NonNull.class, null, mKey); in Entry() 89 mKey = key; in Entry() 103 return mKey; in getKey() 136 dest.writeString8(mKey); in writeToParcel()
|
D | AuthenticationEntry.java | 57 private final String mKey; field in AuthenticationEntry 106 mKey = in.readString8(); in AuthenticationEntry() 112 AnnotationValidations.validate(NonNull.class, null, mKey); in AuthenticationEntry() 139 mKey = key; in AuthenticationEntry() 152 return mKey; in getKey() 190 dest.writeString8(mKey); in writeToParcel()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | StandardNetworkDetailsTracker.java | 52 private final StandardWifiEntryKey mKey; field in StandardNetworkDetailsTracker 84 mKey = new StandardWifiEntryKey(key); in StandardNetworkDetailsTracker() 85 if (mKey.isNetworkRequest()) { in StandardNetworkDetailsTracker() 86 mChosenEntry = new NetworkRequestEntry(mInjector, mMainHandler, mKey, in StandardNetworkDetailsTracker() 89 mChosenEntry = new StandardWifiEntry(mInjector, mMainHandler, mKey, in StandardNetworkDetailsTracker() 179 .filter(scan -> new ScanResultKey(scan).equals(mKey.getScanResultKey())) in conditionallyUpdateScanResults() 198 return mKey.equals(new StandardWifiEntryKey(config, mKey.isTargetingNewNetworks())); in configMatches()
|
/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()
|