/drivers/peripheral/codec/hal/src/ |
H A D | codec_component_manager_service.c | 42 static void AddDeathRecipientForService(struct CodecCallbackType *callbacks, uint32_t componentId, in AddDeathRecipientForService() argument 45 if (callbacks == NULL) { in AddDeathRecipientForService() 49 bool needAdd = RegisterService(callbacks, componentId, codecNode); in AddDeathRecipientForService() 52 HdfRemoteServiceAddDeathRecipient(callbacks->remote, &g_deathRecipient.recipient); in AddDeathRecipientForService() 139 int64_t appData, struct CodecCallbackType *callbacks) in OmxManagerCreateComponent() 161 int32_t err = OMXAdapterCreateComponent(&codecNode, compName, appData, callbacks); in OmxManagerCreateComponent() 187 AddDeathRecipientForService(callbacks, *componentId, codecNode); in OmxManagerCreateComponent() 138 OmxManagerCreateComponent(struct CodecComponentType **component, uint32_t *componentId, char *compName, int64_t appData, struct CodecCallbackType *callbacks) OmxManagerCreateComponent() argument
|
H A D | codec_death_recipient.cpp | 33 bool RegisterService(struct CodecCallbackType *callbacks, uint32_t componentId,
in RegisterService() argument 37 if (callbacks == nullptr) {
in RegisterService() 49 uint64_t *addr = reinterpret_cast<uint64_t *>(callbacks->remote);
in RegisterService()
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/ |
H A D | bluetooth_a2dp_src_observer.h | 24 BluetoothA2dpSrcObserver(OHOS::Bluetooth::BtA2dpAudioCallback *callbacks) : callbacks_(callbacks) {};
in BluetoothA2dpSrcObserver() argument
|
/drivers/peripheral/codec/hal/idl_service/src/ |
H A D | codec_component_manager_service.cpp | 73 const sptr<ICodecCallback> &callbacks) in CreateComponent() 77 CHECK_AND_RETURN_RET_LOG(callbacks != nullptr, HDF_ERR_INVALID_PARAM, "callbacks is null"); in CreateComponent() 78 std::shared_ptr<ComponentNode> node = std::make_shared<ComponentNode>(callbacks, appData, mgr_); in CreateComponent() 93 RegisterDeathRecipientService(callbacks, componentId, this); in CreateComponent() 71 CreateComponent(sptr<ICodecComponent> &component, uint32_t &componentId, const std::string &compName, int64_t appData, const sptr<ICodecCallback> &callbacks) CreateComponent() argument
|
H A D | codec_omx_core.cpp | 66 const OMX_CALLBACKTYPE &callbacks) in GetHandle() 76 return (*getHandle_)(&handle, const_cast<char *>(compName.c_str()), appData, (OMX_CALLBACKTYPE *)&callbacks); in GetHandle() 65 GetHandle(OMX_HANDLETYPE &handle, std::string &compName, OMX_PTR appData, const OMX_CALLBACKTYPE &callbacks) GetHandle() argument
|
H A D | codec_death_recipient.cpp | 52 void RegisterDeathRecipientService(const sptr<ICodecCallback> callbacks, uint32_t componentId,
in RegisterDeathRecipientService() argument 57 const sptr<OHOS::IRemoteObject> &remote = OHOS::HDI::hdi_objcast<ICodecCallback>(callbacks);
in RegisterDeathRecipientService()
|
H A D | component_mgr.cpp | 33 int32_t ComponentMgr::CreateComponentInstance(const char *componentName, const OMX_CALLBACKTYPE *callbacks, in CreateComponentInstance() argument 51 err = core->GetHandle(handle, name, appData, *callbacks); in CreateComponentInstance()
|
H A D | codec_component_service.cpp | 295 int32_t CodecComponentService::SetCallbacks(const sptr<ICodecCallback> &callbacks, int64_t appData) in SetCallbacks() argument 299 CHECK_AND_RETURN_RET_LOG(callbacks != nullptr, HDF_ERR_INVALID_PARAM, "callbacks is null"); in SetCallbacks() 300 return node_->SetCallbacks(callbacks, appData); in SetCallbacks()
|
H A D | component_node.cpp | 84 ComponentNode::ComponentNode(const sptr<ICodecCallback> &callbacks, int64_t appData, std::shared_ptr<ComponentMgr> &mgr) in ComponentNode() argument 86 omxCallback_(callbacks), in ComponentNode() 306 int32_t ComponentNode::SetCallbacks(const sptr<ICodecCallback> &callbacks, int64_t appData) in SetCallbacks() argument 308 this->omxCallback_ = callbacks; in SetCallbacks()
|
/drivers/peripheral/codec/hal/include/ |
H A D | codec_death_recipient.h | 28 bool RegisterService(struct CodecCallbackType *callbacks, uint32_t componentId, struct CodecComponentNode *codecNode);
|
H A D | codec_internal.h | 61 int32_t appDataSize, struct CodecCallbackType *callbacks);
|
H A D | codec_adapter_interface.h | 29 struct CodecCallbackType *callbacks);
|
/drivers/peripheral/codec/interfaces/include/ |
H A D | codec_component_manager.h | 93 * @param callbacks Indicates the pointer to the callback defined by <b>OMX_CALLBACKTYPE</b>. 102 int64_t appData, struct CodecCallbackType *callbacks);
|
/drivers/peripheral/codec/hal/idl_service/include/ |
H A D | icomponent_mgr.h | 34 virtual int32_t CreateComponentInstance(const char *componentName, const OMX_CALLBACKTYPE *callbacks,
|
H A D | codec_component_manager_service.h | 37 int64_t appData, const sptr<ICodecCallback> &callbacks) override;
|
H A D | codec_omx_core.h | 41 const OMX_CALLBACKTYPE &callbacks);
|
H A D | component_mgr.h | 42 virtual int32_t CreateComponentInstance(const char *componentName, const OMX_CALLBACKTYPE *callbacks, void *appData,
|
H A D | component_node.h | 39 ComponentNode(const sptr<ICodecCallback> &callbacks, int64_t appData, std::shared_ptr<ComponentMgr>& mgr); 60 int32_t SetCallbacks(const sptr<ICodecCallback> &callbacks, int64_t appData); 72 static OMX_CALLBACKTYPE callbacks_; // callbacks
|
H A D | codec_component_service.h | 50 int32_t SetCallbacks(const sptr<ICodecCallback> &callbacks, int64_t appData) override;
|
/drivers/peripheral/codec/hal/v2.0/hdi_impl/include/ |
H A D | icomponent_mgr.h | 34 virtual int32_t CreateComponentInstance(const char *componentName, const OMX_CALLBACKTYPE *callbacks,
|
H A D | codec_omx_core.h | 40 const OMX_CALLBACKTYPE &callbacks);
|
H A D | component_mgr.h | 42 virtual int32_t CreateComponentInstance(const char *componentName, const OMX_CALLBACKTYPE *callbacks, void *appData,
|
/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/ |
H A D | codec_omx_core.cpp | 66 const OMX_CALLBACKTYPE &callbacks) in GetHandle() 76 return (*getHandle_)(&handle, const_cast<char *>(compName.c_str()), appData, (OMX_CALLBACKTYPE *)&callbacks); in GetHandle() 65 GetHandle(OMX_HANDLETYPE &handle, std::string &compName, OMX_PTR appData, const OMX_CALLBACKTYPE &callbacks) GetHandle() argument
|
H A D | component_mgr.cpp | 34 int32_t ComponentMgr::CreateComponentInstance(const char *componentName, const OMX_CALLBACKTYPE *callbacks, in CreateComponentInstance() argument 52 err = core->GetHandle(handle, name, appData, *callbacks); in CreateComponentInstance()
|
/drivers/peripheral/location/gnss/hdi_service/ |
H A D | location_vendor_lib.h | 632 int (*enableGnss)(GnssCallbackStruct* callbacks); 734 bool (*setAgnssCallback)(AgnssCallbackIfaces* callbacks); 811 bool (*setCallback)(GeofenceCallbackIfaces* callbacks); 1099 bool (*enable)(GnssMeasurementCallbackIfaces* callbacks); 1177 /* Set callbacks. */ 1178 void (*setCallback)(GnssNetInitiatedCallbacks *callbacks);
|