/foundation/ai/intelligent_voice_framework/frameworks/js/napi/ |
H A D | intell_voice_common_napi.cpp | 107 uint64_t fullTokenId = IPCSkeleton::GetCallingFullTokenID(); in CheckIsSystemApp() local 108 if (!Security::AccessToken::TokenIdKit::IsSystemAppByFullTokenID(fullTokenId)) { in CheckIsSystemApp() 109 INTELL_VOICE_LOG_WARN("Not system app, permission reject tokenid: %{public}" PRIu64 "", fullTokenId); in CheckIsSystemApp() 113 INTELL_VOICE_LOG_INFO("System app, fullTokenId:%{public}" PRIu64 "", fullTokenId); in CheckIsSystemApp()
|
/foundation/multimodalinput/input/intention/services/intention_service/src/ |
H A D | intention_service.cpp | 38 .fullTokenId = IPCSkeleton::GetCallingFullTokenID(), in Enable() 59 .fullTokenId = IPCSkeleton::GetCallingFullTokenID(), in Disable() 80 .fullTokenId = IPCSkeleton::GetCallingFullTokenID(), in Start() 101 .fullTokenId = IPCSkeleton::GetCallingFullTokenID(), in Stop() 122 .fullTokenId = IPCSkeleton::GetCallingFullTokenID(), in AddWatch() 143 .fullTokenId = IPCSkeleton::GetCallingFullTokenID(), in RemoveWatch() 164 .fullTokenId = IPCSkeleton::GetCallingFullTokenID(), in SetParam() 185 .fullTokenId = IPCSkeleton::GetCallingFullTokenID(), in GetParam() 206 .fullTokenId = IPCSkeleton::GetCallingFullTokenID(), in Control()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/permission/ |
H A D | permission_utils.cpp | 94 uint64_t fullTokenId = IPCSkeleton::GetCallingFullTokenID(); in CheckSystemHapApp() local 95 bool isSystemApp = TokenIdKit::IsSystemAppByFullTokenID(fullTokenId); in CheckSystemHapApp() 96 HILOGI("tokenId:0x%{public}x, callingType:0x%{public}x, fullTokenId:0x%{public}llx, isSystemApp:%{public}d", in CheckSystemHapApp() 97 tokenId, callingType, static_cast<unsigned long long>(fullTokenId), isSystemApp); in CheckSystemHapApp()
|
/foundation/filemanagement/app_file_service/utils/src/b_sa/ |
H A D | b_sa_utils.cpp | 57 uint64_t fullTokenId = OHOS::IPCSkeleton::GetCallingFullTokenID(); in IsSystemApp() local 58 return Security::AccessToken::TokenIdKit::IsSystemAppByFullTokenID(fullTokenId); in IsSystemApp()
|
/foundation/ai/intelligent_voice_framework/utils/ |
H A D | intell_voice_util.cpp | 136 uint64_t fullTokenId = IPCSkeleton::GetCallingFullTokenID(); in CheckIsSystemApp() local 143 if (!Security::AccessToken::TokenIdKit::IsSystemAppByFullTokenID(fullTokenId)) { in CheckIsSystemApp() 144 INTELL_VOICE_LOG_INFO("Not system app, permission reject tokenid: %{public}" PRIu64 "", fullTokenId); in CheckIsSystemApp() 148 INTELL_VOICE_LOG_INFO("System app, fullTokenId:%{public}" PRIu64 "", fullTokenId); in CheckIsSystemApp()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/ |
H A D | wifi_auth_center.cpp | 51 uint64_t fullTokenId = IPCSkeleton::GetCallingFullTokenID(); in IsSystemAccess() local 52 bool isSystemApp = Security::AccessToken::TokenIdKit::IsSystemAppByFullTokenID(fullTokenId); in IsSystemAccess() 62 WIFI_LOGE("The caller is not a system app.fullTokenId:%" PRIu64 ", isSystemApp:%{public}d, callingType:%{public}d.", in IsSystemAccess() 63 fullTokenId, isSystemApp, callingType); in IsSystemAccess()
|
/foundation/multimedia/av_session/utils/src/ |
H A D | permission_checker.cpp | 84 uint64_t fullTokenId = IPCSkeleton::GetCallingFullTokenID(); in IsSystemApp() local 85 return TokenIdKit::IsSystemAppByFullTokenID(fullTokenId); in IsSystemApp()
|
/foundation/resourceschedule/work_scheduler/utils/native/src/ |
H A D | work_sched_utils.cpp | 98 uint64_t fullTokenId = IPCSkeleton::GetCallingFullTokenID(); in IsSystemApp() local 99 return Security::AccessToken::TokenIdKit::IsSystemAppByFullTokenID(fullTokenId); in IsSystemApp()
|
/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/ |
H A D | mock_bundle_manager_helper.cpp | 68 bool BundleManagerHelper::IsSystemApp(uint64_t fullTokenId)
in IsSystemApp() argument 70 if (fullTokenId == NO_SYSTEM_APP_TOKEN_ID) {
in IsSystemApp()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | accesstoken_kit.cpp | 163 int32_t AccessTokenKit::InitHapToken(const HapInfoParams& info, HapPolicyParams& policy, AccessTokenIDEx& fullTokenId) in InitHapToken() argument 165 fullTokenId.tokenIDEx = 1; in InitHapToken()
|
/foundation/resourceschedule/background_task_mgr/services/common/src/ |
H A D | bundle_manager_helper.cpp | 70 bool BundleManagerHelper::IsSystemApp(uint64_t fullTokenId)
in IsSystemApp() argument 72 return Security::AccessToken::TokenIdKit::IsSystemAppByFullTokenID(fullTokenId);
in IsSystemApp()
|
/foundation/filemanagement/dfs_service/utils/system/src/ |
H A D | dfsu_access_token_helper.cpp | 113 uint64_t fullTokenId = IPCSkeleton::GetCallingFullTokenID(); in IsSystemApp() local 114 return TokenIdKit::IsSystemAppByFullTokenID(fullTokenId); in IsSystemApp()
|
/foundation/distributedhardware/device_manager/services/service/src/permission/standard/ |
H A D | permission_manager.cpp | 134 uint64_t fullTokenId = IPCSkeleton::GetCallingFullTokenID(); in GetCallerProcessName() local 135 if (!OHOS::Security::AccessToken::TokenIdKit::IsSystemAppByFullTokenID(fullTokenId)) { in GetCallerProcessName()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/include/ |
H A D | accesstoken_kit.h | 47 static int32_t InitHapToken(const HapInfoParams& info, HapPolicyParams& policy, AccessTokenIDEx& fullTokenId);
|
/foundation/resourceschedule/background_task_mgr/services/common/include/ |
H A D | bundle_manager_helper.h | 34 bool IsSystemApp(uint64_t fullTokenId);
|
/foundation/multimedia/audio_framework/test/fuzztest/audioutils_fuzzer/ |
H A D | audio_utils_fuzzer.cpp | 187 uint64_t fullTokenId = COMMON_UINT64_NUM; in VerifyBackgroundCaptureFuzzTest() local 189 PermissionUtil::VerifyBackgroundCapture(tokenId, fullTokenId); in VerifyBackgroundCaptureFuzzTest()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/ipc_security/ |
H A D | rs_ipc_interface_code_access_verifier_base.cpp | 149 uint64_t fullTokenId = IPCSkeleton::GetCallingFullTokenID(); in IsSystemApp() local 150 return Security::AccessToken::TokenIdKit::IsSystemAppByFullTokenID(fullTokenId); in IsSystemApp()
|
/foundation/multimodalinput/input/intention/prototype/include/ |
H A D | i_plugin.h | 26 uint64_t fullTokenId { 0 };
|
/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/ |
H A D | storage_manager_connect.cpp | 326 uint64_t fullTokenId = OHOS::IPCSkeleton::GetCallingFullTokenID(); in IsSystemApp() local 327 return Security::AccessToken::TokenIdKit::IsSystemAppByFullTokenID(fullTokenId); in IsSystemApp()
|
/foundation/resourceschedule/soc_perf/services/server/src/ |
H A D | socperf_stub.cpp | 303 uint64_t fullTokenId = IPCSkeleton::GetCallingFullTokenID(); in HasPerfPermission() local 304 if (!Security::AccessToken::TokenIdKit::IsSystemAppByFullTokenID(fullTokenId)) { in HasPerfPermission()
|
/foundation/filemanagement/app_file_service/interfaces/kits/js/file_share/ |
H A D | grant_uri_permission.cpp | 49 uint64_t fullTokenId = OHOS::IPCSkeleton::GetCallingFullTokenID(); in IsSystemApp() local 50 return Security::AccessToken::TokenIdKit::IsSystemAppByFullTokenID(fullTokenId); in IsSystemApp()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_environment/ |
H A D | environment_n_exporter.cpp | 46 uint64_t fullTokenId = OHOS::IPCSkeleton::GetCallingFullTokenID(); in IsSystemApp() local 47 return Security::AccessToken::TokenIdKit::IsSystemAppByFullTokenID(fullTokenId); in IsSystemApp()
|
/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/ |
H A D | bg_continuous_task_mgr.cpp | 481 bool isNewApi, uint64_t fullTokenId)
in CheckBgmodeType() 493 !BundleManagerHelper::GetInstance()->IsSystemApp(fullTokenId)) {
in CheckBgmodeType() 589 uint64_t fullTokenId = IPCSkeleton::GetCallingFullTokenID();
in StartBackgroundRunningForInner() local 591 fullTokenId = taskParam->tokenId_;
in StartBackgroundRunningForInner() 608 continuousTaskRecord->fullTokenId_ = fullTokenId;
in StartBackgroundRunningForInner() 632 uint64_t fullTokenId = IPCSkeleton::GetCallingFullTokenID();
in StartBackgroundRunning() local 653 continuousTaskRecord->fullTokenId_ = fullTokenId;
in StartBackgroundRunning() 654 continuousTaskRecord->isSystem_ = BundleManagerHelper::GetInstance()->IsSystemApp(fullTokenId);
in StartBackgroundRunning() 480 CheckBgmodeType(uint32_t configuredBgMode, uint32_t requestedBgModeId, bool isNewApi, uint64_t fullTokenId) CheckBgmodeType() argument
|
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | capturer_in_server.cpp | 309 uint64_t fullTokenId = processConfig_.appInfo.appFullTokenId; 310 CHECK_AND_RETURN_RET_LOG(PermissionUtil::VerifyBackgroundCapture(tokenId, fullTokenId), ERR_OPERATION_FAILED,
|
H A D | audio_process_in_server.cpp | 180 uint64_t fullTokenId = processConfig_.appInfo.appFullTokenId; in Resume() local 181 CHECK_AND_RETURN_RET_LOG(PermissionUtil::VerifyBackgroundCapture(tokenId, fullTokenId), ERR_OPERATION_FAILED, in Resume()
|