[Galaxy S6 Edge+ Android Development] aerzjee:
Captured camera logcat after launching application. Why there are so many "avc: denied { call }"? If i get it, is it something with permissions?

[CODE]
10-26 02:32:18.381 17813 17966 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=com.android.camera2 cmp=com.android.camera2/com.android.camera.CameraLauncher bnds=[1124,2281][1393,2553]} from uid 10023
10-26 02:32:18.488 19373 19373 V CAM_QuickActivity: START onNewIntent: Activity = com.android.camera.CameraActivity@2f951f
10-26 02:32:18.489 19373 19373 V CAM_QuickActivity: Intent Action = android.intent.action.MAIN
10-26 02:32:18.490 19373 19373 V CAM_QuickActivity: END onNewIntent: Activity = com.android.camera.CameraActivity@2f951f
10-26 02:32:18.491 19373 19373 V CAM_QuickActivity: START onRestart: Activity = com.android.camera.CameraActivity@2f951f
10-26 02:32:18.492 19373 19373 V CAM_QuickActivity: END onRestart: Activity = com.android.camera.CameraActivity@2f951f
10-26 02:32:18.540 19373 19373 V CAM_QuickActivity: START onStart: Activity = com.android.camera.CameraActivity@2f951f
10-26 02:32:18.555 19373 19373 V CAM_QuickActivity: END onStart: Activity = com.android.camera.CameraActivity@2f951f
10-26 02:32:18.556 19373 19373 V CAM_QuickActivity: START onResume: Activity = com.android.camera.CameraActivity@2f951f
10-26 02:32:18.558 19373 19373 V CAM_QuickActivity: onResume(): isKeyguardLocked() = false
10-26 02:32:18.559 19373 19373 V CAM_QuickActivity: onResume --> onResumeTasks()
10-26 02:32:18.567 19373 19373 V CAM_Profiler: [ 0.000ms][ui] GUARD: CameraActivity.resume - START
10-26 02:32:18.568 19373 19373 V CAM_CameraActivity: Build info: OPM1.171019.011
10-26 02:32:18.588 19373 19752 D CAM_Storage: External storage state=mounted
10-26 02:32:18.591 19373 19373 V CAM_Profiler: [ 0.000ms][ui] GUARD: CaptureModule.resume - START
10-26 02:32:18.593 19373 19373 V CAM_Profiler: [ 2.184ms][ui] GUARD: CaptureModule.resume - [ 0.059ms] getRemoteShutterListener.onModuleReady
10-26 02:32:18.598 19373 19373 V CAM_Profiler: [ 6.496ms][ui] GUARD: CaptureModule.resume - [ 1.176ms] initSurfaceTextureConsumer
10-26 02:32:18.599 19373 19753 V CAM_Profiler: [ 0.000ms] GUARD: CaptureModule.closeCamera() - START
10-26 02:32:18.599 19373 19753 V CAM_Profiler: [ 0.894ms] GUARD: CaptureModule.closeCamera() - [ 0.894ms] mCameraOpenCloseLock.acquire()
10-26 02:32:18.600 19373 19753 V CAM_Profiler: [ 1.621ms] GUARD: CaptureModule.closeCamera() - STOP
10-26 02:32:18.600 19373 19753 V CAM_Profiler: [ 0.000ms] GUARD: CaptureModule.openCameraAndStartPreview() - START
10-26 02:32:18.601 19373 19753 V CAM_Profiler: [ 0.570ms] GUARD: CaptureModule.openCameraAndStartPreview() - [ 0.570ms] Acquired mCameraOpenCloseLock
10-26 02:32:18.602 19373 19753 D CAM_Camera2OneCamMgr: Getting First BACK Camera
10-26 02:32:18.610 17813 17824 I Sensors : Mag old sensor_state 513, new sensor_state : 529 en : 1
10-26 02:32:18.610 19373 19753 I CAM_OneCamera1Opnr: Opening Camera: CameraId{Api2='0',Api1:0}
10-26 02:32:18.610 19373 19753 V CAM_ActvCamDevTrckr: Tracking active camera: CameraId{Api2='0',Api1:0}
10-26 02:32:18.613 17504 18345 I CameraService: CameraService::connect call (PID -1 "com.android.camera2", camera ID 0) for HAL version default and Camera API version 2
10-26 02:32:18.614 19373 19373 V CAM_Profiler: [ 22.868ms][ui] GUARD: CaptureModule.resume - [11.934ms] mHeadingSensor.activate()
10-26 02:32:18.614 19373 19373 I CAM_Profiler: [ 22.868ms][ui] GUARD: CaptureModule.resume - STOP
10-26 02:32:18.615 17504 18345 I Camera2ClientBase: Camera 0: Opened. Client: com.android.camera2 (PID 19373, UID 10009)
10-26 02:32:18.615 19373 19373 I CAM_Profiler: [ 47.758ms][ui] GUARD: CameraActivity.resume - [24.102ms] mCurrentModule.resume
10-26 02:32:18.615 17504 18345 I CameraDeviceClient: CameraDeviceClient 0: Opened
10-26 02:32:18.617 19373 19373 V CAM_Profiler: [ 49.639ms][ui] GUARD: CameraActivity.resume - [ 0.021ms] mPanoramaViewHelper.onResume()
10-26 02:32:18.617 17813 17878 E Sensors : Sensor : Meta event
10-26 02:32:18.617 19373 19373 V CAM_LcyLocProvider: starting location updates
10-26 02:32:18.619 17504 18345 I CameraService: onTorchStatusChangedLocked: Torch status changed for cameraId=0, newStatus=0
10-26 02:32:18.628 19373 19373 D CAM_LcyLocProvider: provider does not exist provider doesn't exist: network
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: fail to request location update, ignore
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.os.Parcel.createException(Parcel.java:1942)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.os.Parcel.readException(Parcel.java:1910)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.os.Parcel.readException(Parcel.java:1860)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:755)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:1007)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:561)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at com.android.camera.app.LegacyLocationProvider.startReceivingLocationUpdates(LegacyLocationProvider.java:100)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at com.android.camera.app.LegacyLocationProvider.recordLocation(LegacyLocationProvider.java:68)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at com.android.camera.app.LocationManager.recordLocation(LocationManager.java:45)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at com.android.camera.CameraActivity.resume(CameraActivity.java:2137)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at com.android.camera.CameraActivity.access$3300(CameraActivity.java:179)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at com.android.camera.CameraActivity$14.onFirstRunStateReady(CameraActivity.java:1702)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at com.android.camera.app.FirstRunDialog.showIfNecessary(FirstRunDialog.java:112)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at com.android.camera.CameraActivity.onResumeTasks(CameraActivity.java:1908)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at com.android.camera.util.QuickActivity.onResume(QuickActivity.java:152)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1412)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.app.Activity.performResume(Activity.java:7292)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3776)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3816)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.os.Handler.dispatchMessage(Handler.java:106)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.os.Looper.loop(Looper.java:193)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at android.app.ActivityThread.main(ActivityThread.java:6669)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at java.lang.reflect.Method.invoke(Native Method)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
10-26 02:32:18.631 19373 19373 I CAM_LcyLocProvider: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
10-26 02:32:18.631 19373 19373 D CAM_LcyLocProvider: startReceivingLocationUpdates
10-26 02:32:18.632 19373 19373 I CAM_Profiler: [ 64.741ms][ui] GUARD: CameraActivity.resume - STOP
10-26 02:32:18.630 19754 19754 I com.android.camera2: type=1400 audit(0.0:1224): avc: denied { call } for comm=4E444B204D65646961436F6465635F scontext=u:r:platform_app:s0:c512,c768 tcontext=u:r:init:s0 tclass=binder permissive=1
10-26 02:32:18.633 19373 19754 I OMXClient: IOmx service obtained
10-26 02:32:18.633 19373 19373 V CAM_QuickActivity: END onResume: Activity = com.android.camera.CameraActivity@2f951f
10-26 02:32:18.634 17520 17557 I OMXMaster: makeComponentInstance(OMX.google.vorbis.decoder) in omx@1.0-service process
10-26 02:32:18.642 17813 17878 E Sensors : Sensor : Meta event
10-26 02:32:18.648 16962 16962 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7bd582c100, 32768)
10-26 02:32:18.630 19754 19754 I com.android.camera2: type=1400 audit(0.0:1225): avc: denied { transfer } for comm=4E444B204D65646961436F6465635F scontext=u:r:platform_app:s0:c512,c768 tcontext=u:r:init:s0 tclass=binder permissive=1
10-26 02:32:18.633 17557 17557 I HwBinder:17520_: type=1400 audit(0.0:1226): avc: denied { transfer } for scontext=u:r:init:s0 tcontext=u:r:platform_app:s0:c512,c768 tclass=binder permissive=1
10-26 02:32:18.650 19754 19754 I com.android.camera2: type=1400 audit(0.0:1227): avc: denied { use } for comm=4E444B204D65646961436F6465635F path="/dev/ashmem" dev="tmpfs" ino=8384 scontext=u:r:init:s0 tcontext=u:r:hal_allocator_default:s0 tclass=fd permissive=1
10-26 02:32:18.655 16962 16962 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7bd582c100, 32768)
10-26 02:32:18.659 16962 16962 I chatty : uid=1000(system) allocator@1.0-s identical 2 lines
10-26 02:32:18.663 16962 16962 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7bd582c100, 32768)
10-26 02:32:18.665 19373 19373 V CAM_CameraActivity: ignoring storage callback after activity pause
10-26 02:32:18.666 19373 19420 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1440x2560]-format:1
10-26 02:32:18.666 16962 16962 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7bd582c100, 32768)
10-26 02:32:18.666 16962 16962 I chatty : uid=1000(system) allocator@1.0-s identical 1 line
10-26 02:32:18.667 16962 16962 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7bd582c100, 32768)
10-26 02:32:18.663 19757 19757 I OMXCallbackDisp: type=1400 audit(0.0:1228): avc: denied { call } for scontext=u:r:init:s0 tcontext=u:r:platform_app:s0:c512,c768 tclass=binder permissive=1
10-26 02:32:18.668 19373 19373 V CAM_FocusController: configurePreviewDimensions(RectF(NaN, NaN, NaN, NaN))
10-26 02:32:18.669 19373 19373 I CAM_FocusRingView: Computing center via view bounds.
10-26 02:32:18.675 19373 19373 D CAM_CaptureModule: onSurfaceTextureUpdated --> updatePreviewTransform
10-26 02:32:18.675 19373 19373 D CAM_CaptureModule: updatePreviewTransform: 1440 x 2560
10-26 02:32:18.679 19373 19373 V CAM_TexViewHelper: setAspectRatio: 1.7777778
10-26 02:32:18.680 19373 19373 V CAM_TexViewHelper: aspect ratio changed from: NaN
10-26 02:32:18.686 18594 18594 I mali-cmar-backe: type=1400 audit(0.0:1229): avc: denied { ioctl } for path="/dev/mali0" dev="tmpfs" ino=3365 ioctlcmd=8203 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
10-26 02:32:18.686 18582 18582 I RenderThread: type=1400 audit(0.0:1230): avc: denied { read } for path="/dev/mali0" dev="tmpfs" ino=3365 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
10-26 02:32:18.693 16962 16962 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7bd582c100, 32768)
10-26 02:32:18.697 16962 16962 I chatty : uid=1000(system) allocator@1.0-s identical 2 lines
10-26 02:32:18.700 16962 16962 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7bd582c100, 32768)
10-26 02:32:18.703 17504 18345 I CameraProviderManager: Camera device device@1.0/legacy/0 torch status is now NOT_AVAILABLE
10-26 02:32:18.703 17504 18345 I CameraService: onTorchStatusChangedLocked: Torch status changed for cameraId=0, newStatus=0
10-26 02:32:18.704 17504 18345 I CameraProviderManager: Camera device device@3.3/legacy/0 torch status is now NOT_AVAILABLE
10-26 02:32:18.704 17504 18345 I CameraService: onTorchStatusChangedLocked: Torch status changed for cameraId=0, newStatus=0
10-26 02:32:18.736 19373 19753 I CAM_Profiler: [136.019ms] GUARD: CaptureModule.openCameraAndStartPreview() - [135.450ms] mOneCameraOpener.open()
10-26 02:32:18.737 19373 19753 I CAM_Profiler: [136.019ms] GUARD: CaptureModule.openCameraAndStartPreview() - STOP
10-26 02:32:18.737 19373 19406 I CAM_OneCamCreator: Camera support level: LIMITED_YUV
10-26 02:32:18.739 19373 19406 I CAM_OneCamCreator: Picture Size Configuration: PictureSizeCalculator.Configuration{native size=5312x2988, crop=Rect(0, 0 - 5312, 2988)}
10-26 02:32:18.741 19373 19373 V CAM_FocusController: configurePreviewDimensions(RectF(0.0, 0.0, 1440.0, 2560.0))
10-26 02:32:18.741 19373 19373 I CAM_FocusRingView: Computing center via preview size.
10-26 02:32:18.742 19373 19406 D CAM_CaptureModule: onCameraOpened: com.android.camera.one.v2.initialization.GenericOneCameraImpl@f3e8263
10-26 02:32:18.746 19373 19406 D CAM_CaptureModule: starting preview ...
10-26 02:32:18.748 19373 19373 D CAM_Camera2OneCamMgr: Getting First FRONT Camera
10-26 02:32:18.749 17504 18345 W CameraDeviceClient: createSurfaceFromGbp: Camera 0 with consumer usage flag: 256: Forcing asynchronous mode for stream
10-26 02:32:18.750 17504 18345 W CameraDeviceClient: createSurfaceFromGbp: Camera 0: Overriding format 0x1 to IMPLEMENTATION_DEFINED
10-26 02:32:18.765 17504 18345 D Camera3-Device: Set real time priority for request queue thread (tid 19775)
10-26 02:32:18.772 19373 19777 V CAM_SettingsManager: listeners: [com.android.camera.CameraActivity@2f951f, com.android.camera.app.CameraAppUI@3254fb0, com.android.camera.ButtonManager@9a813e5, com.android.camera.widget.IndicatorIconController@6ae016b, com.android.camera.settings.SettingObserver$Listener@9f08efd]
10-26 02:32:18.772 19373 19777 V CAM_SettingsManager: listeners: [com.android.camera.CameraActivity@2f951f, com.android.camera.app.CameraAppUI@3254fb0, com.android.camera.ButtonManager@9a813e5, com.android.camera.widget.IndicatorIconController@6ae016b, com.android.camera.settings.SettingObserver$Listener@9f08efd, com.android.camera.settings.SettingObserver$Listener@3a4ee43]
10-26 02:32:18.773 19373 19373 W CAM_IndicatorIconCtrlr: Trying to sync a pano indicator that is not initialized.
10-26 02:32:18.774 19373 19781 D CAM_CommandExecutor: Executing command: com.android.camera.one.v2.commands.PreviewCommand@f04c34a START
10-26 02:32:18.775 19373 19373 D CAM_CaptureModule: Ready for capture.
10-26 02:32:18.775 19373 19373 V CAM_CameraAppUI: onPreviewStarted
10-26 02:32:18.781 19373 19781 D CAM_CommandExecutor: Executing command: com.android.camera.one.v2.commands.PreviewCommand@f04c34a END
10-26 02:32:18.785 17504 18345 I Camera2ClientBase: Closed Camera 0. Client was: com.android.camera2 (PID 19373, UID 10009)
10-26 02:32:18.796 19373 19782 I OMXClient: IOmx service obtained
10-26 02:32:18.797 17520 17557 I OMXMaster: makeComponentInstance(OMX.google.vorbis.decoder) in omx@1.0-service process
10-26 02:32:18.799 16962 16962 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7bd582c100, 32768)
10-26 02:32:18.807 16962 16962 I chatty : uid=1000(system) allocator@1.0-s identical 10 lines
10-26 02:32:18.808 16962 16962 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7bd582c100, 32768)
10-26 02:32:18.876 16997 17542 W SurfaceFlinger: Attempting to set client state on removed layer: SnapshotStartingWindow for taskId=26#0
10-26 02:32:18.876 16997 17542 W SurfaceFlinger: Attempting to destroy on removed layer: SnapshotStartingWindow for taskId=26#0
10-26 02:32:18.925 19373 19373 V CAM_TexViewHelper: onLayoutChange
10-26 02:32:18.926 19373 19373 D CAM_CaptureModule: updatePreviewTransform: 1440 x 2560
10-26 02:32:19.058 18512 18512 W LauncherTransition: Failed to animate, surface got destroyed.
10-26 02:32:19.114 16997 18631 E BufferQueueProducer: [com.android.launcher3/com.android.launcher3.Launcher#0] disconnect: not connected (req=1)
10-26 02:32:19.114 18512 18582 W libEGL : EGLNativeWindowType 0x7f21135010 disconnect failed
10-26 02:32:19.814 19788 19788 W linker : Warning: "/odm/lib64" is not a directory (ignoring)
10-26 02:32:19.895 17504 19775 E libexynosv4l2: failed to ioctl: VIDIOC_S_INPUT (22 - Invalid argument)
10-26 02:32:20.590 17813 17813 V SettingsProvider: Notifying for 0: content://settings/system/screen_brightness
10-26 02:32:23.744 17813 17839 E LightsService: Light requested not available on this device. 2
10-26 02:32:24.826 19808 19808 W linker : Warning: "/odm/lib64" is not a directory (ignoring)
^C
130|zerofltexx:/ #