Home
last modified time | relevance | path

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

123456

/aosp_15_r20/hardware/interfaces/neuralnetworks/1.2/vts/functional/
H A 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 …]
/aosp_15_r20/hardware/interfaces/neuralnetworks/1.3/vts/functional/
H A 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 …]
/aosp_15_r20/hardware/interfaces/neuralnetworks/1.2/utils/test/
H A DDeviceTest.cpp761 TEST(DeviceTest, prepareModelFromCache) { in TEST() argument
766 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
772 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
784 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
791 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
802 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
808 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
819 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
825 const auto result = device->prepareModelFromCache({}, {}, {}, {}); in TEST()
836 EXPECT_CALL(*mockDevice, prepareModelFromCache(_, _, _, _)) in TEST()
[all …]
/aosp_15_r20/hardware/interfaces/neuralnetworks/aidl/utils/test/
H A 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 …]
/aosp_15_r20/hardware/interfaces/neuralnetworks/utils/common/test/
H A 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 …]
H A DMockDevice.h46 MOCK_METHOD(GeneralResult<SharedPreparedModel>, prepareModelFromCache,
/aosp_15_r20/hardware/interfaces/neuralnetworks/1.2/
H A 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 …]
/aosp_15_r20/hardware/interfaces/neuralnetworks/aidl/vts/functional/
H A 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()
/aosp_15_r20/hardware/interfaces/neuralnetworks/1.3/utils/test/
H A 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()
/aosp_15_r20/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
H A 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()
/aosp_15_r20/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
H A 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()
/aosp_15_r20/out/soong/.intermediates/hardware/interfaces/neuralnetworks/aidl/android.hardware.neuralnetworks-V4-ndk-source/gen/include/aidl/android/hardware/neuralnetworks/
DBnDevice.h72 …::ndk::ScopedAStatus prepareModelFromCache(int64_t in_deadlineNs, const std::vector<::ndk::ScopedF… in prepareModelFromCache() function
73 …return _impl->prepareModelFromCache(in_deadlineNs, in_modelCache, in_dataCache, in_token, in_callb… in prepareModelFromCache()
DIDevice.h91 …virtual ::ndk::ScopedAStatus prepareModelFromCache(int64_t in_deadlineNs, const std::vector<::ndk:…
108 …::ndk::ScopedAStatus prepareModelFromCache(int64_t in_deadlineNs, const std::vector<::ndk::ScopedF…
/aosp_15_r20/external/android-nn-driver/1.2/
H A DArmnnDriver.hpp139 Return<V1_0::ErrorStatus> prepareModelFromCache( in prepareModelFromCache() function in armnn_driver::hal_1_2::ArmnnDriver
146 return ArmnnDriverImpl::prepareModelFromCache(m_Runtime, in prepareModelFromCache()
H A DArmnnDriverImpl.hpp49 static Return<V1_0::ErrorStatus> prepareModelFromCache(
/aosp_15_r20/packages/modules/NeuralNetworks/driver/sample/
DLimitedSupportDevice.cpp204 GeneralResult<SharedPreparedModel> LimitedSupportDevice::prepareModelFromCache( in prepareModelFromCache() function in android::nn::sample::LimitedSupportDevice
207 return kDevice->prepareModelFromCache(deadline, modelCache, dataCache, token); in prepareModelFromCache()
DCanonicalDevice.h61 GeneralResult<SharedPreparedModel> prepareModelFromCache(
/aosp_15_r20/external/android-nn-driver/1.3/
H A DArmnnDriver.hpp265 Return<V1_0::ErrorStatus> prepareModelFromCache( in prepareModelFromCache() function in armnn_driver::hal_1_3::ArmnnDriver
272 return hal_1_2::ArmnnDriverImpl::prepareModelFromCache(m_Runtime, in prepareModelFromCache()
/aosp_15_r20/hardware/interfaces/neuralnetworks/1.2/utils/src/
H A DDevice.cpp264 nn::GeneralResult<nn::SharedPreparedModel> Device::prepareModelFromCache( in prepareModelFromCache() function in android::hardware::neuralnetworks::V1_2::utils::Device
274 const auto ret = kDevice->prepareModelFromCache(hidlModelCache, hidlDataCache, hidlToken, cb); in prepareModelFromCache()
/aosp_15_r20/hardware/interfaces/neuralnetworks/utils/common/src/
H A DResilientDevice.cpp200 nn::GeneralResult<nn::SharedPreparedModel> ResilientDevice::prepareModelFromCache( in prepareModelFromCache() function in android::hardware::neuralnetworks::utils::ResilientDevice
260 return device.prepareModelFromCache(deadline, modelCache, dataCache, token); in prepareModelFromCacheInternal()
/aosp_15_r20/hardware/interfaces/neuralnetworks/aidl/utils/src/
H A DDevice.cpp255 nn::GeneralResult<nn::SharedPreparedModel> Device::prepareModelFromCache( in prepareModelFromCache() function in aidl::android::hardware::neuralnetworks::utils::Device
266 const auto ret = kDevice->prepareModelFromCache(aidlDeadline, aidlModelCache, aidlDataCache, in prepareModelFromCache()
/aosp_15_r20/out/soong/.intermediates/hardware/interfaces/neuralnetworks/aidl/android.hardware.neuralnetworks-V4-ndk-source/gen/android/hardware/neuralnetworks/
DIDevice.cpp225 …::ndk::ScopedAStatus _aidl_status = _aidl_impl->prepareModelFromCache(in_deadlineNs, in_modelCache… in _aidl_android_hardware_neuralnetworks_IDevice_onTransact()
625 ::ndk::ScopedAStatus BpDevice::prepareModelFromCache(int64_t in_deadlineNs, const std::vector<::ndk… in prepareModelFromCache() function in aidl::android::hardware::neuralnetworks::BpDevice
660 …_aidl_status = IDevice::getDefaultImpl()->prepareModelFromCache(in_deadlineNs, in_modelCache, in_d… in prepareModelFromCache()
911 ::ndk::ScopedAStatus IDeviceDefault::prepareModelFromCache(int64_t /*in_deadlineNs*/, const std::ve… in prepareModelFromCache() function in aidl::android::hardware::neuralnetworks::IDeviceDefault
/aosp_15_r20/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/
H A DIDevice.aidl45 …void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in ParcelFile… in prepareModelFromCache() method
/aosp_15_r20/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
H A DIDevice.aidl45 …void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in ParcelFile… in prepareModelFromCache() method
/aosp_15_r20/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/
H A DIDevice.aidl45 …void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in ParcelFile… in prepareModelFromCache() method

123456