Searched defs:blob (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/java/android/security/keymaster/
H A DKeymasterBlobArgument.java25 public final byte[] blob; field in class:KeymasterBlobArgument
27 public KeymasterBlobArgument(int tag, byte[] blob) { argument
34 throw new IllegalArgumentException("Bad blob tag " + tag);
36 this.blob = blob;
41 blob = in.createByteArray();
46 out.writeByteArray(blob);
H A DKeymasterBlob.java26 public byte[] blob; field in class:KeymasterBlob
28 public KeymasterBlob(byte[] blob) { argument
29 this.blob = blob;
43 blob = in.createByteArray();
53 out.writeByteArray(blob);
/frameworks/opt/net/wifi/tests/wifitests/src/android/net/wifi/
H A DFakeKeys.java56 private static X509Certificate loadCertificate(String blob) { argument
59 InputStream stream = new ByteArrayInputStream(blob.getBytes(StandardCharsets.UTF_8));
/frameworks/minikin/libs/minikin/
H A DMinikinInternal.cpp86 hb_blob_t* blob = hb_face_reference_table(face, tag); local
88 return blob;
H A DMinikinInternal.h55 HbBlob(hb_blob_t* blob) : mBlob(blob) { argument
H A DHbFontCache.cpp126 hb_blob_t* blob = hb_blob_create(reinterpret_cast<const char*>(buf), size, local
128 face = hb_face_create(blob, minikinFont->GetFontIndex());
129 hb_blob_destroy(blob);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DMockKeyStore.java21 public byte[] blob; field in class:MockKeyStore.KeyBlob
24 public void update(byte[] blob, int flag) { argument
25 this.blob = Arrays.copyOf(blob, blob.length);
100 KeyBlob blob = new KeyBlob();
101 map.put(key, blob);
102 return blob;
143 KeyBlob blob = map.get(srcKey);
144 access(destUid, destKey, true).update(blob
[all...]
/frameworks/av/media/ndk/
H A DNdkImage.cpp313 struct camera3_jpeg_blob* blob = (struct camera3_jpeg_blob*)(header); local
314 if (blob->jpeg_blob_id == CAMERA3_JPEG_BLOB_ID) {
315 size = blob->jpeg_size;
323 * means that in certain rare situations a regular JPEG blob
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegProcessor.cpp369 struct camera2_jpeg_blob *blob = (struct camera2_jpeg_blob*)(header); local
370 if (blob->jpeg_blob_id == CAMERA2_JPEG_BLOB_ID) {
371 size = blob->jpeg_size;
/frameworks/av/camera/
H A DCameraMetadata.cpp460 // Special case: zero blob size means zero sized (NULL) metadata.
467 ALOGE("%s: metadata blob is malformed, blobSize(%zu) should be larger than alignment(%zu)",
474 // NOTE: this doesn't make sense to me. shouldn't the blob
477 ReadableBlob blob; local
478 // arg1 = metadata (blob)
480 if ((err = data.readBlob(blobSize, &blob)) != OK) {
481 ALOGE("%s: Failed to read metadata blob (sized %zu). Possible "
487 // arg2 = offset (blob)
488 // Must be after blob since we don't know offset until after writeBlob.
503 const uintptr_t metadataStart = reinterpret_cast<uintptr_t>(blob
595 WritableBlob blob; local
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_Parcel.cpp215 android::Parcel::WritableBlob blob; local
216 android::status_t err2 = parcel->writeBlob(length, false, &blob);
224 memset(blob.data(), 0, length);
226 memcpy(blob.data(), ar + offset, length);
230 blob.release();
357 android::Parcel::ReadableBlob blob; local
358 android::status_t err = parcel->readBlob(len, &blob);
368 memcpy(a2, blob.data(), len);
372 blob.release();
H A Dandroid_database_SQLiteConnection.cpp555 const void* blob = sqlite3_column_blob(statement, 0); local
556 if (blob) {
559 return createAshmemRegionWithData(env, blob, length);
627 const void* blob = sqlite3_column_blob(statement, i); local
629 status = window->putBlob(addedRows, i, blob, size);
631 LOG_WINDOW("Failed allocating %u bytes for blob at %d,%d, error=%d",
/frameworks/base/libs/hwui/
H A DSkiaCanvasProxy.cpp355 void SkiaCanvasProxy::onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, argument
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp624 struct camera3_jpeg_blob *blob = (struct camera3_jpeg_blob*)(header); local
625 if (blob->jpeg_blob_id == CAMERA3_JPEG_BLOB_ID) {
626 size = blob->jpeg_size;
634 * means that in certain rare situations a regular JPEG blob
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp996 // Read the bitmap blob.
998 android::Parcel::ReadableBlob blob; local
999 android::status_t status = p->readBlob(size, &blob);
1002 doThrowRE(env, "Could not read bitmap blob.");
1008 if (blob.fd() >= 0 && (blob.isMutable() || !isMutable) && (size >= ASHMEM_BITMAP_MIN_SIZE)) {
1010 ALOGD("Bitmap.createFromParcel: mapped contents of %s bitmap from %s blob "
1013 blob.isMutable() ? "mutable" : "immutable",
1018 int dupFd = dup(blob.fd());
1021 blob
1139 android::Parcel::WritableBlob blob; local
[all...]

Completed in 282 milliseconds