/frameworks/wilhelm/tests/sandbox/streamSource/ |
D | slesTestPlayStream.cpp | 42 char dataCache[BUFFER_SIZE * NB_BUFFERS]; variable 108 size_t nbRead = fread((void*)dataCache, 1, BUFFER_SIZE*(NB_BUFFERS/2), file); in AndroidBufferQueueCallback() 112 dataCache + i*BUFFER_SIZE, in AndroidBufferQueueCallback() 294 if (fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file) <= 0) { in TestPlayStream() 302 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0); in TestPlayStream() 308 if (fread(dataCache, 1, BUFFER_SIZE * 1, file) <= 0) { in TestPlayStream() 315 res = (*abqItf)->Enqueue(abqItf, dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0); in TestPlayStream()
|
/frameworks/wilhelm/tests/native-media/jni/ |
D | native-media-jni.c | 64 char dataCache[BUFFER_SIZE * NB_BUFFERS]; variable 143 assert(dataCache <= (char *) pBufferData && (char *) pBufferData < in AndroidBufferQueueCallback() 144 &dataCache[BUFFER_SIZE * NB_BUFFERS]); in AndroidBufferQueueCallback() 145 assert(0 == (((char *) pBufferData - dataCache) % BUFFER_SIZE)); in AndroidBufferQueueCallback() 301 nbRead = fread(dataCache, BUFFER_SIZE, NB_BUFFERS, file); in enqueueInitialBuffers() 324 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, items /*pMsg*/, in enqueueInitialBuffers() 330 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0); in enqueueInitialBuffers()
|
/frameworks/ml/nn/driver/sample/ |
D | SampleDriver.h | 91 const hal::hidl_vec<hal::hidl_handle>& dataCache, const hal::CacheToken& token, 97 const hal::hidl_vec<hal::hidl_handle>& dataCache, const hal::CacheToken& token, 101 const hal::hidl_vec<hal::hidl_handle>& dataCache, const hal::CacheToken& token, 106 const hal::hidl_vec<hal::hidl_handle>& dataCache, const hal::CacheToken& token,
|
D | SampleDriverPartial.h | 47 const hal::hidl_vec<hal::hidl_handle>& dataCache, const hal::CacheToken& token,
|
/frameworks/ml/nn/runtime/ |
D | VersionedInterfaces.cpp | 1149 hidl_vec<hidl_handle>* dataCache) { in getCacheHandles() argument 1168 *dataCache = createCacheHandleVec(numCacheFiles.second, cacheFileName, createIfNotExist); in getCacheHandles() 1169 if (dataCache->size() != numCacheFiles.second) { in getCacheHandles() 1216 hidl_vec<hidl_handle> modelCache, dataCache; in prepareModelInternal() local 1219 /*createIfNotExist=*/true, &modelCache, &dataCache)) { in prepareModelInternal() 1221 dataCache.resize(0); in prepareModelInternal() 1235 [&model, preference, priority, &otp, &modelCache, &dataCache, &token, in prepareModelInternal() 1238 dataCache, token, callback); in prepareModelInternal() 1274 [&model12, &preference, &modelCache, &dataCache, &token, in prepareModelInternal() 1276 return device->prepareModel_1_2(model12, preference, modelCache, dataCache, in prepareModelInternal() [all …]
|
/frameworks/ml/nn/runtime/test/ |
D | TestExecution.cpp | 336 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token, in prepareModel_1_3() argument 340 model, preference, priority, deadline, modelCache, dataCache, token, localCallback); in prepareModel_1_3() 365 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, in prepareModel_1_2() argument 370 model, preference, modelCache, dataCache, token, localCallback); in prepareModel_1_2() 458 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, in prepareModel_1_2() argument 461 return mLatestDriver->prepareModel_1_2(model, preference, modelCache, dataCache, token, in prepareModel_1_2() 486 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, in prepareModelFromCache() argument 488 return mLatestDriver->prepareModelFromCache(modelCache, dataCache, token, callback); in prepareModelFromCache()
|
D | TestCompilationCaching.cpp | 227 void checkNumberOfCacheHandles(size_t modelCache, size_t dataCache) { in checkNumberOfCacheHandles() argument 229 if (modelCache != 0 || dataCache != 0) { in checkNumberOfCacheHandles() 231 ASSERT_EQ(dataCache, mNumDataCache); in checkNumberOfCacheHandles() 235 ASSERT_EQ(dataCache, 0ul); in checkNumberOfCacheHandles()
|
D | TestPartitioningRandom.cpp | 575 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token, in prepareModel_1_3() argument 591 dataCache, token, callback); in prepareModel_1_3() 616 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, in prepareModel_1_2() argument 619 return mLatestDriver->prepareModel_1_2(model, preference, modelCache, dataCache, token, in prepareModel_1_2() 633 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, in prepareModelFromCache() argument 635 return mLatestDriver->prepareModelFromCache(modelCache, dataCache, token, callback); in prepareModelFromCache()
|
D | TestPartitioning.cpp | 510 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, in prepareModel_1_2() argument 513 return mLatestDriver->prepareModel_1_2(model, preference, modelCache, dataCache, token, in prepareModel_1_2() 527 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, in prepareModelFromCache() argument 529 return mLatestDriver->prepareModelFromCache(modelCache, dataCache, token, callback); in prepareModelFromCache()
|
D | TestVersionedInterfaces.cpp | 147 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, 151 (const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, 162 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token, 167 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token,
|