Home
last modified time | relevance | path

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

12

/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.cpp102 ssize_t NNCache::getBlob(const void* key, ssize_t keySize, void* value, ssize_t valueSize) { in getBlob() function in android::NNCache
117 ssize_t NNCache::getBlob(const void* key, ssize_t keySize, void** value, in getBlob() function in android::NNCache
/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/services/Telephony/tests/src/com/android/phone/
DRcsProvisioningMonitorTest.java285 when(mCursor.getBlob(anyInt())).thenReturn( in setUp()
326 when(mCursor.getBlob(anyInt())).thenReturn(null); in testInitWithoutSavedConfig()
654 when(mCursor.getBlob(anyInt())).thenReturn(null); in testTestModeEnabledAndDisabled()
657 verify(mCursor, times(1)).getBlob(anyInt()); in testTestModeEnabledAndDisabled()
663 verify(mCursor, times(1)).getBlob(anyInt()); in testTestModeEnabledAndDisabled()
678 verify(mCursor, times(2)).getBlob(anyInt()); in testTestModeEnabledAndDisabled()
/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/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/voicemail/listui/
DVoicemailCursorLoader.java85 number = DialerPhoneNumber.parseFrom(cursor.getBlob(NUMBER)); in toVoicemailEntry()
91 numberAttributes = NumberAttributes.parseFrom(cursor.getBlob(NUMBER_ATTRIBUTES)); in toVoicemailEntry()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/core/
DSearchResultsProviderTest.java109 assertNotNull(cursor.getBlob(cursor.getColumnIndex(PRIMARY_IMAGE_BLOB))); in query_shouldHaveValidData()
110 assertNotNull(cursor.getBlob(cursor.getColumnIndex(SECONDARY_IMAGE_BLOB))); in query_shouldHaveValidData()
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreDatabase.java316 getBlob(cursor, NetworkAttributesContract.COLNAME_DNSADDRESSES); in readNetworkAttributesLine()
441 return cursor.getBlob(0); // index in the DATA_COLUMN array in retrieveBlob()
753 private static byte[] getBlob(final Cursor cursor, final String columnName) { in getBlob() method in IpMemoryStoreDatabase
755 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/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/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()
DSearchContactsCursorLoader.java161 newRow[i] = smartDialCursor.getBlob(index); in convertSmartDialCursorToSearchCursor()
/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/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/apps/EmergencyInfo/src/com/android/emergency/
DEmergencyContactManager.java75 byte[] data = cursor2.getBlob(0); in getContact()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactsCursorLoader.java128 values[i] = cursor.getBlob(i); in objectArrayFromCursor()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetProvider.java179 byte[] data = c.getBlob(INDEX_PHOTO_BLOB); in getPhoto()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DResultActivity.java150 data = cursor.getBlob(0); in addRowWithPhoto()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DCursorToSearchResultConverter.java136 final byte[] marshalledPayload = cursor.getBlob(cursor.getColumnIndexOrThrow( in buildSingleSearchResultFromCursor()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentStack.java250 final byte[] rawStack = cursor.getBlob( in fromLastAccessedCursor()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/imewidescreen/
DCarUiImeWideScreenController.java456 byte[] primaryBlob = c.getBlob( in loadSearchItems()
465 byte[] secondaryBlob = c.getBlob( in loadSearchItems()

12