/frameworks/base/core/java/android/security/keymaster/ |
D | KeymasterBlobArgument.java | 27 public final byte[] blob; field in KeymasterBlobArgument 30 public KeymasterBlobArgument(int tag, byte[] blob) { in KeymasterBlobArgument() argument 39 this.blob = blob; in KeymasterBlobArgument() 45 blob = in.createByteArray(); in KeymasterBlobArgument() 50 out.writeByteArray(blob); in writeValue()
|
D | KeymasterBlob.java | 27 public byte[] blob; field in KeymasterBlob 29 public KeymasterBlob(byte[] blob) { in KeymasterBlob() argument 30 this.blob = blob; in KeymasterBlob() 45 blob = in.createByteArray(); in KeymasterBlob() 55 out.writeByteArray(blob); in writeToParcel()
|
/frameworks/base/core/jni/ |
D | android_os_HwBlob.cpp | 174 status_t JHwBlob::putBlob(size_t offset, const sp<JHwBlob> &blob) { in putBlob() argument 179 info->mBlob = blob; in putBlob() 181 const void *data = blob->data(); in putBlob() 293 sp<JHwBlob> blob = JHwBlob::GetNativeContext(env, thiz); \ 296 status_t err = blob->read(offset, &x, sizeof(x)); \ 315 sp<JHwBlob> blob = JHwBlob::GetNativeContext(env, thiz); in DEFINE_BLOB_GETTER() local 318 status_t err = blob->read(offset, &x, sizeof(x)); in DEFINE_BLOB_GETTER() 330 sp<JHwBlob> blob = JHwBlob::GetNativeContext(env, thiz); in JHwBlob_native_getString() local 333 status_t err = blob->getString(offset, &s); in JHwBlob_native_getString() 346 sp<JHwBlob> blob = JHwBlob::GetNativeContext(env, thiz); in JHwBlob_native_getFieldHandle() local [all …]
|
/frameworks/base/apex/blobstore/framework/java/android/app/blob/ |
D | IBlobStoreManager.aidl | 16 package android.app.blob; 18 import android.app.blob.BlobHandle; 19 import android.app.blob.BlobInfo; 20 import android.app.blob.IBlobStoreSession; 21 import android.app.blob.LeaseInfo;
|
D | BlobHandle.java | 16 package android.app.blob; 18 import static android.app.blob.XmlTags.ATTR_ALGO; 19 import static android.app.blob.XmlTags.ATTR_DIGEST; 20 import static android.app.blob.XmlTags.ATTR_EXPIRY_TIME; 21 import static android.app.blob.XmlTags.ATTR_LABEL; 22 import static android.app.blob.XmlTags.ATTR_TAG;
|
D | IBlobStoreSession.aidl | 16 package android.app.blob; 18 import android.app.blob.IBlobCommitCallback;
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordCrypto.java | 57 private static byte[] decrypt(SecretKey key, byte[] blob) in decrypt() argument 60 if (blob == null) { in decrypt() 63 byte[] iv = Arrays.copyOfRange(blob, 0, PROFILE_KEY_IV_SIZE); in decrypt() 64 byte[] ciphertext = Arrays.copyOfRange(blob, PROFILE_KEY_IV_SIZE, blob.length); in decrypt() 71 private static byte[] encrypt(SecretKey key, byte[] blob) in encrypt() argument 75 if (blob == null) { in encrypt() 82 byte[] ciphertext = cipher.doFinal(blob); in encrypt() 126 public static byte[] decryptBlobV1(String keyAlias, byte[] blob, byte[] applicationId) { in decryptBlobV1() argument 135 byte[] intermediate = decrypt(applicationId, APPLICATION_ID_PERSONALIZATION, blob); in decryptBlobV1() 143 public static byte[] decryptBlob(String keyAlias, byte[] blob, byte[] applicationId) { in decryptBlob() argument [all …]
|
D | RebootEscrowData.java | 49 private RebootEscrowData(byte spVersion, byte[] iv, byte[] syntheticPassword, byte[] blob, in RebootEscrowData() argument 54 mBlob = blob; in RebootEscrowData() 84 static RebootEscrowData fromEncryptedData(RebootEscrowKey key, byte[] blob) in fromEncryptedData() argument 87 Preconditions.checkNotNull(blob); in fromEncryptedData() 89 DataInputStream dis = new DataInputStream(new ByteArrayInputStream(blob)); in fromEncryptedData() 123 return new RebootEscrowData(spVersion, iv, syntheticPassword, blob, key); in fromEncryptedData()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | ShaderCacheTests.cpp | 217 for (auto& blob : blobVec) { in TEST() local 227 blob = std::make_pair(key, data); in TEST() 243 for (const auto& blob : blobVec) { in TEST() local 244 auto outVS = ShaderCache::get().load(*blob.first.get()); in TEST() 245 ASSERT_TRUE(checkShader(outVS, blob.second)); in TEST() 250 for (const auto& blob : blobVec) { in TEST() local 251 ASSERT_EQ(ShaderCache::get().load(*blob.first.get()), sk_sp<SkData>()); in TEST() 255 for (const auto& blob : blobVec) { in TEST() local 256 ASSERT_EQ(ShaderCache::get().load(*blob.first.get()), sk_sp<SkData>()); in TEST() 263 for (const auto& blob : blobVec) { in TEST() local [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | MockKeyStore.java | 21 public byte[] blob; field in MockKeyStore.KeyBlob 24 public void update(byte[] blob, int flag) { in update() argument 25 this.blob = Arrays.copyOf(blob, blob.length); in update() 91 KeyBlob blob = new KeyBlob(); in access() local 92 map.put(key, blob); in access() 93 return blob; in access()
|
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobStoreSession.java | 16 package com.android.server.blob; 18 import static android.app.blob.BlobStoreManager.COMMIT_RESULT_ERROR; 19 import static android.app.blob.XmlTags.ATTR_CREATION_TIME_MS; 20 import static android.app.blob.XmlTags.ATTR_ID; 21 import static android.app.blob.XmlTags.ATTR_PACKAGE; 22 import static android.app.blob.XmlTags.ATTR_UID; 23 import static android.app.blob.XmlTags.TAG_ACCESS_MODE; 24 import static android.app.blob.XmlTags.TAG_BLOB_HANDLE; 33 import static com.android.server.blob.BlobStoreConfig.TAG; 34 import static com.android.server.blob.BlobStoreConfig.XML_VERSION_ADD_SESSION_CREATION_TIME; [all …]
|
D | BlobStoreIdleJobService.java | 16 package com.android.server.blob; 18 import static com.android.server.blob.BlobStoreConfig.IDLE_JOB_ID; 19 import static com.android.server.blob.BlobStoreConfig.LOGV; 20 import static com.android.server.blob.BlobStoreConfig.TAG;
|
D | BlobMetadata.java | 16 package com.android.server.blob; 18 import static android.app.blob.XmlTags.ATTR_COMMIT_TIME_MS; 19 import static android.app.blob.XmlTags.ATTR_DESCRIPTION; 20 import static android.app.blob.XmlTags.ATTR_DESCRIPTION_RES_NAME; 21 import static android.app.blob.XmlTags.ATTR_EXPIRY_TIME; 22 import static android.app.blob.XmlTags.ATTR_ID; 23 import static android.app.blob.XmlTags.ATTR_PACKAGE; 24 import static android.app.blob.XmlTags.ATTR_UID; 25 import static android.app.blob.XmlTags.ATTR_USER_ID; 26 import static android.app.blob.XmlTags.TAG_ACCESS_MODE; [all …]
|
D | BlobStoreManagerService.java | 16 package com.android.server.blob; 18 import static android.app.blob.BlobStoreManager.COMMIT_RESULT_ERROR; 19 import static android.app.blob.BlobStoreManager.COMMIT_RESULT_SUCCESS; 20 import static android.app.blob.XmlTags.ATTR_VERSION; 21 import static android.app.blob.XmlTags.TAG_BLOB; 22 import static android.app.blob.XmlTags.TAG_BLOBS; 23 import static android.app.blob.XmlTags.TAG_SESSION; 24 import static android.app.blob.XmlTags.TAG_SESSIONS; 31 import static com.android.server.blob.BlobStoreConfig.INVALID_BLOB_ID; 32 import static com.android.server.blob.BlobStoreConfig.INVALID_BLOB_SIZE; [all …]
|
D | BlobAccessMode.java | 16 package com.android.server.blob; 18 import static android.app.blob.XmlTags.ATTR_CERTIFICATE; 19 import static android.app.blob.XmlTags.ATTR_PACKAGE; 20 import static android.app.blob.XmlTags.ATTR_TYPE; 21 import static android.app.blob.XmlTags.TAG_WHITELISTED_PACKAGE;
|
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/ |
D | types.h | 252 const hidl_vec<uint8_t> &blob); 264 hidl_vec<uint8_t> *blob, 267 hidl_vec<uint8_t> *blob, 270 hidl_vec<uint8_t> *blob, 273 hidl_vec<uint8_t> *blob, 287 Params blob); 290 Params blob); 302 const Params& blob);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockSyntheticPasswordManager.java | 50 protected byte[] decryptSPBlob(String blobKeyName, byte[] blob, byte[] applicationId) { in decryptSPBlob() argument 51 if (mBlobs.containsKey(blobKeyName) && !Arrays.equals(mBlobs.get(blobKeyName), blob)) { in decryptSPBlob() 54 ByteBuffer buffer = ByteBuffer.allocate(blob.length); in decryptSPBlob() 55 buffer.put(blob, 0, blob.length); in decryptSPBlob()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | CursorWindowTest.java | 103 byte[] blob = new byte[1000]; in doTestValues() 105 Arrays.fill(blob, value); in doTestValues() 106 assertTrue(window.putBlob(blob, 0, 6)); in doTestValues() 107 assertTrue(Arrays.equals(blob, window.getBlob(0, 6))); in doTestValues()
|
/frameworks/base/libs/hwui/jni/ |
D | Bitmap.cpp | 644 android::Parcel::ReadableBlob blob; in Bitmap_createFromParcel() local 645 android::status_t status = p->readBlob(size, &blob); in Bitmap_createFromParcel() 655 if (blob.fd() >= 0 && (blob.isMutable() || !isMutable)) { in Bitmap_createFromParcel() 659 blob.isMutable() ? "mutable" : "immutable", in Bitmap_createFromParcel() 664 int dupFd = fcntl(blob.fd(), F_DUPFD_CLOEXEC, 0); in Bitmap_createFromParcel() 667 blob.release(); in Bitmap_createFromParcel() 675 const_cast<void*>(blob.data()), size, !isMutable); in Bitmap_createFromParcel() 678 blob.release(); in Bitmap_createFromParcel() 684 blob.clear(); in Bitmap_createFromParcel() 687 if (blob.fd() >= 0) { in Bitmap_createFromParcel() [all …]
|
/frameworks/base/apct-tests/perftests/blobstore/src/com/android/perftests/blob/ |
D | BlobStorePerfTests.java | 16 package com.android.perftests.blob; 18 import android.app.blob.BlobHandle; 19 import android.app.blob.BlobStoreManager; 30 import com.android.utils.blob.DummyBlobData;
|
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/ |
D | DummyBlobData.java | 16 package com.android.utils.blob; 18 import static com.android.utils.blob.Utils.BUFFER_SIZE_BYTES; 19 import static com.android.utils.blob.Utils.copy; 23 import android.app.blob.BlobHandle; 24 import android.app.blob.BlobStoreManager;
|
D | Utils.java | 17 package com.android.utils.blob; 21 import android.app.blob.BlobHandle; 22 import android.app.blob.BlobStoreManager; 23 import android.app.blob.LeaseInfo;
|
/frameworks/av/media/libstagefright/foundation/ |
D | MetaDataBase.cpp | 479 android::Parcel::WritableBlob blob; in writeToParcel() local 484 ret = parcel.writeBlob(size, false, &blob); in writeToParcel() 488 memcpy(blob.data(), data, size); in writeToParcel() 489 blob.release(); in writeToParcel() 517 android::Parcel::ReadableBlob blob; in updateFromParcel() local 518 ret = parcel.readBlob(size, &blob); in updateFromParcel() 522 setData(key, type, blob.data(), size); in updateFromParcel() 523 blob.release(); in updateFromParcel()
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | types.cpp | 1545 bool parseParamsBlob(std::vector<C2Param*> *params, const hidl_vec<uint8_t> &blob) { in parseParamsBlob() argument 1547 size_t size = blob.size(); in parseParamsBlob() 1549 const uint8_t *data = blob.data(); in parseParamsBlob() 1581 bool _createParamsBlob(hidl_vec<uint8_t> *blob, const T ¶ms) { in _createParamsBlob() argument 1591 blob->resize(size); in _createParamsBlob() 1602 &(*blob)[ix]); in _createParamsBlob() 1606 blob->resize(ix); in _createParamsBlob() 1626 Params blob) { in _copyParamsFromBlob() argument 1629 if (!parseParamsBlob(¶mPointers, blob)) { in _copyParamsFromBlob() 1651 hidl_vec<uint8_t> *blob, in createParamsBlob() argument [all …]
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | FakeKeys.java | 217 private static X509Certificate loadCertificate(String blob) { in loadCertificate() argument 220 InputStream stream = new ByteArrayInputStream(blob.getBytes(StandardCharsets.UTF_8)); in loadCertificate()
|