/base/theme/screenlock_mgr/utils/src/ |
D | screenlock_appinfo.cpp | 28 HapTokenInfo hapInfo; in GetAppInfoByToken() local 29 if (AccessTokenKit::GetHapTokenInfo(tokenId, hapInfo) != 0) { in GetAppInfoByToken() 33 appInfo.bundleName = hapInfo.bundleName; in GetAppInfoByToken() 34 appInfo.appId = hapInfo.appID; in GetAppInfoByToken()
|
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/bms/include/ |
D | hks_bms_api_wrap.h | 25 int32_t HksGetHapInfo(const struct HksProcessInfo *processInfo, struct HksBlob *hapInfo);
|
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | hap_restorecon.cpp | 146 static std::string GetHapContextKey(struct SehapInfo *hapInfo) in GetHapContextKey() argument 150 if (hapInfo->debuggable) { in GetHapContextKey() 151 keyPara = hapInfo->apl + "." + DEBUGGABLE; in GetHapContextKey() 152 } else if (!hapInfo->name.empty()) { in GetHapContextKey() 153 keyPara = hapInfo->apl + "." + hapInfo->name; in GetHapContextKey() 155 keyPara = hapInfo->apl; in GetHapContextKey()
|
/base/sensors/sensor/services/src/ |
D | sensor_manager.cpp | 193 HapTokenInfo hapInfo; in GetPackageName() local 194 if (AccessTokenKit::GetHapTokenInfo(tokenId, hapInfo) != 0) { in GetPackageName() 198 packageName = hapInfo.bundleName; in GetPackageName()
|
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/bms/src/ |
D | hks_bms_api_wrap.cpp | 96 int32_t HksGetHapInfo(const struct HksProcessInfo *processInfo, struct HksBlob *hapInfo) in HksGetHapInfo() argument 99 HKS_IF_NULL_LOGE_RETURN(hapInfo, HKS_ERROR_NULL_POINTER, "hapInfo is nullptr.") in HksGetHapInfo() 124 int32_t ret = ConvertCallerInfoToJson(bundleInfo.appId, hapTokenInfo.bundleName, hapInfo, true); in HksGetHapInfo()
|
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
D | accesstoken_kit_test.h | 57 …AccessTokenID AllocTestToken(const HapInfoParams& hapInfo, const HapPolicyParams& hapPolicy) const;
|
D | accesstoken_kit_test.cpp | 290 const HapInfoParams& hapInfo, const HapPolicyParams& hapPolicy) const in AllocTestToken() argument 293 tokenIdEx = AccessTokenKit::AllocHapToken(hapInfo, hapPolicy); in AllocTestToken() 596 HapTokenInfo hapInfo; variable 597 int ret = AccessTokenKit::GetHapTokenInfo(tokenID, hapInfo); 601 .apl = hapInfo.apl, 606 info.appIDDesc = hapInfo.appID; 1184 HapTokenInfo hapInfo; variable 1185 ret = AccessTokenKit::GetHapTokenInfo(tokenID, hapInfo); 1197 .apl = hapInfo.apl, 1203 info.appIDDesc = hapInfo.appID; [all …]
|
/base/msdp/device_status/services/native/src/ |
D | devicestatus_manager.cpp | 290 HapTokenInfo hapInfo; in GetPackageName() local 291 if (AccessTokenKit::GetHapTokenInfo(tokenId, hapInfo) != 0) { in GetPackageName() 295 packageName = hapInfo.bundleName; in GetPackageName()
|
D | devicestatus_dumper.cpp | 356 Security::AccessToken::HapTokenInfo hapInfo; in GetPackageName() local 357 … if (Security::AccessToken::AccessTokenKit::GetHapTokenInfo(tokenId, hapInfo) != RET_OK) { in GetPackageName() 361 packageName = hapInfo.bundleName; in GetPackageName()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
D | accesstoken_info_manager.cpp | 1045 std::shared_ptr<HapTokenInfoInner>& hapInfo = iter->second; in StoreAllTokenInfo() local 1046 hapInfo->StoreHapInfo(hapInfoValues); in StoreAllTokenInfo() 1047 hapInfo->StorePermissionPolicy(permStateValues); in StoreAllTokenInfo() 1048 if (hapInfo->permUpdateTimestamp_ > lastestUpdateStamp) { in StoreAllTokenInfo() 1049 lastestUpdateStamp = hapInfo->permUpdateTimestamp_; in StoreAllTokenInfo() 1102 std::shared_ptr<HapTokenInfoInner> hapInfo = GetHapTokenInfoInner(tokenID); in ModifyHapPermStateFromDb() local 1103 if (hapInfo == nullptr) { in ModifyHapPermStateFromDb() 1107 hapInfo->StorePermissionPolicy(permStateValues); in ModifyHapPermStateFromDb() 1128 std::shared_ptr<HapTokenInfoInner> hapInfo = GetHapTokenInfoInner(tokenID); in AddHapTokenInfoToDb() local 1129 if (hapInfo == nullptr) { in AddHapTokenInfoToDb() [all …]
|
/base/security/code_signature/utils/src/ |
D | code_sign_block.cpp | 145 auto hapInfo = GetHapSignInfo(); in ParseHapSignInfo() local 146 signMap_.emplace(path, reinterpret_cast<uintptr_t>(&hapInfo->signInfo)); in ParseHapSignInfo()
|
/base/msdp/device_status/intention/drag/server/src/ |
D | drag_server.cpp | 413 Security::AccessToken::HapTokenInfo hapInfo; in GetPackageName() local 414 if (Security::AccessToken::AccessTokenKit::GetHapTokenInfo(tokenId, hapInfo) != 0) { in GetPackageName() 417 packageName = hapInfo.bundleName; in GetPackageName()
|
/base/msdp/device_status/intention/cooperate/plugin/src/ |
D | state_machine.cpp | 387 Security::AccessToken::HapTokenInfo hapInfo; in GetPackageName() local 388 … if (Security::AccessToken::AccessTokenKit::GetHapTokenInfo(tokenId, hapInfo) != RET_OK) { in GetPackageName() 391 bundleName = hapInfo.bundleName; in GetPackageName()
|
/base/security/access_token/frameworks/accesstoken/include/ |
D | i_accesstoken_manager.h | 69 …virtual AccessTokenIDEx AllocHapToken(const HapInfoParcel& hapInfo, const HapPolicyParcel& policyP…
|
/base/security/access_token/interfaces/innerkits/accesstoken/src/ |
D | accesstoken_manager_proxy.h | 69 …AccessTokenIDEx AllocHapToken(const HapInfoParcel& hapInfo, const HapPolicyParcel& policyParcel) o…
|
D | accesstoken_manager_proxy.cpp | 534 const HapInfoParcel& hapInfo, const HapPolicyParcel& policyParcel) in AllocHapToken() argument 543 if (!data.WriteParcelable(&hapInfo)) { in AllocHapToken()
|
/base/sensors/miscdevice/services/miscdevice_service/src/ |
D | miscdevice_service.cpp | 445 HapTokenInfo hapInfo; in GetPackageName() local 446 if (AccessTokenKit::GetHapTokenInfo(tokenId, hapInfo) != 0) { in GetPackageName() 450 packageName = hapInfo.bundleName; in GetPackageName()
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | accesstoken_info_manager_test.cpp | 520 HapTokenInfo hapInfo; variable 521 … AccessTokenInfoManager::GetInstance().GetHapTokenInfo(tokenIdEx.tokenIdExStruct.tokenID, hapInfo); 528 … AccessTokenInfoManager::GetInstance().GetHapTokenInfo(tokenIdEx.tokenIdExStruct.tokenID, hapInfo); 2234 UpdateHapInfoParams hapInfo; variable 2235 hapInfo.apiVersion = DEFAULT_API_VERSION; 2236 hapInfo.isSystemApp = false; 2237 hap->Update(hapInfo, policy.permStateList, policy.apl); // permPolicySet_ is null
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | permission_manager.cpp | 847 HapTokenInfo hapInfo; in GetApiVersionByTokenId() local 848 int ret = AccessTokenInfoManager::GetInstance().GetHapTokenInfo(tokenID, hapInfo); in GetApiVersionByTokenId() 854 apiVersion = hapInfo.apiVersion; in GetApiVersionByTokenId()
|