Home
last modified time | relevance | path

Searched refs:GetUserByToken (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/test/
H A Daccount_delegate_test.cpp200 HWTEST_F(AccountDelegateTest, GetUserByToken, TestSize.Level0)
202 auto user = AccountDelegate::GetInstance()->GetUserByToken(INVALID_TOKEN_ID);
204 user = AccountDelegate::GetInstance()->GetUserByToken(OHOS::IPCSkeleton::GetCallingTokenID());
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/permission/src/
H A Ddata_share_called_config.cpp40 int32_t DataShareCalledConfig::GetUserByToken(uint32_t tokenId) in GetUserByToken() function in OHOS::DataShare::DataShareCalledConfig
103 providerInfo_.currentUserId = GetUserByToken(tokenId); in GetProviderInfo()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/src/
H A Daccount_delegate_default_impl.h25 int32_t GetUserByToken(uint32_t tokenId) const override;
H A Daccount_delegate_default_impl.cpp33 int32_t AccountDelegateDefaultImpl::GetUserByToken(uint32_t tokenId) const in GetUserByToken() function in OHOS::DistributedKv::AccountDelegateDefaultImpl
H A Daccount_delegate_normal_impl.h30 int32_t GetUserByToken(uint32_t tokenId) const override;
H A Daccount_delegate_normal_impl.cpp53 int32_t AccountDelegateNormalImpl::GetUserByToken(uint32_t tokenId) const in GetUserByToken() function in OHOS::DistributedKv::AccountDelegateNormalImpl
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/permission/include/
H A Ddata_share_called_config.h44 int32_t GetUserByToken(uint32_t tokenId);
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/strategies/general/
H A Dload_config_common_strategy.cpp34 …context->currentUserId = DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(context->ca… in operator ()()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/account/
H A Daccount_delegate.h63 API_EXPORT virtual int32_t GetUserByToken(uint32_t tokenId) const = 0;
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/
H A Dcloud_service_impl.cpp106 auto user = Account::GetInstance()->GetUserByToken(tokenId); in EnableCloud()
128 auto user = Account::GetInstance()->GetUserByToken(tokenId); in DisableCloud()
151 auto user = Account::GetInstance()->GetUserByToken(tokenId); in ChangeAppSwitch()
258 auto user = Account::GetInstance()->GetUserByToken(tokenId); in Clean()
371 auto user = Account::GetInstance()->GetUserByToken(tokenId); in NotifyDataChange()
520 auto user = Account::GetInstance()->GetUserByToken(tokenId); in QueryStatistics()
549 hapInfo.user = Account::GetInstance()->GetUserByToken(tokenId); in SetGlobalCloudStrategy()
563 auto user = Account::GetInstance()->GetUserByToken(IPCSkeleton::GetCallingTokenID()); in QueryLastSyncInfo()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/
H A Ddata_provider_config.cpp35 …providerInfo_.currentUserId = DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(caller… in DataProviderConfig()
H A Ddata_share_service_impl.cpp605 …const auto userId = DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(binderInfo.selfT… in OnBind()
935 …int32_t currentUserId = DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(callerTokenI… in GetSilentProxyStatus()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dcloud_data_test.cpp188 …metaData_.user = std::to_string(DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(meta… in InitMetaData()
227 …cloudInfo_.user = DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(IPCSkeleton::GetCa… in InitCloudInfo()
305 …auto user = DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(OHOS::IPCSkeleton::GetCa…
741 …metaData_.user = std::to_string(DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(meta…
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
H A Dobject_service_impl.cpp138 const auto userId = DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(token); in OnInitialize()
H A Dobject_manager.cpp1208 const int32_t userId = DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(tokenId); in OnAssetChanged()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_service_impl.cpp537 storeInfo.user = AccountDelegate::GetInstance()->GetUserByToken(storeInfo.tokenId); in DoCloudSync()
710 storeInfo.user = AccountDelegate::GetInstance()->GetUserByToken(storeInfo.tokenId); in QuerySharingResource()
1205 storeInfo.user = AccountDelegate::GetInstance()->GetUserByToken(storeInfo.tokenId); in GetStoreInfo()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/
H A Dkvstore_meta_manager.cpp140 auto userId = AccountDelegate::GetInstance()->GetUserByToken(tokenId); in InitMetaData()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_service_impl.cpp166 auto user = AccountDelegate::GetInstance()->GetUserByToken(IPCSkeleton::GetCallingTokenID()); in GetStoreIds()
907 auto user = AccountDelegate::GetInstance()->GetUserByToken(metaData.tokenId); in GetStoreMetaData()
915 auto userId = AccountDelegate::GetInstance()->GetUserByToken(tokenId); in GetStrategyMeta()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/store/
H A Druntime_store.cpp394 …ring userId = std::to_string(DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(token)); in BuildMetaDataParam()