/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/1.3/vts/functional/ |
D | CompilationCachingTests.cpp | 368 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/ |
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 …]
|
/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | DeviceTest.cpp | 868 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 …]
|
D | MockDevice.h | 57 MOCK_METHOD(ndk::ScopedAStatus, prepareModelFromCache,
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | ResilientDeviceTest.cpp | 376 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 …]
|
D | MockDevice.h | 46 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/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 | 371 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/ |
D | IDevice.aidl | 45 …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/ |
D | IDevice.aidl | 45 …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/ |
D | IDevice.aidl | 45 …void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in ParcelFile… in prepareModelFromCache() method
|
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/ |
D | Device.cpp | 197 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/ |
D | IDevice.aidl | 45 …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/ |
D | IDevice.aidl | 45 …void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in ParcelFile… in prepareModelFromCache() method
|
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 432 void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in prepareModelFromCache() method
|
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/ |
D | Device.h | 71 ndk::ScopedAStatus prepareModelFromCache(
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | InvalidDevice.cpp | 93 nn::GeneralResult<nn::SharedPreparedModel> InvalidDevice::prepareModelFromCache( in prepareModelFromCache() function in android::hardware::neuralnetworks::utils::InvalidDevice
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | InvalidDevice.h | 59 ndk::ScopedAStatus prepareModelFromCache(
|
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/ |
D | Device.cpp | 226 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/ |
D | InvalidDevice.h | 59 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Device.h | 71 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Device.h | 72 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Device.h | 73 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
|