Home
last modified time | relevance | path

Searched refs:blob (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/java/android/security/keymaster/
DKeymasterBlobArgument.java25 public final byte[] blob; field in KeymasterBlobArgument
27 public KeymasterBlobArgument(int tag, byte[] blob) { in KeymasterBlobArgument() argument
36 this.blob = blob; in KeymasterBlobArgument()
41 blob = in.createByteArray(); in KeymasterBlobArgument()
46 out.writeByteArray(blob); in writeValue()
DKeymasterBlob.java26 public byte[] blob; field in KeymasterBlob
28 public KeymasterBlob(byte[] blob) { in KeymasterBlob() argument
29 this.blob = blob; in KeymasterBlob()
43 blob = in.createByteArray(); in KeymasterBlob()
53 out.writeByteArray(blob); in writeToParcel()
DKeymasterArguments.java274 return ((KeymasterBlobArgument) arg).blob; in getBytes()
/frameworks/base/core/tests/coretests/src/android/database/
DCursorWindowTest.java103 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()
DDatabaseCursorTest.java97 byte[] blob = new byte[1000]; in testBlob()
99 Arrays.fill(blob, value); in testBlob()
100 args[3] = blob; in testBlob()
122 assertTrue(Arrays.equals(blob, cBlob)); in testBlob()
/frameworks/av/camera/
DCameraMetadata.cpp477 ReadableBlob blob; in readFromParcel() local
480 if ((err = data.readBlob(blobSize, &blob)) != OK) { in readFromParcel()
503 const uintptr_t metadataStart = reinterpret_cast<uintptr_t>(blob.data()) + offset; in readFromParcel()
516 blob.release(); in readFromParcel()
595 WritableBlob blob; in writeToParcel() local
597 res = data.writeBlob(blobSize, false, &blob); in writeToParcel()
601 const uintptr_t metadataStart = ALIGN_TO(blob.data(), alignment); in writeToParcel()
602 offset = metadataStart - reinterpret_cast<uintptr_t>(blob.data()); in writeToParcel()
616 blob.release(); in writeToParcel()
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp986 android::Parcel::ReadableBlob blob; in Bitmap_createFromParcel() local
987 android::status_t status = p->readBlob(size, &blob); in Bitmap_createFromParcel()
996 if (blob.fd() >= 0 && (blob.isMutable() || !isMutable)) { in Bitmap_createFromParcel()
1001 blob.isMutable() ? "mutable" : "immutable", in Bitmap_createFromParcel()
1006 int dupFd = dup(blob.fd()); in Bitmap_createFromParcel()
1008 blob.release(); in Bitmap_createFromParcel()
1016 ctable, dupFd, const_cast<void*>(blob.data()), !isMutable); in Bitmap_createFromParcel()
1020 blob.release(); in Bitmap_createFromParcel()
1026 blob.clear(); in Bitmap_createFromParcel()
1029 if (blob.fd() >= 0) { in Bitmap_createFromParcel()
[all …]
/frameworks/base/core/jni/
Dandroid_os_Parcel.cpp213 android::Parcel::WritableBlob blob; in android_os_Parcel_writeBlob() local
214 android::status_t err2 = parcel->writeBlob(length, false, &blob); in android_os_Parcel_writeBlob()
222 memset(blob.data(), 0, length); in android_os_Parcel_writeBlob()
224 memcpy(blob.data(), ar + offset, length); in android_os_Parcel_writeBlob()
228 blob.release(); in android_os_Parcel_writeBlob()
353 android::Parcel::ReadableBlob blob; in android_os_Parcel_readBlob() local
354 android::status_t err = parcel->readBlob(len, &blob); in android_os_Parcel_readBlob()
364 memcpy(a2, blob.data(), len); in android_os_Parcel_readBlob()
368 blob.release(); in android_os_Parcel_readBlob()
Dandroid_database_SQLiteConnection.cpp555 const void* blob = sqlite3_column_blob(statement, 0); in nativeExecuteForBlobFileDescriptor() local
556 if (blob) { in nativeExecuteForBlobFileDescriptor()
559 return createAshmemRegionWithData(env, blob, length); in nativeExecuteForBlobFileDescriptor()
627 const void* blob = sqlite3_column_blob(statement, i); in copyRow() local
629 status = window->putBlob(addedRows, i, blob, size); in copyRow()
/frameworks/base/core/java/android/provider/
DSyncStateContract.java140 byte[] blob = c.getBlob(c.getColumnIndexOrThrow(Columns.DATA)); in getWithUri()
141 return Pair.create(ContentUris.withAppendedId(uri, rowId), blob); in getWithUri()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp343 struct camera2_jpeg_blob *blob = (struct camera2_jpeg_blob*)(header); in findJpegSize() local
344 if (blob->jpeg_blob_id == CAMERA2_JPEG_BLOB_ID) { in findJpegSize()
345 size = blob->jpeg_size; in findJpegSize()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DRequestRectangleVisibleWithInternalScroll.java56 mTextBlob = (TextView) findViewById(R.id.blob); in onCreate()
/frameworks/base/libs/hwui/
DSkiaCanvasProxy.h86 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y,
DSkiaCanvasProxy.cpp319 void SkiaCanvasProxy::onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, in onDrawTextBlob() argument
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/promote/
Ddevice-art.jd512 canvas.toBlob(function(blob) {
513 if (!blob) {
517 g_currentBlob = blob;
518 g_currentObjectURL = window.URL.createObjectURL(blob);
/frameworks/base/docs/html/distribute/tools/promote/
Ddevice-art.jd630 canvas.toBlob(function(blob) {
631 if (!blob) {
635 g_currentBlob = blob;
636 g_currentObjectURL = window.URL.createObjectURL(blob);
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp798 struct camera3_jpeg_blob *blob = (struct camera3_jpeg_blob*)(header); in Image_getJpegSize() local
799 if (blob->jpeg_blob_id == CAMERA3_JPEG_BLOB_ID) { in Image_getJpegSize()
800 size = blob->jpeg_size; in Image_getJpegSize()
Dandroid_media_ImageReader.cpp347 struct camera3_jpeg_blob *blob = (struct camera3_jpeg_blob*)(header); in Image_getJpegSize() local
348 if (blob->jpeg_blob_id == CAMERA3_JPEG_BLOB_ID) { in Image_getJpegSize()
349 size = blob->jpeg_size; in Image_getJpegSize()
/frameworks/base/docs/html/training/tv/tif/
Dchannel.jd145 …rnal-link" href="https://github.com/googlesamples/androidtv-sample-inputs/blob/master/app/src/main…
233 …rnal-link" href="https://github.com/googlesamples/androidtv-sample-inputs/blob/master/app/src/main…
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduPersister.java443 byte [] blob = new EncodedStringValue(text != null ? text : "") in loadParts()
445 baos.write(blob, 0, blob.length); in loadParts()
/frameworks/base/docs/html-intl/intl/pt-br/training/basics/activity-lifecycle/
Dstopping.jd120 android.widget.EditText}) em um {@link android.os.Bundle} (um blob de pares de valores-chave) e os …
/frameworks/base/docs/html/training/basics/activity-lifecycle/
Dstopping.jd121 android.widget.EditText}) in a {@link android.os.Bundle} (a blob of key-value pairs) and restores
/frameworks/base/docs/html/training/gestures/
Dscroll.jd356 <a href="http://github.com/android/platform_frameworks_support/blob/master/v4/java/android/support/…
/frameworks/base/docs/html/training/multiple-apks/
Dtexture.jd133 then another, then another, then months later trying to figure out whether this blob can be moved up
Dapi.jd174 then another, then another, then months later trying to figure out whether this blob can be moved up

12