Home
last modified time | relevance | path

Searched refs:foregroundUserId (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/store/
H A Dstore_cache.cpp36 int foregroundUserId = 0; in GetStore() local
37 … bool ret = DistributedKv::AccountDelegate::GetInstance()->QueryForegroundUserId(foregroundUserId); in GetStore()
43 key.append(std::to_string(foregroundUserId)); in GetStore()
H A Druntime_store.cpp423 int foregroundUserId = 0; in SaveMetaData() local
424 … 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()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/src/
H A Daccount_delegate_normal_impl.cpp212 bool AccountDelegateNormalImpl::QueryForegroundUserId(int &foregroundUserId) in QueryForegroundUserId() argument
214 int32_t status = AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(foregroundUserId); in QueryForegroundUserId()
H A Daccount_delegate_normal_impl.h39 bool QueryForegroundUserId(int &foregroundUserId) override;
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/account/
H A Daccount_delegate.h68 API_EXPORT virtual bool QueryForegroundUserId(int &foregroundUserId) = 0;
/ohos5.0/base/time/time_service/services/timer/src/
H A Dtimer_manager.cpp874 int foregroundUserId = -1; in CheckUserIdForNotify() local
880 … getForegroundIdErr = AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(foregroundUserId); in CheckUserIdForNotify()
885 if (userIdOfTimer == foregroundUserId || userIdOfTimer == SYSTEM_USER_ID) { in CheckUserIdForNotify()