Searched refs:foregroundUserId (Results 1 – 6 of 6) sorted by relevance
36 int foregroundUserId = 0; in GetStore() local37 … bool ret = DistributedKv::AccountDelegate::GetInstance()->QueryForegroundUserId(foregroundUserId); in GetStore()43 key.append(std::to_string(foregroundUserId)); in GetStore()
423 int foregroundUserId = 0; in SaveMetaData() local424 … bool ret = DistributedKv::AccountDelegate::GetInstance()->QueryForegroundUserId(foregroundUserId); in SaveMetaData()430 saveMeta.dataDir.append("/").append(std::to_string(foregroundUserId)); in SaveMetaData()436 …DelegateManager(saveMeta.dataDir, saveMeta.appId, saveMeta.user, std::to_string(foregroundUserId)); in SaveMetaData()
212 bool AccountDelegateNormalImpl::QueryForegroundUserId(int &foregroundUserId) in QueryForegroundUserId() argument214 int32_t status = AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(foregroundUserId); in QueryForegroundUserId()
39 bool QueryForegroundUserId(int &foregroundUserId) override;
68 API_EXPORT virtual bool QueryForegroundUserId(int &foregroundUserId) = 0;
874 int foregroundUserId = -1; in CheckUserIdForNotify() local880 … getForegroundIdErr = AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(foregroundUserId); in CheckUserIdForNotify()885 if (userIdOfTimer == foregroundUserId || userIdOfTimer == SYSTEM_USER_ID) { in CheckUserIdForNotify()