Home
last modified time | relevance | path

Searched refs:CheckSystemApp (Results 1 – 25 of 40) sorted by relevance

12

/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/
H A Dcamera_napi_security_utils.cpp25 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 Daccess_token_wrapper.cpp32 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 Dhcamera_service_stub.cpp232 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 Dhstream_repeat_stub.cpp100 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 Dhstream_capture_stub.cpp95 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 Dlight_painting_session_napi.cpp153 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 Dslow_motion_session_napi.cpp196 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 Dcamera_session_napi.cpp1736 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 Dcamera_security_utils.h23 bool CheckSystemApp();
/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/
H A Dcamera_napi_security_utils.h26 bool CheckSystemApp(napi_env env, bool enableThrowError = true);
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/utils/
H A Dcamera_security_utils.cpp23 bool CheckSystemApp() in CheckSystemApp() function
/ohos5.0/base/account/os_account/frameworks/common/utils/include/
H A Daccount_permission_manager.h27 static ErrCode CheckSystemApp(bool isCallStub = true);
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/input/
H A Dcamera_manager_napi.cpp765 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 Dcamera_input_napi.cpp490 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 Dvideo_output_napi.cpp695 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 Dpreview_output_napi.cpp534 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 Dphoto_output_napi.cpp2127 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 Daccount_iam_client.cpp376 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 Daccount_permission_manager.cpp38 ErrCode AccountPermissionManager::CheckSystemApp(bool isCallStub) in CheckSystemApp() function in OHOS::AccountSA::AccountPermissionManager
/ohos5.0/base/account/os_account/services/accountmgr/src/
H A Daccount_mgr_service.cpp173 ErrCode res = AccountPermissionManager::CheckSystemApp(false); in SubscribeDistributedAccountEvent()
184 ErrCode res = AccountPermissionManager::CheckSystemApp(false); in UnsubscribeDistributedAccountEvent()
H A Daccount_stub.cpp203 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 Davimagegenerator_napi.h60 static bool CheckSystemApp(napi_env env);
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/
H A Dcamera_util.h173 bool CheckSystemApp();
/ohos5.0/base/account/os_account/interfaces/kits/napi/osaccount/src/
H A Dnapi_os_account.cpp1690 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 Dcamera_ability_napi.cpp482 if (!CameraNapiSecurity::CheckSystemApp(env)) { in IsDepthFusionSupported()
502 if (!CameraNapiSecurity::CheckSystemApp(env)) { in GetDepthFusionThreshold()

12