/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | CursorWindowTest.java | 102 // 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 D | DatabaseCursorTest.java | 94 // 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 D | RequestRectangleVisibleWithInternalScroll.java | 56 mTextBlob = (TextView) findViewById(R.id.blob);
|
/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 449 // Special case: zero blob size means zero sized (NULL) metadata. 456 ALOGE("%s: metadata blob is malformed, blobSize(%zu) should be larger than alignment(%zu)", 463 // NOTE: this doesn't make sense to me. shouldn't the blob 466 ReadableBlob blob; local 467 // arg1 = metadata (blob) 469 if ((err = data.readBlob(blobSize, &blob)) != OK) { 470 ALOGE("%s: Failed to read metadata blob (sized %zu). Possible " 476 // arg2 = offset (blob) 477 // Must be after blob since we don't know offset until after writeBlob. 492 const uintptr_t metadataStart = reinterpret_cast<uintptr_t>(blob 584 WritableBlob blob; local [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | SyncStateContract.java | 140 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 D | JpegProcessor.cpp | 342 struct camera2_jpeg_blob *blob = (struct camera2_jpeg_blob*)(header); local 343 if (blob->jpeg_blob_id == CAMERA2_JPEG_BLOB_ID) { 344 size = blob->jpeg_size;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 603 android::Parcel::ReadableBlob blob; local 604 android::status_t status = p->readBlob(size, &blob); 606 doThrowRE(env, "Could not read bitmap from parcel blob."); 612 memcpy(bitmap->getPixels(), blob.data(), size); 615 blob.release(); 656 android::Parcel::WritableBlob blob; local 657 android::status_t status = p->writeBlob(size, &blob); 659 doThrowRE(env, "Could not write bitmap to parcel blob."); 666 memset(blob.data(), 0, size); 668 memcpy(blob [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_Parcel.cpp | 211 android::Parcel::WritableBlob blob; local 212 android::status_t err2 = parcel->writeBlob(length, &blob); 220 memset(blob.data(), 0, length); 222 memcpy(blob.data(), ar + offset, length); 226 blob.release(); 347 android::Parcel::ReadableBlob blob; local 348 android::status_t err = parcel->readBlob(len, &blob); 358 memcpy(a2, blob.data(), len); 362 blob.release();
|
H A D | android_database_SQLiteConnection.cpp | 557 const void* blob = sqlite3_column_blob(statement, 0); local 558 if (blob) { 561 return createAshmemRegionWithData(env, blob, length); 629 const void* blob = sqlite3_column_blob(statement, i); local 631 status = window->putBlob(addedRows, i, blob, size); 633 LOG_WINDOW("Failed allocating %u bytes for blob at %d,%d, error=%d",
|
/frameworks/base/media/jni/ |
H A D | android_media_ImageReader.cpp | 302 struct camera3_jpeg_blob *blob = (struct camera3_jpeg_blob*)(header); local 303 if (blob->jpeg_blob_id == CAMERA3_JPEG_BLOB_ID) { 304 size = blob->jpeg_size; 312 * means that in certain rare situations a regular JPEG blob
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | PduPersister.java | 443 byte [] blob = new EncodedStringValue(text != null ? text : "") 445 baos.write(blob, 0, blob.length);
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | BackupManagerService.java | 2364 // the PM metadata blob if we haven't already. 2739 // determine whether to update the widget blob in the archive. If the 3334 // *N: 4 : integer token identifying which metadata blob 3335 // 4 : integer size of this blob = N 3336 // N : raw bytes of this metadata blob 3551 // line 9: master IV + key blob, encrypted by the user key [hex]. Blob format: 3566 ByteArrayOutputStream blob = new ByteArrayOutputStream(IV.length + mk.length 3568 DataOutputStream mkOut = new DataOutputStream(blob); 3576 byte[] encryptedMk = mkC.doFinal(blob.toByteArray()); 3695 // line 9: master key blob [he [all...] |