/base/notification/distributed_notification_service/services/ans/test/unittest/ |
D | advanced_notification_service_branch_test.cpp | 168 MockGetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP); 212 MockGetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP); 231 MockGetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP); 251 MockGetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP); 268 MockGetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP); 299 MockGetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP); 330 MockGetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP); 365 MockGetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP); 384 MockGetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP); 416 MockGetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP); [all …]
|
/base/notification/common_event_service/services/src/ |
D | access_token_helper.cpp | 46 if (tokenType != ATokenTypeEnum::TOKEN_HAP) { in RecordSensitivePermissionUsage() 63 if (type == ATokenTypeEnum::TOKEN_HAP) { in IsDlpHap() 87 if (type == ATokenTypeEnum::TOKEN_HAP) { in IsSystemApp()
|
/base/powermgr/power_manager/utils/permission/src/ |
D | permission.cpp | 38 case ATokenTypeEnum::TOKEN_HAP: in IsHap() 61 case ATokenTypeEnum::TOKEN_HAP: in IsSystem() 92 case ATokenTypeEnum::TOKEN_HAP: in IsPermissionGranted()
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | access_token_helper.cpp | 43 if (type == ATokenTypeEnum::TOKEN_HAP) { in IsSystemApp() 55 if (type == ATokenTypeEnum::TOKEN_HAP) { in IsDlpHap()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
D | mock_accesstoken_kit.cpp | 28 return TOKEN_HAP; in GetTokenTypeFlag()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/access_token_helper_test/ |
D | access_token_helper_test.cpp | 104 MockGetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP); 116 MockGetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP);
|
/base/request/request/services/service/rust/src/c_wrapper/source/ |
D | get_calling_bundle.cpp | 28 if (tokenType != TOKEN_HAP) { in GetCallingBundle()
|
/base/notification/distributed_notification_service/services/test/moduletest/mock/ |
D | mock_accesstoken_kit.cpp | 22 ATokenTypeEnum g_mockGetTokenTypeFlagRet = ATokenTypeEnum::TOKEN_HAP;
|
/base/notification/common_event_service/test/mock/ |
D | mock_accesstoken_kit.cpp | 25 return ATokenTypeEnum::TOKEN_HAP; in GetTokenTypeFlag()
|
/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/ |
D | access_token.h | 31 TOKEN_HAP = 0, enumerator
|
/base/security/access_token/services/privacymanager/src/service/ |
D | privacy_manager_stub.cpp | 96 if ((AccessTokenKit::GetTokenType(callingTokenID) == TOKEN_HAP) && (!IsSystemAppCalling())) { in AddPermissionUsedRecordInner() 115 if ((AccessTokenKit::GetTokenType(callingTokenID) == TOKEN_HAP) && (!IsSystemAppCalling())) { in StartUsingPermissionInner() 150 if ((AccessTokenKit::GetTokenType(callingTokenID) == TOKEN_HAP) && (!IsSystemAppCalling())) { in StopUsingPermissionInner() 180 if ((AccessTokenKit::GetTokenType(callingTokenID) == TOKEN_HAP) && (!IsSystemAppCalling())) { in GetPermissionUsedRecordsInner() 225 if ((AccessTokenKit::GetTokenType(callingTokenID) == TOKEN_HAP) && (!IsSystemAppCalling())) { in RegisterPermActiveStatusCallbackInner() 257 if ((AccessTokenKit::GetTokenType(callingTokenID) == TOKEN_HAP) && (!IsSystemAppCalling())) { in UnRegisterPermActiveStatusCallbackInner()
|
/base/theme/screenlock_mgr/utils/src/ |
D | screenlock_appinfo.cpp | 27 case ATokenTypeEnum::TOKEN_HAP: { in GetAppInfoByToken()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_permission_check.cpp | 52 if (tokenType == TOKEN_HAP) { /* only care about hap type */ in CmIsSystemApp()
|
/base/account/os_account/frameworks/common/utils/src/ |
D | account_permission_manager.cpp | 48 …if ((tokenType == ATokenTypeEnum::TOKEN_HAP) && (!TokenIdKit::IsSystemAppByFullTokenID(fullTokenId… in CheckSystemApp()
|
/base/msdp/device_status/utils/common/include/ |
D | proto.h | 54 TOKEN_HAP = 0, enumerator
|
/base/security/access_token/interfaces/innerkits/accesstoken/include/ |
D | access_token.h | 86 TOKEN_HAP = 0, enumerator
|
/base/startup/init/test/unittest/deviceinfo/ |
D | DeviceInfoUnittest.cpp | 40 int g_tokenType = OHOS::Security::AccessToken::TOKEN_HAP; 141 g_tokenType = OHOS::Security::AccessToken::TOKEN_HAP; 164 g_tokenType = OHOS::Security::AccessToken::TOKEN_HAP;
|
/base/time/time_service/utils/native/src/ |
D | time_file_utils.cpp | 50 if (tokenType != TypeATokenTypeEnum::TOKEN_HAP) { in GetBundleNameByTokenID()
|
/base/useriam/user_auth_framework/services/ipc/src/ |
D | ipc_common.cpp | 55 if (callingType != TOKEN_HAP) { in GetCallingUserId() 194 if (checkRet && callingType == TOKEN_HAP) { in CheckCallerIsSystemApp()
|
/base/time/time_service/services/ |
D | time_permission.cpp | 38 } else if (tokenType == Security::AccessToken::ATokenTypeEnum::TOKEN_HAP) { in CheckCallingPermission()
|
/base/inputmethod/imf/services/src/ |
D | bundle_checker.cpp | 81 if (tokenType != TOKEN_HAP) { in GetBundleNameByToken()
|
/base/powermgr/power_manager/test/unittest/src/ |
D | power_mgr_util_test.cpp | 64 MockAccesstokenKit::MockSetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP); 97 MockAccesstokenKit::MockSetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP);
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
D | token_modify_notifier.cpp | 38 if (AccessTokenIDManager::GetInstance().GetTokenIdType(tokenID) != TOKEN_HAP) { in AddHapTokenObservation()
|
/base/telephony/core_service/utils/common/src/ |
D | telephony_permission.cpp | 78 if (tokenType == ATokenTypeEnum::TOKEN_HAP) { in CheckPermission()
|
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/bms/src/ |
D | hks_bms_api_wrap.cpp | 92 if (AccessTokenKit::GetTokenType(callingTokenId) != ATokenTypeEnum::TOKEN_HAP) { in HksGetHapInfo()
|