Lines Matching refs:V1_0
36 void NotifyCallbackAndCheck(const sp<V1_0::IPreparedModelCallback>& callback, in NotifyCallbackAndCheck()
37 V1_0::ErrorStatus errorStatus, in NotifyCallbackAndCheck()
38 const sp<V1_0::IPreparedModel>& preparedModelPtr) in NotifyCallbackAndCheck()
49 Return<V1_0::ErrorStatus> FailPrepareModel(V1_0::ErrorStatus error, in FailPrepareModel()
51 const sp<V1_0::IPreparedModelCallback>& callback) in FailPrepareModel()
64 Return<V1_0::ErrorStatus> ArmnnDriverImpl<HalPolicy>::prepareModel( in prepareModel()
69 const sp<V1_0::IPreparedModelCallback>& cb, in prepareModel()
79 return V1_0::ErrorStatus::INVALID_ARGUMENT; in prepareModel()
84 return FailPrepareModel(V1_0::ErrorStatus::DEVICE_UNAVAILABLE, "Device unavailable", cb); in prepareModel()
89 … return FailPrepareModel(V1_0::ErrorStatus::INVALID_ARGUMENT, "Invalid model passed as input", cb); in prepareModel()
102 FailPrepareModel(V1_0::ErrorStatus::GENERAL_FAILURE, "ModelToINetworkConverter failed", cb); in prepareModel()
103 return V1_0::ErrorStatus::NONE; in prepareModel()
150 FailPrepareModel(V1_0::ErrorStatus::GENERAL_FAILURE, message.str(), cb); in prepareModel()
151 return V1_0::ErrorStatus::NONE; in prepareModel()
163 FailPrepareModel(V1_0::ErrorStatus::GENERAL_FAILURE, message.str(), cb); in prepareModel()
164 return V1_0::ErrorStatus::NONE; in prepareModel()
182 … return FailPrepareModel(V1_0::ErrorStatus::GENERAL_FAILURE, "Network could not be loaded", cb); in prepareModel()
189 FailPrepareModel(V1_0::ErrorStatus::GENERAL_FAILURE, message.str(), cb); in prepareModel()
190 return V1_0::ErrorStatus::NONE; in prepareModel()
220 … return FailPrepareModel(V1_0::ErrorStatus::GENERAL_FAILURE, "Network could not be executed", cb); in prepareModel()
238 NotifyCallbackAndCheck(cb, V1_0::ErrorStatus::NONE, preparedModel); in prepareModel()
243 return V1_0::ErrorStatus::NONE; in prepareModel()
321 Return<V1_0::DeviceStatus> ArmnnDriverImpl<HalPolicy>::getStatus() in getStatus()
325 return V1_0::DeviceStatus::AVAILABLE; in getStatus()