/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | CompilationCachingTests.cpp | 365 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/ |
D | DeviceTest.cpp | 688 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 …]
|
D | MockDevice.h | 53 MOCK_METHOD(ndk::ScopedAStatus, prepareModelFromCache,
|
/hardware/interfaces/neuralnetworks/1.2/utils/test/ |
D | DeviceTest.cpp | 756 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 …]
|
D | MockDevice.h | 71 MOCK_METHOD(Return<V1_0::ErrorStatus>, prepareModelFromCache,
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | ResilientDeviceTest.cpp | 377 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 …]
|
D | MockDevice.h | 44 MOCK_METHOD(GeneralResult<SharedPreparedModel>, prepareModelFromCache,
|
/hardware/interfaces/neuralnetworks/1.2/ |
D | IDevice.hal | 150 * 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/ |
D | IDevice.aidl | 45 …void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in ParcelFile… in prepareModelFromCache() method
|
/hardware/interfaces/neuralnetworks/1.3/utils/test/ |
D | DeviceTest.cpp | 104 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/ |
D | CompilationCachingTests.cpp | 369 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/ |
D | IDevice.aidl | 429 void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in prepareModelFromCache() method
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | InvalidDevice.h | 56 ndk::ScopedAStatus prepareModelFromCache(
|
D | Device.h | 72 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | InvalidDevice.cpp | 91 nn::GeneralResult<nn::SharedPreparedModel> InvalidDevice::prepareModelFromCache( in prepareModelFromCache() function in android::hardware::neuralnetworks::utils::InvalidDevice
|
D | ResilientDevice.cpp | 198 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/ |
D | Device.h | 70 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Device.h | 70 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | InvalidDevice.h | 58 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Device.h | 72 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
|
/hardware/interfaces/neuralnetworks/utils/adapter/src/ |
D | Device.cpp | 234 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/ |
D | Device.h | 76 Return<V1_0::ErrorStatus> prepareModelFromCache(
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Device.cpp | 262 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/ |
D | Device.h | 89 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Device.cpp | 241 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()
|