Home
last modified time | relevance | path

Searched refs:accountName (Results 1 - 12 of 12) sorted by relevance

/foundation/resourceschedule/memmgr/test/unittest/phone/
H A Ddefault_multi_account_strategy_test.cpp68 std::string accountName = "admin"; in HWTEST_F() local
74 AccountPriorityInfo accPri1(accountId, accountName, accountType, isActived); in HWTEST_F()
75 MultiAccountManager::GetInstance().SetAccountPriority(accountId, accountName, accountType, isActived); in HWTEST_F()
82 AccountPriorityInfo accPri2(accountId, accountName, accountType, isActived); in HWTEST_F()
83 MultiAccountManager::GetInstance().SetAccountPriority(accountId, accountName, accountType, isActived); in HWTEST_F()
105 std::string accountName = "admin"; in HWTEST_F() local
111 MultiAccountManager::GetInstance().SetAccountPriority(accountId, accountName, accountType, isActived); in HWTEST_F()
H A Dmulti_account_manager_test.cpp65 std::string accountName = "admin"; in HWTEST_F() local
69 MultiAccountManager::GetInstance().SetAccountPriority(accountId, accountName, accountType, isActived); in HWTEST_F()
73 EXPECT_STREQ(info->GetName().c_str(), accountName.c_str()); in HWTEST_F()
82 std::string accountName = "admin"; in HWTEST_F() local
87 MultiAccountManager::GetInstance().SetAccountPriority(accountId, accountName, accountType, isActived); in HWTEST_F()
135 std::string accountName = "admin"; in HWTEST_F() local
138 MultiAccountManager::GetInstance().SetAccountPriority(accountId, accountName, accountType, isActived); in HWTEST_F()
154 std::string accountName = "admin"; in HWTEST_F() local
158 MultiAccountManager::GetInstance().SetAccountPriority(accountId, accountName, accountType, isActived); in HWTEST_F()
163 EXPECT_STREQ(accountInfo->GetName().c_str(), accountName in HWTEST_F()
[all...]
/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_relationship_sync_mgr.cpp48 msg.accountName = "1"; in HWTEST_F()
61 msg.accountName = "1"; in HWTEST_F()
74 msg.accountName = "1"; in HWTEST_F()
87 msg.accountName = "1"; in HWTEST_F()
100 msg.accountName = "1"; in HWTEST_F()
113 msg.accountName = "1"; in HWTEST_F()
126 msg.accountName = "1"; in HWTEST_F()
140 msg.accountName = "1"; in HWTEST_F()
154 msg.accountName = "1"; in HWTEST_F()
H A DUTTest_device_manager_service.cpp332 std::string accountName = "openharmony123"; in HWTEST_F() local
346 DeviceManagerService::GetInstance().SendAccountLogoutBroadCast(peerUdids, accountId, accountName, userId); in HWTEST_F()
2375 "accountName" : "account_xiao" in HWTEST_F()
2385 "accountName" : "account_li" in HWTEST_F()
2395 "accountName" : "account_wang" in HWTEST_F()
/foundation/distributedhardware/device_manager/commondependency/src/
H A Dmultiple_user_connector.cpp117 void MultipleUserConnector::SetSwitchOldAccountName(std::string accountName) in SetSwitchOldAccountName() argument
120 accountName_ = accountName; in SetSwitchOldAccountName()
/foundation/distributedhardware/device_manager/commondependency/include/
H A Dmultiple_user_connector.h73 static void SetSwitchOldAccountName(std::string accountName);
/foundation/distributedhardware/device_manager/services/service/include/relationshipsyncmgr/
H A Drelationship_sync_mgr.h42 std::string accountName; member
/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_priority_manager/
H A Dmulti_account_manager.cpp85 bool MultiAccountManager::SetAccountPriority(int accountId, std::string accountName, in SetAccountPriority() argument
91 accountId, accountName, accountType, isActived); in SetAccountPriority()
94 accountInfo->SetName(accountName); in SetAccountPriority()
/foundation/resourceschedule/memmgr/services/memmgrservice/include/reclaim_priority_manager/
H A Dmulti_account_manager.h35 bool SetAccountPriority(int accountId, std::string accountName,
/foundation/distributedhardware/device_manager/services/service/src/
H A Ddevice_manager_service.cpp1678 std::string accountName = MultipleUserConnector::GetSwitchOldAccountName(); in HandleAccountLogout() local
1679 SendAccountLogoutBroadCast(peerUdids, std::string(accountIdHash), accountName, userId); in HandleAccountLogout()
1700 const std::string &accountId, const std::string &accountName, int32_t userId) in SendAccountLogoutBroadCast()
1702 LOGI("accountId %{public}s, accountName %{public}s, userId %{public}d.", GetAnonyString(accountId).c_str(), in SendAccountLogoutBroadCast()
1703 GetAnonyString(accountName).c_str(), userId); in SendAccountLogoutBroadCast()
1709 msg.accountName = accountName; in SendAccountLogoutBroadCast()
1905 "peerUdid %{public}s, accountName %{public}s.", relationShipMsg.type, relationShipMsg.userId, in HandleDeviceTrustedChange()
1907 GetAnonyString(relationShipMsg.peerUdid).c_str(), GetAnonyString(relationShipMsg.accountName).c_str()); in HandleDeviceTrustedChange()
1699 SendAccountLogoutBroadCast(const std::vector<std::string> &peerUdids, const std::string &accountId, const std::string &accountName, int32_t userId) SendAccountLogoutBroadCast() argument
/foundation/distributedhardware/device_manager/services/service/src/relationshipsyncmgr/
H A Drelationship_sync_mgr.cpp325 cJSON_AddStringToObject(msg, MSG_ACCOUNTID, accountName.c_str()); in ToJson()
/foundation/distributedhardware/device_manager/services/service/include/
H A Ddevice_manager_service.h217 const std::string &accountName, int32_t userId);

Completed in 11 milliseconds