/aosp12/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
H A D | IkeKeyIdIdentification.java | 38 @NonNull public final byte[] keyId; field in IkeKeyIdIdentification 45 public IkeKeyIdIdentification(@NonNull byte[] keyId) { in IkeKeyIdIdentification() argument 47 this.keyId = keyId; in IkeKeyIdIdentification() 73 result.putPersistableBundle(KEY_ID_KEY, PersistableBundleUtils.fromByteArray(keyId)); in toPersistableBundle() 81 return Objects.hash(idType, Arrays.hashCode(keyId)); in hashCode() 90 return Arrays.equals(keyId, ((IkeKeyIdIdentification) o).keyId); in equals() 115 return keyId; in getEncodedIdData()
|
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/ |
H A D | TestTable.java | 42 public void assertHasRow(int keyId, CharSequence expected) { in assertHasRow() argument 43 assertEquals(expected, mRows.get(keyId)); in assertHasRow() 46 public void assertNotInTable (int keyId) { in assertNotInTable() argument 47 assertNull(mRows.get(keyId)); in assertNotInTable() 51 public void put(int keyId, CharSequence value) { in put() argument 52 mRows.put(keyId, value); in put() 56 public void put(int keyId, CharSequence value, OnClickListener callback) { in put() argument 57 mRows.put(keyId, value); in put()
|
/aosp12/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
H A D | proximity_info.cpp | 130 const int keyId, const int x, const int y, const bool isGeometric) const { in getNormalizedSquaredDistanceFromCenterFloatG() argument 131 const float centerX = static_cast<float>(getKeyCenterXOfKeyIdG(keyId, x, isGeometric)); in getNormalizedSquaredDistanceFromCenterFloatG() 196 const int keyId, const int referencePointX, const bool isGeometric) const { in getKeyCenterXOfKeyIdG() argument 197 if (keyId < 0) { in getKeyCenterXOfKeyIdG() 201 : mCenterXsG[keyId]; in getKeyCenterXOfKeyIdG() 202 const int keyWidth = mKeyWidths[keyId]; in getKeyCenterXOfKeyIdG() 222 const int keyId, const int referencePointY, const bool isGeometric) const { in getKeyCenterYOfKeyIdG() argument 224 if (keyId < 0) { in getKeyCenterYOfKeyIdG() 229 centerY = mCenterYsG[keyId]; in getKeyCenterYOfKeyIdG() 231 centerY = static_cast<int>(mSweetSpotCenterYsG[keyId]); in getKeyCenterYOfKeyIdG() [all …]
|
H A D | proximity_info_utils.h | 135 if (keyId < 0) return true; // NOT_A_ID is -1, but return whenever < 0 just in case in isOnKey() 136 const int left = keyXCoordinates[keyId]; in isOnKey() 137 const int top = keyYCoordinates[keyId]; in isOnKey() 138 const int right = left + keyWidths[keyId] + 1; in isOnKey() 139 const int bottom = top + keyHeights[keyId]; in isOnKey() 222 const int keyId, const int x, const int y) { in squaredLengthToEdge() argument 224 if (keyId < 0) return MAX_VALUE_FOR_WEIGHTING; in squaredLengthToEdge() 225 const int left = keyXCoordinates[keyId]; in squaredLengthToEdge() 226 const int top = keyYCoordinates[keyId]; in squaredLengthToEdge() 227 const int right = left + keyWidths[keyId]; in squaredLengthToEdge() [all …]
|
H A D | proximity_info_state.cpp | 171 const int keyId = mProximityInfo->getKeyIndexOf(codePoint); in getPointToKeyLength() local 172 if (keyId != NOT_AN_INDEX) { in getPointToKeyLength() 173 const int index = inputIndex * mProximityInfo->getKeyCount() + keyId; in getPointToKeyLength() 184 const int inputIndex, const int keyId) const { in getPointToKeyByIdLength() 187 keyId); in getPointToKeyByIdLength() 277 bool ProximityInfoState::isKeyInSerchKeysAfterIndex(const int index, const int keyId) const { in isKeyInSerchKeysAfterIndex() 278 ASSERT(keyId >= 0 && index >= 0 && index < mSampledInputSize); in isKeyInSerchKeysAfterIndex() 279 return mSampledSearchKeySets[index].test(keyId); in isKeyInSerchKeysAfterIndex()
|
H A D | proximity_info.h | 41 const int keyId, const int x, const int y, const bool isGeometric) const; 68 const int keyId, const int referencePointX, const bool isGeometric) const; 70 const int keyId, const int referencePointY, const bool isGeometric) const;
|
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
H A D | DrmPlugin.h | 195 const Vector<uint8_t>& keyId, in encrypt() argument 199 if (sessionId.size() == 0 || keyId.size() == 0 || in encrypt() 209 const Vector<uint8_t>& keyId, in decrypt() argument 213 if (sessionId.size() == 0 || keyId.size() == 0 || in decrypt() 223 const Vector<uint8_t>& keyId, in sign() argument 226 if (sessionId.size() == 0 || keyId.size() == 0 || in sign() 236 const Vector<uint8_t>& keyId, in verify() argument 239 if (sessionId.size() == 0 || keyId.size() == 0 || in verify()
|
/aosp12/system/hardware/interfaces/wifi/keystore/1.0/ |
H A D | IKeystore.hal | 49 * |keyId|. 51 * @param keyId the key identifier associated with the credential. 58 getPublicKey(string keyId) 63 * the credential identified by |keyId|. This is a raw RSA or ECDSA 67 * @param keyId the key identifier associated with the credential. 74 sign(string keyId, vec<uint8_t> dataToSign)
|
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
H A D | Session.cpp | 54 const KeyMap::key_type& keyId = keys.keyAt(i); in provideKeyResponse() local 56 mKeyMap.add(keyId, key); in provideKeyResponse() 65 const KeyId keyId, const Iv iv, const void* source, in decrypt() argument 71 keyIdVector.appendArray(keyId, kBlockSize); in decrypt()
|
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
H A D | TableView.java | 103 public void put(@StringRes int keyId, CharSequence value) { in put() argument 104 put(mRes.getString(keyId), value); in put() 127 public void put(@StringRes int keyId, CharSequence value, OnClickListener callback) { in put() argument 128 put(keyId, value); in put() 129 mRows.get(mRes.getString(keyId)).setOnClickListener(callback); in put()
|
/aosp12/frameworks/av/media/ndk/include/media/ |
H A D | NdkMediaDrm.h | 154 AMediaDrmKeyId keyId; member 533 const char *cipherAlgorithm, uint8_t *keyId, uint8_t *iv, 546 const char *cipherAlgorithm, uint8_t *keyId, uint8_t *iv, 561 const char *macAlgorithm, uint8_t *keyId, uint8_t *message, size_t messageSize, 574 const char *macAlgorithm, uint8_t *keyId, const uint8_t *message, size_t messageSize,
|
/aosp12/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/ |
H A D | SharedPreferencesLiveData.java | 47 SharedPreferences sharedPreferences, @Assisted @StringRes int keyId) { in SharedPreferencesLiveData() argument 49 mKey = context.getString(keyId); in SharedPreferencesLiveData() 90 SharedPreferencesLiveData create(@StringRes int keyId); in create() argument
|
/aosp12/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/fakes/ |
H A D | FakeCryptoBackupServerTest.java | 78 String keyId = "karlin"; in addTertiaryKeys_updatesExistingSet() local 82 keyId, in addTertiaryKeys_updatesExistingSet() 88 keyId, in addTertiaryKeys_updatesExistingSet() 93 assertThat(mServer.getAllTertiaryKeys(keyId)) in addTertiaryKeys_updatesExistingSet()
|
/aosp12/frameworks/av/media/ndk/ |
H A D | NdkMediaDrm.cpp | 136 keyStatus.keyId.ptr = drmKeyStatus.keyId.data(); in sendKeysChange() 137 keyStatus.keyId.length = drmKeyStatus.keyId.size(); in sendKeysChange() 730 const char *cipherAlgorithm, uint8_t *keyId, uint8_t *iv, in encrypt_decrypt_common() argument 748 keyIdVec.appendArray(keyId, kKeyIdSize); in encrypt_decrypt_common() 771 const char *cipherAlgorithm, uint8_t *keyId, uint8_t *iv, in AMediaDrm_encrypt() argument 776 return encrypt_decrypt_common(mObj, *sessionId, cipherAlgorithm, keyId, iv, in AMediaDrm_encrypt() 782 const char *cipherAlgorithm, uint8_t *keyId, uint8_t *iv, in AMediaDrm_decrypt() argument 787 return encrypt_decrypt_common(mObj, *sessionId, cipherAlgorithm, keyId, iv, in AMediaDrm_decrypt() 793 const char *macAlgorithm, uint8_t *keyId, uint8_t *message, size_t messageSize, in AMediaDrm_sign() argument 814 keyIdVec.appendArray(keyId, kKeyIdSize); in AMediaDrm_sign() [all …]
|
/aosp12/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.cpp | 553 Vector<uint8_t> const &keyId, in encrypt() argument 561 vectorToString(keyId).string(), in encrypt() 575 mByteArrayProperties.add(String8("mock-keyid"), keyId); in encrypt() 600 vectorToString(keyId).string(), in decrypt() 614 mByteArrayProperties.add(String8("mock-keyid"), keyId); in decrypt() 631 Vector<uint8_t> const &keyId, in sign() argument 638 vectorToString(keyId).string(), in sign() 650 mByteArrayProperties.add(String8("mock-keyid"), keyId); in sign() 666 Vector<uint8_t> const &keyId, in verify() argument 674 vectorToString(keyId).string(), in verify() [all …]
|
H A D | MockDrmCryptoPlugin.h | 111 Vector<uint8_t> const &keyId, 117 Vector<uint8_t> const &keyId, 123 Vector<uint8_t> const &keyId, 128 Vector<uint8_t> const &keyId,
|
/aosp12/hardware/interfaces/drm/1.0/default/ |
H A D | DrmPlugin.cpp | 268 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& input, in encrypt() argument 273 toVector(keyId), toVector(input), toVector(iv), legacyOutput); in encrypt() 279 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& input, in decrypt() argument 284 toVector(keyId), toVector(input), toVector(iv), legacyOutput); in decrypt() 290 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& message, in sign() argument 294 toVector(keyId), toVector(message), legacySignature); in sign() 300 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& message, in verify() argument 305 toVector(keyId), toVector(message), toVector(signature), in verify() 425 keyStatus.keyId = toHidlVec(legacyKeyStatus.mKeyId); in sendKeysChange()
|
H A D | DrmPlugin.h | 110 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& input, 114 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& input, 118 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& message, 122 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& message,
|
/aosp12/frameworks/base/tests/utils/hostutils/src/com/android/fsverity/ |
H A D | AddFsVerityCertRule.java | 53 String keyId = executeCommand( in before() local 55 assertThat(keyId).matches("^\\d+$"); in before() 56 mKeyId = keyId; in before()
|
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
H A D | DrmPlugin.h | 235 const hidl_vec<uint8_t>& keyId, in encrypt() 239 if (sessionId.size() == 0 || keyId.size() == 0 || in encrypt() 250 const hidl_vec<uint8_t>& keyId, in decrypt() 254 if (sessionId.size() == 0 || keyId.size() == 0 || in decrypt() 265 const hidl_vec<uint8_t>& keyId, in sign() 268 if (sessionId.size() == 0 || keyId.size() == 0 || in sign() 279 const hidl_vec<uint8_t>& keyId, in verify() 284 if (sessionId.size() == 0 || keyId.size() == 0 || in verify()
|
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
H A D | Session.cpp | 72 const KeyId keyId, const Iv iv, const uint8_t* srcPtr, in decrypt() argument 83 keyIdVector.insert(keyIdVector.end(), keyId, keyId + kBlockSize); in decrypt()
|
/aosp12/frameworks/base/keystore/java/android/security/keystore2/ |
H A D | AndroidKeyStorePrivateKey.java | 34 long keyId, @NonNull Authorization[] authorizations, @NonNull String algorithm, in AndroidKeyStorePrivateKey() argument 36 super(descriptor, keyId, authorizations, algorithm, securityLevel); in AndroidKeyStorePrivateKey()
|
H A D | AndroidKeyStoreECPrivateKey.java | 38 long keyId, in AndroidKeyStoreECPrivateKey() argument 42 super(descriptor, keyId, authorizations, KeyProperties.KEY_ALGORITHM_EC, securityLevel); in AndroidKeyStoreECPrivateKey()
|
H A D | AndroidKeyStoreRSAPrivateKey.java | 40 long keyId, in AndroidKeyStoreRSAPrivateKey() argument 43 super(descriptor, keyId, authorizations, KeyProperties.KEY_ALGORITHM_RSA, securityLevel); in AndroidKeyStoreRSAPrivateKey()
|
/aosp12/hardware/interfaces/drm/1.0/vts/functional/ |
H A D | drm_hal_vendor_test.cpp | 73 ASSERT_TRUE(key.keyId.size() > 0) << kVendorStr in TEST_P() 75 ASSERT_TRUE(key.keyId.size() > 0) << kVendorStr in TEST_P() 780 hidl_vec<uint8_t> keyId, input, iv; in TEST_P() local 782 session, keyId, input, iv, in TEST_P() 792 hidl_vec<uint8_t> keyId, input, iv; in TEST_P() local 794 session, keyId, input, iv, in TEST_P() 804 hidl_vec<uint8_t> keyId, message; in TEST_P() local 806 session, keyId, message, in TEST_P() 816 hidl_vec<uint8_t> keyId, message, signature; in TEST_P() local 818 session, keyId, message, signature, [&](Status status, bool) { in TEST_P() [all …]
|