/ohos5.0/foundation/communication/ipc/services/dbinder/test/unittest/ |
H A D | dbinder_service_stub_unittest.cpp | 72 DBinderServiceStub dBinderServiceStub(service, device, object); 87 DBinderServiceStub dBinderServiceStub(service, device, object); 102 DBinderServiceStub dBinderServiceStub(service, device, object); 117 DBinderServiceStub dBinderServiceStub(service, device, object); 133 DBinderServiceStub dBinderServiceStub(service, device, object); 148 DBinderServiceStub dBinderServiceStub(service, device, object); 163 DBinderServiceStub dBinderServiceStub(service, device, object); 178 DBinderServiceStub dBinderServiceStub(service, device, object); 193 DBinderServiceStub dBinderServiceStub(service, device, object); 208 DBinderServiceStub dBinderServiceStub(service, device, object); [all …]
|
H A D | dbinder_service_unittest.cpp | 308 DBinderServiceStub *dbStub = nullptr; 476 sptr<DBinderServiceStub> stub = nullptr; 494 sptr<DBinderServiceStub> stub = new DBinderServiceStub(serviceName, deviceID, binderObject); 579 sptr<DBinderServiceStub> stub = new DBinderServiceStub(serviceName, deviceID, binderObject); 763 …sptr<DBinderServiceStub> dBinderServiceStub = new DBinderServiceStub(serviceName, deviceID, binder… 886 …sptr<DBinderServiceStub> dBinderServiceStub = new DBinderServiceStub(serviceName, deviceID, binder… 907 …sptr<DBinderServiceStub> dBinderServiceStub = new DBinderServiceStub(serviceName, deviceID, binder… 927 …sptr<DBinderServiceStub> dBinderServiceStub = new DBinderServiceStub(serviceName, deviceID, binder… 1034 sptr<DBinderServiceStub> stub = new DBinderServiceStub(serviceName, deviceID, binderObject); 1265 sptr<DBinderServiceStub> stub = new DBinderServiceStub(serviceName, deviceID, binderObject); [all …]
|
/ohos5.0/foundation/communication/ipc/services/dbinder/dbinder_service/src/ |
H A D | dbinder_service_stub.cpp | 35 DBinderServiceStub::DBinderServiceStub(const std::string &service, const std::string &device, binde… in DBinderServiceStub() function in OHOS::DBinderServiceStub 49 DBinderServiceStub::~DBinderServiceStub() in ~DBinderServiceStub() 56 const std::string &DBinderServiceStub::GetServiceName() in GetServiceName() 61 const std::string &DBinderServiceStub::GetDeviceID() in GetDeviceID() 66 binder_uintptr_t DBinderServiceStub::GetBinderObject() const in GetBinderObject() 149 int32_t DBinderServiceStub::ProcessDeathRecipient(MessageParcel &data) in ProcessDeathRecipient() 164 int32_t DBinderServiceStub::AddDbinderDeathRecipient(MessageParcel &data) in AddDbinderDeathRecipient() 245 bool DBinderServiceStub::Marshalling(Parcel &parcel) const in Marshalling() 282 int DBinderServiceStub::SaveDBinderData(const std::string &localBusName) in SaveDBinderData() 329 bool DBinderServiceStub::CheckSessionObjectValidity() in CheckSessionObjectValidity() [all …]
|
H A D | dbinder_service.cpp | 224 auto checkStub = [&stubPtr, this](const sptr<DBinderServiceStub> &stub) { in HasDBinderStub() 253 auto checkStub = [&service, &device, this](const sptr<DBinderServiceStub> &stub) { in FindDBinderStub() 271 auto checkStub = [&service, &device, this](const sptr<DBinderServiceStub> &stub) { in DeleteDBinderStub() 299 auto checkStub = [&service, &device, this](const sptr<DBinderServiceStub> &stub) { in FindOrNewDBinderStub() 312 …sptr<DBinderServiceStub> dBinderServiceStub = new DBinderServiceStub(serviceStr8, device, binderOb… in FindOrNewDBinderStub() 319 sptr<DBinderServiceStub> DBinderService::MakeRemoteBinder(const std::u16string &serviceName, in MakeRemoteBinder() 334 sptr<DBinderServiceStub> dBinderServiceStub = FindOrNewDBinderStub(serviceName, deviceID, in MakeRemoteBinder() 1167 bool DBinderService::AttachCallbackProxy(sptr<IRemoteObject> object, DBinderServiceStub *dbStub) in AttachCallbackProxy() 1176 bool DBinderService::NoticeCallbackProxy(sptr<DBinderServiceStub> dbStub) in NoticeCallbackProxy() 1197 void DBinderService::ProcessCallbackProxy(sptr<DBinderServiceStub> dbStub) in ProcessCallbackProxy() [all …]
|
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/libdbinder/include/ |
H A D | dbinder_service.h | 164 sptr<DBinderServiceStub> MakeRemoteBinder(const std::u16string &serviceName, 249 bool AttachCallbackProxy(sptr<IRemoteObject> object, DBinderServiceStub *dbStub); 330 …bool SendEntryToRemote(const sptr<DBinderServiceStub> stub, uint32_t seqNumber, uint32_t pid, uint… 340 bool CheckBinderObject(const sptr<DBinderServiceStub> &stub, binder_uintptr_t binderObject); 342 bool IsSameStubObject(const sptr<DBinderServiceStub> &stub, const std::u16string &service, 344 …sptr<DBinderServiceStub> FindDBinderStub(const std::u16string &service, const std::string &device); 346 sptr<DBinderServiceStub> FindOrNewDBinderStub(const std::u16string &service, 348 void ProcessCallbackProxy(sptr<DBinderServiceStub> dbStub); 349 bool NoticeCallbackProxy(sptr<DBinderServiceStub> dbStub); 402 std::list<sptr<DBinderServiceStub>> DBinderStubRegisted_; [all …]
|
H A D | dbinder_service_stub.h | 30 class DBinderServiceStub : public IPCObjectStub { 32 explicit DBinderServiceStub(const std::string &serviceName, const std::string &deviceID, 34 ~DBinderServiceStub();
|
/ohos5.0/foundation/communication/ipc/services/dbinder/c/src/ |
H A 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 …]
|
H A D | dbinder_stub.c | 120 uintptr_t binderObject, DBinderServiceStub *dBinderServiceStub) in GetDBinderStub()
|
/ohos5.0/foundation/communication/ipc/services/dbinder/c/include/ |
H A D | dbinder_stub.h | 35 } DBinderServiceStub; typedef 38 uintptr_t binderObject, DBinderServiceStub *dBinderServiceStub);
|
/ohos5.0/foundation/communication/ipc/services/dbinder/c/ipc_adapter/include/ |
H A D | dbinder_ipc_adapter.h | 28 bool IsSameStub(DBinderServiceStub *stub, const char *serviceName,
|
/ohos5.0/foundation/communication/ipc/services/dbinder/c/ipc_adapter/mini/ |
H A D | dbinder_ipc_adapter.c | 22 bool IsSameStub(DBinderServiceStub *stub, const char *serviceName, in IsSameStub()
|
/ohos5.0/foundation/communication/ipc/services/dbinder/c/ipc_adapter/small/ |
H A D | dbinder_ipc_adapter.c | 26 bool IsSameStub(DBinderServiceStub *stub, const char *serviceName, in IsSameStub()
|
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/include/ |
H A D | system_ability_manager.h | 245 …sptr<DBinderServiceStub> DoMakeRemoteBinder(int32_t systemAbilityId, int32_t callingPid, int32_t c…
|
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/ |
H A D | system_ability_manager.cpp | 1890 …sptr<DBinderServiceStub> remoteBinder = DoMakeRemoteBinder(systemAbilityId, callingPid, callingUid… in DoLoadRemoteSystemAbility() 1926 sptr<DBinderServiceStub> SystemAbilityManager::DoMakeRemoteBinder(int32_t systemAbilityId, int32_t … in DoMakeRemoteBinder() 1934 sptr<DBinderServiceStub> remoteBinder = nullptr; in DoMakeRemoteBinder()
|
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/ |
H A D | system_ability_mgr_stub_test.cpp | 2417 … sptr<DBinderServiceStub> res = saMgr->DoMakeRemoteBinder(SAID, callingPid, callingUid, deviceId); 2436 … sptr<DBinderServiceStub> res = saMgr->DoMakeRemoteBinder(SAID, callingPid, callingUid, deviceId);
|