Home
last modified time | relevance | path

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

1234

/frameworks/av/media/libstagefright/renderfright/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/native/libs/renderengine/gl/
DProgramCache.h57 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/
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.java110 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/
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/services/tests/servicestests/src/com/android/server/locksettings/
DRebootEscrowDataTest.java39 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/
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/services/tests/servicestests/src/com/android/server/utils/
DWatchableTester.java37 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/
DRemovableListenerRegistration.java34 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/
DAndroidKeyStoreHmacSpi.java78 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()
DAndroidKeyStoreKeyAgreementSpi.java67 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()
DAndroidKeyStoreSignatureSpiBase.java56 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/
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/core/java/android/service/notification/
DAdjustment.java46 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/
DDeviceConfigSession.java32 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/
DStandardNetworkDetailsTracker.java51 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/
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/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformEncryptionKey.java36 private final SecretKey mKey; field in PlatformEncryptionKey
46 mKey = key; in PlatformEncryptionKey()
60 return mKey; in getKey()
DPlatformDecryptionKey.java33 private final SecretKey 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

1234