/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/ |
H A D | camera_napi_security_utils.cpp | 25 bool CheckSystemApp(napi_env env, bool enableThrowError) in CheckSystemApp() function 28 bool isSystemApp = CameraSecurity::CheckSystemApp(); in CheckSystemApp()
|
/ohos5.0/base/security/asset/services/os_dependency/src/ |
H A D | access_token_wrapper.cpp | 32 bool CheckSystemApp(void) in CheckSystemApp() function 64 return (tokenType == ATokenTypeEnum::TOKEN_HAP) ? CheckSystemApp() : true; in CheckSystemHapPermission()
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/server/src/ |
H A D | hcamera_service_stub.cpp | 232 CHECK_ERROR_RETURN_RET(!CheckSystemApp(), CAMERA_NO_PERMISSION); in HandleMuteCamera() 245 CHECK_ERROR_RETURN_RET(!CheckSystemApp(), CAMERA_NO_PERMISSION); in HandleMuteCameraPersist() 261 CHECK_ERROR_RETURN_RET(!CheckSystemApp(), CAMERA_NO_PERMISSION); in HandlePrelaunchCamera() 272 CHECK_ERROR_RETURN_RET(!CheckSystemApp(), CAMERA_NO_PERMISSION); in HandlePreSwitchCamera() 286 CHECK_ERROR_RETURN_RET(!CheckSystemApp(), CAMERA_NO_PERMISSION); in HandleSetPrelaunchConfig() 327 CHECK_ERROR_RETURN_RET(!CheckSystemApp(), CAMERA_NO_PERMISSION); in HandleSetMuteCallback() 383 CHECK_ERROR_RETURN_RET(!CheckSystemApp(), CAMERA_NO_PERMISSION); in HandleCreateDeferredPhotoProcessingSession() 478 CHECK_ERROR_RETURN_RET(!CheckSystemApp(), CAMERA_NO_PERMISSION); in HandleCreateDeferredPreviewOutput() 727 CHECK_ERROR_RETURN_RET(!CheckSystemApp(), CAMERA_NO_PERMISSION); in HandleGetDmDeviceInfo() 749 CHECK_ERROR_RETURN_RET(!CheckSystemApp(), CAMERA_NO_PERMISSION); in HandleRequireMemorySize()
|
H A D | hstream_repeat_stub.cpp | 100 CHECK_ERROR_RETURN_RET(!CheckSystemApp(), CAMERA_NO_PERMISSION); in HandleAddDeferredSurface() 119 CHECK_ERROR_RETURN_RET(!CheckSystemApp(), CAMERA_NO_PERMISSION); in HandleForkSketchStreamRepeat() 136 CHECK_ERROR_RETURN_RET(!CheckSystemApp(), CAMERA_NO_PERMISSION); in HandleUpdateSketchRatio()
|
H A D | hstream_capture_stub.cpp | 95 CHECK_AND_RETURN_RET(CheckSystemApp(), CAMERA_NO_PERMISSION); in HandleConfirmCapture() 137 CHECK_AND_RETURN_RET(CheckSystemApp(), CAMERA_NO_PERMISSION); in HandleEnableDeferredType()
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/ |
H A D | light_painting_session_napi.cpp | 153 if (!CameraNapiSecurity::CheckSystemApp(env)) { in GetSupportedLightPaintings() 188 if (!CameraNapiSecurity::CheckSystemApp(env)) { in GetLightPainting() 217 if (!CameraNapiSecurity::CheckSystemApp(env)) { in SetLightPainting() 249 if (!CameraNapiSecurity::CheckSystemApp(env)) { in TriggerLighting()
|
H A D | slow_motion_session_napi.cpp | 196 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsSlowMotionDetectionSupported() 235 if (!CameraNapiSecurity::CheckSystemApp(env)) { in SetSlowMotionDetectionArea()
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/session/ |
H A D | camera_session_napi.cpp | 1736 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsLcdFlashSupported() 1759 if (!CameraNapiSecurity::CheckSystemApp(env)) { in EnableLcdFlash() 2424 if (!CameraNapiSecurity::CheckSystemApp(env)) { in GetZoomPointInfos() 2561 if (!CameraNapiSecurity::CheckSystemApp(env)) { in GetSupportedBeautyTypes() 2602 if (!CameraNapiSecurity::CheckSystemApp(env)) { in GetSupportedBeautyRange() 2646 if (!CameraNapiSecurity::CheckSystemApp(env)) { in GetBeauty() 2675 if (!CameraNapiSecurity::CheckSystemApp(env)) { in SetBeauty() 2707 if (!CameraNapiSecurity::CheckSystemApp(env)) { in GetSupportedPortraitThemeTypes() 2749 if (!CameraNapiSecurity::CheckSystemApp(env)) { in SetPortraitThemeType() 2782 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsPortraitThemeSupported() [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/utils/ |
H A D | camera_security_utils.h | 23 bool CheckSystemApp();
|
/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/ |
H A D | camera_napi_security_utils.h | 26 bool CheckSystemApp(napi_env env, bool enableThrowError = true);
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/utils/ |
H A D | camera_security_utils.cpp | 23 bool CheckSystemApp() in CheckSystemApp() function
|
/ohos5.0/base/account/os_account/frameworks/common/utils/include/ |
H A D | account_permission_manager.h | 27 static ErrCode CheckSystemApp(bool isCallStub = true);
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/input/ |
H A D | camera_manager_napi.cpp | 765 if (CameraNapiSecurity::CheckSystemApp(env, false)) { in CreateSessionInstance() 874 if (!CameraNapiSecurity::CheckSystemApp(env)) { in CreateDeferredPreviewOutputInstance() 1243 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsCameraMuteSupported() 1264 if (!CameraNapiSecurity::CheckSystemApp(env)) { in MuteCamera() 1285 if (!CameraNapiSecurity::CheckSystemApp(env)) { in MuteCameraPersist() 1408 if (!CameraNapiSecurity::CheckSystemApp(env)) { in RegisterCameraMuteCallbackListener() 1428 if (!CameraNapiSecurity::CheckSystemApp(env)) { in UnregisterCameraMuteCallbackListener() 1526 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsPrelaunchSupported() 1554 if (!CameraNapiSecurity::CheckSystemApp(env)) { in PrelaunchCamera() 1571 if (!CameraNapiSecurity::CheckSystemApp(env)) { in PreSwitchCamera() [all …]
|
H A D | camera_input_napi.cpp | 490 if (!CameraNapiSecurity::CheckSystemApp(env)) { in RegisterOcclusionDetectCallbackListener() 505 if (!CameraNapiSecurity::CheckSystemApp(env)) { in UnregisterOcclusionDetectCallbackListener()
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/ |
H A D | video_output_napi.cpp | 695 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsMirrorSupported() 725 if (!CameraNapiSecurity::CheckSystemApp(env)) { in EnableMirror() 906 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsAutoDeferredVideoEnhancementSupported() 935 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsAutoDeferredVideoEnhancementEnabled() 964 if (!CameraNapiSecurity::CheckSystemApp(env)) { in EnableAutoDeferredVideoEnhancement() 995 if (!CameraNapiSecurity::CheckSystemApp(env)) { in GetSupportedRotations() 1031 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsRotationSupported() 1060 if (!CameraNapiSecurity::CheckSystemApp(env)) { in SetRotation()
|
H A D | preview_output_napi.cpp | 534 if (!CameraNapiSecurity::CheckSystemApp(env)) { in AddDeferredSurface() 713 if (!CameraNapiSecurity::CheckSystemApp(env)) { in RegisterSketchStatusChangedCallbackListener() 728 if (!CameraNapiSecurity::CheckSystemApp(env)) { in UnregisterSketchStatusChangedCallbackListener() 760 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsSketchSupported() 778 if (!CameraNapiSecurity::CheckSystemApp(env)) { in GetSketchRatio() 798 if (!CameraNapiSecurity::CheckSystemApp(env)) { in EnableSketch() 898 if (!CameraNapiSecurity::CheckSystemApp(env)) { in AttachSketchSurface()
|
H A D | photo_output_napi.cpp | 2127 if (!CameraNapiSecurity::CheckSystemApp(env)) { in BurstCapture() 2277 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsQuickThumbnailSupported() 2305 if (!CameraNapiSecurity::CheckSystemApp(env)) { in DeferImageDeliveryFor() 2330 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsDeferredImageDeliverySupported() 2395 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsDeferredImageDeliveryEnabled() 2549 if (!CameraNapiSecurity::CheckSystemApp(env)) { in EnableQuickThumbnail() 2582 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsRawDeliverySupported() 2608 if (!CameraNapiSecurity::CheckSystemApp(env)) { in EnableRawDelivery() 2677 if (!CameraNapiSecurity::CheckSystemApp(env)) { in RegisterQuickThumbnailCallbackListener() 2698 if (!CameraNapiSecurity::CheckSystemApp(env)) { in UnregisterQuickThumbnailCallbackListener() [all …]
|
/ohos5.0/base/account/os_account/frameworks/account_iam/src/ |
H A D | account_iam_client.cpp | 376 ErrCode result = AccountPermissionManager::CheckSystemApp(false); in RegisterPINInputer() 410 ErrCode result = AccountPermissionManager::CheckSystemApp(false); in RegisterInputer() 434 ErrCode result = AccountPermissionManager::CheckSystemApp(false); in UnregisterInputer() 455 ErrCode result = AccountPermissionManager::CheckSystemApp(false); in UnregisterPINInputer()
|
/ohos5.0/base/account/os_account/frameworks/common/utils/src/ |
H A D | account_permission_manager.cpp | 38 ErrCode AccountPermissionManager::CheckSystemApp(bool isCallStub) in CheckSystemApp() function in OHOS::AccountSA::AccountPermissionManager
|
/ohos5.0/base/account/os_account/services/accountmgr/src/ |
H A D | account_mgr_service.cpp | 173 ErrCode res = AccountPermissionManager::CheckSystemApp(false); in SubscribeDistributedAccountEvent() 184 ErrCode res = AccountPermissionManager::CheckSystemApp(false); in UnsubscribeDistributedAccountEvent()
|
H A D | account_stub.cpp | 203 std::int32_t ret = AccountPermissionManager::CheckSystemApp(); in CmdSetOhosAccountInfoByUserId() 337 ErrCode errCode = AccountPermissionManager::CheckSystemApp(); in CmdGetOhosAccountInfoByUserId()
|
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/metadatahelper/ |
H A D | avimagegenerator_napi.h | 60 static bool CheckSystemApp(napi_env env);
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/ |
H A D | camera_util.h | 173 bool CheckSystemApp();
|
/ohos5.0/base/account/os_account/interfaces/kits/napi/osaccount/src/ |
H A D | napi_os_account.cpp | 1690 if (AccountPermissionManager::CheckSystemApp(false) != ERR_OK) { in IsOsAccountActivated() 1703 if (argc == ARGS_SIZE_TWO && AccountPermissionManager::CheckSystemApp(false) != ERR_OK) { in IsOsAccountConstraintEnabled() 1716 if (argc != 0 && AccountPermissionManager::CheckSystemApp(false) != ERR_OK) { in IsOsAccountUnlocked() 1725 if (AccountPermissionManager::CheckSystemApp(false) != ERR_OK) { in GetEnabledOsAccountConstraints() 1734 if (AccountPermissionManager::CheckSystemApp(false) != ERR_OK) { in QueryOsAccount()
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/ability/ |
H A D | camera_ability_napi.cpp | 482 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsDepthFusionSupported() 502 if (!CameraNapiSecurity::CheckSystemApp(env)) { in GetDepthFusionThreshold()
|