Searched refs:activeUserId (Results 1 – 6 of 6) sorted by relevance
50 int32_t activeUserId = 100; variable51 EXPECT_EQ(result, activeUserId);64 int32_t activeUserId = -4; variable65 EXPECT_EQ(result, activeUserId);83 int32_t activeUserId = -4; variable84 EXPECT_EQ(result, activeUserId);107 int32_t activeUserId = -4; variable108 EXPECT_EQ(result, activeUserId);
29 std::vector<int32_t> activeUserId; in GetActiveUserId() local30 auto errCode = AccountSA::OsAccountManager::QueryActiveOsAccountIds(activeUserId); in GetActiveUserId()36 if (activeUserId.empty()) { in GetActiveUserId()41 return activeUserId.front(); in GetActiveUserId()
1033 std::vector<int> activeUserId; in ParseDoNotDisturbType() local1034 OHOS::AccountSA::OsAccountManager::QueryActiveOsAccountIds(activeUserId); in ParseDoNotDisturbType()1036 for (auto iter : activeUserId) { in ParseDoNotDisturbType()1043 std::vector<int> activeUserId; in ParseDoNotDisturbBeginDate() local1044 OHOS::AccountSA::OsAccountManager::QueryActiveOsAccountIds(activeUserId); in ParseDoNotDisturbBeginDate()1046 for (auto iter : activeUserId) { in ParseDoNotDisturbBeginDate()1053 std::vector<int> activeUserId; in ParseDoNotDisturbEndDate() local1054 OHOS::AccountSA::OsAccountManager::QueryActiveOsAccountIds(activeUserId); in ParseDoNotDisturbEndDate()1056 for (auto iter : activeUserId) { in ParseDoNotDisturbEndDate()1063 std::vector<int> activeUserId; in ParseEnableAllNotification() local[all …]
396 int32_t activeUserId = -1; in GenerateValidBundleOption() local397 if (!GetActiveUserId(activeUserId)) { in GenerateValidBundleOption()401 …nt32_t uid = bundleManager->GetDefaultUidByBundleName(bundleOption->GetBundleName(), activeUserId); in GenerateValidBundleOption()1147 int32_t activeUserId = SUBSCRIBE_USER_INIT; in DeleteAll() local1148 (void)GetActiveUserId(activeUserId); in DeleteAll()1159 result = RemoveFromNotificationListForDeleteAll(key, activeUserId, notification); in DeleteAll()1164 if (notification->GetUserId() == activeUserId) { in DeleteAll()2067 int32_t activeUserId = -1; in SetAgentNotification() local2068 if (!GetActiveUserId(activeUserId)) { in SetAgentNotification()2074 notificationRequest->SetOwnerUserId(activeUserId); in SetAgentNotification()[all …]
1067 std::vector<int32_t> activeUserId; in InitUserId() local1068 AccountSA::OsAccountManager::QueryActiveOsAccountIds(activeUserId); in InitUserId()1069 if (activeUserId.size() > 0) { in InitUserId()1070 currentUserId_ = activeUserId[0]; in InitUserId()
467 std::optional<int32_t> activeUserId; in Dump() local468 if (IpcCommon::GetActiveUserId(activeUserId) != SUCCESS) { in Dump()473 dprintf(fd, "Active user is %d\n", activeUserId.value()); in Dump()474 auto userInfo = UserIdmDatabase::Instance().GetSecUserInfo(activeUserId.value()); in Dump()