/foundation/communication/ipc/services/dbinder/dbinder_service/src/ |
D | dbinder_service_stub.cpp | 29 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()
|
D | dbinder_service.cpp | 213 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/ |
D | dbinder_service_stub_unittest.cpp | 65 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 …]
|
D | dbinder_service_unittest.cpp | 232 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/ |
D | dbinder_service.h | 165 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 …]
|
D | dbinder_service_stub.h | 30 class DBinderServiceStub : public IPCObjectStub { 32 explicit DBinderServiceStub(const std::string &serviceName, const std::string &deviceID, 34 ~DBinderServiceStub();
|
/foundation/communication/ipc/services/dbinder/c/include/ |
D | dbinder_stub.h | 35 } DBinderServiceStub; typedef 38 uintptr_t binderObject, DBinderServiceStub *dBinderServiceStub);
|
/foundation/communication/ipc/services/dbinder/c/src/ |
D | dbinder_service.c | 144 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 …]
|
D | dbinder_stub.c | 121 uintptr_t binderObject, DBinderServiceStub *dBinderServiceStub) in GetDBinderStub()
|
/foundation/communication/ipc/services/dbinder/c/ipc_adapter/include/ |
D | dbinder_ipc_adapter.h | 28 bool IsSameStub(DBinderServiceStub *stub, const char *serviceName,
|
/foundation/communication/ipc/services/dbinder/c/ipc_adapter/mini/ |
D | dbinder_ipc_adapter.c | 22 bool IsSameStub(DBinderServiceStub *stub, const char *serviceName, in IsSameStub()
|
/foundation/communication/ipc/services/dbinder/c/ipc_adapter/small/ |
D | dbinder_ipc_adapter.c | 26 bool IsSameStub(DBinderServiceStub *stub, const char *serviceName, in IsSameStub()
|
/foundation/systemabilitymgr/samgr/services/samgr/native/include/ |
D | system_ability_manager.h | 189 …sptr<DBinderServiceStub> DoMakeRemoteBinder(int32_t systemAbilityId, int32_t callingPid, int32_t c…
|
/foundation/systemabilitymgr/samgr/services/samgr/native/source/ |
D | system_ability_manager.cpp | 1582 …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/ |
D | system_ability_mgr_stub_test.cpp | 2319 … sptr<DBinderServiceStub> res = saMgr->DoMakeRemoteBinder(SAID, callingPid, callingUid, deviceId); 2338 … sptr<DBinderServiceStub> res = saMgr->DoMakeRemoteBinder(SAID, callingPid, callingUid, deviceId);
|