Home
last modified time | relevance | path

Searched refs:TOKEN_HAP (Results 1 – 25 of 46) sorted by relevance

12

/base/notification/distributed_notification_service/services/ans/test/unittest/
Dadvanced_notification_service_branch_test.cpp168 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/
Daccess_token_helper.cpp46 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/
Dpermission.cpp38 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/
Daccess_token_helper.cpp43 if (type == ATokenTypeEnum::TOKEN_HAP) { in IsSystemApp()
55 if (type == ATokenTypeEnum::TOKEN_HAP) { in IsDlpHap()
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
Dmock_accesstoken_kit.cpp28 return TOKEN_HAP; in GetTokenTypeFlag()
/base/notification/distributed_notification_service/services/ans/test/unittest/access_token_helper_test/
Daccess_token_helper_test.cpp104 MockGetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP);
116 MockGetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP);
/base/request/request/services/service/rust/src/c_wrapper/source/
Dget_calling_bundle.cpp28 if (tokenType != TOKEN_HAP) { in GetCallingBundle()
/base/notification/distributed_notification_service/services/test/moduletest/mock/
Dmock_accesstoken_kit.cpp22 ATokenTypeEnum g_mockGetTokenTypeFlagRet = ATokenTypeEnum::TOKEN_HAP;
/base/notification/common_event_service/test/mock/
Dmock_accesstoken_kit.cpp25 return ATokenTypeEnum::TOKEN_HAP; in GetTokenTypeFlag()
/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/
Daccess_token.h31 TOKEN_HAP = 0, enumerator
/base/security/access_token/services/privacymanager/src/service/
Dprivacy_manager_stub.cpp96 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/
Dscreenlock_appinfo.cpp27 case ATokenTypeEnum::TOKEN_HAP: { in GetAppInfoByToken()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_permission_check.cpp52 if (tokenType == TOKEN_HAP) { /* only care about hap type */ in CmIsSystemApp()
/base/account/os_account/frameworks/common/utils/src/
Daccount_permission_manager.cpp48 …if ((tokenType == ATokenTypeEnum::TOKEN_HAP) && (!TokenIdKit::IsSystemAppByFullTokenID(fullTokenId… in CheckSystemApp()
/base/msdp/device_status/utils/common/include/
Dproto.h54 TOKEN_HAP = 0, enumerator
/base/security/access_token/interfaces/innerkits/accesstoken/include/
Daccess_token.h86 TOKEN_HAP = 0, enumerator
/base/startup/init/test/unittest/deviceinfo/
DDeviceInfoUnittest.cpp40 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/
Dtime_file_utils.cpp50 if (tokenType != TypeATokenTypeEnum::TOKEN_HAP) { in GetBundleNameByTokenID()
/base/useriam/user_auth_framework/services/ipc/src/
Dipc_common.cpp55 if (callingType != TOKEN_HAP) { in GetCallingUserId()
194 if (checkRet && callingType == TOKEN_HAP) { in CheckCallerIsSystemApp()
/base/time/time_service/services/
Dtime_permission.cpp38 } else if (tokenType == Security::AccessToken::ATokenTypeEnum::TOKEN_HAP) { in CheckCallingPermission()
/base/inputmethod/imf/services/src/
Dbundle_checker.cpp81 if (tokenType != TOKEN_HAP) { in GetBundleNameByToken()
/base/powermgr/power_manager/test/unittest/src/
Dpower_mgr_util_test.cpp64 MockAccesstokenKit::MockSetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP);
97 MockAccesstokenKit::MockSetTokenTypeFlag(ATokenTypeEnum::TOKEN_HAP);
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
Dtoken_modify_notifier.cpp38 if (AccessTokenIDManager::GetInstance().GetTokenIdType(tokenID) != TOKEN_HAP) { in AddHapTokenObservation()
/base/telephony/core_service/utils/common/src/
Dtelephony_permission.cpp78 if (tokenType == ATokenTypeEnum::TOKEN_HAP) { in CheckPermission()
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/bms/src/
Dhks_bms_api_wrap.cpp92 if (AccessTokenKit::GetTokenType(callingTokenId) != ATokenTypeEnum::TOKEN_HAP) { in HksGetHapInfo()

12