Home
last modified time | relevance | path

Searched refs:prepareModelFromCache (Results 1 – 25 of 33) sorted by relevance

12

/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DCompilationCachingTests.cpp365 void prepareModelFromCache(const hidl_vec<hidl_handle>& modelCache, in prepareModelFromCache() function in android::hardware::neuralnetworks::V1_2::vts::functional::CompilationCachingTestBase
371 Return<ErrorStatus> prepareLaunchStatus = kDevice->prepareModelFromCache( in prepareModelFromCache()
443 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
506 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
548 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
573 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
597 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
622 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
653 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
670 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
[all …]
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DDeviceTest.cpp688 TEST(DeviceTest, prepareModelFromCache) { in TEST() argument
693 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _, _)) in TEST()
699 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
711 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _, _)) in TEST()
717 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
728 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _, _)) in TEST()
734 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
745 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _, _)) in TEST()
751 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
762 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _, _)) in TEST()
[all …]
DMockDevice.h53 MOCK_METHOD(ndk::ScopedAStatus, prepareModelFromCache,
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DDeviceTest.cpp756 TEST(DeviceTest, prepareModelFromCache) { in TEST() argument
761 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
767 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
779 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
786 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
797 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
803 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
814 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
820 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
831 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
[all …]
DMockDevice.h71 MOCK_METHOD(Return<V1_0::ErrorStatus>, prepareModelFromCache,
/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientDeviceTest.cpp377 TEST(ResilientDeviceTest, prepareModelFromCache) { in TEST() argument
381 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
386 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
396 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
401 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
411 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
417 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
427 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
432 EXPECT_CALL(*recoveredMockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
438 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
[all …]
DMockDevice.h44 MOCK_METHOD(GeneralResult<SharedPreparedModel>, prepareModelFromCache,
/hardware/interfaces/neuralnetworks/1.2/
DIDevice.hal150 * IDevice::prepareModelFromCache or providing cache file descriptors to
239 * preparedModel from cache files with prepareModelFromCache.
245 * preparedModel from cache files with prepareModelFromCache.
248 * the prepared model from the cache files with prepareModelFromCache.
275 * prepareModelFromCache is used to retrieve a prepared model directly from
289 * prepareModelFromCache function must verify the inputs to the
290 * prepareModelFromCache function are correct, and that the security-sensitive
293 * security-sensitive cache has been modified, prepareModelFromCache must
296 * the inputs to the prepareModelFromCache function are valid, the security-sensitive
297 * cache is not modified, and there is no error, prepareModelFromCache must launch an
[all …]
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DIDevice.aidl45 …void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in ParcelFile… in prepareModelFromCache() method
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DDeviceTest.cpp104 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)).Times(0); in createMockDevice()
778 TEST(DeviceTest, prepareModelFromCache) { in TEST() argument
789 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
808 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
825 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
842 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
858 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
874 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
894 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DCompilationCachingTests.cpp369 void prepareModelFromCache(const std::vector<ndk::ScopedFileDescriptor>& modelCache, in prepareModelFromCache() function in aidl::android::hardware::neuralnetworks::vts::functional::CompilationCachingTestBase
377 auto prepareLaunchStatus = kDevice->prepareModelFromCache( in prepareModelFromCache()
425 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status, in verifyModelPreparationBehaviour()
435 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status, in verifyModelPreparationBehaviour()
504 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status, in TEST_P()
565 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status, in TEST_P()
877 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status, in TEST_P()
939 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status, in TEST_P()
1000 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
1105 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in testCorruptedCache()
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DIDevice.aidl429 void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in prepareModelFromCache() method
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DInvalidDevice.h56 ndk::ScopedAStatus prepareModelFromCache(
DDevice.h72 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
/hardware/interfaces/neuralnetworks/utils/common/src/
DInvalidDevice.cpp91 nn::GeneralResult<nn::SharedPreparedModel> InvalidDevice::prepareModelFromCache( in prepareModelFromCache() function in android::hardware::neuralnetworks::utils::InvalidDevice
DResilientDevice.cpp198 nn::GeneralResult<nn::SharedPreparedModel> ResilientDevice::prepareModelFromCache( in prepareModelFromCache() function in android::hardware::neuralnetworks::utils::ResilientDevice
256 return device.prepareModelFromCache(deadline, modelCache, dataCache, token); in prepareModelFromCacheInternal()
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DDevice.h70 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DDevice.h70 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DInvalidDevice.h58 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DDevice.h72 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
/hardware/interfaces/neuralnetworks/utils/adapter/src/
DDevice.cpp234 nn::GeneralResult<void> prepareModelFromCache(const nn::SharedDevice& device, in prepareModelFromCache() function
251 auto result = device->prepareModelFromCache({}, nnModelCache, nnDataCache, nnToken); in prepareModelFromCache()
276 auto result = device->prepareModelFromCache(nnDeadline, nnModelCache, nnDataCache, nnToken); in prepareModelFromCache_1_3()
505 Return<V1_0::ErrorStatus> Device::prepareModelFromCache( in prepareModelFromCache() function in android::hardware::neuralnetworks::adapter::Device
508 auto result = adapter::prepareModelFromCache(kDevice, kExecutor, modelCache, dataCache, token, in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/
DDevice.h76 Return<V1_0::ErrorStatus> prepareModelFromCache(
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DDevice.cpp262 nn::GeneralResult<nn::SharedPreparedModel> Device::prepareModelFromCache( in prepareModelFromCache() function in android::hardware::neuralnetworks::V1_2::utils::Device
272 const auto ret = kDevice->prepareModelFromCache(hidlModelCache, hidlDataCache, hidlToken, cb); in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DDevice.h89 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DDevice.cpp241 nn::GeneralResult<nn::SharedPreparedModel> Device::prepareModelFromCache( in prepareModelFromCache() function in aidl::android::hardware::neuralnetworks::utils::Device
252 const auto ret = kDevice->prepareModelFromCache(aidlDeadline, aidlModelCache, aidlDataCache, in prepareModelFromCache()

12