Home
last modified time | relevance | path

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

12

/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DDrmPlugin.h58 Return<void> openSession(openSession_cb _hidl_cb) override;
60 openSession_cb _hidl_cb) override;
70 getKeyRequest_cb _hidl_cb) override;
78 getKeyRequest_1_1_cb _hidl_cb) override;
83 provideKeyResponse_cb _hidl_cb) override;
104 queryKeyStatus_cb _hidl_cb) override;
109 getProvisionRequest_cb _hidl_cb) { in getProvisionRequest()
114 _hidl_cb(Status::ERROR_DRM_CANNOT_HANDLE, hidl_vec<uint8_t>(), defaultUrl); in getProvisionRequest()
120 provideProvisionResponse_cb _hidl_cb) { in provideProvisionResponse()
123 _hidl_cb(Status::BAD_VALUE, hidl_vec<uint8_t>(), hidl_vec<uint8_t>()); in provideProvisionResponse()
[all …]
DDrmFactory.h48 createPlugin_cb _hidl_cb) override;
DCryptoFactory.h47 createPlugin_cb _hidl_cb) override;
DCryptoPlugin.h81 decrypt_cb _hidl_cb);
/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 …]
DDirectReportChannel.cpp35 configure_cb _hidl_cb) { in configure() argument
38 _hidl_cb(token <= 0 ? 0 : token, in configure()
DDirectReportChannel.h51 configure_cb _hidl_cb) override;
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/
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/av/drm/mediadrm/plugins/clearkey/hidl/
DCryptoPlugin.cpp58 decrypt_cb _hidl_cb) { in decrypt() argument
62 _hidl_cb(Status::ERROR_DRM_CANNOT_HANDLE, 0, in decrypt()
68 _hidl_cb(Status::ERROR_DRM_CANNOT_HANDLE, 0, in decrypt()
76 _hidl_cb(Status::ERROR_DRM_CANNOT_HANDLE, 0, in decrypt()
84 _hidl_cb(Status::ERROR_DRM_CANNOT_HANDLE, 0, "source is a nullptr"); in decrypt()
89 _hidl_cb(Status::ERROR_DRM_CANNOT_HANDLE, 0, "invalid buffer size"); in decrypt()
101 _hidl_cb(Status::ERROR_DRM_CANNOT_HANDLE, 0, "destination is a nullptr"); in decrypt()
106 _hidl_cb(Status::ERROR_DRM_CANNOT_HANDLE, 0, "invalid buffer size"); in decrypt()
131 _hidl_cb(Status::ERROR_DRM_CANNOT_HANDLE, 0, in decrypt()
147 _hidl_cb(Status::OK, static_cast<ssize_t>(offset), ""); in decrypt()
[all …]
DDrmPlugin.cpp104 Return<void> DrmPlugin::openSession(openSession_cb _hidl_cb) { in openSession() argument
109 _hidl_cb(status, toHidlVec(sessionId)); in openSession()
115 openSession_1_1_cb _hidl_cb) { in openSession_1_1() argument
120 _hidl_cb(status, toHidlVec(sessionId)); in openSession_1_1()
178 getKeyRequest_cb _hidl_cb) { in getKeyRequest() argument
188 _hidl_cb(status, toHidlVec(request), in getKeyRequest()
200 getKeyRequest_1_1_cb _hidl_cb) { in getKeyRequest_1_1() argument
210 _hidl_cb(status, toHidlVec(request), keyRequestType, hidl_string(defaultUrl)); in getKeyRequest_1_1()
233 provideKeyResponse_cb _hidl_cb) { in provideKeyResponse() argument
236 _hidl_cb(Status::BAD_VALUE, hidl_vec<uint8_t>()); in provideKeyResponse()
[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()
DDrmFactory.cpp57 createPlugin_cb _hidl_cb) { in createPlugin() argument
64 _hidl_cb(Status::BAD_VALUE, plugin); in createPlugin()
69 _hidl_cb(Status::OK, plugin); in createPlugin()
/frameworks/av/media/libstagefright/omx/1.0/
DOmxStore.cpp98 Return<void> OmxStore::listServiceAttributes(listServiceAttributes_cb _hidl_cb) { in listServiceAttributes() argument
100 _hidl_cb(Status::NO_ERROR, mServiceAttributeList); in listServiceAttributes()
102 _hidl_cb(mParsingStatus, hidl_vec<ServiceAttribute>()); in listServiceAttributes()
107 Return<void> OmxStore::getNodePrefix(getNodePrefix_cb _hidl_cb) { in getNodePrefix() argument
108 _hidl_cb(mPrefix); in getNodePrefix()
112 Return<void> OmxStore::listRoles(listRoles_cb _hidl_cb) { in listRoles() argument
113 _hidl_cb(mRoleList); in listRoles()
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
157 _hidl_cb(toStatus(err), nullptr, nullptr); in createInputSurface()
162 _hidl_cb(toStatus(OK), in createInputSurface()
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 …]
DWGraphicBufferSource.cpp145 IOmxNode::getParameter_cb _hidl_cb( in configure() local
156 _hidl_cb); in configure()
173 _hidl_cb); in configure()
220 getStopTimeOffsetUs_cb _hidl_cb) { in getStopTimeOffsetUs() argument
224 _hidl_cb(toStatus(status), stopTimeOffsetUs); in getStopTimeOffsetUs()
/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/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp48 getResourceCost_cb _hidl_cb) override { in getResourceCost()
51 _hidl_cb(Status::OK, resourceCost); in getResourceCost()
59 getCameraCharacteristics_cb _hidl_cb) override { in getCameraCharacteristics()
61 _hidl_cb(Status::OK, cameraCharacteristics); in getCameraCharacteristics()
75 open_cb _hidl_cb) override { in open()
77 _hidl_cb(Status::OK, deviceSession); in open()
110 hardware::Return<void> getVendorTags(getVendorTags_cb _hidl_cb) override { in getVendorTags()
111 _hidl_cb(Status::OK, mVendorTagSections); in getVendorTags()
119 isSetTorchModeSupported_cb _hidl_cb) override { in isSetTorchModeSupported()
120 _hidl_cb(Status::OK, false); in isSetTorchModeSupported()
[all …]
/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/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/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;
DOmx.h62 Return<void> listNodes(listNodes_cb _hidl_cb) override;
66 allocateNode_cb _hidl_cb) override;
67 Return<void> createInputSurface(createInputSurface_cb _hidl_cb) override;
DWGraphicBufferSource.h84 Return<void> getStopTimeOffsetUs(getStopTimeOffsetUs_cb _hidl_cb) override;
/frameworks/ml/nn/runtime/test/
DTestExecution.cpp88 Return<void> getCapabilities_1_1(getCapabilities_1_1_cb _hidl_cb) override { in getCapabilities_1_1() argument
94 _hidl_cb(ErrorStatus::NONE, capabilities); in getCapabilities_1_1()
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h402 hardware::Return<void> dequeueBuffer(dequeueBuffer_cb _hidl_cb) override;
419 getMinUndequeuedBufferCount_cb _hidl_cb) override;

12