Home
last modified time | relevance | path

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

/packages/services/Car/libvehiclenetwork/native/
DIVehicleNetworkHalMock.cpp66 ReadableBlobHolder blob(new Parcel::ReadableBlob()); in onListProperties() local
67 if (blob.blob == NULL) { in onListProperties()
72 status = reply.readBlob(size, blob.blob); in onListProperties()
82 if(!configs->ParseFromArray(blob.blob->data(), size)) { in onListProperties()
188 WritableBlobHolder blob(new Parcel::WritableBlob()); in onTransact() local
189 ASSERT_OR_HANDLE_NO_MEMORY(blob.blob, return NO_MEMORY); in onTransact()
192 reply->writeBlob(size, false, blob.blob); in onTransact()
193 configs->SerializeToArray(blob.blob->data(), size); in onTransact()
202 ReadableBlobHolder blob(new Parcel::ReadableBlob()); in onTransact() local
203 ASSERT_OR_HANDLE_NO_MEMORY(blob.blob, return NO_MEMORY); in onTransact()
[all …]
DIVehicleNetwork.cpp74 ReadableBlobHolder blob(new Parcel::ReadableBlob()); in listProperties() local
75 if (blob.blob == NULL) { in listProperties()
80 status = reply.readBlob(size, blob.blob); in listProperties()
90 if(!configs->ParseFromArray(blob.blob->data(), size)) { in listProperties()
174 WritableBlobHolder blob(new Parcel::WritableBlob()); in injectEvent() local
175 ASSERT_OR_HANDLE_NO_MEMORY(blob.blob, return NO_MEMORY); in injectEvent()
177 data.writeBlob(size, false, blob.blob); in injectEvent()
178 v->SerializeToArray(blob.blob->data(), size); in injectEvent()
271 WritableBlobHolder blob(new Parcel::WritableBlob()); in onTransact() local
272 ASSERT_OR_HANDLE_NO_MEMORY(blob.blob, return NO_MEMORY); in onTransact()
[all …]
DVehicleNetworkProtoUtil.h68 Parcel::WritableBlob* blob;
71 : blob(aBlob) { in WritableBlobHolder()
75 if (blob != NULL) { in ~WritableBlobHolder()
76 blob->release(); in ~WritableBlobHolder()
77 delete blob; in ~WritableBlobHolder() local
87 Parcel::ReadableBlob* blob;
90 : blob(aBlob) { in ReadableBlobHolder()
94 if (blob != NULL) { in ~ReadableBlobHolder()
95 blob->release(); in ~ReadableBlobHolder()
96 delete blob; in ~ReadableBlobHolder() local
DIVehicleNetworkListener.cpp58 WritableBlobHolder blob(new Parcel::WritableBlob()); in onEvents() local
61 data.writeBlob(size, false, blob.blob); in onEvents()
62 values->SerializeToArray(blob.blob->data(), size); in onEvents()
100 ReadableBlobHolder blob(new Parcel::ReadableBlob()); in onTransact() local
101 ASSERT_OR_HANDLE_NO_MEMORY(blob.blob, return NO_MEMORY); in onTransact()
103 r = data.readBlob(size, blob.blob); in onTransact()
110 if (!v->ParseFromArray(blob.blob->data(), size)) { in onTransact()
DVehicleNetworkProtoUtil.cpp586 WritableBlobHolder blob(new Parcel::WritableBlob()); in writeToParcel() local
587 ASSERT_OR_HANDLE_NO_MEMORY(blob.blob, return NO_MEMORY); in writeToParcel()
589 parcel.writeBlob(size, false, blob.blob); in writeToParcel()
590 v->SerializeToArray(blob.blob->data(), size); in writeToParcel()
600 ReadableBlobHolder blob(new Parcel::ReadableBlob()); in readFromParcel() local
601 ASSERT_OR_HANDLE_NO_MEMORY(blob.blob, return NO_MEMORY); in readFromParcel()
603 status_t status = parcel.readBlob(size, blob.blob); in readFromParcel()
610 if (!v->ParseFromArray(blob.blob->data(), size)) { in readFromParcel()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DFolderList.java69 public static FolderList fromBlob(byte[] blob) { in fromBlob() argument
70 if (blob == null) { in fromBlob()
75 p.unmarshall(blob, 0, blob.length); in fromBlob()
DConversationInfo.java92 public static ConversationInfo fromBlob(byte[] blob) { in fromBlob() argument
93 if (blob == null) { in fromBlob()
97 p.unmarshall(blob, 0, blob.length); in fromBlob()
DConversation.java563 final byte[] blob = ((ConversationCursor) cursor).getCachedBlob( in readConversationInfo()
565 if (blob != null && blob.length > 0) { in readConversationInfo()
566 return ConversationInfo.fromBlob(blob); in readConversationInfo()
584 final byte[] blob = ((ConversationCursor) cursor).getCachedBlob( in readRawFolders()
586 if (blob != null && blob.length > 0) { in readRawFolders()
587 return FolderList.fromBlob(blob); in readRawFolders()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DTestUtils.java77 byte[] blob = c.getBlob(i); in dumpCursor()
79 sb.append(blob == null ? "null" : blob.length + "b"); in dumpCursor()
/packages/services/Car/libvehiclenetwork/java/src/com/android/car/vehiclenetwork/
DVehiclePropConfigsParcelable.java33 byte[] blob = in.readBlob(); in VehiclePropConfigsParcelable()
35 configs = VehiclePropConfigs.parseFrom(blob); in VehiclePropConfigsParcelable()
DVehiclePropValuesParcelable.java40 byte[] blob = in.readBlob(); in VehiclePropValuesParcelable()
42 values = VehiclePropValues.parseFrom(blob); in VehiclePropValuesParcelable()
DVehiclePropValueParcelable.java34 byte[] blob = in.readBlob(); in VehiclePropValueParcelable()
36 value = VehiclePropValue.parseFrom(blob); in VehiclePropValueParcelable()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherBackupHelper.java854 byte[] blob = c.getBlob(ICON_INDEX); in packFavorite()
855 if (blob != null && blob.length > 0) { in packFavorite()
856 favorite.icon = blob; in packFavorite()
1116 byte[] blob = writeCheckedBytes(proto); in writeRowToBackup()
1117 data.writeEntityHeader(backupKey, blob.length); in writeRowToBackup()
1118 data.writeEntityData(blob, blob.length); in writeRowToBackup()
DWidgetPreviewLoader.java276 byte[] blob = cursor.getBlob(0); in readFromDb()
281 return BitmapFactory.decodeByteArray(blob, 0, blob.length, opts); in readFromDb()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java521 byte[] blob = req.buffer; in getBlob()
524 if (file.read(blob, 0, length) != length) { in getBlob()
528 if (checkSum(blob, 0, length) != sum) { in getBlob()
/packages/apps/Launcher2/src/com/android/launcher2/
DWidgetPreviewLoader.java430 byte[] blob = result.getBlob(0); in readFromDb()
435 Bitmap out = BitmapFactory.decodeByteArray(blob, 0, blob.length, opts); in readFromDb()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java456 final byte[] blob = new EncodedStringValue( in loadParts()
460 baos.write(blob, 0, blob.length); in loadParts()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dfaq.md21 …e check the details in [license.txt](https://github.com/miloyip/rapidjson/blob/master/license.txt).
/packages/apps/Browser2/test/webexposed/
Dglobal-interface-listing-expected.txt3239 method blob
3254 method blob
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz