Home
last modified time | relevance | path

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

123

/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DDrmPlugin.h74 Return<void> openSession(openSession_cb _hidl_cb) override;
76 openSession_cb _hidl_cb) override;
86 getKeyRequest_cb _hidl_cb) override;
94 getKeyRequest_1_1_cb _hidl_cb) override;
102 getKeyRequest_1_2_cb _hidl_cb) override;
107 provideKeyResponse_cb _hidl_cb) override;
122 queryKeyStatus_cb _hidl_cb) override;
127 getProvisionRequest_cb _hidl_cb) { in getProvisionRequest()
132 _hidl_cb(Status::ERROR_DRM_CANNOT_HANDLE, hidl_vec<uint8_t>(), defaultUrl); in getProvisionRequest()
139 getProvisionRequest_1_2_cb _hidl_cb) { in getProvisionRequest_1_2()
[all …]
/frameworks/native/services/sensorservice/hidl/
DSensorManager.cpp66 Return<void> SensorManager::getSensorList(getSensorList_cb _hidl_cb) { in getSensorList() argument
71 _hidl_cb({}, Result::UNKNOWN_ERROR); in getSensorList()
79 _hidl_cb(ret, Result::OK); in getSensorList()
83 Return<void> SensorManager::getDefaultSensor(SensorType type, getDefaultSensor_cb _hidl_cb) { in getDefaultSensor() argument
86 _hidl_cb({}, Result::NOT_EXIST); in getDefaultSensor()
89 _hidl_cb(convertSensor(*sensor), Result::OK); in getDefaultSensor()
95 const native_handle_t* handle, const Callback& _hidl_cb) { in createDirectChannel() argument
100 _hidl_cb(nullptr, convertResult(channelId)); in createDirectChannel()
104 _hidl_cb(nullptr, Result::UNKNOWN_ERROR); in createDirectChannel()
108 _hidl_cb(sp<IDirectReportChannel>(new DirectReportChannel(manager, channelId)), in createDirectChannel()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DCryptoPlugin.cpp55 decrypt_cb _hidl_cb) { in decrypt() argument
71 _hidl_cb(status, bytesWritten, detailedError); in decrypt()
88 decrypt_1_2_cb _hidl_cb) { in decrypt_1_2() argument
92 _hidl_cb(Status_V1_2::ERROR_DRM_CANNOT_HANDLE, 0, in decrypt_1_2()
98 _hidl_cb(Status_V1_2::ERROR_DRM_CANNOT_HANDLE, 0, in decrypt_1_2()
106 _hidl_cb(Status_V1_2::ERROR_DRM_CANNOT_HANDLE, 0, in decrypt_1_2()
111 _hidl_cb(Status_V1_2::ERROR_DRM_CANNOT_HANDLE, 0, in decrypt_1_2()
118 _hidl_cb(Status_V1_2::ERROR_DRM_CANNOT_HANDLE, 0, "source is a nullptr"); in decrypt_1_2()
123 _hidl_cb(Status_V1_2::ERROR_DRM_CANNOT_HANDLE, 0, "invalid buffer size"); in decrypt_1_2()
135 _hidl_cb(Status_V1_2::ERROR_DRM_CANNOT_HANDLE, 0, "destination is a nullptr"); in decrypt_1_2()
[all …]
DDrmPlugin.cpp122 Return<void> DrmPlugin::openSession(openSession_cb _hidl_cb) { in openSession() argument
128 _hidl_cb(status, toHidlVec(sessionId)); in openSession()
134 openSession_1_1_cb _hidl_cb) { in openSession_1_1() argument
140 _hidl_cb(status, toHidlVec(sessionId)); in openSession_1_1()
242 getKeyRequest_cb _hidl_cb) { in getKeyRequest() argument
252 _hidl_cb(toStatus_1_0(status), toHidlVec(request), in getKeyRequest()
264 getKeyRequest_1_1_cb _hidl_cb) { in getKeyRequest_1_1() argument
274 _hidl_cb(toStatus_1_0(status), toHidlVec(request), in getKeyRequest_1_1()
285 getKeyRequest_1_2_cb _hidl_cb) { in getKeyRequest_1_2() argument
295 _hidl_cb(status, toHidlVec(request), keyRequestType, hidl_string(defaultUrl)); in getKeyRequest_1_2()
[all …]
DCryptoFactory.cpp42 createPlugin_cb _hidl_cb) { in createPlugin() argument
47 _hidl_cb(Status::BAD_VALUE, nullptr); in createPlugin()
54 _hidl_cb(Status::OK, cryptoPlugin); in createPlugin()
57 _hidl_cb(status, nullptr); in createPlugin()
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DWGraphicBufferProducer.h68 …Return<void> requestBuffer(int32_t slot, HGraphicBufferProducer::requestBuffer_cb _hidl_cb) overri… in requestBuffer()
75 _hidl_cb(static_cast<int32_t>(status), anwBuffer); in requestBuffer()
91 bool getFrameTimestamps, HGraphicBufferProducer::dequeueBuffer_cb _hidl_cb) override { in dequeueBuffer()
106 _hidl_cb(static_cast<int32_t>(status), in dequeueBuffer()
116 _hidl_cb(static_cast<int32_t>(status), in dequeueBuffer()
124 _hidl_cb(static_cast<int32_t>(status), in dequeueBuffer()
143 Return<void> detachNextBuffer(HGraphicBufferProducer::detachNextBuffer_cb _hidl_cb) override { in detachNextBuffer()
153 _hidl_cb(static_cast<int32_t>(status), tBuffer, tFence); in detachNextBuffer()
161 _hidl_cb(static_cast<int32_t>(status), tBuffer, tFence); in detachNextBuffer()
165 _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.cpp58 getCameraCharacteristics_cb _hidl_cb) { in getCameraCharacteristics() argument
76 _hidl_cb(status, hidlMetadata); in getCameraCharacteristics()
81 _hidl_cb(status, hidlMetadata); in getCameraCharacteristics()
88 connectDevice_cb _hidl_cb) { in connectDevice() argument
92 _hidl_cb(HStatus::UNKNOWN_ERROR, nullptr); in connectDevice()
101 _hidl_cb(HStatus::UNKNOWN_ERROR, nullptr); in connectDevice()
112 _hidl_cb(status, nullptr); in connectDevice()
121 _hidl_cb(HStatus::UNKNOWN_ERROR, nullptr); in connectDevice()
125 _hidl_cb(status, hDeviceRemote); in connectDevice()
156 addListener_cb _hidl_cb) { in addListener() argument
[all …]
DHidlCameraDeviceUser.cpp84 getCaptureRequestMetadataQueue_cb _hidl_cb) { in getCaptureRequestMetadataQueue() argument
86 _hidl_cb(*mCaptureRequestMetadataQueue->getDesc()); in getCaptureRequestMetadataQueue()
92 getCaptureResultMetadataQueue_cb _hidl_cb) { in getCaptureResultMetadataQueue() argument
94 _hidl_cb(*mCaptureResultMetadataQueue->getDesc()); in getCaptureResultMetadataQueue()
163 submitRequestList_cb _hidl_cb) { in submitRequestList() argument
174 _hidl_cb(HStatus::ILLEGAL_ARGUMENT, hSubmitInfo); in submitRequestList()
181 _hidl_cb(HStatus::NO_ERROR, hSubmitInfo); in submitRequestList()
185 Return<void> HidlCameraDeviceUser::cancelRepeatingRequest(cancelRepeatingRequest_cb _hidl_cb) { in cancelRepeatingRequest() argument
188 _hidl_cb(B2HStatus(ret), lastFrameNumber); in cancelRepeatingRequest()
226 createDefaultRequest_cb _hidl_cb) { in createDefaultRequest() argument
[all …]
DHidlCameraDeviceUser.h71 getCaptureRequestMetadataQueue_cb _hidl_cb) override;
74 getCaptureResultMetadataQueue_cb _hidl_cb) override;
77 bool streaming, submitRequestList_cb _hidl_cb) override;
79 virtual Return<void> cancelRepeatingRequest(cancelRepeatingRequest_cb _hidl_cb) override;
89 createStream_cb _hidl_cb) override;
92 createDefaultRequest_cb _hidl_cb) override;
96 virtual Return<void> flush(flush_cb _hidl_cb) override;
103 isSessionConfigurationSupported_cb _hidl_cb) override;
/frameworks/native/services/sensorservice/
DSensorsWrapper.h60 virtual Return<void> getSensorsList(ISensors::getSensorsList_cb _hidl_cb) = 0;
74 ISensors::registerDirectChannel_cb _hidl_cb) = 0;
80 ISensors::configDirectReport_cb _hidl_cb) = 0;
82 virtual Return<void> poll(int32_t maxCount, ISensors::poll_cb _hidl_cb) { in poll() argument
84 (void)_hidl_cb; in poll()
108 Return<void> getSensorsList(ISensors::getSensorsList_cb _hidl_cb) override { in getSensorsList() argument
109 return mSensors->getSensorsList(_hidl_cb); in getSensorsList()
134 ISensors::registerDirectChannel_cb _hidl_cb) override { in registerDirectChannel() argument
135 return mSensors->registerDirectChannel(mem, _hidl_cb); in registerDirectChannel()
144 ISensors::configDirectReport_cb _hidl_cb) override { in configDirectReport() argument
[all …]
/frameworks/av/media/codec2/hidl/1.0/utils/
DConfigurable.cpp53 Return<void> CachedConfigurable::getName(getName_cb _hidl_cb) { in getName() argument
54 _hidl_cb(mIntf->getName()); in getName()
61 query_cb _hidl_cb) { in query() argument
76 _hidl_cb(static_cast<Status>(c2res), params); in query()
83 config_cb _hidl_cb) { in config() argument
89 _hidl_cb(Status::CORRUPTED, in config()
119 _hidl_cb((Status)c2res, failures, outParams); in config()
126 querySupportedParams_cb _hidl_cb) { in querySupportedParams() argument
146 _hidl_cb(res, params); in querySupportedParams()
153 querySupportedValues_cb _hidl_cb) { in querySupportedValues() argument
[all …]
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.h58 requestBuffer_cb _hidl_cb) override;
64 dequeueBuffer_cb _hidl_cb) override;
69 detachNextBuffer_cb _hidl_cb) override;
74 attachBuffer_cb _hidl_cb) override;
79 queueBuffer_cb _hidl_cb) override;
85 virtual Return<void> query(int32_t what, query_cb _hidl_cb) override;
91 connect_cb _hidl_cb) override;
107 virtual Return<void> getConsumerName(getConsumerName_cb _hidl_cb) override;
/frameworks/ml/nn/runtime/test/
DTestExecution.cpp308 Return<void> getCapabilities_1_3(getCapabilities_1_3_cb _hidl_cb) override { in getCapabilities_1_3() argument
318 _hidl_cb(V1_3::ErrorStatus::NONE, capabilities); in getCapabilities_1_3()
435 Return<void> getCapabilities_1_2(getCapabilities_1_2_cb _hidl_cb) override { in getCapabilities_1_2() argument
436 return mLatestDriver->getCapabilities_1_2(_hidl_cb); in getCapabilities_1_2()
438 Return<void> getCapabilities_1_1(getCapabilities_1_1_cb _hidl_cb) override { in getCapabilities_1_1() argument
439 return mLatestDriver->getCapabilities_1_1(_hidl_cb); in getCapabilities_1_1()
441 Return<void> getCapabilities(getCapabilities_cb _hidl_cb) override { in getCapabilities() argument
442 return mLatestDriver->getCapabilities(_hidl_cb); in getCapabilities()
445 getSupportedOperations_1_2_cb _hidl_cb) override { in getSupportedOperations_1_2() argument
446 return mLatestDriver->getSupportedOperations_1_2(model, _hidl_cb); in getSupportedOperations_1_2()
[all …]
DTestPartitioningRandom.cpp543 Return<void> getCapabilities_1_3(getCapabilities_1_3_cb _hidl_cb) override { in getCapabilities_1_3() argument
552 _hidl_cb(V1_3::ErrorStatus::NONE, capabilities); in getCapabilities_1_3()
607 Return<void> getCapabilities_1_2(getCapabilities_1_2_cb _hidl_cb) override { in getCapabilities_1_2() argument
608 return mLatestDriver->getCapabilities_1_2(_hidl_cb); in getCapabilities_1_2()
611 getSupportedOperations_1_2_cb _hidl_cb) override { in getSupportedOperations_1_2() argument
612 return mLatestDriver->getSupportedOperations_1_2(model, _hidl_cb); in getSupportedOperations_1_2()
622 Return<void> getVersionString(getVersionString_cb _hidl_cb) override { in getVersionString() argument
623 return mLatestDriver->getVersionString(_hidl_cb); in getVersionString()
625 Return<void> getType(getType_cb _hidl_cb) override { return mLatestDriver->getType(_hidl_cb); } in getType() argument
626 Return<void> getSupportedExtensions(getSupportedExtensions_cb _hidl_cb) { in getSupportedExtensions() argument
[all …]
/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.cpp122 Return<void> OmxStore::listServiceAttributes(listServiceAttributes_cb _hidl_cb) { in listServiceAttributes() argument
124 _hidl_cb(Status::NO_ERROR, mServiceAttributeList); in listServiceAttributes()
126 _hidl_cb(mParsingStatus, hidl_vec<ServiceAttribute>()); in listServiceAttributes()
131 Return<void> OmxStore::getNodePrefix(getNodePrefix_cb _hidl_cb) { in getNodePrefix() argument
132 _hidl_cb(mPrefix); in getNodePrefix()
136 Return<void> OmxStore::listRoles(listRoles_cb _hidl_cb) { in listRoles() argument
137 _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/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/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/hidl/1.0/utils/include/codec2/hidl/1.0/
DConfigurable.h100 virtual Return<void> getName(getName_cb _hidl_cb) override;
105 query_cb _hidl_cb) override;
110 config_cb _hidl_cb) override;
115 querySupportedParams_cb _hidl_cb) override;
120 querySupportedValues_cb _hidl_cb) override;
DComponentStore.h76 createComponent_cb _hidl_cb) override;
79 createInterface_cb _hidl_cb) override;
80 virtual Return<void> listComponents(listComponents_cb _hidl_cb) override;
82 createInputSurface_cb _hidl_cb) override;
85 getStructDescriptors_cb _hidl_cb) override;
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp49 getResourceCost_cb _hidl_cb) override { in getResourceCost()
52 _hidl_cb(Status::OK, resourceCost); in getResourceCost()
60 getCameraCharacteristics_cb _hidl_cb) override { in getCameraCharacteristics()
62 _hidl_cb(Status::OK, cameraCharacteristics); in getCameraCharacteristics()
76 open_cb _hidl_cb) override { in open()
78 _hidl_cb(Status::OK, deviceSession); in open()
112 hardware::Return<void> getVendorTags(getVendorTags_cb _hidl_cb) override { in getVendorTags()
114 _hidl_cb(Status::OK, mVendorTagSections); in getVendorTags()
122 isSetTorchModeSupported_cb _hidl_cb) override { in isSetTorchModeSupported()
124 _hidl_cb(Status::OK, false); in isSetTorchModeSupported()
[all …]
/frameworks/native/services/bufferhub/
DBufferClient.cpp67 Return<void> BufferClient::duplicate(duplicate_cb _hidl_cb) { in duplicate() argument
70 _hidl_cb(/*token=*/hidl_handle(), /*status=*/BufferHubStatus::CLIENT_CLOSED); in duplicate()
77 _hidl_cb(/*token=*/hidl_handle(), /*status=*/BufferHubStatus::BUFFER_FREED); in duplicate()
82 _hidl_cb(/*token=*/token, /*status=*/BufferHubStatus::NO_ERROR); in duplicate()
/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;

123