Home
last modified time | relevance | path

Searched refs:cookie (Results 1 - 25 of 147) sorted by relevance

123456

/foundation/ai/intelligent_voice_framework/utils/
H A Dtimer_mgr.h31 explicit TimerCfg(int type = 0, int64_t delayUs = 0, int cookie = 0) in TimerCfg()
32 : type(type), delayUs(delayUs), cookie(cookie) in TimerCfg()
38 int cookie; member
43 explicit TimerEvent(int type = 0, int timeId = 0, int cookie = 0) : type(type), timeId(timeId), cookie(cookie) {}; in TimerEvent()
47 int cookie; member
63 explicit TimerItem(int id = 0, int type = 0, int cookie = 0,
76 int cookie; member
[all...]
H A Dtimer_mgr.cpp59 TimerItem::TimerItem(int id, int type, int cookie, int64_t delayUs, ITimerObserver *observer) in TimerItem() argument
60 : timerId(id), type(type), cookie(cookie), observer(observer) in TimerItem()
116 int TimerMgr::SetTimer(int type, int64_t delayUs, int cookie, ITimerObserver *currObserver) in SetTimer() argument
137 shared_ptr<TimerItem> addItem = make_shared<TimerItem>(id, type, cookie, delayUs, observer); in SetTimer()
157 oss << "set timer id " << id << " type " << type << " delay " << delayUs << " cookie " << cookie << " time "; in SetTimer() local
163 int TimerMgr::ResetTimer(int timerId, int type, int64_t delayUs, int cookie, ITimerObserver *currObserver) in ResetTimer() argument
180 return SetTimer(type, delayUs, cookie, currObserver); in ResetTimer()
190 INTELL_VOICE_LOG_INFO("kill timer id:%{public}d, type: %{public}d, cookie in KillTimer()
[all...]
/foundation/communication/dsoftbus/sdk/frame/small/src/
H A Dsoftbus_client_context_manager.c25 uintptr_t cookie; member
53 void SetClientIdentity(unsigned int handle, uintptr_t token, uintptr_t cookie) in SetClientIdentity() argument
62 g_clientCtx->cookie = cookie; in SetClientIdentity()
65 int GetClientIdentity(unsigned int *handle, uintptr_t *token, uintptr_t *cookie) in GetClientIdentity() argument
67 if (handle == NULL || token == NULL || cookie == NULL) { in GetClientIdentity()
79 *cookie = g_clientCtx->cookie; in GetClientIdentity()
H A Dsoftbus_client_stub.c95 if (GetClientIdentity(&svcId.handle, &svcId.token, &svcId.cookie) != SOFTBUS_OK) { in InnerRegisterService()
119 g_svcIdentity.cookie = 0; in UnregisterServerDeathCb()
231 .cookie = (uintptr_t)&objectStub in ClientStubInit()
239 SetClientIdentity(clientIdentity.handle, clientIdentity.token, clientIdentity.cookie); in ClientStubInit()
252 if (GetClientIdentity(&svcId.handle, &svcId.token, &svcId.cookie) != SOFTBUS_OK) { in ClientRegisterService()
/foundation/communication/ipc/ipc/native/c/ipc/src/linux/
H A Dserializer_inner.c43 static bool IpcIoPushObject(IpcIo *io, uint32_t token, uintptr_t cookie) in IpcIoPushObject() argument
52 ptr->binder = (uintptr_t)cookie; in IpcIoPushObject()
53 ptr->cookie = cookie; in IpcIoPushObject()
57 static bool IpcIoPushRef(IpcIo *io, uint32_t handle, uintptr_t cookie) in IpcIoPushRef() argument
67 ptr->cookie = cookie; in IpcIoPushRef()
98 res = IpcIoPushObject(io, svc->token, svc->cookie); in WriteRemoteObject()
100 res = IpcIoPushRef(io, svc->handle, svc->cookie); in WriteRemoteObject()
118 svc->cookie in ReadRemoteObject()
[all...]
H A Dipc_invoker.c146 buf->btd.cookie = 0; in ToTransData()
178 data.payload.cookie = ptrCookie->cookie; in BinderRefDone()
222 objectStub = (IpcObjectStub *)tr->cookie; in HandleTransaction()
224 objectStub = (IpcObjectStub *)(GetRegistryObject()->cookie); in HandleTransaction()
258 static void HandleDeadBinderDone(void *cookie) in HandleDeadBinderDone() argument
262 binder_uintptr_t cookie; in HandleDeadBinderDone() member
265 data.cookie = (binder_uintptr_t)cookie; in HandleDeadBinderDone()
405 samgr->cookie in IpcSetRegistryObject()
498 IpcAddDeathRecipient(int32_t handle, void *cookie) IpcAddDeathRecipient() argument
510 IpcRemoveDeathRecipient(int32_t handle, void *cookie) IpcRemoveDeathRecipient() argument
[all...]
/foundation/communication/dsoftbus/core/frame/small/client_manager/src/
H A Dsoftbus_client_info_manager.c29 uintptr_t cookie; /* use for small system device */ member
77 clientInfo->cookie = svcId->cookie; in SERVER_RegisterService()
115 svcId->cookie = clientInfo->cookie; in SERVER_GetIdentityByPkgName()
166 svcId[i].cookie = clientInfo->cookie; in SERVER_GetAllClientIdentity()
/foundation/communication/ipc/ipc/test/rpc/samgr/
H A Drpc_samgr.c44 RPC_LOG_INFO("AddSystemAbility called.... cookie = %u", sid->cookie); in AddSystemAbility()
69 sid->cookie = node->sid->cookie; in GetSystemAbility()
70 RPC_LOG_INFO("find sa, said = %d, handle = %d, cookie = %u", saId, sid->handle, sid->cookie); in GetSystemAbility()
109 RPC_LOG_INFO("GetRemoteSystemAbility handle=%d, cookie=%u", sid->handle, sid->cookie); in GetRemoteSystemAbility()
180 .cookie = (uintptr_t)&objectStub in main()
/foundation/communication/ipc/ipc/native/c/ipc/src/liteos_a/
H A Dserializer_inner.c35 uintptr_t GetObjectStub(uintptr_t cookie) in GetObjectStub() argument
37 if (cookie != NULL) { in GetObjectStub()
38 g_objectStub = cookie; in GetObjectStub()
121 ptr->content.svc.cookie = svc->cookie; in WriteRemoteObject()
125 IpcObjectStub *stub = (IpcObjectStub *)ptr->content.svc.cookie; in WriteRemoteObject()
/foundation/distributedhardware/device_manager/services/service/src/ipc/lite/
H A Dipc_server_stub.cpp67 sid.cookie = svcId.cookie; in DeathCb()
86 svcId.cookie = svc.cookie; in RegisterDeviceManagerListener()
128 sid.cookie = svcId.cookie; in UnRegisterDeviceManagerListener()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dmock_refbase_test.cpp38 void *cookie = nullptr; in HWTEST_F() local
39 WeakRefCounter ref(base, cookie); in HWTEST_F()
40 cookie = ref.GetRefPtr(); in HWTEST_F()
41 ASSERT_EQ(cookie, nullptr); in HWTEST_F()
55 void *cookie = nullptr; in HWTEST_F() local
56 WeakRefCounter ref(base, cookie); in HWTEST_F()
341 void *cookie = nullptr; in HWTEST_F() local
343 WeakRefCounter *createwk = refb.CreateWeakRef(cookie); in HWTEST_F()
356 void *cookie = nullptr; in HWTEST_F() local
358 WeakRefCounter *createwk = refb.CreateWeakRef(cookie); in HWTEST_F()
[all...]
/foundation/communication/dsoftbus/sdk/frame/small/include/
H A Dsoftbus_client_context_manager.h28 void SetClientIdentity(unsigned int handle, uintptr_t token, uintptr_t cookie);
29 int GetClientIdentity(unsigned int *handle, uintptr_t *token, uintptr_t *cookie);
/foundation/communication/ipc/ipc/native/c/ipc/src/linux/include/
H A Dsys_binder.h72 binder_uintptr_t cookie; member
82 binder_uintptr_t cookie; member
126 binder_uintptr_t cookie; member
158 binder_uintptr_t cookie; member
182 binder_uintptr_t cookie; member
187 binder_uintptr_t cookie; member
197 binder_uintptr_t cookie; member
/foundation/communication/ipc/ipc/test/unittest/rpc/samgr/
H A DRpcSamgrTest.cpp43 RPC_LOG_INFO("AddSystemAbility called.... cookie = %u", sid->cookie); in AddSystemAbility()
68 sid->cookie = node->sid->cookie; in GetSystemAbility()
69 RPC_LOG_INFO("find sa, said = %d, handle = %d, cookie = %u", saId, sid->handle, sid->cookie); in GetSystemAbility()
110 RPC_LOG_INFO("GetRemoteSystemAbility handle=%d, cookie=%u", sid->handle, sid->cookie); in GetRemoteSystemAbility()
230 .cookie = NULL in HWTEST_F()
255 .cookie in HWTEST_F()
[all...]
/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/connector_mgr/
H A Dtrigger_callback_impl.cpp29 int32_t TriggerCallbackImpl::OnRecognitionHdiEvent(const IntellVoiceRecognitionEvent &event, int32_t cookie) in OnRecognitionHdiEvent() argument
36 listener_->OnRecognitionHdiEvent(event, cookie); in OnRecognitionHdiEvent()
/foundation/communication/ipc/ipc/native/src/mock/include/
H A Dsys_binder.h63 binder_uintptr_t cookie; member
73 binder_uintptr_t cookie; member
112 binder_uintptr_t cookie; member
173 binder_uintptr_t cookie; member
201 binder_uintptr_t cookie; member
205 binder_uintptr_t cookie; member
214 binder_uintptr_t cookie; member
298 __u64 cookie; member
H A Ddbinder_base_invoker_object.h26 std::shared_ptr<T> sessionOfPeer = CreateServerSessionObject(binderObject->cookie, session); in TranslateBinderType()
32 binderObject->cookie = IRemoteObject::IF_PROT_DATABUS; in TranslateBinderType()
40 binderObject->cookie = IRemoteObject::IF_PROT_ERROR; in ClearBinderType()
53 if (binderObject->cookie == IRemoteObject::IF_PROT_DATABUS) { in TranslateHandleType()
55 } else if (binderObject->cookie == IRemoteObject::IF_PROT_BINDER) { in TranslateHandleType()
70 binderObject->cookie = IRemoteObject::IF_PROT_ERROR; in ClearHandleType()
78 if (binderObject->cookie == IRemoteObject::IF_PROT_DATABUS || in TranslateRemoteHandleType()
79 binderObject->cookie == IRemoteObject::IF_PROT_BINDER) { in TranslateRemoteHandleType()
254 transData.cookie = 0; in ConstructTransData()
432 template <class T> bool DBinderBaseInvoker<T>::AddDeathRecipient(int32_t handle, void *cookie) in AddDeathRecipient() argument
437 RemoveDeathRecipient(int32_t handle, void *cookie) RemoveDeathRecipient() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Dflat_obj.h49 binder_uintptr_t cookie; member
73 binder_uintptr_t cookie; member
/foundation/communication/ipc/ipc/native/c/ipc/src/liteos_m/
H A Dserializer_inner.c49 svc->cookie = svcId->cookie; in ReadRemoteObject()
/foundation/communication/ipc/ipc/native/c/manager/include/
H A Diremote_invoker.h39 int32_t (*AddDeathRecipient)(int32_t handle, void *cookie);
40 int32_t (*RemoveDeathRecipient)(int32_t handle, void *cookie);
/foundation/communication/ipc/ipc/native/c/rpc/ipc_adapter/mini/
H A Dipc_proxy_inner.c107 IpcObjectStub *cookie = (IpcObjectStub *)(proxyObject->proxy->cookie); in InvokerListenThread() local
108 stubObject->func = cookie->func; in InvokerListenThread()
154 SessionInfo *session = QuerySessionObject(svc->cookie); in GetSessionFromDBinderService()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/devicemanager/src/
H A Daudio_device_adapter_impl.cpp39 int32_t RenderCallback(AudioCallbackType type, int8_t &reserved, int8_t &cookie) override;
41 int8_t &reserved, int8_t cookie) override;
44 int32_t AudioParamCallbackImpl::RenderCallback(AudioCallbackType type, int8_t &reserved, int8_t &cookie) in RenderCallback() argument
48 (void) cookie; in RenderCallback()
53 const std::string &value, int8_t &reserved, int8_t cookie) in ParamCallback()
55 (void) cookie; in ParamCallback()
192 void *reserved, std::shared_ptr<AudioDeviceAdapterImpl> cookie)
200 ret = HandleStateChangeEvent(cookie, audioKey, condition, value);
204 HandleRenderParamEvent(cookie, audioKey, condition, value);
52 ParamCallback(AudioExtParamKey key, const std::string &condition, const std::string &value, int8_t &reserved, int8_t cookie) ParamCallback() argument
/foundation/communication/ipc/ipc/test/ipc/samgr/
H A Dsamgr.c60 sid->cookie = node->sid->cookie; in GetSystemAbility()
116 .cookie = (uintptr_t)&objectStub in main()
/foundation/communication/ipc/ipc/test/unittest/ipc/samgr/
H A DIpcSamgrTest.cpp62 sid->cookie = node->sid->cookie; in GetSystemAbility()
150 .cookie = (uintptr_t)&objectStub in HWTEST_F()
/foundation/communication/dsoftbus/core/frame/small/init/src/
H A Dsoftbus_server_stub.c116 sid.cookie = (uintptr_t)svcId.cookie; in ClientDeathCb()
142 svcId.cookie = svc.cookie; in ServerRegisterService()

Completed in 14 milliseconds

123456