/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/test/ |
H A D | account_delegate_test.cpp | 200 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 D | data_share_called_config.cpp | 40 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 D | account_delegate_default_impl.h | 25 int32_t GetUserByToken(uint32_t tokenId) const override;
|
H A D | account_delegate_default_impl.cpp | 33 int32_t AccountDelegateDefaultImpl::GetUserByToken(uint32_t tokenId) const in GetUserByToken() function in OHOS::DistributedKv::AccountDelegateDefaultImpl
|
H A D | account_delegate_normal_impl.h | 30 int32_t GetUserByToken(uint32_t tokenId) const override;
|
H A D | account_delegate_normal_impl.cpp | 53 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 D | data_share_called_config.h | 44 int32_t GetUserByToken(uint32_t tokenId);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/strategies/general/ |
H A D | load_config_common_strategy.cpp | 34 …context->currentUserId = DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(context->ca… in operator ()()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/account/ |
H A D | account_delegate.h | 63 API_EXPORT virtual int32_t GetUserByToken(uint32_t tokenId) const = 0;
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/ |
H A D | cloud_service_impl.cpp | 106 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 D | data_provider_config.cpp | 35 …providerInfo_.currentUserId = DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(caller… in DataProviderConfig()
|
H A D | data_share_service_impl.cpp | 605 …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 D | cloud_data_test.cpp | 188 …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 D | object_service_impl.cpp | 138 const auto userId = DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(token); in OnInitialize()
|
H A D | object_manager.cpp | 1208 const int32_t userId = DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(tokenId); in OnAssetChanged()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_service_impl.cpp | 537 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 D | kvstore_meta_manager.cpp | 140 auto userId = AccountDelegate::GetInstance()->GetUserByToken(tokenId); in InitMetaData()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_service_impl.cpp | 166 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 D | runtime_store.cpp | 394 …ring userId = std::to_string(DistributedKv::AccountDelegate::GetInstance()->GetUserByToken(token)); in BuildMetaDataParam()
|