/foundation/distributedhardware/device_manager/test/commonunittest/ |
H A D | UTTest_dm_deviceprofile_connector.cpp | 41 auto ret = DeviceProfileConnector::GetInstance().GetAccessControlProfile(); in HWTEST_F() 49 auto ret = DeviceProfileConnector::GetInstance().GetAppTrustDeviceList(pkgName, deviceId); in HWTEST_F() 57 auto ret = DeviceProfileConnector::GetInstance().GetAppTrustDeviceList(pkgName, deviceId); in HWTEST_F() 66 int32_t ret = DeviceProfileConnector::GetInstance().GetDeviceAclParam(discoveryInfo, isonline, authForm); in HWTEST_F() 75 int32_t ret = DeviceProfileConnector::GetInstance().HandleDmAuthForm(profiles, discoveryInfo); in HWTEST_F() 85 int32_t ret = DeviceProfileConnector::GetInstance().HandleDmAuthForm(profiles, discoveryInfo); in HWTEST_F() 99 int32_t ret = DeviceProfileConnector::GetInstance().HandleDmAuthForm(profiles, discoveryInfo); in HWTEST_F() 113 int32_t ret = DeviceProfileConnector::GetInstance().HandleDmAuthForm(profiles, discoveryInfo); in HWTEST_F() 123 int32_t ret = DeviceProfileConnector::GetInstance().HandleDmAuthForm(profiles, discoveryInfo); in HWTEST_F() 137 int32_t ret = DeviceProfileConnector in HWTEST_F() [all...] |
H A D | UTTest_dm_auth_manager_third.cpp | 71 DmOfflineParam DeviceProfileConnector::DeleteAccessControlList(const std::string &pkgName, in DeleteAccessControlList() 90 int32_t DeviceProfileConnector::GetTrustNumber(const std::string &deviceId) in GetTrustNumber() 105 bool DeviceProfileConnector::CheckSrcDevIdInAclForDevBind(const std::string &pkgName, const std::string &deviceId) in CheckSrcDevIdInAclForDevBind()
|
/foundation/distributedhardware/device_manager/test/servicesfuzztest/deviceprofileconnector_fuzzer/ |
H A D | device_profile_connector_fuzzer.cpp | 58 DeviceProfileConnector::GetInstance().CheckBindType(trustDeviceId, requestDeviceId); in DeviceProfileConnectorFuzzTest() 59 DeviceProfileConnector::GetInstance().GetBindTypeByPkgName(pkgName, requestDeviceId, trustUdid); in DeviceProfileConnectorFuzzTest() 60 DeviceProfileConnector::GetInstance().GetPkgNameFromAcl(localDeviceId, targetDeviceId); in DeviceProfileConnectorFuzzTest() 61 DeviceProfileConnector::GetInstance().GetOfflineParamFromAcl(trustDeviceId, requestDeviceId); in DeviceProfileConnectorFuzzTest() 62 DeviceProfileConnector::GetInstance().PutAccessControlList(aclInfo, dmAccesser, dmAccessee); in DeviceProfileConnectorFuzzTest() 63 DeviceProfileConnector::GetInstance().DeleteAccessControlList(pkgName, localDeviceId, requestDeviceId, bindLevel); in DeviceProfileConnectorFuzzTest() 64 DeviceProfileConnector::GetInstance().UpdateAccessControlList(userId, accountId, accountId); in DeviceProfileConnectorFuzzTest() 65 DeviceProfileConnector::GetInstance().CheckIdenticalAccount(userId, accountId); in DeviceProfileConnectorFuzzTest() 66 DeviceProfileConnector::GetInstance().CheckDevIdInAclForDevBind(pkgName, localDeviceId); in DeviceProfileConnectorFuzzTest() 67 DeviceProfileConnector in DeviceProfileConnectorFuzzTest() [all...] |
/foundation/distributedhardware/device_manager/commondependency/src/ |
H A D | deviceprofile_connector.cpp | 28 DM_IMPLEMENT_SINGLE_INSTANCE(DeviceProfileConnector); 29 std::vector<AccessControlProfile> DeviceProfileConnector::GetAccessControlProfile() in GetAccessControlProfile() 41 std::vector<AccessControlProfile> DeviceProfileConnector::GetAccessControlProfileByUserId(int32_t userId) in GetAccessControlProfileByUserId() 52 std::unordered_map<std::string, DmAuthForm> DeviceProfileConnector::GetAppTrustDeviceList(const std::string &pkgName, in GetAppTrustDeviceList() 88 int32_t DeviceProfileConnector::GetDeviceAclParam(DmDiscoveryInfo discoveryInfo, bool &isOnline, int32_t &authForm) in GetDeviceAclParam() 132 int32_t DeviceProfileConnector::CheckAuthForm(DmAuthForm form, AccessControlProfile profiles, in CheckAuthForm() 151 int32_t DeviceProfileConnector::HandleDmAuthForm(AccessControlProfile profiles, DmDiscoveryInfo discoveryInfo) in HandleDmAuthForm() 165 uint32_t DeviceProfileConnector::CheckBindType(std::string trustDeviceId, std::string requestDeviceId) in CheckBindType() 183 int32_t DeviceProfileConnector::GetAuthForm(DistributedDeviceProfile::AccessControlProfile profiles, in GetAuthForm() 223 std::vector<int32_t> DeviceProfileConnector [all...] |
/foundation/distributedhardware/device_manager/services/implementation/src/ |
H A D | device_manager_service_impl.cpp | 216 DeviceProfileConnector::GetInstance().GetOfflineParamFromAcl(trustDeviceId, requestDeviceId); in HandleOffline() 253 uint32_t bindType = DeviceProfileConnector::GetInstance().CheckBindType(trustDeviceId, requestDeviceId); in HandleOnline() 266 DeviceProfileConnector::GetInstance().GetPkgNameFromAcl(requestDeviceId, trustDeviceId); in HandleOnline() 275 DeviceProfileConnector::GetInstance().GetPkgNameFromAcl(requestDeviceId, trustDeviceId); in HandleOnline() 634 DeviceProfileConnector::GetInstance().PutAccessControlList(aclInfo, accesser, accessee); in PutIdenticalAccountToAcl() 657 return DeviceProfileConnector::GetInstance().IsSameAccount(udid); in IsSameAccount() 666 return DeviceProfileConnector::GetInstance().GetAppTrustDeviceList(pkgname, deviceId); in GetAppTrustDeviceIdList() 682 DeviceProfileConnector::GetInstance().DeleteAclForAccountLogOut(localUdid, userId, udid); in HandleIdentAccountLogout() 690 DeviceProfileConnector::GetInstance().DeleteAclForUserRemoved(preUserId); in HandleUserRemoved() 698 DeviceProfileConnector in HandleUserSwitched() [all...] |
/foundation/distributedhardware/device_manager/commondependency/include/ |
H A D | deviceprofile_connector.h | 93 class DeviceProfileConnector : public IDeviceProfileConnector { class 94 DM_DECLARE_SINGLE_INSTANCE(DeviceProfileConnector);
|
/foundation/distributedhardware/device_manager/services/implementation/src/devicestate/ |
H A D | dm_device_state_manager.cpp | 301 uint32_t res = DeviceProfileConnector::GetInstance().DeleteTimeOutAcl(idIter->second); in DeleteTimeOutGroup() 465 DeviceProfileConnector::GetInstance().GetAccessControlProfile(); in DeleteGroupByDP()
|
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/ |
H A D | dm_auth_manager.cpp | 345 DeviceProfileConnector::GetInstance().DeleteAccessControlList(pkgName, localUdid, remoteUdid, bindLevel); in DeleteAcl() 791 if (!DeviceProfileConnector::GetInstance().CheckSinkDevIdInAclForDevBind(authResponseContext_->hostPkgName, in AbilityNegotiate() 959 DeviceProfileConnector::GetInstance().SyncAclByBindType(authResponseContext_->hostPkgName, in ProcessAuthRequestExt() 1256 if (DeviceProfileConnector::GetInstance().GetTrustNumber(remoteDeviceId_) >= 1 && in AuthenticateFinish() 1410 DeviceProfileConnector::GetInstance().SyncAclByBindType(authResponseContext_->hostPkgName, in ShowConfigDialog() 2102 DeviceProfileConnector::GetInstance().PutAccessControlList(aclInfo, accesser, accessee); in CompatiblePutAcl() 2126 DeviceProfileConnector::GetInstance().GetBindTypeByPkgName(authResponseContext_->hostPkgName, in ProcRespNegotiateExt() 2288 DeviceProfileConnector::GetInstance().PutAccessControlList(aclInfo, accesser, accessee); in PutAccessControlList() 2327 if (!DeviceProfileConnector::GetInstance().CheckSrcDevIdInAclForDevBind(authResponseContext_->hostPkgName, in CheckTrustState() 2431 DeviceProfileConnector in HandleDeviceNotTrust() [all...] |