Home
last modified time | relevance | path

Searched refs:SvcIdentity (Results 1 – 25 of 188) sorted by relevance

12345678

/ohos5.0/foundation/communication/ipc/ipc/test/rpc/samgr/
H A Drpc_samgr.c29 SvcIdentity *sid;
41 static int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid) in AddSystemAbility()
60 static int32_t GetSystemAbility(int32_t saId, const char* deviceId, SvcIdentity *sid) in GetSystemAbility()
77 static int32_t AddRemoteSystemAbility(int32_t saId, SvcIdentity *sid) in AddRemoteSystemAbility()
93 static int32_t GetRemoteSystemAbility(IpcIo *data, SvcIdentity *sid) in GetRemoteSystemAbility()
122 SvcIdentity sid; in RemoteRequest()
130 SvcIdentity *sid = (SvcIdentity *)malloc(sizeof(SvcIdentity)); in RemoteRequest()
140 SvcIdentity sid; in RemoteRequest()
148 SvcIdentity *sid = (SvcIdentity *)malloc(sizeof(SvcIdentity)); in RemoteRequest()
178 SvcIdentity target = { in main()
H A Drpc_mini_samgr.c32 SvcIdentity *sid;
47 int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid) in AddSystemAbility()
61 node->sid = (SvcIdentity *)calloc(1, sizeof(SvcIdentity)); in AddSystemAbility()
62 if (memcpy_s(node->sid, sizeof(SvcIdentity), sid, sizeof(SvcIdentity)) != EOK) { in AddSystemAbility()
95 SvcIdentity sid; in AddRemoteSystemAbility()
118 SvcIdentity sid; in GetRemoteSystemAbility()
138 SvcIdentity target = { in RpcStartSamgr()
/ohos5.0/foundation/communication/ipc/ipc/test/unittest/rpc/samgr/
H A DRpcSamgrTest.cpp31 SvcIdentity *sid;
37 int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid) in AddSystemAbility()
59 int32_t GetSystemAbility(int32_t saId, const char* deviceId, SvcIdentity *sid) in GetSystemAbility()
76 int32_t AddRemoteSystemAbility(int32_t saId, SvcIdentity *sid) in AddRemoteSystemAbility()
92 int32_t GetRemoteSystemAbility(IpcIo *data, SvcIdentity *sid) in GetRemoteSystemAbility()
119 SvcIdentity sid; in GetSystemAbilityTransaction()
129 SvcIdentity *sid = (SvcIdentity *)malloc(sizeof(SvcIdentity)); in AddRemoteSystemAbilityTransaction()
153 SvcIdentity *sid = (SvcIdentity *)malloc(sizeof(SvcIdentity)); in RemoteRequest()
163 SvcIdentity sid; in RemoteRequest()
228 SvcIdentity target = {
[all …]
/ohos5.0/foundation/ability/ability_lite/services/abilitymgr_lite/include/client/
H A Dability_thread_client.h32 SvcIdentity svcIdentity;
38 …AbilityThreadClient(uint64_t token, pid_t callingPid, const SvcIdentity &svcIdentity, OnRemoteDead…
45 const SvcIdentity &GetSvcIdentity() const;
51 AbilityMsStatus ConnectAbilityDone(const Want &want, const SvcIdentity &serviceSid,
52 const SvcIdentity &connectSid) const;
53 AbilityMsStatus DisconnectAbilityDone(const Want &want, const SvcIdentity &connectSid) const;
59 const SvcIdentity svcIdentity_;
/ohos5.0/foundation/communication/ipc/ipc/test/ipc/samgr/
H A Dsamgr.c29 SvcIdentity *sid;
34 static int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid) in AddSystemAbility()
50 static int32_t GetSystemAbility(int32_t saId, const char* deviceId, SvcIdentity *sid) in GetSystemAbility()
75 SvcIdentity *sid = (SvcIdentity *)malloc(sizeof(SvcIdentity)); in RemoteRequest()
87 SvcIdentity sid; in RemoteRequest()
114 SvcIdentity target = { in main()
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/c/ipc/include/
H A Dipc_skeleton.h62 const SvcIdentity *GetContextObject(void);
64 int32_t SetContextObject(SvcIdentity target);
66 int32_t SendRequest(SvcIdentity target, uint32_t code, IpcIo *data, IpcIo *reply,
71 int32_t AddDeathRecipient(SvcIdentity target, OnRemoteDead deathFunc, void *args, uint32_t *cbId);
73 int32_t RemoveDeathRecipient(SvcIdentity target, uint32_t cbId);
77 int32_t ReleaseSvc(SvcIdentity target);
/ohos5.0/foundation/communication/ipc/ipc/test/unittest/ipc/samgr/
H A DIpcSamgrTest.cpp28 SvcIdentity *sid;
35 int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid) in AddSystemAbility()
53 int32_t GetSystemAbility(int32_t saId, const char* deviceId, SvcIdentity *sid) in GetSystemAbility()
79 SvcIdentity *sid = (SvcIdentity *)malloc(sizeof(SvcIdentity)); in RemoteRequest()
91 SvcIdentity sid; in RemoteRequest()
148 SvcIdentity target = {
/ohos5.0/foundation/ability/ability_lite/services/abilitymgr_lite/include/
H A Dpage_ability_record.h72 void SetServiceSid(const SvcIdentity& serviceSid);
73 const SvcIdentity GetServiceSid() const;
77 AbilityConnectRecord *GetConnectRecord(const SvcIdentity &serviceSid) const;
79 void RemoveConnectRecord(const SvcIdentity &serviceSid);
81 …AbilityConnectRecord *GetConnectRecord(const SvcIdentity &serviceSid, uint64_t abilityToken) const;
85 AbilityMsStatus DisconnectAbility(const SvcIdentity &connectSid);
112 SvcIdentity serviceSid_ = { 0, 0 };
H A Dability_connect_record.h36 AbilityConnectRecord(const SvcIdentity &identity, uint64_t abilityToken) in AbilityConnectRecord()
51 const SvcIdentity &GetConnectSid() const in GetConnectSid()
62 const SvcIdentity connectSid_;
H A Dability_connect_trans_param.h28 AbilityConnectTransParam(Want *want, const SvcIdentity &identity, uint64_t abilityToken) in AbilityConnectTransParam()
38 const SvcIdentity &GetSvcIdentity() const in GetSvcIdentity()
65 SvcIdentity identity_;
/ohos5.0/foundation/communication/ipc/ipc/native/c/ipc/src/liteos_m/
H A Dserializer_inner.c21 bool WriteRemoteObject(IpcIo *io, const SvcIdentity *svc) in WriteRemoteObject()
27 return WriteBuffer(io, svc, sizeof(SvcIdentity)); in WriteRemoteObject()
37 bool ReadRemoteObject(IpcIo *io, SvcIdentity *svc) in ReadRemoteObject()
43 SvcIdentity *svcId = ReadBuffer(io, sizeof(SvcIdentity)); in ReadRemoteObject()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/ipc/small/src/
H A Dbus_center_client_proxy.c29 static int32_t GetSvcIdentityByPkgName(const char *pkgName, SvcIdentity *svc) in GetSvcIdentityByPkgName()
42 static int32_t GetAllClientIdentity(SvcIdentity *svc, int num) in GetAllClientIdentity()
85 SvcIdentity svc = {0}; in ClientOnJoinLNNResult()
113 SvcIdentity svc = {0}; in ClientOnLeaveLNNResult()
152 SvcIdentity *svc = (SvcIdentity *)SoftBusCalloc(sizeof(SvcIdentity) * num); in ClinetOnNodeOnlineStateChanged()
200 SvcIdentity *svc = (SvcIdentity *)SoftBusCalloc(sizeof(SvcIdentity) * num); in ClinetOnNodeBasicInfoChanged()
240 SvcIdentity svc = {0}; in ClientOnTimeSyncResult()
270 SvcIdentity svc = {0}; in ClientOnPublishLNNResult()
300 SvcIdentity svc = {0}; in ClientOnRefreshLNNResult()
330 SvcIdentity svc = {0}; in ClientOnRefreshDeviceFound()
/ohos5.0/foundation/communication/ipc/services/dbinder/c/ipc_adapter/mini/
H A Ddbinder_ipc_adapter.c41 SvcIdentity target; in RpcGetSystemAbility()
48 proxyObject->proxy = (SvcIdentity *)malloc(sizeof(SvcIdentity)); in RpcGetSystemAbility()
54 if (memcpy_s(proxyObject->proxy, sizeof(SvcIdentity), &target, sizeof(SvcIdentity)) != EOK) { in RpcGetSystemAbility()
/ohos5.0/foundation/communication/ipc/ipc/native/c/manager/src/
H A Dipc_skeleton.c62 const SvcIdentity *GetContextObject(void) in GetContextObject()
71 int32_t SetContextObject(SvcIdentity target) in SetContextObject()
84 int32_t SendRequest(SvcIdentity target, uint32_t code, IpcIo *data, IpcIo *reply, in SendRequest()
94 int32_t AddDeathRecipient(SvcIdentity target, OnRemoteDead deathFunc, void *args, uint32_t *cbId) in AddDeathRecipient()
107 int32_t RemoveDeathRecipient(SvcIdentity target, uint32_t cbId) in RemoveDeathRecipient()
145 int32_t ReleaseSvc(SvcIdentity target) in ReleaseSvc()
/ohos5.0/foundation/communication/ipc/services/dbinder/c/ipc_adapter/small/
H A Ddbinder_ipc_adapter.c58 SvcIdentity svc; in RpcGetSystemAbility()
66 proxyObject->proxy = (SvcIdentity *)malloc(sizeof(SvcIdentity)); in RpcGetSystemAbility()
73 if (memcpy_s(proxyObject->proxy, sizeof(SvcIdentity), &svc, sizeof(SvcIdentity)) != EOK) { in RpcGetSystemAbility()
/ohos5.0/foundation/communication/ipc/ipc/test/unittest/ipc/server/
H A DIpcServerTest.cpp28 SvcIdentity *sid = nullptr;
86 sid = (SvcIdentity *)calloc(1, sizeof(SvcIdentity)); in RemoteRequestOne()
114 SvcIdentity svcOne = {
120 SvcIdentity sidOne;
177 SvcIdentity target = {
199 SvcIdentity target = {
220 const SvcIdentity *target = GetContextObject();
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/
H A Ddefault_client_rpc.c22 static SvcIdentity QueryIdentity(const char *service, const char *feature);
23 static SvcIdentity QueryRemoteIdentity(const char *deviceId, const char *service, const char *featu…
29 SvcIdentity identity = QueryIdentity(service, feature); in SAMGR_CreateIProxy()
59 SvcIdentity identity = QueryRemoteIdentity(deviceId, service, feature); in SAMGR_CreateIRemoteProxy()
83 SvcIdentity SAMGR_GetRemoteIdentity(const char *service, const char *feature) in SAMGR_GetRemoteIdentity()
85 SvcIdentity identity = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; in SAMGR_GetRemoteIdentity()
213 static SvcIdentity QueryIdentity(const char *service, const char *feature) in QueryIdentity()
228 const SvcIdentity *samgr = GetContextObject(); in QueryIdentity()
234 SvcIdentity target = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; in QueryIdentity()
250 static SvcIdentity QueryRemoteIdentity(const char *deviceId, const char *service, const char *featu… in QueryRemoteIdentity()
H A Ddefault_client.c35 SvcIdentity target;
55 static SvcIdentity QueryIdentity(const IpcContext *context, const char *service, const char *featur…
61 SvcIdentity identity = QueryIdentity(context, service, feature); in SAMGR_CreateIProxy()
89 SvcIdentity SAMGR_GetRemoteIdentity(const char *service, const char *feature) in SAMGR_GetRemoteIdentity()
91 SvcIdentity identity = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; in SAMGR_GetRemoteIdentity()
223 static SvcIdentity QueryIdentity(const IpcContext *context, const char *service, const char *featur… in QueryIdentity()
237 SvcIdentity samgr = {SAMGR_HANDLE, SAMGR_TOKEN, SAMGR_COOKIE}; in QueryIdentity()
240 SvcIdentity target = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; in QueryIdentity()
242 SvcIdentity *svc = IpcIoPopSvc(&reply); in QueryIdentity()
H A Dendpoint.c158 SvcIdentity samgr = {SAMGR_HANDLE, SAMGR_TOKEN, SAMGR_COOKIE}; in SAMGR_AddSysCap()
189 SvcIdentity samgr = {SAMGR_HANDLE, SAMGR_TOKEN, SAMGR_COOKIE}; in SAMGR_GetSysCap()
215 SvcIdentity samgr = {SAMGR_HANDLE, SAMGR_TOKEN, SAMGR_COOKIE}; in SendGetAllSysCapsRequest()
288 SvcIdentity saInfo = {INVALID_INDEX, token, INVALID_INDEX}; in SAMGR_ProcPolicy()
367 SvcIdentity samgr = {SAMGR_HANDLE, SAMGR_TOKEN, SAMGR_COOKIE}; in Receive()
507 SvcIdentity samgr = {SAMGR_HANDLE, SAMGR_TOKEN, SAMGR_COOKIE}; in RegisterIdentity()
528 SvcIdentity identity; in RegisterRemoteFeatures()
560 SvcIdentity samgr = {SAMGR_HANDLE, SAMGR_TOKEN, SAMGR_COOKIE}; in RegisterRemoteEndpoint()
600 SvcIdentity old = endpoint->identity; in OnSamgrServerExit()
605 SvcIdentity new = endpoint->identity; in OnSamgrServerExit()
[all …]
H A Dsamgr_small_ipc_adapter.c32 int ClientRegisterRemoteEndpoint(SvcIdentity *identity, int token, const char *service, const char … in ClientRegisterRemoteEndpoint()
52 SvcIdentity *samgr = GetContextObject(); in ClientRegisterRemoteEndpoint()
114 SvcIdentity *samgr = GetContextObject(); in Receive()
145 SvcIdentity identity; in RegisterRemoteFeatures()
164 int RegisterIdentity(const SaName *saName, SvcIdentity *saInfo, PolicyTrans **policy, uint32 *polic… in RegisterIdentity()
180 SvcIdentity *samgr = GetContextObject(); in RegisterIdentity()
191 SvcIdentity target; in RegisterIdentity()
295 SvcIdentity old = endpoint->identity; in OnSamgrServerExit()
300 SvcIdentity new = endpoint->identity; in OnSamgrServerExit()
306 SvcIdentity identity = {SAMGR_HANDLE, SAMGR_TOKEN, SAMGR_COOKIE}; in OnSamgrServerExit()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dbundle_manager_service.h48 std::vector<SvcIdentity> GetServiceId() const;
77 void InstallThirdBundle(const char *path, const SvcIdentity &svc, int32_t installLocation);
78 void AddCallbackServiceId(const SvcIdentity &svc);
79 void RemoveCallbackServiceId(const SvcIdentity &svc);
88 std::vector<SvcIdentity> svcIdentity_;
/ohos5.0/base/security/device_auth/frameworks/src/lite/
H A Dipc_dev_auth_proxy.c86 SvcIdentity badSvc = { 0 }; in FinalCallRequest()
146 void SetCallbackStub(ProxyDevAuthData *dataCtx, const SvcIdentity *cbSvc) in SetCallbackStub()
148 (void)memset_s(&(dataCtx->cbSvc), sizeof(SvcIdentity), 0, sizeof(SvcIdentity)); in SetCallbackStub()
150 (void)memcpy_s(&(dataCtx->cbSvc), sizeof(SvcIdentity), cbSvc, sizeof(SvcIdentity)); in SetCallbackStub()
/ohos5.0/foundation/communication/ipc/ipc/native/c/manager/include/
H A Dipc_process_skeleton.h58 int32_t SetRegistryObject(SvcIdentity target);
59 const SvcIdentity *GetRegistryObject(void);
60 int32_t ProcessSendRequest(SvcIdentity target, uint32_t code, IpcIo *data, IpcIo *reply,
71 void WaitForProxyInit(SvcIdentity *svc);
/ohos5.0/foundation/distributedhardware/device_manager/common/include/ipc/model/
H A Dipc_register_listener_req.h34 SvcIdentity GetSvcIdentity() const in GetSvcIdentity()
39 void SetSvcIdentity(SvcIdentity svcIdentity) in SetSvcIdentity()
62 SvcIdentity svcIdentity_;
/ohos5.0/foundation/communication/dsoftbus/core/transmission/ipc/small/
H A Dtrans_client_proxy.c29 static int32_t GetSvcIdentityByPkgName(const char *pkgName, SvcIdentity *svc) in GetSvcIdentityByPkgName()
44 static int32_t OnUdpChannelOpenedAsServer(const SvcIdentity *svc, IpcIo *io) in OnUdpChannelOpenedAsServer()
86 SvcIdentity svc = { 0 }; in ClientIpcOnChannelOpened()
123 SvcIdentity svc = {0}; in ClientIpcOnChannelBind()
152 SvcIdentity svc = {0}; in ClientIpcOnChannelOpenFailed()
182 SvcIdentity svc = {0}; in ClientIpcOnChannelLinkDown()
212 SvcIdentity svc = {0}; in ClientIpcOnChannelClosed()
247 SvcIdentity svc = {0}; in ClientIpcOnChannelMsgReceived()
288 SvcIdentity svc = {0}; in ClientIpcSetChannelInfo()

12345678