/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | meta_data_test.cpp | 53 int32_t GetInstIndex(uint32_t tokenId, const DistributedKv::AppId &appId); 56 int32_t MetaDataTest::GetInstIndex(uint32_t tokenId, const DistributedKv::AppId &appId) in GetInstIndex() function in OHOS::Test::DistributedDataTest::MetaDataTest 119 metaData_.instanceId = GetInstIndex(metaData_.tokenId, appId); in SetUp()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/permission/ |
H A D | uri_permission_manager.cpp | 42 if (!PreProcessUtils::GetInstIndex(tokenId, instIndex)) { in GrantUriPermission() 91 if (!PreProcessUtils::GetInstIndex(tokenId, instIndex)) { in RevokeUriPermission()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/preprocess/ |
H A D | preprocess_utils.h | 40 static bool GetInstIndex(uint32_t tokenId, int32_t &instIndex);
|
H A D | preprocess_utils.cpp | 242 bool PreProcessUtils::GetInstIndex(uint32_t tokenId, int32_t &instIndex) in GetInstIndex() function in OHOS::UDMF::PreProcessUtils
|
/ohos5.0/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
H A D | accesstoken_info_manager.cpp | 171 … hap->GetBundleName().c_str(), hap->GetUserID(), hap->GetReqPermissionSize(), hap->GetInstIndex()); in InitHapTokenInfos() 236 return GetHapUniqueStr(info->GetUserID(), info->GetBundleName(), info->GetInstIndex()); in GetHapUniqueStr() 274 "INSTINDEX", info->GetInstIndex()); in AddHapTokenInfo() 359 … hap->GetBundleName().c_str(), hap->GetUserID(), hap->GetInstIndex(), hap->GetReqPermissionSize()); in GetHapTokenInfoInner() 497 "INSTINDEX", info->GetInstIndex()); in RemoveHapTokenInfo() 594 … tokenId, tokenInfo->GetBundleName().c_str(), tokenInfo->GetUserID(), tokenInfo->GetInstIndex()); in CreateHapTokenInfo() 753 … tokenID, infoPtr->GetBundleName().c_str(), infoPtr->GetUserID(), infoPtr->GetInstIndex(), in UpdateHapToken() 1297 int32_t index = infoIter->second->GetInstIndex(); in GetRelatedSandBoxHapList() 1310 if ((iter->second->GetDlpType() == DLP_COMMON) && (iter->second->GetInstIndex() != 0)) { in GetRelatedSandBoxHapList()
|
H A D | hap_token_info_inner.cpp | 249 int HapTokenInfoInner::GetInstIndex() const in GetInstIndex() function in OHOS::Security::AccessToken::HapTokenInfoInner
|
/ohos5.0/base/security/access_token/services/accesstokenmanager/main/cpp/include/token/ |
H A D | hap_token_info_inner.h | 56 int GetInstIndex() const;
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_service_impl.cpp | 169 auto instanceId = GetInstIndex(IPCSkeleton::GetCallingTokenID(), appId); in GetStoreIds() 677 storeInfo.instanceId = GetInstIndex(storeInfo.tokenId, appId); in BeforeCreate() 903 metaData.instanceId = GetInstIndex(metaData.tokenId, appId); in GetStoreMetaData() 918 strategyMeta.instanceId = GetInstIndex(tokenId, appId); in GetStrategyMeta() 922 int32_t KVDBServiceImpl::GetInstIndex(uint32_t tokenId, const AppId &appId) in GetInstIndex() function in OHOS::DistributedKv::KVDBServiceImpl
|
H A D | kvdb_service_impl.h | 121 int32_t GetInstIndex(uint32_t tokenId, const AppId &appId);
|