Home
last modified time | relevance | path

Searched defs:callerToken (Results 1 – 25 of 82) sorted by relevance

1234

/base/notification/common_event_service/test/mock/
Dmock_access_token_helper.cpp23 bool AccessTokenHelper::VerifyNativeToken(const AccessToken::AccessTokenID &callerToken) in VerifyNativeToken()
28 bool AccessTokenHelper::VerifyAccessToken(const AccessToken::AccessTokenID &callerToken, const std:… in VerifyAccessToken()
33 …oid AccessTokenHelper::RecordSensitivePermissionUsage(const AccessToken::AccessTokenID &callerToke… in RecordSensitivePermissionUsage()
37 bool AccessTokenHelper::IsDlpHap(const AccessToken::AccessTokenID &callerToken) in IsDlpHap()
Dmock_accesstoken_kit.cpp22 ATokenTypeEnum AccessTokenKit::GetTokenTypeFlag(AccessTokenID callerToken) in GetTokenTypeFlag()
30 int AccessTokenKit::GetHapTokenInfo(AccessTokenID callerToken, HapTokenInfo& hapTokenInfoRes) in GetHapTokenInfo()
Dmock_ipc.cpp46 void IPCSkeleton::SetCallingTokenID(Security::AccessToken::AccessTokenID callerToken) in SetCallingTokenID()
/base/notification/common_event_service/services/src/
Daccess_token_helper.cpp28 bool AccessTokenHelper::VerifyNativeToken(const AccessTokenID &callerToken) in VerifyNativeToken()
34 bool AccessTokenHelper::VerifyAccessToken(const AccessTokenID &callerToken, in VerifyAccessToken()
41 void AccessTokenHelper::RecordSensitivePermissionUsage(const AccessTokenID &callerToken, in RecordSensitivePermissionUsage()
60 bool AccessTokenHelper::IsDlpHap(const AccessTokenID &callerToken) in IsDlpHap()
77 bool AccessTokenHelper::VerifyShellToken(const AccessTokenID &callerToken) in VerifyShellToken()
Dcommon_event_manager_service.cpp109 const int32_t &callerToken, const int32_t &userId) in PublishCommonEvent()
218 Security::AccessToken::AccessTokenID callerToken = IPCSkeleton::GetCallingTokenID(); in SubscribeCommonEvent() local
309 auto callerToken = IPCSkeleton::GetCallingTokenID(); in DumpState() local
431 auto callerToken = IPCSkeleton::GetCallingTokenID(); in Dump() local
/base/time/time_service/services/
Dtime_permission.cpp32 auto callerToken = IPCSkeleton::GetCallingTokenID(); in CheckCallingPermission() local
55 auto callerToken = IPCSkeleton::GetCallingTokenID(); in CheckProxyCallingPermission() local
63 auto callerToken = IPCSkeleton::GetCallingTokenID(); in CheckSystemUidCallingPermission() local
/base/notification/common_event_service/services/test/unittest/
Dcommon_event_access_token_helper_test.cpp63 AccessTokenID callerToken = DLP_PERMISSION_GRANTED; in HWTEST_F() local
80 AccessTokenID callerToken = DLP_PERMISSION_GRANTED; in HWTEST_F() local
96 AccessTokenID callerToken = DLP_PERMISSION_GRANTED; in HWTEST_F() local
113 AccessTokenID callerToken = PERMISSION_GRANTED; in HWTEST_F() local
129 AccessTokenID callerToken = DLP_PERMISSION_GRANTED; in HWTEST_F() local
146 AccessTokenID callerToken = DLP_PERMISSION_GRANTED; in HWTEST_F() local
166 AccessTokenID callerToken = PERMISSION_GRANTED; in HWTEST_F() local
/base/notification/distributed_notification_service/services/ans/src/
Daccess_token_helper.cpp33 bool AccessTokenHelper::VerifyNativeToken(const AccessTokenID &callerToken) in VerifyNativeToken()
52 bool AccessTokenHelper::IsDlpHap(const AccessTokenID &callerToken) in IsDlpHap()
65 bool AccessTokenHelper::VerifyShellToken(const AccessTokenID &callerToken) in VerifyShellToken()
Dnotification_dialog.cpp50 …onDialog::StartEnableNotificationDialogAbility(int32_t uid, const sptr<IRemoteObject> &callerToken) in StartEnableNotificationDialogAbility()
/base/notification/distributed_notification_service/services/test/moduletest/mock/
Dmock_access_token_helper.cpp26 bool AccessTokenHelper::VerifyNativeToken(const Security::AccessToken::AccessTokenID &callerToken) in VerifyNativeToken()
36 bool AccessTokenHelper::IsDlpHap(const Security::AccessToken::AccessTokenID &callerToken) in IsDlpHap()
/base/notification/common_event_service/services/test/unittest/common_event_manager_service_branch_test/
Dmock_access_token_helper.cpp49 bool AccessTokenHelper::VerifyNativeToken(const AccessTokenID &callerToken) in VerifyNativeToken()
59 bool AccessTokenHelper::IsDlpHap(const AccessTokenID &callerToken) in IsDlpHap()
64 bool AccessTokenHelper::VerifyShellToken(const AccessTokenID &callerToken) in VerifyShellToken()
/base/notification/common_event_service/services/test/unittest/static_subscriber_manager_unit_test/
Dmock_access_token_helper.cpp61 bool AccessTokenHelper::VerifyNativeToken(const AccessTokenID &callerToken) in VerifyNativeToken()
66 bool AccessTokenHelper::VerifyAccessToken(const AccessTokenID &callerToken, in VerifyAccessToken()
78 void AccessTokenHelper::RecordSensitivePermissionUsage(const AccessTokenID &callerToken, in RecordSensitivePermissionUsage()
83 bool AccessTokenHelper::IsDlpHap(const AccessTokenID &callerToken) in IsDlpHap()
/base/sensors/sensor/utils/common/src/
Dpermission_util.cpp42 int32_t PermissionUtil::CheckSensorPermission(AccessTokenID callerToken, int32_t sensorTypeId) in CheckSensorPermission()
67 bool PermissionUtil::IsNativeToken(AccessTokenID callerToken) in IsNativeToken()
77 int32_t PermissionUtil::CheckManageSensorPermission(AccessTokenID callerToken) in CheckManageSensorPermission()
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
Dmock_access_token_helper.cpp28 bool AccessTokenHelper::VerifyNativeToken(const Security::AccessToken::AccessTokenID &callerToken) in VerifyNativeToken()
42 bool AccessTokenHelper::IsDlpHap(const Security::AccessToken::AccessTokenID &callerToken) in IsDlpHap()
Dmock_ipc.cpp46 void IPCSkeleton::SetCallingTokenID(Security::AccessToken::AccessTokenID callerToken) in SetCallingTokenID()
/base/notification/common_event_service/services/test/unittest/mock/
Dmock_access_token_helper.cpp37 bool AccessTokenHelper::VerifyNativeToken(const AccessTokenID &callerToken) in VerifyNativeToken()
42 bool AccessTokenHelper::VerifyAccessToken(const AccessTokenID &callerToken, in VerifyAccessToken()
Dmock_ability_manager_helper.cpp41 …const Want &want, const CommonEventData &event, const sptr<IRemoteObject> &callerToken, const int3… in ConnectAbility()
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
Dmock_access_token_helper.cpp43 bool AccessTokenHelper::VerifyNativeToken(const AccessTokenID &callerToken) in VerifyNativeToken()
54 bool AccessTokenHelper::VerifyShellToken(const AccessTokenID &callerToken) in VerifyShellToken()
/base/telephony/core_service/utils/common/src/
Dtelephony_permission.cpp71 auto callerToken = IPCSkeleton::GetCallingTokenID(); in CheckPermission() local
101 auto callerToken = IPCSkeleton::GetCallingTokenID(); in CheckCallerIsSystemApp() local
/base/sensors/miscdevice/utils/src/
Dpermission_util.cpp24 int32_t PermissionUtil::CheckVibratePermission(AccessTokenID callerToken, std::string permissionNam… in CheckVibratePermission()
/base/telephony/telephony_data/common/src/
Dpermission_util.cpp38 auto callerToken = IPCSkeleton::GetCallingTokenID(); in CheckPermission() local
/base/notification/distributed_notification_service/test/fuzztest/setnotificationbadgenum_fuzzer/
Dsetnotificationbadgenum_fuzzer.cpp24 sptr<IRemoteObject> callerToken = nullptr; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_dialog_test/
Dnotification_dialog_test.cpp92 sptr<IRemoteObject> callerToken = nullptr; variable
116 sptr<IRemoteObject> callerToken = nullptr; variable
/base/security/access_token/services/privacymanager/src/sensitive/ability_manager/
Dability_manager_privacy_proxy.cpp27 …yManagerPrivacyProxy::StartAbility(const AAFwk::Want &want, const sptr<IRemoteObject> &callerToken, in StartAbility()
/base/notification/common_event_service/frameworks/extension/src/
Dstatic_subscriber_extension_context.cpp81 auto callerToken = IPCSkeleton::GetCallingTokenID(); in VerifyCallingPermission() local

1234