Home
last modified time | relevance | path

Searched refs:GetHapTokenInfo (Results 1 - 25 of 50) sorted by relevance

12

/foundation/filemanagement/app_file_service/tests/mock/accesstoken/src/
H A Daccesstoken_kit_mock.cpp24 int AccessTokenKit::GetHapTokenInfo(AccessTokenID callerToken, HapTokenInfo &hapTokenInfoRes) in GetHapTokenInfo() function in OHOS::Security::AccessToken::AccessTokenKit
26 return OHOS::FileManagement::Backup::BAccessTokenKit::token->GetHapTokenInfo(callerToken, hapTokenInfoRes); in GetHapTokenInfo()
/foundation/filemanagement/app_file_service/tests/mock/accesstoken/include/
H A Daccesstoken_kit_mock.h28 virtual int GetHapTokenInfo(Security::AccessToken::AccessTokenID, Security::AccessToken::HapTokenInfo&) = 0;
41 MOCK_METHOD(int, GetHapTokenInfo, (Security::AccessToken::AccessTokenID, Security::AccessToken::HapTokenInfo&));
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/system/reimplement/
H A Daccesstoken_kit_mock.cpp24 int AccessTokenKit::GetHapTokenInfo(AccessTokenID callerToken, HapTokenInfo &hapTokenInfoRes) in GetHapTokenInfo() function in OHOS::Security::AccessToken::AccessTokenKit
/foundation/ability/ability_runtime/test/unittest/uri_permission_impl_test/mock/include/
H A Dmock_accesstoken_kit.h33 static int GetHapTokenInfo(AccessTokenID tokenID, HapTokenInfo& hapInfo);
/foundation/filemanagement/app_file_service/tests/mock/accesstoken/
H A Daccesstoken_kit_mock.cpp25 int AccessTokenKit::GetHapTokenInfo(AccessTokenID callerToken, HapTokenInfo &hapTokenInfoRes) in GetHapTokenInfo() function in OHOS::Security::AccessToken::AccessTokenKit
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/
H A Dmock_accesstoken_kit.cpp27 int AccessTokenKit::GetHapTokenInfo(AccessTokenID tokenID, HapTokenInfo &hapTokenInfo) in GetHapTokenInfo() function in OHOS::Security::AccessToken::AccessTokenKit
29 GTEST_LOG_(INFO) << "GetHapTokenInfo called " << MockFormParams::bundleName; in GetHapTokenInfo()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Ddirectory_manager_test.cpp102 AccessTokenKit::GetHapTokenInfo(metaData.tokenId, tokenInfo); in HWTEST_F()
169 AccessTokenKit::GetHapTokenInfo(metaData.tokenId, tokenInfo); in HWTEST_F()
193 AccessTokenKit::GetHapTokenInfo(metaData.tokenId, tokenInfo); in HWTEST_F()
H A Dmeta_data_test.cpp65 int errCode = AccessTokenKit::GetHapTokenInfo(tokenId, tokenInfo); in GetInstIndex()
/foundation/ability/ability_runtime/test/unittest/uri_permission_impl_test/mock/src/
H A Dmock_accesstoken_kit.cpp41 int AccessTokenKit::GetHapTokenInfo(AccessTokenID tokenID, HapTokenInfo& hapInfo) in GetHapTokenInfo() function in OHOS::Security::AccessToken::AccessTokenKit
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/preprocess/
H A Dpreprocess_utils.cpp95 auto result = Security::AccessToken::AccessTokenKit::GetHapTokenInfo(tokenId, tokenInfo); in GetHapUidByToken()
106 if (Security::AccessToken::AccessTokenKit::GetHapTokenInfo(tokenId, hapInfo) in GetHapBundleNameByToken()
249 int errCode = AccessTokenKit::GetHapTokenInfo(tokenId, tokenInfo); in GetInstIndex()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/strategies/general/
H A Dload_config_common_strategy.cpp47 auto result = Security::AccessToken::AccessTokenKit::GetHapTokenInfo(context->callerTokenId, tokenInfo); in operator ()()
/foundation/distributeddatamgr/udmf/framework/common/
H A Dudmf_utils.cpp73 auto ret = Security::AccessToken::AccessTokenKit::GetHapTokenInfo(tokenId, hapTokenInfo); in GetSdkVersionByToken()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/permission/
H A Dpermission_utils.cpp114 if (AccessTokenKit::GetHapTokenInfo(tokenId, hapTokenInfo) != AccessTokenKitRet::RET_SUCCESS) { in GetApiVersion()
H A Dpermission_helper.cpp122 if (Security::AccessToken::AccessTokenKit::GetHapTokenInfo(callerToken, hapTokenInfo) == RET_SUCCESS) { in VerifyAccessBluetoothPermission()
/foundation/communication/nfc/services/src/card_emulation/
H A Dhost_card_emulation_manager.cpp304 int result = Security::AccessToken::AccessTokenKit::GetHapTokenInfo(callerToken, hapTokenInfo); in RegHceCmdCallback()
349 int result = Security::AccessToken::AccessTokenKit::GetHapTokenInfo(callerToken, hapTokenInfo); in IsCorrespondentService()
462 int result = Security::AccessToken::AccessTokenKit::GetHapTokenInfo(callerToken, hapTokenInfo); in EraseHceCmdCallback()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_permission_utils.cpp195 if (AccessTokenKit::GetHapTokenInfo(tokenId, hapTokenInfo) != AccessTokenKitRet::RET_SUCCESS) {
/foundation/distributeddatamgr/data_share/frameworks/native/permission/src/
H A Ddata_share_called_config.cpp47 auto result = AccessTokenKit::GetHapTokenInfo(tokenId, tokenInfo); in GetUserByToken()
/foundation/filemanagement/dfs_service/utils/system/src/
H A Ddfsu_access_token_helper.cpp75 if (AccessTokenKit::GetHapTokenInfo(tokenId, hapInfo) != 0) { in GetBundleNameByToken()
/foundation/filemanagement/file_api/interfaces/kits/native/remote_uri/
H A Dremote_uri.cpp66 Security::AccessToken::AccessTokenKit::GetHapTokenInfo(pid, tokenInfo); in GetCallingPkgName()
/foundation/ability/ability_runtime/services/uripermmgr/src/
H A Duri_permission_utils.cpp203 auto ret = Security::AccessToken::AccessTokenKit::GetHapTokenInfo(tokenId, hapInfo); in GetAlterableBundleNameByTokenId()
205 TAG_LOGE(AAFwkTag::URIPERMMGR, "GetHapTokenInfo failed, ret:%{public}d", ret); in GetAlterableBundleNameByTokenId()
218 auto ret = Security::AccessToken::AccessTokenKit::GetHapTokenInfo(tokenId, hapInfo); in GetBundleNameByTokenId()
220 TAG_LOGE(AAFwkTag::URIPERMMGR, "GetHapTokenInfo failed, ret:%{public}d", ret); in GetBundleNameByTokenId()
/foundation/communication/nfc/services/src/ipc/card_emulation/
H A Dhce_session_stub.cpp205 int result = Security::AccessToken::AccessTokenKit::GetHapTokenInfo(callerToken, hapTokenInfo); in StartHceInner()
266 int result = Security::AccessToken::AccessTokenKit::GetHapTokenInfo(callerToken, hapTokenInfo); in StopHce()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/checker/
H A Dbundle_checker.cpp123 if (AccessTokenKit::GetHapTokenInfo(info.tokenId, tokenInfo) != RET_SUCCESS) { in IsValid()
/foundation/distributedhardware/device_manager/services/service/src/permission/standard/
H A Dpermission_manager.cpp129 if (AccessTokenKit::GetHapTokenInfo(tokenCaller, tokenInfo) != EOK) { in GetCallerProcessName()
130 LOGE("GetHapTokenInfo failed."); in GetCallerProcessName()
/foundation/communication/dsoftbus/core/common/security/permission/standard/
H A Daccess_control.cpp252 int32_t ret = AccessTokenKit::GetHapTokenInfo(callingId, hapTokenInfo); in TransGetTokenInfo()
254 COMM_LOGW(COMM_PERM, "GetHapTokenInfo return err:%{public}d", ret); in TransGetTokenInfo()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/src/
H A Daccount_delegate_normal_impl.cpp61 auto result = AccessTokenKit::GetHapTokenInfo(tokenId, tokenInfo); in GetUserByToken()

Completed in 11 milliseconds

12