Searched refs:blob (Results 1 - 24 of 24) 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);
H A DKeymasterArguments.java274 return ((KeymasterBlobArgument) arg).blob;
/frameworks/minikin/libs/minikin/
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);
H A DMinikinInternal.cpp86 hb_blob_t* blob = hb_face_reference_table(face, tag); local
88 return 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/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...]
H A DWifiConfigManagerTest.java887 Credentials.CA_CERTIFICATE + aliasList.get(j)).blob;
/frameworks/base/core/tests/coretests/src/android/database/
H A DCursorWindowTest.java102 // put blob
103 byte[] blob = new byte[1000];
105 Arrays.fill(blob, value);
106 assertTrue(window.putBlob(blob, 0, 6));
107 assertTrue(Arrays.equals(blob, window.getBlob(0, 6)));
H A DDatabaseCursorTest.java95 // insert blob
98 byte[] blob = new byte[1000];
100 Arrays.fill(blob, value);
101 args[3] = blob;
112 // use cursor to access blob
123 assertTrue(Arrays.equals(blob, cBlob));
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisibleWithInternalScroll.java56 mTextBlob = (TextView) findViewById(R.id.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...]
/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/java/android/provider/
H A DSyncStateContract.java140 byte[] blob = c.getBlob(c.getColumnIndexOrThrow(Columns.DATA));
141 return Pair.create(ContentUris.withAppendedId(uri, rowId), 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/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.h84 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y,
H A DSkiaCanvasProxy.cpp355 void SkiaCanvasProxy::onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, argument
/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/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/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduPersister.java444 byte [] blob = new EncodedStringValue(text != null ? text : "")
446 baos.write(blob, 0, blob.length);
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java2698 // the PM metadata blob if we haven't already.
3158 // determine whether to update the widget blob in the archive. If the
3881 // *N: 4 : integer token identifying which metadata blob
3882 // 4 : integer size of this blob = N
3883 // N : raw bytes of this metadata blob
4085 // line 9: master IV + key blob, encrypted by the user key [hex]. Blob format:
4100 ByteArrayOutputStream blob = new ByteArrayOutputStream(IV.length + mk.length
4102 DataOutputStream mkOut = new DataOutputStream(blob);
4110 byte[] encryptedMk = mkC.doFinal(blob.toByteArray());
4232 // line 9: master key blob [he
[all...]

Completed in 590 milliseconds