• Home
  • Raw
  • Download

Lines Matching refs:hardware

61 hardware::Return<void> SampleDriver::getCapabilities(getCapabilities_cb cb) {  in getCapabilities()
71 hardware::Return<void> SampleDriver::getCapabilities_1_1(getCapabilities_1_1_cb cb) { in getCapabilities_1_1()
81 hardware::Return<void> SampleDriver::getCapabilities_1_2(getCapabilities_1_2_cb cb) { in getCapabilities_1_2()
91 hardware::Return<void> SampleDriver::getVersionString(getVersionString_cb cb) { in getVersionString()
95 return hardware::Void(); in getVersionString()
98 hardware::Return<void> SampleDriver::getType(getType_cb cb) { in getType()
101 return hardware::Void(); in getType()
104 hardware::Return<void> SampleDriver::getSupportedExtensions(getSupportedExtensions_cb cb) { in getSupportedExtensions()
108 return hardware::Void(); in getSupportedExtensions()
111 hardware::Return<void> SampleDriver::getSupportedOperations(const V1_0::Model& model, in getSupportedOperations()
118 return hardware::Void(); in getSupportedOperations()
122 [&](V1_3::ErrorStatus status, const hardware::hidl_vec<bool>& supported) { in getSupportedOperations()
127 hardware::Return<void> SampleDriver::getSupportedOperations_1_1(const V1_1::Model& model, in getSupportedOperations_1_1()
134 return hardware::Void(); in getSupportedOperations_1_1()
138 [&](V1_3::ErrorStatus status, const hardware::hidl_vec<bool>& supported) { in getSupportedOperations_1_1()
143 hardware::Return<void> SampleDriver::getSupportedOperations_1_2(const V1_2::Model& model, in getSupportedOperations_1_2()
150 return hardware::Void(); in getSupportedOperations_1_2()
154 [&](V1_3::ErrorStatus status, const hardware::hidl_vec<bool>& supported) { in getSupportedOperations_1_2()
159 hardware::Return<void> SampleDriver::getNumberOfCacheFilesNeeded( in getNumberOfCacheFilesNeeded()
165 return hardware::Void(); in getNumberOfCacheFilesNeeded()
168 hardware::Return<V1_0::ErrorStatus> SampleDriver::prepareModel( in prepareModel()
177 hardware::Return<V1_0::ErrorStatus> SampleDriver::prepareModel_1_1( in prepareModel_1_1()
186 hardware::Return<V1_0::ErrorStatus> SampleDriver::prepareModel_1_2( in prepareModel_1_2()
188 const hardware::hidl_vec<hardware::hidl_handle>&, in prepareModel_1_2()
189 const hardware::hidl_vec<hardware::hidl_handle>&, const HalCacheToken&, in prepareModel_1_2()
197 hardware::Return<V1_3::ErrorStatus> SampleDriver::prepareModel_1_3( in prepareModel_1_3()
199 const V1_3::OptionalTimePoint& deadline, const hardware::hidl_vec<hardware::hidl_handle>&, in prepareModel_1_3()
200 const hardware::hidl_vec<hardware::hidl_handle>&, const HalCacheToken&, in prepareModel_1_3()
206 hardware::Return<V1_0::ErrorStatus> SampleDriver::prepareModelFromCache( in prepareModelFromCache()
207 const hardware::hidl_vec<hardware::hidl_handle>&, in prepareModelFromCache()
208 const hardware::hidl_vec<hardware::hidl_handle>&, const HalCacheToken&, in prepareModelFromCache()
216 hardware::Return<V1_3::ErrorStatus> SampleDriver::prepareModelFromCache_1_3( in prepareModelFromCache_1_3()
218 const hardware::hidl_vec<hardware::hidl_handle>&, in prepareModelFromCache_1_3()
219 const hardware::hidl_vec<hardware::hidl_handle>&, const HalCacheToken&, in prepareModelFromCache_1_3()
227 hardware::Return<V1_0::DeviceStatus> SampleDriver::getStatus() { in getStatus()
247 hardware::Return<void> SampleDriver::allocate( in allocate()
249 const hardware::hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels, in allocate()
250 const hardware::hidl_vec<V1_3::BufferRole>& inputRoles, in allocate()
251 const hardware::hidl_vec<V1_3::BufferRole>& outputRoles, allocate_cb cb) { in allocate()
269 return hardware::Void(); in allocate()
275 return hardware::Void(); in allocate()
285 return hardware::Void(); in allocate()
293 return hardware::Void(); in allocate()
300 return hardware::Void(); in allocate()
307 return hardware::Void(); in allocate()
311 android::hardware::configureRpcThreadpool(4, true); in run()
316 android::hardware::joinRpcThreadpool(); in run()
329 hardware::Return<V1_3::ErrorStatus> SampleBuffer::copyTo(const hardware::hidl_memory& dst) { in copyTo()
345 static V1_3::ErrorStatus copyFromInternal(const hardware::hidl_memory& src, in copyFromInternal()
346 const hardware::hidl_vec<uint32_t>& dimensions, in copyFromInternal()
364 hardware::Return<V1_3::ErrorStatus> SampleBuffer::copyFrom( in copyFrom()
365 const hardware::hidl_memory& src, const hardware::hidl_vec<uint32_t>& dimensions) { in copyFrom()
422 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes) { in updateDeviceMemories()
493 hardware::hidl_vec<V1_2::OutputShape> outputShapes = convertToV1_2(executor.getOutputShapes()); in asyncExecute()
554 hardware::Return<V1_0::ErrorStatus> SamplePreparedModel::execute( in execute()
562 hardware::Return<V1_0::ErrorStatus> SamplePreparedModel::execute_1_2( in execute_1_2()
570 hardware::Return<V1_3::ErrorStatus> SamplePreparedModel::execute_1_3( in execute_1_3()
579 static std::tuple<V1_3::ErrorStatus, hardware::hidl_vec<V1_2::OutputShape>, V1_2::Timing>
625 hardware::hidl_vec<V1_2::OutputShape> outputShapes = convertToV1_2(executor.getOutputShapes()); in executeSynchronouslyBase()
645 hardware::Return<void> SamplePreparedModel::executeSynchronously(const V1_0::Request& request, in executeSynchronously()
651 return hardware::Void(); in executeSynchronously()
654 hardware::Return<void> SamplePreparedModel::executeSynchronously_1_3( in executeSynchronously_1_3()
661 return hardware::Void(); in executeSynchronously_1_3()
665 hardware::Return<void> SamplePreparedModel::executeFenced( in executeFenced()
666 const V1_3::Request& request, const hardware::hidl_vec<hardware::hidl_handle>& waitFor, in executeFenced()
678 cb(V1_3::ErrorStatus::INVALID_ARGUMENT, hardware::hidl_handle(nullptr), nullptr); in executeFenced()
679 return hardware::Void(); in executeFenced()
683 cb(V1_3::ErrorStatus::MISSED_DEADLINE_PERSISTENT, hardware::hidl_handle(nullptr), nullptr); in executeFenced()
684 return hardware::Void(); in executeFenced()
690 cb(V1_3::ErrorStatus::INVALID_ARGUMENT, hardware::hidl_handle(nullptr), nullptr); in executeFenced()
691 return hardware::Void(); in executeFenced()
696 cb(V1_3::ErrorStatus::GENERAL_FAILURE, hardware::hidl_handle(nullptr), nullptr); in executeFenced()
697 return hardware::Void(); in executeFenced()
718 cb(poolStatus, hardware::hidl_handle(nullptr), nullptr); in executeFenced()
719 return hardware::Void(); in executeFenced()
739 cb(executionStatus, hardware::hidl_handle(nullptr), nullptr); in executeFenced()
740 return hardware::Void(); in executeFenced()
769 cb(executionStatus, hardware::hidl_handle(nullptr), fencedExecutionCallback); in executeFenced()
770 return hardware::Void(); in executeFenced()
789 void addCacheEntry(const hardware::hidl_memory& memory, int32_t slot) override { in addCacheEntry()
795 std::tuple<V1_0::ErrorStatus, hardware::hidl_vec<V1_2::OutputShape>, V1_2::Timing> execute( in execute()
811 hardware::hidl_vec<V1_3::Request::MemoryPool> pools(slots.size()); in execute()
842 hardware::hidl_vec<V1_2::OutputShape> outputShapes = in execute()
879 hardware::Return<void> SamplePreparedModel::configureExecutionBurst( in configureExecutionBurst()
910 return hardware::Void(); in configureExecutionBurst()