Home
last modified time | relevance | path

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

123

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceBlobTest.java199 CustomAudienceBlob blob = new CustomAudienceBlob(true, true, true, 12L, true); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled() local
219 blob.overrideFromJSONObject(jsonObjectWithAuctionServerRequestFlags); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled()
221 assertEquals(blob.getOwner(), VALID_OWNER); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled()
222 assertEquals(blob.getBuyer(), VALID_BUYER_1); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled()
223 assertEquals(blob.getName(), VALID_NAME); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled()
224 assertEquals(blob.getActivationTime(), VALID_ACTIVATION_TIME); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled()
225 assertEquals(blob.getExpirationTime(), VALID_EXPIRATION_TIME); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled()
227 blob.getDailyUpdateUri(), in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled()
229 assertEquals(blob.getBiddingLogicUri(), getValidBiddingLogicUriByBuyer(VALID_BUYER_1)); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled()
230 assertEquals(blob.getUserBiddingSignals(), VALID_USER_BIDDING_SIGNALS); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled()
[all …]
DScheduleCustomAudienceUpdateTestUtils.java147 CustomAudienceBlob blob = new CustomAudienceBlob(); in extractPartialCustomAudiencesFromRequest() local
148 blob.overrideFromJSONObject(jsonArray.getJSONObject(i)); in extractPartialCustomAudiencesFromRequest()
149 overrideCustomAudienceBlobs.add(blob); in extractPartialCustomAudiencesFromRequest()
/packages/apps/Settings/src/com/android/settings/development/storage/
DBlobInfoListView.java21 import android.app.blob.BlobInfo;
22 import android.app.blob.BlobStoreManager;
95 final BlobInfo blob = mAdapter.getItem(position); in onListItemClick() local
96 if (CollectionUtils.isEmpty(blob.getLeases())) { in onListItemClick()
97 showDeleteBlobDialog(blob); in onListItemClick()
100 intent.putExtra(SharedDataUtils.BLOB_KEY, blob); in onListItemClick()
105 private void showDeleteBlobDialog(BlobInfo blob) { in showDeleteBlobDialog() argument
108 .setPositiveButton(android.R.string.ok, getDialogOnClickListener(blob)) in showDeleteBlobDialog()
114 private DialogInterface.OnClickListener getDialogOnClickListener(BlobInfo blob) { in getDialogOnClickListener() argument
117 mBlobStoreManager.deleteBlob(blob); in getDialogOnClickListener()
[all …]
DLeaseInfoListView.java21 import android.app.blob.BlobInfo;
22 import android.app.blob.BlobStoreManager;
23 import android.app.blob.LeaseInfo;
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/util/
DOnDevicePersonalizationFlatbufferUtilsTests.java48 byte[] blob = new byte[2]; in testCreateEventData()
49 blob[0] = 1; in testCreateEventData()
50 blob[1] = 2; in testCreateEventData()
51 data.put("d", blob); in testCreateEventData()
185 byte[] blob = new byte[2]; in testGetContentValuesFromEventData()
186 blob[0] = 1; in testGetContentValuesFromEventData()
187 blob[1] = 2; in testGetContentValuesFromEventData()
188 data.put("d", blob); in testGetContentValuesFromEventData()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ipmemorystore/
DOnBlobRetrievedListener.java29 void onBlobRetrieved(Status status, String l2Key, String name, Blob blob); in onBlobRetrieved() argument
37 final String name, final Blob blob) { in toAIDL()
40 listener.onBlobRetrieved(new Status(statusParcelable), l2Key, name, blob); in toAIDL()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/user/
DUserDataDao.java135 byte[] blob = in getAppInstallMap()
139 return convertAppInstallFromBytesToMap(blob); in getAppInstallMap()
184 private Map<String, Long> convertAppInstallFromBytesToMap(byte[] blob) { in convertAppInstallFromBytesToMap() argument
186 AppInfoList appInfoList = AppInfoList.getRootAsAppInfoList(ByteBuffer.wrap(blob)); in convertAppInstallFromBytesToMap()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/storage/
DSharedDataPreferenceControllerTest.java25 import android.app.blob.BlobInfo;
26 import android.app.blob.BlobStoreManager;
27 import android.app.blob.LeaseInfo;
/packages/modules/Wifi/service/java/com/android/server/wifi/
DMemoryStoreImpl.java121 final Blob blob = new Blob(); in write()
122 blob.data = value; in write()
128 blob, in write()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DFakeKeys.java653 private static X509Certificate loadCertificate(String blob) { in loadCertificate() argument
656 InputStream stream = new ByteArrayInputStream(blob.getBytes(StandardCharsets.UTF_8)); in loadCertificate()
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/phonelookup/
DPhoneLookupDataSource.java342 byte[] blob = cursor.getBlob(numberColumn); in queryDistinctDialerPhoneNumbersFromAnnotatedCallLog()
343 if (blob == null) { in queryDistinctDialerPhoneNumbersFromAnnotatedCallLog()
348 numbers.add(DialerPhoneNumber.parseFrom(blob)); in queryDistinctDialerPhoneNumbersFromAnnotatedCallLog()
403 byte[] blob = cursor.getBlob(numberColumn); in collectIdAndNumberFromAnnotatedCallLogAndPendingInserts()
404 if (blob == null) { in collectIdAndNumberFromAnnotatedCallLogAndPendingInserts()
410 dialerPhoneNumber = DialerPhoneNumber.parseFrom(blob); in collectIdAndNumberFromAnnotatedCallLogAndPendingInserts()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DFakeKeys.java920 private static X509Certificate loadCertificate(String blob) { in loadCertificate() argument
923 InputStream stream = new ByteArrayInputStream(blob.getBytes(StandardCharsets.UTF_8)); in loadCertificate()
DMemoryStoreImplTest.java156 android.net.ipmemorystore.Blob blob = mIpMemoryStoreBlobCaptor.getValue(); in wifiScoreCardWriteShouldCallIpMemoryStoreStoreBlob() local
157 assertArrayEquals(myBlob, blob.data); in wifiScoreCardWriteShouldCallIpMemoryStoreStoreBlob()
/packages/modules/Virtualization/service_vm/requests/src/
Dkeyblob.rs64 Self::V1(blob) => blob.decrypt_private_key(kek_secret), in decrypt_private_key()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DTestUtils.java175 byte[] blob = c.getBlob(i); in dumpCursor()
177 sb.append(blob == null ? "null" : blob.length + "b"); in dumpCursor()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/vendor/
DOnDevicePersonalizationLocalDataDao.java206 byte[] blob = cursor.getBlob( in readSingleLocalDataRow()
211 File file = new File(mFileDir, new String(blob)); in readSingleLocalDataRow()
214 return blob; in readSingleLocalDataRow()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DScheduledUpdatesHandler.java252 CustomAudienceBlob blob = in handleSingleUpdate() local
260 blob.overrideFromPartialCustomAudience( in handleSingleUpdate()
266 mCustomAudienceBlobValidator.validate(blob); in handleSingleUpdate()
267 validatedPartialCustomAudienceBlobs.add(blob); in handleSingleUpdate()
/packages/apps/Dialer/java/com/android/dialer/persistentlog/
DPersistentLogFileHandler.java168 byte[] blob = readBlob(); in getLogs()
170 try (DataInputStream input = new DataInputStream(new ByteArrayInputStream(blob))) { in getLogs()
/packages/modules/Bluetooth/tools/rootcanal/rust/
Dcbindgen.toml1 # For documentation, see: https://github.com/eqrion/cbindgen/blob/master/docs.md
/packages/modules/NetworkStack/src/com/android/networkstack/ipmemorystore/
DIpMemoryStoreService.java199 @Nullable final String name, @Nullable final Blob blob, in storeBlob() argument
201 final byte[] data = null == blob ? null : blob.data; in storeBlob()
/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/modules/Virtualization/pvmfw/
DREADME.md156 | {First blob: DICE chain} |
160 | {Second blob: DP} |
164 | {Third blob: VM DTBO} |
168 | {Fourth blob: VM reference DT}|
183 its size and, in particular, the expected number of appended blobs. Each blob is
196 In version 1.1, a third blob is added.
202 In version 1.2, a fourth blob is added.
350 - x0 = physical address of device tree blob (dtb) in system RAM.
/packages/modules/DnsResolver/doh/tests/doh_frontend/
Dcbindgen.toml1 # For documentation, see: https://github.com/eqrion/cbindgen/blob/master/docs.md
/packages/modules/DnsResolver/
Dcbindgen.toml1 # For documentation, see: https://github.com/eqrion/cbindgen/blob/master/docs.md
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DTestUtil.java30 import android.app.blob.BlobHandle;
31 import android.app.blob.BlobStoreManager;

123