Searched refs:blob (Results 1 - 9 of 9) sorted by relevance

/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.java94 // insert blob
97 byte[] blob = new byte[1000];
99 Arrays.fill(blob, value);
100 args[3] = blob;
111 // use cursor to access blob
122 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/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/camera2/
H A DJpegProcessor.cpp314 struct camera2_jpeg_blob *blob = (struct camera2_jpeg_blob*)(header); local
315 if (blob->jpeg_blob_id == CAMERA2_JPEG_BLOB_ID) {
316 size = blob->jpeg_size;
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp416 android::Parcel::ReadableBlob blob; local
417 android::status_t status = p->readBlob(size, &blob);
419 doThrowRE(env, "Could not read bitmap from parcel blob.");
425 memcpy(bitmap->getPixels(), blob.data(), size);
428 blob.release();
465 android::Parcel::WritableBlob blob; local
466 android::status_t status = p->writeBlob(size, &blob);
468 doThrowRE(env, "Could not write bitmap to parcel blob.");
475 memset(blob.data(), 0, size);
477 memcpy(blob
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp556 const void* blob = sqlite3_column_blob(statement, 0); local
557 if (blob) {
560 return createAshmemRegionWithData(env, blob, length);
628 const void* blob = sqlite3_column_blob(statement, i); local
630 status = window->putBlob(addedRows, i, blob, size);
632 LOG_WINDOW("Failed allocating %u bytes for blob at %d,%d, error=%d",
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduPersister.java440 byte [] blob = new EncodedStringValue(text != null ? text : "")
442 baos.write(blob, 0, blob.length);
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java1862 // the PM metadata blob if we haven't already.
2505 // line 9: master key blob [hex]
2628 // line 9: master IV + key blob, encrypted by the user key [hex]. Blob format:
2643 ByteArrayOutputStream blob = new ByteArrayOutputStream(IV.length + mk.length
2645 DataOutputStream mkOut = new DataOutputStream(blob);
2653 byte[] encryptedMk = mkC.doFinal(blob.toByteArray());
3102 // decrypt the master key blob
4637 // "correct" operation of renaming into the canonical state blob.

Completed in 153 milliseconds