Searched refs:CommAuthInfo (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | comm_auth_info.cpp | 19 CommAuthInfo::CommAuthInfo(IRemoteObject *stub, int pid, int uid, uint32_t tokenId, in CommAuthInfo() function in OHOS::CommAuthInfo 25 CommAuthInfo::~CommAuthInfo() in ~CommAuthInfo() 30 IRemoteObject *CommAuthInfo::GetStubObject() const in GetStubObject() 35 int CommAuthInfo::GetRemotePid() const in GetRemotePid() 40 int CommAuthInfo::GetRemoteUid() const in GetRemoteUid() 45 uint32_t CommAuthInfo::GetRemoteTokenId() const in GetRemoteTokenId() 50 std::string CommAuthInfo::GetRemoteDeviceId() const in GetRemoteDeviceId() 55 int32_t CommAuthInfo::GetRemoteSocketId() const in GetRemoteSocketId() 60 void CommAuthInfo::SetRemoteSocketId(int32_t socketId) in SetRemoteSocketId()
|
H A D | ipc_process_skeleton.cpp | 1305 const std::string &deviceId, const std::shared_ptr<CommAuthInfo> &auth) in IsSameRemoteObject() 1316 const std::shared_ptr<CommAuthInfo> &auth) in IsSameRemoteObject() 1339 …std::shared_ptr<CommAuthInfo> authObject = std::make_shared<CommAuthInfo>(stub, pid, uid, tokenId,… in AttachCommAuthInfo() 1368 auto check = [&socketId](const std::shared_ptr<CommAuthInfo> &auth) { in DetachCommAuthInfoBySocketId() 1444 auto check = [&appAuthInfo, this](const std::shared_ptr<CommAuthInfo> &auth) { in AttachOrUpdateAppAuthInfo() 1455 std::shared_ptr<CommAuthInfo> authObject = std::make_shared<CommAuthInfo>( in AttachOrUpdateAppAuthInfo() 1486 auto check = [&appAuthInfo, this](const std::shared_ptr<CommAuthInfo> &auth) { in DetachAppAuthInfo() 1506 auto check = [&stub](const std::shared_ptr<CommAuthInfo> &auth) { in DetachAppAuthInfoByStub() 1529 auto check = [&socketId](const std::shared_ptr<CommAuthInfo> &auth) { in DetachAppAuthInfoBySocketId() 1564 auto check = [&appAuthInfo, this](const std::shared_ptr<CommAuthInfo> &auth) { in QueryCommAuthInfo() [all …]
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/include/ |
H A D | comm_auth_info.h | 23 class CommAuthInfo { 25 CommAuthInfo(IRemoteObject *stub, int pid, int uid, uint32_t tokenId, 27 virtual ~CommAuthInfo();
|
H A D | ipc_process_skeleton.h | 191 const std::shared_ptr<CommAuthInfo> &auth); 192 …teObject(int pid, int uid, const std::string &deviceId, const std::shared_ptr<CommAuthInfo> &auth); 284 std::list<std::shared_ptr<CommAuthInfo>> commAuth_;
|
/ohos5.0/foundation/communication/ipc/ipc/native/test/unittest/common/ |
H A D | ipc_process_skeleton_unittest.cpp | 1383 std::shared_ptr<CommAuthInfo> auth = 1384 std::make_shared<CommAuthInfo>(stubObject.GetRefPtr(), pid, uid, tokenId, deviceId); 1405 std::shared_ptr<CommAuthInfo> auth = 1406 std::make_shared<CommAuthInfo>(stubObject.GetRefPtr(), pid, uid, tokenId, deviceId); 1427 std::shared_ptr<CommAuthInfo> auth = 1449 std::shared_ptr<CommAuthInfo> auth = 1471 std::shared_ptr<CommAuthInfo> auth = 1493 std::shared_ptr<CommAuthInfo> auth = 1516 std::shared_ptr<CommAuthInfo> auth = 1562 std::shared_ptr<CommAuthInfo> auth = [all …]
|
H A D | ipc_object_stub_unittest.cpp | 868 std::shared_ptr<CommAuthInfo> info = 869 …std::make_shared<CommAuthInfo>(testStub.GetRefPtr(), remotePid, remoteUid, tokenId, remoteDeviceId… 929 std::shared_ptr<CommAuthInfo> info = 930 …std::make_shared<CommAuthInfo>(testStub.GetRefPtr(), remotePid, remoteUid, tokenId, remoteDeviceId… 963 std::shared_ptr<CommAuthInfo> info = 964 …std::make_shared<CommAuthInfo>(testStub.GetRefPtr(), remotePid, remoteUid, tokenId, remoteDeviceId… 997 std::shared_ptr<CommAuthInfo> info = 998 …std::make_shared<CommAuthInfo>(testStub.GetRefPtr(), remotePid, remoteUid, tokenId, remoteDeviceId…
|
H A D | ipc_core_unittest.cpp | 864 CommAuthInfo commAuthInfo(object, 1, 1, 1, deviceId); 879 CommAuthInfo commAuthInfo(object, 1, 1, 1, deviceId); 894 CommAuthInfo commAuthInfo(object, 1, 1, 1, deviceId); 909 CommAuthInfo commAuthInfo(object, 1, 1, 1, deviceId);
|
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/ipc_core/ |
H A D | libipc_core_map | 56 OHOS::CommAuthInfo*;
|