Home
last modified time | relevance | path

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

12

/frameworks/ml/nn/driver/cache/nnCache/
DnnCache_test.cpp67 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4)); in TEST_P()
78 ASSERT_EQ(4, mCache->getBlob("abcd", 4, buf, 4)); in TEST_P()
92 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4)); in TEST_P()
100 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4)); in TEST_P()
140 size_t size = mCache->getBlob(&k, 1, NULL, 0); in TEST_P()
204 ASSERT_EQ(ssize_t(valueSize), mCache->getBlob(key, keySize, buf, sizeof(buf))); in yesStringBlob()
218 ASSERT_EQ(ssize_t(0), mCache->getBlob(key, keySize, buf, sizeof(buf))); in noStringBlob()
241 ASSERT_EQ(4, mCache->getBlob("abcd", 4, &bufPtr, malloc)); in TEST_P()
252 ASSERT_EQ(4, mCache->getBlob("abcd", 4, buf, 4)); in TEST_P()
DnnCache.h67 ssize_t getBlob(const void* key, ssize_t keySize,
69 ssize_t getBlob(const void* key, ssize_t keySize,
72 ssize_t getBlob(const void* key, size_t keySize, in getBlob() function
75 const ssize_t size = getBlob(key, keySize, &valueVoid, alloc); in getBlob()
DnnCache.cpp103 ssize_t NNCache::getBlob(const void* key, ssize_t keySize, in getBlob() function in android::NNCache
119 ssize_t NNCache::getBlob(const void* key, ssize_t keySize, in getBlob() function in android::NNCache
/frameworks/native/opengl/tests/EGLTest/
Degl_cache_test.cpp50 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4)); in TEST_F()
61 ASSERT_EQ(4, mCache->getBlob("abcd", 4, buf, 4)); in TEST_F()
73 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4)); in TEST_F()
104 ASSERT_EQ(4, mCache->getBlob("abcd", 4, buf, 4)); in TEST_F()
/frameworks/support/core/ktx/src/main/java/androidx/core/database/
DCursor.kt32 inline fun Cursor.getBlob(columnName: String): ByteArray = in getBlob() method
33 getBlob(getColumnIndexOrThrow(columnName)) in getBlob()
112 inline fun Cursor.getBlobOrNull(index: Int) = if (isNull(index)) null else getBlob(index) in getBlob()
191 getColumnIndexOrThrow(columnName).let { if (isNull(it)) null else getBlob(it) } in getBlob()
/frameworks/base/core/tests/coretests/src/android/database/
DMatrixCursorTest.java38 assertNull(cursor.getBlob(0)); in testNullValue()
156 MoreAsserts.assertEquals(new byte[] {(byte) 0xaa, (byte) 0x55}, cursor.getBlob(6)); in testRowBuilderOffer()
165 assertEquals(null, cursor.getBlob(6)); in testRowBuilderOffer()
174 assertEquals(null, cursor.getBlob(6)); in testRowBuilderOffer()
207 MoreAsserts.assertEquals(new byte[] {(byte) 0xaa, (byte) 0x55}, cursor.getBlob(6)); in checkValues()
DCursorWindowTest.java107 assertTrue(Arrays.equals(blob, window.getBlob(0, 6))); in doTestValues()
/frameworks/native/opengl/libs/EGL/
Degl_cache.cpp58 static EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize, in getBlob() function
60 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize); in getBlob()
105 android::setBlob, android::getBlob); in initialize()
153 EGLsizeiANDROID egl_cache_t::getBlob(const void* key, EGLsizeiANDROID keySize, in getBlob() function in android::egl_cache_t
Degl_cache.h63 EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize,
/frameworks/base/core/java/android/database/
DAbstractWindowedCursor.java43 public byte[] getBlob(int columnIndex) { in getBlob() method in AbstractWindowedCursor
45 return mWindow.getBlob(mPos, columnIndex); in getBlob()
DCursorWrapper.java146 public byte[] getBlob(int columnIndex) { in getBlob() method in CursorWrapper
147 return mCursor.getBlob(columnIndex); in getBlob()
DMergeCursor.java143 public byte[] getBlob(int column) in getBlob() method in MergeCursor
145 return mCursor.getBlob(column); in getBlob()
DCursor.java227 byte[] getBlob(int columnIndex); in getBlob() method
DMatrixCursor.java300 public byte[] getBlob(int column) { in getBlob() method in MatrixCursor
/frameworks/support/content/src/main/java/androidx/contentpager/content/
DInMemoryCursor.java140 mBlobs[position] = cursor.getBlob(col); in InMemoryCursor()
206 public byte[] getBlob(int column) {
232 return getBlob(column) != null;
/frameworks/base/core/java/android/provider/
DSyncStateContract.java85 return c.getBlob(c.getColumnIndexOrThrow(Columns.DATA)); in get()
140 byte[] blob = c.getBlob(c.getColumnIndexOrThrow(Columns.DATA)); in getWithUri()
/frameworks/base/core/java/com/android/internal/database/
DSortCursor.java232 public byte[] getBlob(int column) in getBlob() method in SortCursor
234 return mCursor.getBlob(column); in getBlob()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java150 byte[] nonce = cursor.getBlob( in getKey()
152 byte[] keyMaterial = cursor.getBlob( in getKey()
278 byte[] nonce = cursor.getBlob( in getAllKeys()
280 byte[] keyMaterial = cursor.getBlob( in getAllKeys()
961 return cursor.getBlob(idx); in getBytes()
1044 return cursor.getBlob(idx); in getBytes()
/frameworks/opt/chips/src/com/android/ex/chips/
DDefaultPhotoManager.java97 return photoCursor.getBlob(PhotoQuery.PHOTO); in fetchPhotoAsync()
/frameworks/base/test-mock/src/android/test/mock/
DMockCursor.java102 public byte[] getBlob(int columnIndex) { in getBlob() method in MockCursor
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerDbHelper.java112 byte[] data = c.getBlob(c.getColumnIndex( in getGenericSoundModel()
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/database/
DCursorTest.kt29 val blob = cursor.getBlob("data") in blobByName()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java244 byte[] data = c.getBlob(c.getColumnIndex(SoundModelContract.KEY_DATA)); in getKeyphraseSoundModel()
348 data = c.getBlob(c.getColumnIndex(SoundModelContract.KEY_DATA)); in SoundModelRecord()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistReportDbHelper.java166 String digestHexStr = HexDump.toHexString(c.getBlob(INDEX_DIGEST)); in getAggregatedRecords()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierInfoManager.java92 byte[] carrier_key = findCursor.getBlob(0); in getCarrierInfoForImsiEncryption()

12