Home
last modified time | relevance | path

Searched refs:DBinderServiceStub (Results 1 – 15 of 15) sorted by relevance

/foundation/communication/ipc/services/dbinder/dbinder_service/src/
Ddbinder_service_stub.cpp29 DBinderServiceStub::DBinderServiceStub(const std::string &service, const std::string &device, binde… in DBinderServiceStub() function in OHOS::DBinderServiceStub
35 DBinderServiceStub::~DBinderServiceStub() in ~DBinderServiceStub()
40 const std::string &DBinderServiceStub::GetServiceName() in GetServiceName()
45 const std::string &DBinderServiceStub::GetDeviceID() in GetDeviceID()
50 binder_uintptr_t DBinderServiceStub::GetBinderObject() const in GetBinderObject()
55 int32_t DBinderServiceStub::ProcessProto(uint32_t code, MessageParcel &data, MessageParcel &reply, in ProcessProto()
106 int32_t DBinderServiceStub::OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &repl… in OnRemoteRequest()
130 int32_t DBinderServiceStub::ProcessDeathRecipient(MessageParcel &data, MessageParcel &reply) in ProcessDeathRecipient()
145 int32_t DBinderServiceStub::AddDbinderDeathRecipient(MessageParcel &data, MessageParcel &reply) in AddDbinderDeathRecipient()
182 int32_t DBinderServiceStub::RemoveDbinderDeathRecipient(MessageParcel &data, MessageParcel &reply) in RemoveDbinderDeathRecipient()
Ddbinder_service.cpp213 bool DBinderService::CheckBinderObject(const sptr<DBinderServiceStub> &stub, binder_uintptr_t stubP… in CheckBinderObject()
228 auto checkStub = [&stubPtr, this](const sptr<DBinderServiceStub> &stub) { in HasDBinderStub()
240 bool DBinderService::IsSameStubObject(const sptr<DBinderServiceStub> &stub, const std::u16string &s… in IsSameStubObject()
252 sptr<DBinderServiceStub> DBinderService::FindDBinderStub(const std::u16string &service, const std::… in FindDBinderStub()
254 auto checkStub = [&service, &device, this](const sptr<DBinderServiceStub> &stub) { in FindDBinderStub()
268 auto checkStub = [&service, &device, this](const sptr<DBinderServiceStub> &stub) { in DeleteDBinderStub()
289 sptr<DBinderServiceStub> DBinderService::FindOrNewDBinderStub(const std::u16string &service, const … in FindOrNewDBinderStub()
292 auto checkStub = [&service, &device, this](const sptr<DBinderServiceStub> &stub) { in FindOrNewDBinderStub()
302 …sptr<DBinderServiceStub> dBinderServiceStub = new DBinderServiceStub(Str16ToStr8(service), device,… in FindOrNewDBinderStub()
307 sptr<DBinderServiceStub> DBinderService::MakeRemoteBinder(const std::u16string &serviceName, in MakeRemoteBinder()
[all …]
/foundation/communication/ipc/services/dbinder/test/unittest/
Ddbinder_service_stub_unittest.cpp65 DBinderServiceStub dBinderServiceStub(service, device, object);
80 DBinderServiceStub dBinderServiceStub(service, device, object);
95 DBinderServiceStub dBinderServiceStub(service, device, object);
110 DBinderServiceStub dBinderServiceStub(service, device, object);
125 DBinderServiceStub dBinderServiceStub(service, device, object);
144 DBinderServiceStub dBinderServiceStub(service, device, object);
167 DBinderServiceStub dBinderServiceStub(service, device, object);
186 DBinderServiceStub dBinderServiceStub(service, device, object);
206 DBinderServiceStub dBinderServiceStub(service, device, object);
226 DBinderServiceStub dBinderServiceStub(service, device, object);
[all …]
Ddbinder_service_unittest.cpp232 DBinderServiceStub *dbStub = nullptr;
386 sptr<DBinderServiceStub> stub = nullptr;
403 sptr<DBinderServiceStub> stub = new DBinderServiceStub(serviceName, deviceID, binderObject);
416 sptr<DBinderServiceStub> stub = nullptr;
482 sptr<DBinderServiceStub> stub = new DBinderServiceStub(serviceName, deviceID, binderObject);
604 sptr<DBinderServiceStub> stub = nullptr;
613 stub = new DBinderServiceStub(serviceName, deviceID, binderObject);
647 …sptr<DBinderServiceStub> dBinderServiceStub = new DBinderServiceStub(serviceName, deviceID, binder…
759 …sptr<DBinderServiceStub> dBinderServiceStub = new DBinderServiceStub(serviceName, deviceID, binder…
777 …sptr<DBinderServiceStub> dBinderServiceStub = new DBinderServiceStub(serviceName, deviceID, binder…
[all …]
/foundation/communication/ipc/interfaces/innerkits/libdbinder/include/
Ddbinder_service.h165 sptr<DBinderServiceStub> MakeRemoteBinder(const std::u16string &serviceName,
250 bool AttachCallbackProxy(sptr<IRemoteObject> object, DBinderServiceStub *dbStub);
310 …int32_t InvokerRemoteDBinder(const sptr<DBinderServiceStub> stub, uint32_t seqNumber, uint32_t pid…
325 …bool SendEntryToRemote(const sptr<DBinderServiceStub> stub, uint32_t seqNumber, uint32_t pid, uint…
330 bool CheckBinderObject(const sptr<DBinderServiceStub> &stub, binder_uintptr_t binderObject);
332 bool IsSameStubObject(const sptr<DBinderServiceStub> &stub, const std::u16string &service,
334 …sptr<DBinderServiceStub> FindDBinderStub(const std::u16string &service, const std::string &device);
336 sptr<DBinderServiceStub> FindOrNewDBinderStub(const std::u16string &service,
338 void ProcessCallbackProxy(sptr<DBinderServiceStub> dbStub);
339 bool NoticeCallbackProxy(sptr<DBinderServiceStub> dbStub);
[all …]
Ddbinder_service_stub.h30 class DBinderServiceStub : public IPCObjectStub {
32 explicit DBinderServiceStub(const std::string &serviceName, const std::string &deviceID,
34 ~DBinderServiceStub();
/foundation/communication/ipc/services/dbinder/c/include/
Ddbinder_stub.h35 } DBinderServiceStub; typedef
38 uintptr_t binderObject, DBinderServiceStub *dBinderServiceStub);
/foundation/communication/ipc/services/dbinder/c/src/
Ddbinder_service.c144 static DBinderServiceStub *QueryDBinderStub(const char *serviceName, const char *deviceID, in QueryDBinderStub()
148 DBinderServiceStub *node = NULL; in QueryDBinderStub()
149 UTILS_DL_LIST_FOR_EACH_ENTRY(node, &g_stubRegistedList.dBinderStubs, DBinderServiceStub, list) in QueryDBinderStub()
161 static void AddDBinderStub(DBinderServiceStub *stub) in AddDBinderStub()
168 static DBinderServiceStub *FindOrNewDBinderStub(const char *serviceName, uint32_t nameLen, in FindOrNewDBinderStub()
176 DBinderServiceStub *node = QueryDBinderStub(serviceName, deviceID, binderObject); in FindOrNewDBinderStub()
182 node = (DBinderServiceStub *)malloc(sizeof(DBinderServiceStub)); in FindOrNewDBinderStub()
222 static int32_t SendEntryToRemote(DBinderServiceStub *stub, const uint32_t seqNumber) in SendEntryToRemote()
321 static int32_t InvokerRemoteDBinder(DBinderServiceStub *dBinderServiceStub, uint32_t seqNumber) in InvokerRemoteDBinder()
418 static void DeleteDBinderStub(DBinderServiceStub *stub) in DeleteDBinderStub()
[all …]
Ddbinder_stub.c121 uintptr_t binderObject, DBinderServiceStub *dBinderServiceStub) in GetDBinderStub()
/foundation/communication/ipc/services/dbinder/c/ipc_adapter/include/
Ddbinder_ipc_adapter.h28 bool IsSameStub(DBinderServiceStub *stub, const char *serviceName,
/foundation/communication/ipc/services/dbinder/c/ipc_adapter/mini/
Ddbinder_ipc_adapter.c22 bool IsSameStub(DBinderServiceStub *stub, const char *serviceName, in IsSameStub()
/foundation/communication/ipc/services/dbinder/c/ipc_adapter/small/
Ddbinder_ipc_adapter.c26 bool IsSameStub(DBinderServiceStub *stub, const char *serviceName, in IsSameStub()
/foundation/systemabilitymgr/samgr/services/samgr/native/include/
Dsystem_ability_manager.h189 …sptr<DBinderServiceStub> DoMakeRemoteBinder(int32_t systemAbilityId, int32_t callingPid, int32_t c…
/foundation/systemabilitymgr/samgr/services/samgr/native/source/
Dsystem_ability_manager.cpp1582 …sptr<DBinderServiceStub> remoteBinder = DoMakeRemoteBinder(systemAbilityId, callingPid, callingUid… in DoLoadRemoteSystemAbility()
1618 sptr<DBinderServiceStub> SystemAbilityManager::DoMakeRemoteBinder(int32_t systemAbilityId, int32_t … in DoMakeRemoteBinder()
1626 sptr<DBinderServiceStub> remoteBinder = nullptr; in DoMakeRemoteBinder()
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
Dsystem_ability_mgr_stub_test.cpp2319 … sptr<DBinderServiceStub> res = saMgr->DoMakeRemoteBinder(SAID, callingPid, callingUid, deviceId);
2338 … sptr<DBinderServiceStub> res = saMgr->DoMakeRemoteBinder(SAID, callingPid, callingUid, deviceId);