Home
last modified time | relevance | path

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

/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.cpp466 ReadableBlob blob; in readFromParcel() local
469 if ((err = data.readBlob(blobSize, &blob)) != OK) { in readFromParcel()
492 const uintptr_t metadataStart = reinterpret_cast<uintptr_t>(blob.data()) + offset; in readFromParcel()
505 blob.release(); in readFromParcel()
584 WritableBlob blob; in writeToParcel() local
586 res = data.writeBlob(blobSize, &blob); in writeToParcel()
590 const uintptr_t metadataStart = ALIGN_TO(blob.data(), alignment); in writeToParcel()
591 offset = metadataStart - reinterpret_cast<uintptr_t>(blob.data()); in writeToParcel()
605 blob.release(); in writeToParcel()
/frameworks/base/core/jni/
Dandroid_os_Parcel.cpp211 android::Parcel::WritableBlob blob; in android_os_Parcel_writeBlob() local
212 android::status_t err2 = parcel->writeBlob(length, &blob); in android_os_Parcel_writeBlob()
220 memset(blob.data(), 0, length); in android_os_Parcel_writeBlob()
222 memcpy(blob.data(), ar + offset, length); in android_os_Parcel_writeBlob()
226 blob.release(); in android_os_Parcel_writeBlob()
347 android::Parcel::ReadableBlob blob; in android_os_Parcel_readBlob() local
348 android::status_t err = parcel->readBlob(len, &blob); in android_os_Parcel_readBlob()
358 memcpy(a2, blob.data(), len); in android_os_Parcel_readBlob()
362 blob.release(); in android_os_Parcel_readBlob()
Dandroid_database_SQLiteConnection.cpp557 const void* blob = sqlite3_column_blob(statement, 0); in nativeExecuteForBlobFileDescriptor() local
558 if (blob) { in nativeExecuteForBlobFileDescriptor()
561 return createAshmemRegionWithData(env, blob, length); in nativeExecuteForBlobFileDescriptor()
629 const void* blob = sqlite3_column_blob(statement, i); in copyRow() local
631 status = window->putBlob(addedRows, i, blob, size); in copyRow()
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp603 android::Parcel::ReadableBlob blob; in Bitmap_createFromParcel() local
604 android::status_t status = p->readBlob(size, &blob); in Bitmap_createFromParcel()
612 memcpy(bitmap->getPixels(), blob.data(), size); in Bitmap_createFromParcel()
615 blob.release(); in Bitmap_createFromParcel()
656 android::Parcel::WritableBlob blob; in Bitmap_writeToParcel() local
657 android::status_t status = p->writeBlob(size, &blob); in Bitmap_writeToParcel()
666 memset(blob.data(), 0, size); in Bitmap_writeToParcel()
668 memcpy(blob.data(), pSrc, size); in Bitmap_writeToParcel()
672 blob.release(); in Bitmap_writeToParcel()
/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.cpp342 struct camera2_jpeg_blob *blob = (struct camera2_jpeg_blob*)(header); in findJpegSize() local
343 if (blob->jpeg_blob_id == CAMERA2_JPEG_BLOB_ID) { in findJpegSize()
344 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/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/media/jni/
Dandroid_media_ImageReader.cpp302 struct camera3_jpeg_blob *blob = (struct camera3_jpeg_blob*)(header); in Image_getJpegSize() local
303 if (blob->jpeg_blob_id == CAMERA3_JPEG_BLOB_ID) { in Image_getJpegSize()
304 size = blob->jpeg_size; in Image_getJpegSize()
/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/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/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
Dscreensize.jd152 then another, then another, then months later trying to figure out whether this blob can be moved up
Dmultiple.jd202 then another, then another, then months later trying to figure out whether this blob can be moved up
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java3566 ByteArrayOutputStream blob = new ByteArrayOutputStream(IV.length + mk.length in emitAesBackupHeader() local
3568 DataOutputStream mkOut = new DataOutputStream(blob); in emitAesBackupHeader()
3576 byte[] encryptedMk = mkC.doFinal(blob.toByteArray()); in emitAesBackupHeader()
/frameworks/base/docs/html/guide/topics/data/
Dbackup.jd555 // Finally, write to the state blob (newState) that describes the restored data