Home
last modified time | relevance | path

Searched refs:_hidl_cb (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/native/services/sensorservice/hidl/
DSensorManager.cpp69 Return<void> SensorManager::getSensorList(getSensorList_cb _hidl_cb) { in getSensorList() argument
74 _hidl_cb({}, Result::UNKNOWN_ERROR); in getSensorList()
82 _hidl_cb(ret, Result::OK); in getSensorList()
86 Return<void> SensorManager::getDefaultSensor(SensorType type, getDefaultSensor_cb _hidl_cb) { in getDefaultSensor() argument
89 _hidl_cb({}, Result::NOT_EXIST); in getDefaultSensor()
92 _hidl_cb(convertSensor(*sensor), Result::OK); in getDefaultSensor()
98 const native_handle_t* handle, const Callback& _hidl_cb) { in createDirectChannel() argument
103 _hidl_cb(nullptr, convertResult(channelId)); in createDirectChannel()
107 _hidl_cb(nullptr, Result::UNKNOWN_ERROR); in createDirectChannel()
111 _hidl_cb(sp<IDirectReportChannel>(new DirectReportChannel(manager, channelId)), in createDirectChannel()
[all …]
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DWGraphicBufferProducer.h69 …Return<void> requestBuffer(int32_t slot, HGraphicBufferProducer::requestBuffer_cb _hidl_cb) overri… in requestBuffer()
76 _hidl_cb(static_cast<int32_t>(status), anwBuffer); in requestBuffer()
92 bool getFrameTimestamps, HGraphicBufferProducer::dequeueBuffer_cb _hidl_cb) override { in dequeueBuffer()
107 _hidl_cb(static_cast<int32_t>(status), in dequeueBuffer()
117 _hidl_cb(static_cast<int32_t>(status), in dequeueBuffer()
125 _hidl_cb(static_cast<int32_t>(status), in dequeueBuffer()
144 Return<void> detachNextBuffer(HGraphicBufferProducer::detachNextBuffer_cb _hidl_cb) override { in detachNextBuffer()
154 _hidl_cb(static_cast<int32_t>(status), tBuffer, tFence); in detachNextBuffer()
162 _hidl_cb(static_cast<int32_t>(status), tBuffer, tFence); in detachNextBuffer()
166 _hidl_cb(static_cast<int32_t>(status), tBuffer, tFence); in detachNextBuffer()
[all …]
/frameworks/native/libs/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.cpp85 requestBuffer_cb _hidl_cb) { in requestBuffer() argument
95 _hidl_cb(converted ? hStatus : HStatus::UNKNOWN_ERROR, in requestBuffer()
108 dequeueBuffer_cb _hidl_cb) { in dequeueBuffer() argument
129 _hidl_cb(converted ? hStatus : HStatus::UNKNOWN_ERROR, in dequeueBuffer()
143 detachNextBuffer_cb _hidl_cb) { in detachNextBuffer() argument
153 _hidl_cb(converted ? hStatus : HStatus::UNKNOWN_ERROR, in detachNextBuffer()
162 attachBuffer_cb _hidl_cb) { in attachBuffer() argument
165 _hidl_cb(HStatus::UNKNOWN_ERROR, in attachBuffer()
179 _hidl_cb(converted ? hStatus : HStatus::UNKNOWN_ERROR, in attachBuffer()
188 queueBuffer_cb _hidl_cb) { in queueBuffer() argument
[all …]
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraService.cpp64 getCameraCharacteristics_cb _hidl_cb) { in getCameraCharacteristics() argument
84 _hidl_cb(status, hidlMetadata); in getCameraCharacteristics()
89 _hidl_cb(HStatus::UNKNOWN_ERROR, hidlMetadata); in getCameraCharacteristics()
94 _hidl_cb(status, hidlMetadata); in getCameraCharacteristics()
101 connectDevice_cb _hidl_cb) { in connectDevice() argument
105 _hidl_cb(HStatus::UNKNOWN_ERROR, nullptr); in connectDevice()
114 _hidl_cb(HStatus::UNKNOWN_ERROR, nullptr); in connectDevice()
127 _hidl_cb(status, nullptr); in connectDevice()
136 _hidl_cb(HStatus::UNKNOWN_ERROR, nullptr); in connectDevice()
140 _hidl_cb(status, hDeviceRemote); in connectDevice()
[all …]
DHidlCameraDeviceUser.cpp88 getCaptureRequestMetadataQueue_cb _hidl_cb) { in getCaptureRequestMetadataQueue() argument
90 _hidl_cb(*mCaptureRequestMetadataQueue->getDesc()); in getCaptureRequestMetadataQueue()
96 getCaptureResultMetadataQueue_cb _hidl_cb) { in getCaptureResultMetadataQueue() argument
98 _hidl_cb(*mCaptureResultMetadataQueue->getDesc()); in getCaptureResultMetadataQueue()
167 submitRequestList_cb _hidl_cb) { in submitRequestList() argument
178 _hidl_cb(HStatus::ILLEGAL_ARGUMENT, hSubmitInfo); in submitRequestList()
185 _hidl_cb(HStatus::NO_ERROR, hSubmitInfo); in submitRequestList()
189 Return<void> HidlCameraDeviceUser::cancelRepeatingRequest(cancelRepeatingRequest_cb _hidl_cb) { in cancelRepeatingRequest() argument
192 _hidl_cb(B2HStatus(ret), lastFrameNumber); in cancelRepeatingRequest()
238 createDefaultRequest_cb _hidl_cb) { in createDefaultRequest() argument
[all …]
DHidlCameraDeviceUser.h72 getCaptureRequestMetadataQueue_cb _hidl_cb) override;
75 getCaptureResultMetadataQueue_cb _hidl_cb) override;
78 bool streaming, submitRequestList_cb _hidl_cb) override;
80 virtual Return<void> cancelRepeatingRequest(cancelRepeatingRequest_cb _hidl_cb) override;
94 createStream_cb _hidl_cb) override;
97 createDefaultRequest_cb _hidl_cb) override;
101 virtual Return<void> flush(flush_cb _hidl_cb) override;
108 isSessionConfigurationSupported_cb _hidl_cb) override;
DHidlCameraService.h58 const hidl_string& cameraId, connectDevice_cb _hidl_cb) override;
61 addListener_cb _hidl_cb) override;
66 getCameraCharacteristics_cb _hidl_cb) override;
68 Return<void> getCameraVendorTagSections(getCameraVendorTagSections_cb _hidl_cb) override;
71 addListener_2_1_cb _hidl_cb) override;
/frameworks/av/media/codec2/hal/hidl/1.0/utils/
DConfigurable.cpp54 Return<void> CachedConfigurable::getName(getName_cb _hidl_cb) { in getName() argument
55 _hidl_cb(mIntf->getName()); in getName()
62 query_cb _hidl_cb) { in query() argument
77 _hidl_cb(static_cast<Status>(c2res), params); in query()
84 config_cb _hidl_cb) { in config() argument
90 _hidl_cb(Status::CORRUPTED, in config()
120 _hidl_cb((Status)c2res, failures, outParams); in config()
127 querySupportedParams_cb _hidl_cb) { in querySupportedParams() argument
147 _hidl_cb(res, params); in querySupportedParams()
154 querySupportedValues_cb _hidl_cb) { in querySupportedValues() argument
[all …]
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.h59 requestBuffer_cb _hidl_cb) override;
65 dequeueBuffer_cb _hidl_cb) override;
70 detachNextBuffer_cb _hidl_cb) override;
75 attachBuffer_cb _hidl_cb) override;
80 queueBuffer_cb _hidl_cb) override;
86 virtual Return<void> query(int32_t what, query_cb _hidl_cb) override;
92 connect_cb _hidl_cb) override;
108 virtual Return<void> getConsumerName(getConsumerName_cb _hidl_cb) override;
/frameworks/native/services/sensorservice/hidl/include/sensorservicehidl/
DSensorManager.h50 Return<void> getSensorList(getSensorList_cb _hidl_cb) override;
51 Return<void> getDefaultSensor(SensorType type, getDefaultSensor_cb _hidl_cb) override;
52 …rectChannel(const hidl_memory& mem, uint64_t size, createAshmemDirectChannel_cb _hidl_cb) override;
53 …Channel(const hidl_handle& buffer, uint64_t size, createGrallocDirectChannel_cb _hidl_cb) override;
54 …turn<void> createEventQueue(const sp<IEventQueueCallback> &callback, createEventQueue_cb _hidl_cb);
/frameworks/av/media/libstagefright/omx/1.0/
DOmx.cpp54 Return<void> Omx::listNodes(listNodes_cb _hidl_cb) { in listNodes() argument
80 _hidl_cb(toStatus(OK), tList); in listNodes()
87 allocateNode_cb _hidl_cb) { in allocateNode() argument
96 _hidl_cb(toStatus(NO_MEMORY), nullptr); in allocateNode()
113 _hidl_cb(toStatus(StatusFromOMXError(err)), nullptr); in allocateNode()
144 _hidl_cb(toStatus(OK), new TWOmxNode(instance)); in allocateNode()
148 Return<void> Omx::createInputSurface(createInputSurface_cb _hidl_cb) { in createInputSurface() argument
155 _hidl_cb(toStatus(err), nullptr, nullptr); in createInputSurface()
159 _hidl_cb(toStatus(OK), in createInputSurface()
DOmxStore.cpp138 Return<void> OmxStore::listServiceAttributes(listServiceAttributes_cb _hidl_cb) { in listServiceAttributes() argument
140 _hidl_cb(Status::NO_ERROR, mServiceAttributeList); in listServiceAttributes()
142 _hidl_cb(mParsingStatus, hidl_vec<ServiceAttribute>()); in listServiceAttributes()
147 Return<void> OmxStore::getNodePrefix(getNodePrefix_cb _hidl_cb) { in getNodePrefix() argument
148 _hidl_cb(mPrefix); in getNodePrefix()
152 Return<void> OmxStore::listRoles(listRoles_cb _hidl_cb) { in listRoles() argument
153 _hidl_cb(mRoleList); in listRoles()
DWOmxNode.cpp263 getParameter_cb _hidl_cb) { in getParameter() argument
269 _hidl_cb(status, params); in getParameter()
284 getConfig_cb _hidl_cb) { in getConfig() argument
290 _hidl_cb(status, config); in getConfig()
319 configureVideoTunnelMode_cb _hidl_cb) { in configureVideoTunnelMode() argument
326 _hidl_cb(status, hidl_handle(sidebandHandle)); in configureVideoTunnelMode()
331 uint32_t portIndex, getGraphicBufferUsage_cb _hidl_cb) { in getGraphicBufferUsage() argument
335 _hidl_cb(status, usage); in getGraphicBufferUsage()
347 allocateSecureBuffer_cb _hidl_cb) { in allocateSecureBuffer() argument
357 _hidl_cb(status, buffer, nativeHandle == nullptr ? in allocateSecureBuffer()
[all …]
/frameworks/av/media/codec2/hal/hidl/1.2/utils/include/codec2/hidl/1.2/
DComponentStore.h87 createComponent_cb _hidl_cb) override;
90 createInterface_cb _hidl_cb) override;
91 virtual Return<void> listComponents(listComponents_cb _hidl_cb) override;
93 createInputSurface_cb _hidl_cb) override;
96 getStructDescriptors_cb _hidl_cb) override;
108 createComponent_1_1_cb _hidl_cb) override;
115 createComponent_1_2_cb _hidl_cb) override;
DComponent.h82 virtual Return<void> flush(flush_cb _hidl_cb) override;
89 connectToInputSurface_cb _hidl_cb) override;
94 connectToOmxInputSurface_cb _hidl_cb) override;
98 createBlockPool_cb _hidl_cb) override;
107 uint32_t avSyncHwId, configureVideoTunnel_cb _hidl_cb) override;
/frameworks/av/media/libmedia/omx/1.0/
DWOmxNode.cpp260 getParameter_cb _hidl_cb) { in getParameter() argument
266 _hidl_cb(status, params); in getParameter()
281 getConfig_cb _hidl_cb) { in getConfig() argument
287 _hidl_cb(status, config); in getConfig()
316 configureVideoTunnelMode_cb _hidl_cb) { in configureVideoTunnelMode() argument
323 _hidl_cb(status, hidl_handle(sidebandHandle)); in configureVideoTunnelMode()
328 uint32_t portIndex, getGraphicBufferUsage_cb _hidl_cb) { in getGraphicBufferUsage() argument
332 _hidl_cb(status, usage); in getGraphicBufferUsage()
344 allocateSecureBuffer_cb _hidl_cb) { in allocateSecureBuffer() argument
354 _hidl_cb(status, buffer, nativeHandle == nullptr ? in allocateSecureBuffer()
[all …]
/frameworks/av/media/codec2/hal/hidl/1.1/utils/include/codec2/hidl/1.1/
DComponentStore.h87 createComponent_cb _hidl_cb) override;
90 createInterface_cb _hidl_cb) override;
91 virtual Return<void> listComponents(listComponents_cb _hidl_cb) override;
93 createInputSurface_cb _hidl_cb) override;
96 getStructDescriptors_cb _hidl_cb) override;
108 createComponent_1_1_cb _hidl_cb) override;
DComponent.h82 virtual Return<void> flush(flush_cb _hidl_cb) override;
89 connectToInputSurface_cb _hidl_cb) override;
94 connectToOmxInputSurface_cb _hidl_cb) override;
98 createBlockPool_cb _hidl_cb) override;
107 uint32_t avSyncHwId, configureVideoTunnel_cb _hidl_cb) override;
/frameworks/av/media/codec2/hal/hidl/1.0/utils/include/codec2/hidl/1.0/
DConfigurable.h115 virtual Return<void> getName(getName_cb _hidl_cb) override;
120 query_cb _hidl_cb) override;
125 config_cb _hidl_cb) override;
130 querySupportedParams_cb _hidl_cb) override;
135 querySupportedValues_cb _hidl_cb) override;
DComponentStore.h86 createComponent_cb _hidl_cb) override;
89 createInterface_cb _hidl_cb) override;
90 virtual Return<void> listComponents(listComponents_cb _hidl_cb) override;
92 createInputSurface_cb _hidl_cb) override;
95 getStructDescriptors_cb _hidl_cb) override;
/frameworks/av/media/codec2/hal/hidl/1.2/utils/
DComponentStore.cpp202 createComponent_cb _hidl_cb) { in createComponent() argument
229 _hidl_cb(status, component); in createComponent()
235 createInterface_cb _hidl_cb) { in createInterface() argument
246 _hidl_cb(static_cast<Status>(res), interface); in createInterface()
250 Return<void> ComponentStore::listComponents(listComponents_cb _hidl_cb) { in listComponents() argument
265 _hidl_cb(Status::OK, traits); in listComponents()
269 Return<void> ComponentStore::createInputSurface(createInputSurface_cb _hidl_cb) { in createInputSurface() argument
272 _hidl_cb(Status::CORRUPTED, nullptr); in createInputSurface()
281 _hidl_cb(inputSurface ? Status::OK : Status::NO_MEMORY, in createInputSurface()
298 getStructDescriptors_cb _hidl_cb) { in getStructDescriptors() argument
[all …]
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DWOmxNode.h116 getParameter_cb _hidl_cb) override;
121 getConfig_cb _hidl_cb) override;
130 configureVideoTunnelMode_cb _hidl_cb) override;
133 getGraphicBufferUsage_cb _hidl_cb) override;
138 allocateSecureBuffer_cb _hidl_cb) override;
141 useBuffer_cb _hidl_cb) override;
152 getExtensionIndex_cb _hidl_cb) override;
/frameworks/av/media/libmedia/include/media/omx/1.0/
DWOmxNode.h115 getParameter_cb _hidl_cb) override;
120 getConfig_cb _hidl_cb) override;
129 configureVideoTunnelMode_cb _hidl_cb) override;
132 getGraphicBufferUsage_cb _hidl_cb) override;
137 allocateSecureBuffer_cb _hidl_cb) override;
140 useBuffer_cb _hidl_cb) override;
151 getExtensionIndex_cb _hidl_cb) override;
/frameworks/av/media/codec2/hal/hidl/1.1/utils/
DComponentStore.cpp202 createComponent_cb _hidl_cb) { in createComponent() argument
229 _hidl_cb(status, component); in createComponent()
235 createInterface_cb _hidl_cb) { in createInterface() argument
246 _hidl_cb(static_cast<Status>(res), interface); in createInterface()
250 Return<void> ComponentStore::listComponents(listComponents_cb _hidl_cb) { in listComponents() argument
265 _hidl_cb(Status::OK, traits); in listComponents()
269 Return<void> ComponentStore::createInputSurface(createInputSurface_cb _hidl_cb) { in createInputSurface() argument
272 _hidl_cb(Status::CORRUPTED, nullptr); in createInputSurface()
281 _hidl_cb(inputSurface ? Status::OK : Status::NO_MEMORY, in createInputSurface()
298 getStructDescriptors_cb _hidl_cb) { in getStructDescriptors() argument
[all …]
/frameworks/av/media/module/bufferpool/1.0/
DConnection.cpp27 Return<void> Connection::fetch(uint64_t transactionId, uint32_t bufferId, fetch_cb _hidl_cb) { in fetch() argument
38 _hidl_cb(status, buffer); in fetch()
50 _hidl_cb(status, buffer); in fetch()

123