/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() 360 sp<JHwBlob> blob = JHwBlob::GetNativeContext(env, thiz); \ [all …]
|
D | android_os_Parcel.cpp | 215 android::Parcel::WritableBlob blob; in android_os_Parcel_writeBlob() local 216 android::status_t err2 = parcel->writeBlob(length, false, &blob); in android_os_Parcel_writeBlob() 224 memset(blob.data(), 0, length); in android_os_Parcel_writeBlob() 226 memcpy(blob.data(), ar + offset, length); in android_os_Parcel_writeBlob() 230 blob.release(); in android_os_Parcel_writeBlob() 389 android::Parcel::ReadableBlob blob; in android_os_Parcel_readBlob() local 390 android::status_t err = parcel->readBlob(len, &blob); in android_os_Parcel_readBlob() 400 memcpy(a2, blob.data(), len); in android_os_Parcel_readBlob() 404 blob.release(); in android_os_Parcel_readBlob()
|
/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/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordCrypto.java | 55 private static byte[] decrypt(SecretKey key, byte[] blob) in decrypt() argument 58 if (blob == null) { in decrypt() 61 byte[] iv = Arrays.copyOfRange(blob, 0, PROFILE_KEY_IV_SIZE); in decrypt() 62 byte[] ciphertext = Arrays.copyOfRange(blob, PROFILE_KEY_IV_SIZE, blob.length); in decrypt() 69 private static byte[] encrypt(SecretKey key, byte[] blob) in encrypt() argument 73 if (blob == null) { in encrypt() 80 byte[] ciphertext = cipher.doFinal(blob); in encrypt() 124 public static byte[] decryptBlobV1(String keyAlias, byte[] blob, byte[] applicationId) { in decryptBlobV1() argument 130 byte[] intermediate = decrypt(applicationId, APPLICATION_ID_PERSONALIZATION, blob); in decryptBlobV1() 138 public static byte[] decryptBlob(String keyAlias, byte[] blob, byte[] applicationId) { in decryptBlob() argument [all …]
|
D | SyntheticPasswordManager.java | 837 byte[] blob = new byte[content.length + 1 + 1]; in createSyntheticPasswordBlob() 844 blob[0] = SYNTHETIC_PASSWORD_VERSION_V3; in createSyntheticPasswordBlob() 846 blob[0] = SYNTHETIC_PASSWORD_VERSION_V2; in createSyntheticPasswordBlob() 848 blob[1] = type; in createSyntheticPasswordBlob() 849 System.arraycopy(content, 0, blob, 2, content.length); in createSyntheticPasswordBlob() 850 saveState(SP_BLOB_NAME, blob, handle, userId); in createSyntheticPasswordBlob() 980 byte[] blob = loadState(SP_BLOB_NAME, handle, userId); in unwrapSyntheticPasswordBlob() 981 if (blob == null) { in unwrapSyntheticPasswordBlob() 984 final byte version = blob[0]; in unwrapSyntheticPasswordBlob() 990 if (blob[1] != type) { in unwrapSyntheticPasswordBlob() [all …]
|
/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()
|
D | FakeKeys.java | 201 private static X509Certificate loadCertificate(String blob) { in loadCertificate() argument 204 InputStream stream = new ByteArrayInputStream(blob.getBytes(StandardCharsets.UTF_8)); in loadCertificate()
|
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/ |
D | types.h | 239 const hidl_vec<uint8_t> &blob); 251 hidl_vec<uint8_t> *blob, 254 hidl_vec<uint8_t> *blob, 257 hidl_vec<uint8_t> *blob, 260 hidl_vec<uint8_t> *blob, 274 Params blob); 277 Params blob); 289 const Params& blob);
|
/frameworks/base/services/net/java/android/net/ipmemorystore/ |
D | OnBlobRetrievedListener.java | 29 void onBlobRetrieved(Status status, String l2Key, String name, Blob blob); in onBlobRetrieved() argument 37 final String name, final Blob blob) { in toAIDL() 40 listener.onBlobRetrieved(new Status(statusParcelable), l2Key, name, blob); in toAIDL()
|
/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/core/jni/android/graphics/ |
D | Bitmap.cpp | 717 android::Parcel::ReadableBlob blob; in Bitmap_createFromParcel() local 718 android::status_t status = p->readBlob(size, &blob); in Bitmap_createFromParcel() 726 if (blob.fd() >= 0 && (blob.isMutable() || !isMutable) && (size >= ASHMEM_BITMAP_MIN_SIZE)) { in Bitmap_createFromParcel() 731 blob.isMutable() ? "mutable" : "immutable", in Bitmap_createFromParcel() 736 int dupFd = fcntl(blob.fd(), F_DUPFD_CLOEXEC, 0); in Bitmap_createFromParcel() 739 blob.release(); in Bitmap_createFromParcel() 747 const_cast<void*>(blob.data()), size, !isMutable); in Bitmap_createFromParcel() 750 blob.release(); in Bitmap_createFromParcel() 756 blob.clear(); in Bitmap_createFromParcel() 759 if (blob.fd() >= 0) { in Bitmap_createFromParcel() [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | MetaDataBase.cpp | 475 android::Parcel::WritableBlob blob; in writeToParcel() local 480 ret = parcel.writeBlob(size, false, &blob); in writeToParcel() 484 memcpy(blob.data(), data, size); in writeToParcel() 485 blob.release(); in writeToParcel() 513 android::Parcel::ReadableBlob blob; in updateFromParcel() local 514 ret = parcel.readBlob(size, &blob); in updateFromParcel() 518 setData(key, type, blob.data(), size); in updateFromParcel() 519 blob.release(); in updateFromParcel()
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | types.cpp | 1528 bool parseParamsBlob(std::vector<C2Param*> *params, const hidl_vec<uint8_t> &blob) { in parseParamsBlob() argument 1530 size_t size = blob.size(); in parseParamsBlob() 1532 const uint8_t *data = blob.data(); in parseParamsBlob() 1564 bool _createParamsBlob(hidl_vec<uint8_t> *blob, const T ¶ms) { in _createParamsBlob() argument 1574 blob->resize(size); in _createParamsBlob() 1585 &(*blob)[ix]); in _createParamsBlob() 1589 blob->resize(ix); in _createParamsBlob() 1609 Params blob) { in _copyParamsFromBlob() argument 1612 if (!parseParamsBlob(¶mPointers, blob)) { in _copyParamsFromBlob() 1634 hidl_vec<uint8_t> *blob, in createParamsBlob() argument [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | MemoryStoreImpl.java | 116 final Blob blob = new Blob(); in write() 117 blob.data = value; in write() 123 blob, in write()
|
/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()
|
/frameworks/av/camera/ |
D | CameraMetadata.cpp | 565 ReadableBlob blob; in readFromParcel() local 568 if ((err = data.readBlob(blobSize, &blob)) != OK) { in readFromParcel() 591 const uintptr_t metadataStart = reinterpret_cast<uintptr_t>(blob.data()) + offset; in readFromParcel() 604 blob.release(); in readFromParcel() 683 WritableBlob blob; in writeToParcel() local 685 res = data.writeBlob(blobSize, false, &blob); in writeToParcel() 689 const uintptr_t metadataStart = ALIGN_TO(blob.data(), alignment); in writeToParcel() 690 offset = metadataStart - reinterpret_cast<uintptr_t>(blob.data()); in writeToParcel() 704 blob.release(); in writeToParcel()
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | ReflectedParamUpdater_test.cpp | 58 uint8_t blob[8]; member 67 C2FIELD(blob, "blob") 276 EXPECT_EQ(0, memcmp("\0\0\0\0\0\0\0\0", CastParam<C2CompositeInfo>(params[0])->m.blob, 8)); in TEST_F() 284 EXPECT_EQ(0, memcmp("buffer08", CastParam<C2CompositeInfo>(params[0])->m.blob, 8)); in TEST_F() 286 hexdump(CastParam<C2CompositeInfo>(params[0])->m.blob, 8, 0, &hex); in TEST_F() 297 EXPECT_EQ(0, memcmp("buf05\0\0\0", CastParam<C2CompositeInfo>(params[0])->m.blob, 8)); in TEST_F() 306 EXPECT_EQ(0, memcmp("ReallyLo", CastParam<C2CompositeInfo>(params[0])->m.blob, 8)); in TEST_F()
|
/frameworks/base/core/proto/android/server/ |
D | backup_chunks_metadata.proto | 58 // List of the chunks in the blob, along with the length of each chunk. From this is it possible to 76 // The document ID returned from Scotty server after uploading the blob associated with this 86 // blob in its correct order. (The chunk order is randomized so as to give the server less 106 // restoring garbage data in case of a mismatch between the ChunkOrdering and the backup blob. 110 // Additional metadata about a backup blob that needs to be synced to the server. This is used on 111 // restore to reconstruct the blob in its correct order. (The chunk order is randomized so as to
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/ |
D | reader_test.js | 831 var blob = [1, 2, 3, 4, 5]; 837 writer.writeBytes(1, blob); 847 assertEquals(blob.length + 4, decoder1.readUnsignedVarint32()); 849 var decoder2 = new jspb.BinaryDecoder(decoder1.readBytes(blob.length + 4)); 851 assertEquals(blob.length + 2, decoder2.readUnsignedVarint32()); 854 assertEquals(blob.length, decoder2.readUnsignedVarint32()); 855 var bytes = decoder2.readBytes(blob.length); 857 assertElementsEquals(bytes, blob);
|
/frameworks/av/media/codec2/vndk/include/util/ |
D | C2ParamUtils.h | 38 C2Param *ParseFirst(const uint8_t *blob, size_t size);
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | CodedInputStreamTest.java | 333 byte[] blob = new byte[1 << 20]; in testReadHugeBlob() 334 for (int i = 0; i < blob.length; i++) { in testReadHugeBlob() 335 blob[i] = (byte)i; in testReadHugeBlob() 341 builder.setOptionalBytes(ByteString.copyFrom(blob)); in testReadHugeBlob()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/ |
D | README.md | 34 [conformance.proto](https://github.com/google/protobuf/blob/master/conformance/conformance.proto). 37 (see [conformance_cpp.cc](https://github.com/google/protobuf/blob/master/conformance/conformance_cp…
|