Home
last modified time | relevance | path

Searched refs:prepareModelFromCache (Results 1 – 25 of 40) 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/1.3/vts/functional/
DCompilationCachingTests.cpp368 void prepareModelFromCache(const hidl_vec<hidl_handle>& modelCache, in prepareModelFromCache() function in android::hardware::neuralnetworks::V1_3::vts::functional::CompilationCachingTestBase
446 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
508 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
548 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
572 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
595 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
619 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
650 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
667 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
683 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
[all …]
/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 …]
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DDeviceTest.cpp868 TEST_P(DeviceTest, prepareModelFromCache) { in TEST_P() argument
873 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _, _)) in TEST_P()
879 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST_P()
891 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _, _)) in TEST_P()
897 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST_P()
908 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _, _)) in TEST_P()
914 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST_P()
925 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _, _)) in TEST_P()
931 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST_P()
942 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _, _)) in TEST_P()
[all …]
DMockDevice.h57 MOCK_METHOD(ndk::ScopedAStatus, prepareModelFromCache,
/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientDeviceTest.cpp376 TEST(ResilientDeviceTest, prepareModelFromCache) { in TEST() argument
380 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
385 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
395 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
400 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
410 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
416 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
426 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
431 EXPECT_CALL(*recoveredMockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
437 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
[all …]
DMockDevice.h46 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/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.cpp371 void prepareModelFromCache(const std::vector<ndk::ScopedFileDescriptor>& modelCache, in prepareModelFromCache() function in aidl::android::hardware::neuralnetworks::vts::functional::CompilationCachingTestBase
379 auto prepareLaunchStatus = kDevice->prepareModelFromCache( in prepareModelFromCache()
427 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status, in verifyModelPreparationBehaviour()
437 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status, in verifyModelPreparationBehaviour()
506 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status, in TEST_P()
567 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status, in TEST_P()
879 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status, in TEST_P()
941 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status, in TEST_P()
1002 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
1107 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in testCorruptedCache()
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/
DIDevice.aidl45 …void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in ParcelFile… in prepareModelFromCache() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/
DIDevice.aidl45 …void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in ParcelFile… in prepareModelFromCache() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DIDevice.aidl45 …void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in ParcelFile… in prepareModelFromCache() method
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DDevice.cpp197 nn::GeneralResult<void> prepareModelFromCache( in prepareModelFromCache() function
213 auto result = device->prepareModelFromCache(nnDeadline, nnModelCache, nnDataCache, nnToken); in prepareModelFromCache()
304 ndk::ScopedAStatus Device::prepareModelFromCache( in prepareModelFromCache() function in aidl::android::hardware::neuralnetworks::adapter::Device
308 const auto result = adapter::prepareModelFromCache(kDevice, kExecutor, deadlineNs, modelCache, in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/
DIDevice.aidl45 …void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in ParcelFile… in prepareModelFromCache() method
/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/aidl/android/hardware/neuralnetworks/
DIDevice.aidl432 void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in prepareModelFromCache() method
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/
DDevice.h71 ndk::ScopedAStatus prepareModelFromCache(
/hardware/interfaces/neuralnetworks/utils/common/src/
DInvalidDevice.cpp93 nn::GeneralResult<nn::SharedPreparedModel> InvalidDevice::prepareModelFromCache( in prepareModelFromCache() function in android::hardware::neuralnetworks::utils::InvalidDevice
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DInvalidDevice.h59 ndk::ScopedAStatus prepareModelFromCache(
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
DDevice.cpp226 nn::GeneralResult<void> prepareModelFromCache(const nn::SharedDevice& device, in prepareModelFromCache() function
242 auto result = device->prepareModelFromCache({}, nnModelCache, nnDataCache, nnToken); in prepareModelFromCache()
266 auto result = device->prepareModelFromCache(nnDeadline, nnModelCache, nnDataCache, nnToken); in prepareModelFromCache_1_3()
495 Return<V1_0::ErrorStatus> Device::prepareModelFromCache( in prepareModelFromCache() function in android::hardware::neuralnetworks::adapter::Device
498 auto result = adapter::prepareModelFromCache(kDevice, kExecutor, modelCache, dataCache, token, in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DInvalidDevice.h59 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DDevice.h71 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DDevice.h72 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DDevice.h73 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(

12