/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/system/reimplement/ |
H A D | accesstoken_kit.cpp | 41 case TOKEN_SHELL: { in GetTokenTypeFlag() 42 return TOKEN_SHELL; in GetTokenTypeFlag() 75 case TOKEN_SHELL: { 76 return TOKEN_SHELL; 90 case TOKEN_SHELL: { 91 return TOKEN_SHELL; 108 if (tokenID == TOKEN_SHELL) { in GetNativeTokenInfo()
|
H A D | ipc_skeleton.cpp | 60 case TOKEN_SHELL: { in GetCallingTokenID()
|
/foundation/multimodalinput/input/service/permission_helper/src/ |
H A D | permission_helper.cpp | 38 || tokenType == OHOS::Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL) { in VerifySystemApp() 92 } else if (tokenType == OHOS::Security::AccessToken::TOKEN_SHELL) { in CheckHapPermission() 107 } else if (tokenType == OHOS::Security::AccessToken::TOKEN_SHELL) { in CheckHapPermission() 145 } else if (tokenType == OHOS::Security::AccessToken::TOKEN_SHELL) { in GetTokenType() 146 return TokenType::TOKEN_SHELL; in GetTokenType() 159 return tokenType == OHOS::Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL; in RequestFromShell()
|
/foundation/multimodalinput/input/service/permission_helper/test/ |
H A D | permission_helper_test.cpp | 65 tokenType = OHOS::Security::AccessToken::TOKEN_SHELL; in HWTEST_F() 96 tokenType = OHOS::Security::AccessToken::TOKEN_SHELL; in HWTEST_F() 152 tokenType = OHOS::Security::AccessToken::TOKEN_SHELL; in HWTEST_F() 223 tokenType = OHOS::Security::AccessToken::TOKEN_SHELL; in HWTEST_F() 255 tokenType = OHOS::Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL; in HWTEST_F() 281 tokenType = OHOS::Security::AccessToken::TOKEN_SHELL; in HWTEST_F() 312 tokenType = OHOS::Security::AccessToken::TOKEN_SHELL; in HWTEST_F()
|
/foundation/multimedia/av_session/utils/src/ |
H A D | permission_checker.cpp | 52 if (AccessTokenKit::GetTokenTypeFlag(callerToken) == TOKEN_SHELL) { in CheckPermission() 108 if (AccessTokenKit::GetTokenTypeFlag(tokenId) == TOKEN_SHELL) { in CheckSystemPermissionByUid()
|
/foundation/window/window_manager/window_scene/intention_event/utils/include/ |
H A D | proto.h | 28 TOKEN_SHELL,
|
/foundation/multimodalinput/input/service/module_loader/test/ |
H A D | uds_server_test.cpp | 283 int32_t tokenType = TokenType::TOKEN_SHELL; in HWTEST_F() 308 int32_t tokenType = TokenType::TOKEN_SHELL; in HWTEST_F() 331 int32_t tokenType = TokenType::TOKEN_SHELL; in HWTEST_F() 354 int32_t tokenType = TokenType::TOKEN_SHELL; in HWTEST_F() 378 int32_t tokenType = TokenType::TOKEN_SHELL; in HWTEST_F() 403 int32_t tokenType = TokenType::TOKEN_SHELL; in HWTEST_F() 427 int32_t tokenType = TokenType::TOKEN_SHELL; in HWTEST_F() 450 int32_t tokenType = TokenType::TOKEN_SHELL; in HWTEST_F() 473 int32_t tokenType = TokenType::TOKEN_SHELL; in HWTEST_F() 497 int32_t tokenType = TokenType::TOKEN_SHELL; in HWTEST_F() [all...] |
/foundation/communication/dsoftbus/tests/common/include/ |
H A D | accesstoken_kit.h | 30 TOKEN_SHELL, enumerator
|
/foundation/filemanagement/dfs_service/utils/system/src/ |
H A D | dfsu_access_token_helper.cpp | 44 } else if ((tokenType == TOKEN_SHELL) && (uid == ROOT_UID)) { in CheckCallerPermission() 88 case TOKEN_SHELL: { in GetBundleNameByToken()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/permission/ |
H A D | permission_helper.cpp | 34 } else if (Security::AccessToken::AccessTokenKit::GetTokenTypeFlag(callerToken) == TOKEN_SHELL) { in VerifyPermission() 57 } else if (Security::AccessToken::AccessTokenKit::GetTokenTypeFlag(callerToken) == TOKEN_SHELL) { in VerifyPermission()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/ipc_security/ |
H A D | rs_ipc_interface_code_access_verifier_base.cpp | 87 case Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL: in CheckPermission() 161 } else if (tokenType == Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL) { in IsSystemCalling() 203 case (Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL): { in GetAccessType()
|
/foundation/multimodalinput/input/util/common/include/ |
H A D | proto.h | 47 TOKEN_SHELL, enumerator
|
/foundation/multimodalinput/input/intention/prototype/include/ |
H A D | i_socket_session.h | 32 TOKEN_SHELL
|
/foundation/resourceschedule/device_standby/services/test/unittest/mock/ |
H A D | mock_ipc.cpp | 69 return TypeATokenTypeEnum::TOKEN_SHELL; in GetTokenTypeFlag()
|
/foundation/window/window_manager/window_scene/common/src/ |
H A D | session_permission.cpp | 68 flag == Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL) { in IsSystemServiceCalling() 84 flag == Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL) { in IsSystemCalling() 167 if (tokenType == Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL) { in IsShellCall()
|
/foundation/multimedia/player_framework/frameworks/js/recorder/ |
H A D | recorder_napi_utils.cpp | 52 if (tokenType == Security::AccessToken::TOKEN_NATIVE || tokenType == Security::AccessToken::TOKEN_SHELL) { in SystemPermission()
|
/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/ |
H A D | service_other_test.cpp | 454 EXPECT_CALL(*token, GetTokenType(_)).WillOnce(Return(Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL)); in HWTEST_F() 540 EXPECT_CALL(*token, GetTokenType(_)).WillOnce(Return(Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL)); in HWTEST_F() 547 EXPECT_CALL(*token, GetTokenType(_)).WillOnce(Return(Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL)); in HWTEST_F() 698 EXPECT_CALL(*token, GetTokenType(_)).WillOnce(Return(Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL)); in HWTEST_F() 794 EXPECT_CALL(*token, GetTokenType(_)).WillOnce(Return(Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL)); in HWTEST_F() 861 EXPECT_CALL(*token, GetTokenType(_)).WillOnce(Return(Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL)); in HWTEST_F() 893 EXPECT_CALL(*token, GetTokenType(_)).WillOnce(Return(Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL)); in HWTEST_F() 900 EXPECT_CALL(*token, GetTokenType(_)).WillOnce(Return(Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL)); in HWTEST_F() 908 EXPECT_CALL(*token, GetTokenType(_)).WillOnce(Return(Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL)); in HWTEST_F() 1257 EXPECT_CALL(*token, GetTokenType(_)).WillOnce(Return(Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL)); in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/include/ |
H A D | access_token.h | 46 TOKEN_SHELL, enumerator
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | accesstoken_kit.cpp | 96 return TOKEN_SHELL; in GetTokenTypeFlag()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/ |
H A D | wifi_auth_center.cpp | 56 if (callingType == Security::AccessToken::TOKEN_NATIVE || callingType == Security::AccessToken::TOKEN_SHELL) { in IsSystemAccess()
|
/foundation/distributeddatamgr/data_share/frameworks/native/permission/src/ |
H A D | data_share_called_config.cpp | 43 if (type == TOKEN_NATIVE || type == TOKEN_SHELL) { in GetUserByToken()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/checker/ |
H A D | system_checker.cpp | 68 return (type == TOKEN_NATIVE || type == TOKEN_SHELL); in IsValid()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/dfx/src/ |
H A D | rdb_radar_reporter.cpp | 95 if ((tokenType == TOKEN_NATIVE) || (tokenType == TOKEN_SHELL)) { in GetHostPkgInfo()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/directory/ |
H A D | directory_manager.cpp | 112 if (type == TOKEN_NATIVE || type == TOKEN_SHELL) { in GetType() 161 if (type == TOKEN_NATIVE || type == TOKEN_SHELL) { in GetUserId()
|
/foundation/window/window_manager/utils/src/ |
H A D | permission.cpp | 42 flag == Security::AccessToken::ATokenTypeEnum::TOKEN_SHELL) {
in IsSystemServiceCalling()
|