Home
last modified time | relevance | path

Searched refs:getBlob (Results 1 – 25 of 62) sorted by relevance

123

/packages/modules/NeuralNetworks/driver/cache/nnCache/
DnnCache_test.cpp64 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4)); in TEST_P()
75 ASSERT_EQ(4, mCache->getBlob("abcd", 4, buf, 4)); in TEST_P()
89 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4)); in TEST_P()
97 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4)); in TEST_P()
136 size_t size = mCache->getBlob(&k, 1, NULL, 0); in TEST_P()
198 ASSERT_EQ(ssize_t(valueSize), mCache->getBlob(key, keySize, buf, sizeof(buf))); in yesStringBlob()
212 ASSERT_EQ(ssize_t(0), mCache->getBlob(key, keySize, buf, sizeof(buf))); in noStringBlob()
234 ASSERT_EQ(4, mCache->getBlob("abcd", 4, &bufPtr, malloc)); in TEST_P()
245 ASSERT_EQ(4, mCache->getBlob("abcd", 4, buf, 4)); in TEST_P()
DnnCache.h65 ssize_t getBlob(const void* key, ssize_t keySize, void* value, ssize_t valueSize);
66 ssize_t getBlob(const void* key, ssize_t keySize, void** value,
69 ssize_t getBlob(const void* key, size_t keySize, T** value, in getBlob() function
72 const ssize_t size = getBlob(key, keySize, &valueVoid, alloc); in getBlob()
DnnCache.cpp103 ssize_t NNCache::getBlob(const void* key, ssize_t keySize, void* value, ssize_t valueSize) { in getBlob() function in android::NNCache
118 ssize_t NNCache::getBlob(const void* key, ssize_t keySize, void** value, in getBlob() function in android::NNCache
/packages/services/Car/service/src/com/android/car/remoteaccess/
DRemoteAccessStorage.java171 byte[] data = CarServiceUtils.decryptData(new EncryptedData(cursor.getBlob(1), in queryClientIdEntry()
172 cursor.getBlob(3)), sKeyAlias); in queryClientIdEntry()
204 byte[] data = CarServiceUtils.decryptData(new EncryptedData(cursor.getBlob(1), in queryClientIdEntries()
205 cursor.getBlob(3)), sKeyAlias); in queryClientIdEntries()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
DFilterStackSource.java117 ret = c.getBlob(0); in getStack()
146 byte[] b = (c.isNull(2)) ? null : c.getBlob(2); in getAllUserPresets()
180 byte[] b = (c.isNull(1)) ? null : c.getBlob(1); in getAllStacks()
/packages/providers/ContactsKeysProvider/src/com/android/providers/contactkeys/
DE2eeContactKeysDatabaseHelper.java116 byte[] keyValue = c.getBlob(c.getColumnIndexOrThrow(E2eeContactKeys.KEY_VALUE)); in getAllContactKeys()
160 byte[] keyValue = c.getBlob(c.getColumnIndexOrThrow(E2eeContactKeys.KEY_VALUE)); in getContactKeysForOwnerPackageName()
199 byte[] keyValue = c.getBlob(c.getColumnIndexOrThrow(E2eeContactKeys.KEY_VALUE)); in getContactKey()
377 byte[] keyValue = c.getBlob(c.getColumnIndexOrThrow(E2eeContactKeys.KEY_VALUE)); in getSelfKey()
408 byte[] keyValue = c.getBlob(c.getColumnIndexOrThrow(E2eeContactKeys.KEY_VALUE)); in getAllSelfKeys()
437 byte[] keyValue = c.getBlob(c.getColumnIndexOrThrow(E2eeContactKeys.KEY_VALUE)); in getSelfKeysForOwnerPackageName()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DVoicemailCursorLoader.java85 number = DialerPhoneNumber.parseFrom(cursor.getBlob(NUMBER)); in toVoicemailEntry()
91 numberAttributes = NumberAttributes.parseFrom(cursor.getBlob(NUMBER_ATTRIBUTES)); in toVoicemailEntry()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetDatabaseHelper.java83 imageData = cursor.getBlob(INDEX_PHOTO_BLOB); in Entry()
121 entry.imageData = cursor.getBlob(1); in saveData()
137 entry.imageData = cursor.getBlob(1); in saveData()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DCoalescer.java259 DialerPhoneNumber.parseFrom(annotatedCallLogRow.getBlob(numberColumn))); in mergeRow()
287 NumberAttributes.parseFrom(annotatedCallLogRow.getBlob(numberAttributesColumn))); in mergeRow()
363 byte[] rowPhoneNumberBytes = annotatedCallLogRow.getBlob(numberColumn); in meetsDialerPhoneNumberCriteria()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/data/
DFederatedTrainingTask.java393 cursor.getBlob( in readFederatedTrainingTasksFromDatabase()
400 cursor.getBlob( in readFederatedTrainingTasksFromDatabase()
407 cursor.getBlob( in readFederatedTrainingTasksFromDatabase()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEventsDao.java223 byte[] token = cursor.getBlob(cursor.getColumnIndexOrThrow( in getEventState()
319 byte[] queryData = cursor.getBlob( in readQueryRows()
381 byte[] eventData = cursor.getBlob( in readJoinedTableRows()
387 byte[] queryData = cursor.getBlob( in readJoinedTableRows()
620 byte[] queryData = cursor.getBlob( in readSingleQueryRow()
/packages/services/Telephony/tests/src/com/android/phone/
DRcsProvisioningMonitorTest.java296 when(mCursor.getBlob(anyInt())).thenReturn( in setUp()
332 when(mCursor.getBlob(anyInt())).thenReturn(null); in testInitWithoutSavedConfig()
686 when(mCursor.getBlob(anyInt())).thenReturn(null); in testTestModeEnabledAndDisabled()
689 verify(mCursor, times(1)).getBlob(anyInt()); in testTestModeEnabledAndDisabled()
695 verify(mCursor, times(1)).getBlob(anyInt()); in testTestModeEnabledAndDisabled()
710 verify(mCursor, times(2)).getBlob(anyInt()); in testTestModeEnabledAndDisabled()
/packages/modules/NetworkStack/src/com/android/networkstack/ipmemorystore/
DIpMemoryStoreDatabase.java320 getBlob(cursor, NetworkAttributesContract.COLNAME_DNSADDRESSES); in readNetworkAttributesLine()
445 return cursor.getBlob(0); // index in the DATA_COLUMN array in retrieveBlob()
757 private static byte[] getBlob(final Cursor cursor, final String columnName) { in getBlob() method in IpMemoryStoreDatabase
759 return (columnIndex >= 0) ? cursor.getBlob(columnIndex) : null; in getBlob()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java445 if (getBlob(mActiveDataFile, mFileOffset, req)) { in lookup()
457 if (getBlob(mInactiveDataFile, mFileOffset, req)) { in lookup()
488 private boolean getBlob(RandomAccessFile file, int offset, in getBlob() method in BlobCache
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/
DStorageUtils.java228 return convertBytesToUUID(cursor.getBlob(cursor.getColumnIndex(columnName))); in getCursorUUID()
253 return cursor.getBlob(cursor.getColumnIndex(columnName)); in getCursorBlob()
509 byte[] bytes = cursor.getBlob(cursor.getColumnIndex(columnName)); in getCursorUUIDList()
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/phonelookup/
DPhoneLookupDataSource.java342 byte[] blob = cursor.getBlob(numberColumn); in queryDistinctDialerPhoneNumbersFromAnnotatedCallLog()
403 byte[] blob = cursor.getBlob(numberColumn); in collectIdAndNumberFromAnnotatedCallLogAndPendingInserts()
465 phoneLookupInfo = PhoneLookupInfo.parseFrom(cursor.getBlob(phoneLookupInfoColumn)); in queryPhoneLookupHistoryForNumbers()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/download/
DOnDevicePersonalizationDataProcessingAsyncCallableTests.java198 byte[] data = cursor.getBlob( in testRun()
258 byte[] data = cursor.getBlob( in testRunOldDataDownloaded()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/
DMissingPermissionsOperations.java104 PhoneLookupInfo.parseFrom(cursor.getBlob(phoneLookupInfoColumn)); in isDirtyForMissingPermissions()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DContactFilterCursor.java428 public byte[] getBlob(int columnIndex) { in getBlob() method in ContactFilterCursor
429 return cursor.getBlob(columnIndex); in getBlob()
/packages/apps/Dialer/java/com/android/dialer/rtt/
DRttTranscriptUtil.java96 return RttTranscript.parseFrom(cursor.getBlob(0)); in getRttTranscript()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhoneLookupWithStarPrefix.java138 return cursor.getBlob(column); in cursorValue()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cnap/
DCnapPhoneLookup.java110 phoneLookupInfo = PhoneLookupInfo.parseFrom(cursor.getBlob(phoneLookupInfoColumn)); in lookup()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DSatelliteProviderTest.java131 byte[] datagram = cursor.getBlob(0); in testInsertDatagram()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactsCursorLoader.java128 values[i] = cursor.getBlob(i); in objectArrayFromCursor()
/packages/apps/EmergencyInfo/src/com/android/emergency/
DEmergencyContactManager.java75 byte[] data = cursor2.getBlob(0); in getContact()

123