Home
last modified time | relevance | path

Searched refs:callbacks (Results 1 - 25 of 26) sorted by relevance

12

/drivers/peripheral/codec/hal/src/
H A Dcodec_component_manager_service.c42 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 Dcodec_death_recipient.cpp33 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 Dbluetooth_a2dp_src_observer.h24 BluetoothA2dpSrcObserver(OHOS::Bluetooth::BtA2dpAudioCallback *callbacks) : callbacks_(callbacks) {}; in BluetoothA2dpSrcObserver() argument
/drivers/peripheral/codec/hal/idl_service/src/
H A Dcodec_component_manager_service.cpp73 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 Dcodec_omx_core.cpp66 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 Dcodec_death_recipient.cpp52 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 Dcomponent_mgr.cpp33 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 Dcodec_component_service.cpp295 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 Dcomponent_node.cpp84 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 Dcodec_death_recipient.h28 bool RegisterService(struct CodecCallbackType *callbacks, uint32_t componentId, struct CodecComponentNode *codecNode);
H A Dcodec_internal.h61 int32_t appDataSize, struct CodecCallbackType *callbacks);
H A Dcodec_adapter_interface.h29 struct CodecCallbackType *callbacks);
/drivers/peripheral/codec/interfaces/include/
H A Dcodec_component_manager.h93 * @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 Dicomponent_mgr.h34 virtual int32_t CreateComponentInstance(const char *componentName, const OMX_CALLBACKTYPE *callbacks,
H A Dcodec_component_manager_service.h37 int64_t appData, const sptr<ICodecCallback> &callbacks) override;
H A Dcodec_omx_core.h41 const OMX_CALLBACKTYPE &callbacks);
H A Dcomponent_mgr.h42 virtual int32_t CreateComponentInstance(const char *componentName, const OMX_CALLBACKTYPE *callbacks, void *appData,
H A Dcomponent_node.h39 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 Dcodec_component_service.h50 int32_t SetCallbacks(const sptr<ICodecCallback> &callbacks, int64_t appData) override;
/drivers/peripheral/codec/hal/v2.0/hdi_impl/include/
H A Dicomponent_mgr.h34 virtual int32_t CreateComponentInstance(const char *componentName, const OMX_CALLBACKTYPE *callbacks,
H A Dcodec_omx_core.h40 const OMX_CALLBACKTYPE &callbacks);
H A Dcomponent_mgr.h42 virtual int32_t CreateComponentInstance(const char *componentName, const OMX_CALLBACKTYPE *callbacks, void *appData,
/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/
H A Dcodec_omx_core.cpp66 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 Dcomponent_mgr.cpp34 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 Dlocation_vendor_lib.h632 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);

Completed in 10 milliseconds

12