Home
last modified time | relevance | path

Searched refs:GetInstIndex (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dmeta_data_test.cpp53 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 Duri_permission_manager.cpp42 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 Dpreprocess_utils.h40 static bool GetInstIndex(uint32_t tokenId, int32_t &instIndex);
H A Dpreprocess_utils.cpp242 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 Daccesstoken_info_manager.cpp171 … 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 Dhap_token_info_inner.cpp249 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 Dhap_token_info_inner.h56 int GetInstIndex() const;
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_service_impl.cpp169 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 Dkvdb_service_impl.h121 int32_t GetInstIndex(uint32_t tokenId, const AppId &appId);