Skip to content

Instantly share code, notes, and snippets.

@bglgwyng
Created February 6, 2024 12:50
Show Gist options
  • Save bglgwyng/bf20a52175347f02e71966a7c60f8cae to your computer and use it in GitHub Desktop.
Save bglgwyng/bf20a52175347f02e71966a7c60f8cae to your computer and use it in GitHub Desktop.
2024-02-06 21:48:31.238 13518-13518 libc com.mrousavy.camera.example W Access denied finding property "persist.dm.passive.display_brightness"
2024-02-06 21:48:31.238 13518-13518 libc com.mrousavy.camera.example W Access denied finding property "persist.dm.passive.ambient_brightness"
2024-02-06 21:48:31.239 13518-13543 NativeCust...ncyManager com.mrousavy.camera.example D [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
2024-02-06 21:48:31.245 13518-13518 InsetsController com.mrousavy.camera.example D onStateChanged: host=com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity from=android.view.ViewRootImpl.setView:1717 state=InsetsState: {mDisplayFrame=Rect(0, 0 - 1080, 2400), mDisplayCutout=DisplayCutout{insets=Rect(0, 80 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(510, 0 - 570, 80), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2400 physicalDisplayWidth=1080 physicalDisplayHeight=2400 density={3.0} cutoutSpec={M 0,0 H -10 V 26.66666666666667 H 10 V 0 H 0 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]} mRoundedCornerFrame=Rect(0, 0 - 1080, 2400), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(948, 0 - 1080, 80) rotation=0}, mDisplayShape=DisplayShape{ spec=-1893857183 displayWidth=1080 displayHeight=2400 physicalPixelDisplaySizeRatio=1.0 rotation=0 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {dad40001 mType=navigationBars mFrame=[0,2256][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {dad40004 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {dad40005 mType=mandatorySystemGestures mFrame=[0,2256][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {dad40006 mType=tappableElement mFrame=[0,2256][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {dad40024 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {3 mType=ime mFrame=[0,1307][1080,2400] mVisible=false mFlags=[]}, InsetsSource: {27 mType=displayCutout mFrame=[0,0][1080,80] mVisible=true mFlags=[]}, InsetsSource: {31e50000 mType=statusBars mFrame=[0,0][1080,80] mVisible=true mFlags=[]}, InsetsSource: {31e50005 mType=mandatorySystemGestures mFrame=[0,0][1080,116] mVisible=true mFlags=[]}, InsetsSource: {31e50006 mType=tappableElement mFrame=[0,0][1080,80] mVisible=true mFlags=[]} }
2024-02-06 21:48:31.247 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I synced displayState. AttachInfo displayState=2
2024-02-06 21:48:31.248 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I setView = com.android.internal.policy.DecorView@e02d880 TM=true
2024-02-06 21:48:31.248 13518-13518 IDS_TAG com.mrousavy.camera.example I Starting IDS observe window
2024-02-06 21:48:31.248 13518-13518 IDS_TAG com.mrousavy.camera.example I Getting Shared Preference for com.mrousavy.camera.example.MainApplication@c235f8e uid = 10534
2024-02-06 21:48:31.250 13518-13518 IDS_TAG com.mrousavy.camera.example I App com.mrousavy.camera.example.MainApplication@c235f8e has not finished training
2024-02-06 21:48:31.255 13518-13518 IDS_TAG com.mrousavy.camera.example I Closing IDS observe window
2024-02-06 21:48:31.255 13518-13518 IDS_TAG com.mrousavy.camera.example I Getting Shared Preference for com.mrousavy.camera.example.MainApplication@c235f8e uid = 10534
2024-02-06 21:48:31.257 13518-13518 IDS_TAG com.mrousavy.camera.example I IDS count updated to 2 for com.mrousavy.camera.example.MainApplication@c235f8e
2024-02-06 21:48:31.258 13518-13518 unknown:ReactNative com.mrousavy.camera.example W Packager connection already open, nooping.
2024-02-06 21:48:31.269 13518-13518 BLASTBufferQueue_Java com.mrousavy.camera.example I new BLASTBufferQueue, mName= ViewRootImpl@7acdf14[MainActivity] mNativeObject= 0xb400006ea81047d0 sc.mNativeObject= 0xb400006db80fa790 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2979 android.view.ViewRootImpl.relayoutWindow:9998 android.view.ViewRootImpl.performTraversals:4056 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 android.view.Choreographer.doCallbacks:1129 android.view.Choreographer.doFrame:1055 android.view.Choreographer$FrameDisplayEventReceiver.run:1622
2024-02-06 21:48:31.269 13518-13518 BLASTBufferQueue_Java com.mrousavy.camera.example I update, w= 1080 h= 2400 mName = ViewRootImpl@7acdf14[MainActivity] mNativeObject= 0xb400006ea81047d0 sc.mNativeObject= 0xb400006db80fa790 format= -1 caller= android.graphics.BLASTBufferQueue.<init>:89 android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2979 android.view.ViewRootImpl.relayoutWindow:9998 android.view.ViewRootImpl.performTraversals:4056 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197
2024-02-06 21:48:31.270 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=6 res=0x403 s={true 0xb400006f181367c0} ch=true seqId=0
2024-02-06 21:48:31.270 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I performConfigurationChange setNightDimText nightDimLevel=0
2024-02-06 21:48:31.270 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example D mThreadedRenderer.initialize() mSurface={isValid=true 0xb400006f181367c0} hwInitialized=true
2024-02-06 21:48:31.271 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example D reportNextDraw android.view.ViewRootImpl.performTraversals:4658 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659
2024-02-06 21:48:31.272 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example D Setup new sync=wmsSync-ViewRootImpl@7acdf14[MainActivity]#0
2024-02-06 21:48:31.272 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example D Creating new active sync group ViewRootImpl@7acdf14[MainActivity]#1
2024-02-06 21:48:31.272 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example D registerCallbacksForSync syncBuffer=false
2024-02-06 21:48:31.273 13518-13578 ViewRootIm...nActivity] com.mrousavy.camera.example D Received frameDrawingCallback syncResult=0 frameNum=1.
2024-02-06 21:48:31.273 13518-13578 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e6812f010 mBlastBufferQueue=0xb400006ea81047d0 fn= 1 caller= android.view.ViewRootImpl$8.onFrameDraw:13614 android.view.ThreadedRenderer$1.onFrameDraw:788 <bottom of call stack>
2024-02-06 21:48:31.273 13518-13578 ViewRootIm...nActivity] com.mrousavy.camera.example D Setting up sync and frameCommitCallback
2024-02-06 21:48:31.285 13518-13543 BLASTBufferQueue com.mrousavy.camera.example I [ViewRootImpl@7acdf14[MainActivity]#0](f:0,a:0,s:0) onFrameAvailable the first frame is available
2024-02-06 21:48:31.285 13518-13543 ViewRootIm...nActivity] com.mrousavy.camera.example D Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true
2024-02-06 21:48:31.286 13518-13543 OpenGLRenderer com.mrousavy.camera.example D CFMS:: SetUp Pid : 13518 Tid : 13543
2024-02-06 21:48:31.286 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example D reportDrawFinished
2024-02-06 21:48:31.286 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I registerCallbackForPendingTransactions
2024-02-06 21:48:31.290 13518-13518 Compatibil...geReporter com.mrousavy.camera.example D Compat change id reported: 210923482; UID 10534; state: ENABLED
2024-02-06 21:48:31.296 13518-13543 NativeCust...ncyManager com.mrousavy.camera.example D [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
2024-02-06 21:48:31.301 13518-13518 InsetsController com.mrousavy.camera.example D onStateChanged: host=PopupWindow:d261657 from=android.view.ViewRootImpl.setView:1717 state=InsetsState: {mDisplayFrame=Rect(0, 0 - 1080, 2400), mDisplayCutout=DisplayCutout{insets=Rect(0, 80 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(510, 0 - 570, 80), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2400 physicalDisplayWidth=1080 physicalDisplayHeight=2400 density={3.0} cutoutSpec={M 0,0 H -10 V 26.66666666666667 H 10 V 0 H 0 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]} mRoundedCornerFrame=Rect(0, 0 - 1080, 2400), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(948, 0 - 1080, 80) rotation=0}, mDisplayShape=DisplayShape{ spec=-1893857183 displayWidth=1080 displayHeight=2400 physicalPixelDisplaySizeRatio=1.0 rotation=0 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {dad40001 mType=navigationBars mFrame=[0,2256][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {dad40004 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {dad40005 mType=mandatorySystemGestures mFrame=[0,2256][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {dad40006 mType=tappableElement mFrame=[0,2256][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {dad40024 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {27 mType=displayCutout mFrame=[0,0][1080,80] mVisible=true mFlags=[]}, InsetsSource: {31e50000 mType=statusBars mFrame=[0,0][1080,80] mVisible=true mFlags=[]}, InsetsSource: {31e50005 mType=mandatorySystemGestures mFrame=[0,0][1080,116] mVisible=true mFlags=[]}, InsetsSource: {31e50006 mType=tappableElement mFrame=[0,0][1080,80] mVisible=true mFlags=[]} }
2024-02-06 21:48:31.302 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example I synced displayState. AttachInfo displayState=2
2024-02-06 21:48:31.302 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example I setView = android.widget.PopupWindow$PopupDecorView@30bc0f3 TM=true
2024-02-06 21:48:31.311 13518-13518 BLASTBufferQueue_Java com.mrousavy.camera.example I new BLASTBufferQueue, mName= ViewRootImpl@2503544[PopupWindow:d261657] mNativeObject= 0xb400006ea8100630 sc.mNativeObject= 0xb400006db80fc950 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2979 android.view.ViewRootImpl.relayoutWindow:9998 android.view.ViewRootImpl.performTraversals:4056 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 android.view.Choreographer.doCallbacks:1129 android.view.Choreographer.doFrame:1055 android.view.Choreographer$FrameDisplayEventReceiver.run:1622
2024-02-06 21:48:31.311 13518-13518 BLASTBufferQueue_Java com.mrousavy.camera.example I update, w= 1080 h= 84 mName = ViewRootImpl@2503544[PopupWindow:d261657] mNativeObject= 0xb400006ea8100630 sc.mNativeObject= 0xb400006db80fc950 format= -3 caller= android.graphics.BLASTBufferQueue.<init>:89 android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2979 android.view.ViewRootImpl.relayoutWindow:9998 android.view.ViewRootImpl.performTraversals:4056 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197
2024-02-06 21:48:31.311 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example I Relayout returned: old=(0,80,1080,2256) new=(0,80,1080,164) req=(1080,84)0 dur=4 res=0x403 s={true 0xb400006f18149a50} ch=true seqId=0
2024-02-06 21:48:31.311 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example I performConfigurationChange setNightDimText nightDimLevel=0
2024-02-06 21:48:31.312 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example D mThreadedRenderer.initialize() mSurface={isValid=true 0xb400006f18149a50} hwInitialized=true
2024-02-06 21:48:31.312 13518-13580 ViewRootIm...w:d261657] com.mrousavy.camera.example I Resizing android.view.ViewRootImpl@5866829: frame = [0,80][1080,164] reportDraw = true forceLayout = false syncSeqId = -1
2024-02-06 21:48:31.313 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example D reportNextDraw android.view.ViewRootImpl.performTraversals:4658 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659
2024-02-06 21:48:31.314 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example D Setup new sync=wmsSync-ViewRootImpl@2503544[PopupWindow:d261657]#2
2024-02-06 21:48:31.314 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example D Creating new active sync group ViewRootImpl@2503544[PopupWindow:d261657]#3
2024-02-06 21:48:31.314 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example D registerCallbacksForSync syncBuffer=false
2024-02-06 21:48:31.315 13518-13579 ViewRootIm...w:d261657] com.mrousavy.camera.example D Received frameDrawingCallback syncResult=0 frameNum=1.
2024-02-06 21:48:31.315 13518-13579 ViewRootIm...w:d261657] com.mrousavy.camera.example I mWNT: t=0xb400006e6812b390 mBlastBufferQueue=0xb400006ea8100630 fn= 1 caller= android.view.ViewRootImpl$8.onFrameDraw:13614 android.view.ThreadedRenderer$1.onFrameDraw:788 <bottom of call stack>
2024-02-06 21:48:31.315 13518-13579 ViewRootIm...w:d261657] com.mrousavy.camera.example D Setting up sync and frameCommitCallback
2024-02-06 21:48:31.318 13518-13543 BLASTBufferQueue com.mrousavy.camera.example I [ViewRootImpl@2503544[PopupWindow:d261657]#1](f:0,a:0,s:0) onFrameAvailable the first frame is available
2024-02-06 21:48:31.318 13518-13543 ViewRootIm...w:d261657] com.mrousavy.camera.example D Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true
2024-02-06 21:48:31.319 13518-13543 OpenGLRenderer com.mrousavy.camera.example D CFMS:: SetUp Pid : 13518 Tid : 13543
2024-02-06 21:48:31.319 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example D reportDrawFinished
2024-02-06 21:48:31.319 13518-13518 InsetsSourceConsumer com.mrousavy.camera.example D applyRequestedVisibilityToControl: visible=true, type=1
2024-02-06 21:48:31.320 13518-13518 InsetsSourceConsumer com.mrousavy.camera.example D applyRequestedVisibilityToControl: visible=true, type=2
2024-02-06 21:48:31.321 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I MSG_WINDOW_FOCUS_CHANGED 1 0
2024-02-06 21:48:31.321 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example D mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb400006f181367c0}
2024-02-06 21:48:31.321 13518-13518 InputMethodManagerUtils com.mrousavy.camera.example D startInputInner - Id : 0
2024-02-06 21:48:31.322 13518-13518 InputMethodManager com.mrousavy.camera.example I startInputInner - IInputMethodManagerGlobalInvoker.startInputOrWindowGainedFocus
2024-02-06 21:48:31.325 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example I registerCallbackForPendingTransactions
2024-02-06 21:48:31.325 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example I handleResized, msg = 5 frames=ClientWindowFrames{frame=[0,80][1080,164] display=[0,80][1080,2256] parentFrame=[0,0][0,0] attachedFrame=[0,0][1080,2400]} forceNextWindowRelayout=false displayId=0 dragResizing=false compatScale=1.0 frameChanged=false attachedFrameChanged=false configChanged=false displayChanged=false compatScaleChanged=false
2024-02-06 21:48:31.325 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example I handleResized mSyncSeqId = 0
2024-02-06 21:48:31.325 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example D reportNextDraw android.view.ViewRootImpl.handleResized:2485 android.view.ViewRootImpl.-$$Nest$mhandleResized:0 android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:7073 android.view.ViewRootImpl$ViewRootHandler.handleMessage:7042 android.os.Handler.dispatchMessage:106
2024-02-06 21:48:31.326 13518-13518 InputMethodManagerUtils com.mrousavy.camera.example D startInputInner - Id : 0
2024-02-06 21:48:31.329 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example D Setup new sync=wmsSync-ViewRootImpl@2503544[PopupWindow:d261657]#4
2024-02-06 21:48:31.329 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example D Creating new active sync group ViewRootImpl@2503544[PopupWindow:d261657]#5
2024-02-06 21:48:31.329 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example D registerCallbacksForSync syncBuffer=false
2024-02-06 21:48:31.330 13518-13578 ViewRootIm...w:d261657] com.mrousavy.camera.example I mWNT: t=0xb400006e6812ab50 mBlastBufferQueue=0xb400006ea8100630 fn= 2 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 21:48:31.330 13518-13578 ViewRootIm...w:d261657] com.mrousavy.camera.example D Received frameDrawingCallback syncResult=0 frameNum=2.
2024-02-06 21:48:31.330 13518-13578 ViewRootIm...w:d261657] com.mrousavy.camera.example I mWNT: t=0xb400006e6812a050 mBlastBufferQueue=0xb400006ea8100630 fn= 2 caller= android.view.ViewRootImpl$8.onFrameDraw:13614 android.view.ThreadedRenderer$1.onFrameDraw:788 <bottom of call stack>
2024-02-06 21:48:31.330 13518-13578 ViewRootIm...w:d261657] com.mrousavy.camera.example D Setting up sync and frameCommitCallback
2024-02-06 21:48:31.330 13518-13543 BLASTBufferQueue_Java com.mrousavy.camera.example I applyPendingTransactions, mName= ViewRootImpl@2503544[PopupWindow:d261657] mNativeObject= 0xb400006ea8100630 frameNumber= 2 caller= android.view.ViewRootImpl$6.lambda$onFrameDraw$0:5548 android.view.ViewRootImpl$6.$r8$lambda$9ThyGB6fC3mub7oMSjoAoWLhwMM:0 android.view.ViewRootImpl$6$$ExternalSyntheticLambda0.onFrameCommit:4 android.view.ThreadedRenderer$1.lambda$onFrameDraw$0:800 android.view.ThreadedRenderer$1$$ExternalSyntheticLambda0.onFrameCommit:2 <bottom of call stack>
2024-02-06 21:48:31.330 13518-13543 ViewRootIm...w:d261657] com.mrousavy.camera.example D Received frameCommittedCallback lastAttemptedDrawFrameNum=2 didProduceBuffer=false
2024-02-06 21:48:31.331 13518-13543 BLASTBufferQueue_Java com.mrousavy.camera.example I gatherPendingTransactions, mName= ViewRootImpl@2503544[PopupWindow:d261657] mNativeObject= 0xb400006ea8100630 frameNumber= 2 caller= android.view.ViewRootImpl$8.lambda$onFrameDraw$1:13671 android.view.ViewRootImpl$8.$r8$lambda$6frSHsGsDhUEo8Wl9hChpniTVZ0:0 android.view.ViewRootImpl$8$$ExternalSyntheticLambda1.onFrameCommit:9 android.view.ThreadedRenderer$1.lambda$onFrameDraw$0:800 android.view.ThreadedRenderer$1$$ExternalSyntheticLambda0.onFrameCommit:2 <bottom of call stack>
2024-02-06 21:48:31.331 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example D reportDrawFinished
2024-02-06 21:48:31.332 13518-13518 InsetsSourceConsumer com.mrousavy.camera.example D applyRequestedVisibilityToControl: visible=false, type=8
---------------------------- PROCESS STARTED (13518) for package com.mrousavy.camera.example ----------------------------
2024-02-06 21:48:31.595 13518-13518 WindowOnBackDispatcher com.mrousavy.camera.example W sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda21@fbd61b0
2024-02-06 21:48:31.596 13518-13518 ViewRootIm...w:d261657] com.mrousavy.camera.example I dispatchDetachedFromWindow
2024-02-06 21:48:31.599 13518-13518 InputTransport com.mrousavy.camera.example D Input channel destroyed: '827160e', fd=116
2024-02-06 21:48:31.619 13518-13586 CameraManagerGlobal com.mrousavy.camera.example I Connecting to camera service
2024-02-06 21:48:31.620 13518-13586 VendorTagDescriptor com.mrousavy.camera.example D addVendorDescriptor: vendor tag id 14172875900359437128 added
2024-02-06 21:48:31.622 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPENING_FAILED for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:31.622 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client com.samsung.android.smartface API Level 2 User Id 0
2024-02-06 21:48:31.622 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 2 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:31.622 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 20 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:31.622 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 21 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:31.622 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 23 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:31.623 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 3 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:31.623 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 4 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:31.623 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 50 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:31.623 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 52 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:31.623 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 56 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:31.623 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 58 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:31.629 13518-13586 unknown:ReactContext com.mrousavy.camera.example W initializeMessageQueueThreads() is called.
2024-02-06 21:48:31.633 13518-13518 unknown:ReactNative com.mrousavy.camera.example W Packager connection already open, nooping.
2024-02-06 21:48:31.648 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.traceupdateoverlay.TraceUpdateOverlayManager
2024-02-06 21:48:31.652 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.uimanager.LayoutShadowNode
2024-02-06 21:48:31.656 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.drawer.ReactDrawerLayoutManager
2024-02-06 21:48:31.657 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollViewManager
2024-02-06 21:48:31.660 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollContainerViewManager
2024-02-06 21:48:31.661 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.progressbar.ReactProgressBarViewManager
2024-02-06 21:48:31.662 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.progressbar.ProgressBarShadowNode
2024-02-06 21:48:31.663 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.scroll.ReactScrollViewManager
2024-02-06 21:48:31.666 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager
2024-02-06 21:48:31.667 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager$ReactSwitchShadowNode
2024-02-06 21:48:31.668 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.swiperefresh.SwipeRefreshLayoutManager
2024-02-06 21:48:31.670 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageViewManager
2024-02-06 21:48:31.670 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode
2024-02-06 21:48:31.672 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.image.ReactImageManager
2024-02-06 21:48:31.674 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.modal.ReactModalHostManager
2024-02-06 21:48:31.675 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.modal.ModalHostShadowNode
2024-02-06 21:48:31.676 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.ReactRawTextManager
2024-02-06 21:48:31.676 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.ReactRawTextShadowNode
2024-02-06 21:48:31.677 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputManager
2024-02-06 21:48:31.680 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputShadowNode
2024-02-06 21:48:31.683 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.ReactTextViewManager
2024-02-06 21:48:31.685 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.ReactTextShadowNode
2024-02-06 21:48:31.686 13518-13538 ViewRootIm...nActivity] com.mrousavy.camera.example I Resizing android.view.ViewRootImpl@fba3d3b: frame = [0,0][1080,2400] reportDraw = false forceLayout = false syncSeqId = -1
2024-02-06 21:48:31.686 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.view.ReactViewManager
2024-02-06 21:48:31.688 13518-13518 InsetsController com.mrousavy.camera.example D onStateChanged: host=com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity from=android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:7072 state=InsetsState: {mDisplayFrame=Rect(0, 0 - 1080, 2400), mDisplayCutout=DisplayCutout{insets=Rect(0, 80 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(510, 0 - 570, 80), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2400 physicalDisplayWidth=1080 physicalDisplayHeight=2400 density={3.0} cutoutSpec={M 0,0 H -10 V 26.66666666666667 H 10 V 0 H 0 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]} mRoundedCornerFrame=Rect(0, 0 - 1080, 2400), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(948, 0 - 1080, 80) rotation=0}, mDisplayShape=DisplayShape{ spec=-1893857183 displayWidth=1080 displayHeight=2400 physicalPixelDisplaySizeRatio=1.0 rotation=0 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {dad40001 mType=navigationBars mFrame=[0,2256][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {dad40004 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {dad40005 mType=mandatorySystemGestures mFrame=[0,2256][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {dad40006 mType=tappableElement mFrame=[0,2256][1080,2400] mVisible=true mFlags=[]}, InsetsSource: {dad40024 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {3 mType=ime mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {27 mType=displayCutout mFrame=[0,0][1080,80] mVisible=true mFlags=[]}, InsetsSource: {31e50000 mType=statusBars mFrame=[0,0][1080,80] mVisible=true mFlags=[]}, InsetsSource: {31e50005 mType=mandatorySystemGestures mFrame=[0,0][1080,116] mVisible=true mFlags=[]}, InsetsSource: {31e50006 mType=tappableElement mFrame=[0,0][1080,80] mVisible=true mFlags=[]} }
2024-02-06 21:48:31.689 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I handleResized, msg = 4 frames=ClientWindowFrames{frame=[0,0][1080,2400] display=[0,0][1080,2400] parentFrame=[0,0][0,0]} forceNextWindowRelayout=false displayId=0 dragResizing=false compatScale=1.0 frameChanged=false attachedFrameChanged=false configChanged=false displayChanged=false compatScaleChanged=false
2024-02-06 21:48:31.690 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextViewManager
2024-02-06 21:48:31.691 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextShadowNode
2024-02-06 21:48:31.691 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.facebook.react.views.unimplementedview.ReactUnimplementedViewManager
2024-02-06 21:48:31.692 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.reactnativecommunity.blurview.BlurViewManager
2024-02-06 21:48:31.694 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.dylanvann.fastimage.FastImageViewManager
2024-02-06 21:48:31.695 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.gesturehandler.react.RNGestureHandlerRootViewManager
2024-02-06 21:48:31.696 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.gesturehandler.react.RNGestureHandlerButtonViewManager
2024-02-06 21:48:31.697 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.th3rdwave.safeareacontext.SafeAreaProviderManager
2024-02-06 21:48:31.698 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.th3rdwave.safeareacontext.SafeAreaViewManager
2024-02-06 21:48:31.699 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.th3rdwave.safeareacontext.SafeAreaViewShadowNode
2024-02-06 21:48:31.700 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.rnscreens.ScreenContainerViewManager
2024-02-06 21:48:31.701 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.rnscreens.ScreenViewManager
2024-02-06 21:48:31.702 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.rnscreens.ScreenStackViewManager
2024-02-06 21:48:31.703 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.rnscreens.ScreenStackHeaderConfigViewManager
2024-02-06 21:48:31.705 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.rnscreens.ScreenStackHeaderSubviewManager
2024-02-06 21:48:31.706 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.rnscreens.SearchBarManager
2024-02-06 21:48:31.708 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.brentvatne.react.ReactVideoViewManager
2024-02-06 21:48:31.710 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.mrousavy.camera.CameraViewManager
2024-02-06 21:48:31.716 13518-13591 .camera.example com.mrousavy.camera.example W Accessing hidden field Ljava/lang/reflect/Field;->accessFlags:I (unsupported, reflection, allowed)
2024-02-06 21:48:31.717 13518-13591 unknown:ReactContext com.mrousavy.camera.example W initializeMessageQueueThreads() is called.
2024-02-06 21:48:31.739 13518-13591 CameraManager com.mrousavy.camera.example I registerAvailabilityCallback: Is device callback = false
2024-02-06 21:48:31.739 13518-13591 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_PRESENT
2024-02-06 21:48:31.739 13518-13591 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_PRESENT
2024-02-06 21:48:31.740 13518-13591 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_PRESENT
2024-02-06 21:48:31.740 13518-13591 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_PRESENT
2024-02-06 21:48:31.740 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #0 is now available.
2024-02-06 21:48:31.740 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #1 is now available.
2024-02-06 21:48:31.740 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #2 is now available.
2024-02-06 21:48:31.740 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #3 is now available.
2024-02-06 21:48:31.843 13518-13591 ziparchive com.mrousavy.camera.example W Unable to open '/data/app/~~vtzPC2TZMbUH5pp-tZ-Dqw==/com.google.android.trichromelibrary_609923033-XNNDdDG7CM0mb4op9wtqDw==/base.dm': No such file or directory
2024-02-06 21:48:31.843 13518-13591 ziparchive com.mrousavy.camera.example W Unable to open '/data/app/~~vtzPC2TZMbUH5pp-tZ-Dqw==/com.google.android.trichromelibrary_609923033-XNNDdDG7CM0mb4op9wtqDw==/base.dm': No such file or directory
2024-02-06 21:48:31.844 13518-13591 .camera.example com.mrousavy.camera.example W Entry not found
2024-02-06 21:48:31.845 13518-13591 nativeloader com.mrousavy.camera.example D Configuring clns-5 for other apk /data/app/~~vtzPC2TZMbUH5pp-tZ-Dqw==/com.google.android.trichromelibrary_609923033-XNNDdDG7CM0mb4op9wtqDw==/base.apk. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~6ZguC8CPpawWOinAut0lWw==/com.google.android.webview-g_06c6RdzKzfwtcVwl3H6w==/lib/arm64:/data/app/~~6ZguC8CPpawWOinAut0lWw==/com.google.android.webview-g_06c6RdzKzfwtcVwl3H6w==/base.apk!/lib/arm64-v8a:/data/app/~~vtzPC2TZMbUH5pp-tZ-Dqw==/com.google.android.trichromelibrary_609923033-XNNDdDG7CM0mb4op9wtqDw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
2024-02-06 21:48:31.845 13518-13591 nativeloader com.mrousavy.camera.example D Extending system_exposed_libraries: libhumantracking.arcsoft.so:libPortraitDistortionCorrection.arcsoft.so:libPortraitDistortionCorrectionCali.arcsoft.so:libface_landmark.arcsoft.so:libFacialStickerEngine.arcsoft.so:libfrtracking_engine.arcsoft.so:libFaceRecognition.arcsoft.so:libveengine.arcsoft.so:lib_pet_detection.arcsoft.so:libhigh_res.arcsoft.so:libimage_enhancement.arcsoft.so:liblow_light_hdr.arcsoft.so:libhigh_dynamic_range.arcsoft.so:libsuperresolution.arcsoft.so:libFacialAttributeDetection.arcsoft.so:libobjectcapture_jni.arcsoft.so:libobjectcapture.arcsoft.so:libaudiomirroring_jni.audiomirroring.samsung.so:libBeauty_v4.camera.samsung.so:libexifa.camera.samsung.so:libjpega.camera.samsung.so:libOpenCv.camera.samsung.so:libVideoClassifier.camera.samsung.so:libImageScreener.camera.samsung.so:libMyFilter.camera.samsung.so:libtflite2.myfilters.camera.samsung.so:libHIDTSnapJNI.camera.samsung.so:libSmartScan.camera.samsung.so:libRectify.camera.samsung.so:libDocRectifyWrapper.camera.samsung.so:libUltraWideDi
2024-02-06 21:48:31.852 13518-13591 nativeloader com.mrousavy.camera.example D Configuring clns-6 for other apk /data/app/~~6ZguC8CPpawWOinAut0lWw==/com.google.android.webview-g_06c6RdzKzfwtcVwl3H6w==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~6ZguC8CPpawWOinAut0lWw==/com.google.android.webview-g_06c6RdzKzfwtcVwl3H6w==/lib/arm64:/data/app/~~6ZguC8CPpawWOinAut0lWw==/com.google.android.webview-g_06c6RdzKzfwtcVwl3H6w==/base.apk!/lib/arm64-v8a:/data/app/~~vtzPC2TZMbUH5pp-tZ-Dqw==/com.google.android.trichromelibrary_609923033-XNNDdDG7CM0mb4op9wtqDw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
2024-02-06 21:48:31.856 13518-13591 WebViewFactory com.mrousavy.camera.example I Loading com.google.android.webview version 120.0.6099.230 (code 609923033)
2024-02-06 21:48:31.873 13518-13591 cr_WVCFactoryProvider com.mrousavy.camera.example I Loaded version=120.0.6099.230 minSdkVersion=29 isBundle=true multiprocess=true packageId=2
2024-02-06 21:48:31.883 13518-13604 chromium com.mrousavy.camera.example E [0206/214831.883036:ERROR:variations_seed_loader.cc(69)] Failed to open file for reading. Errno: 2
2024-02-06 21:48:31.890 13518-13591 cr_LibraryLoader com.mrousavy.camera.example I Successfully loaded native library
2024-02-06 21:48:31.891 13518-13591 cr_CachingUmaRecorder com.mrousavy.camera.example I Flushed 7 samples from 7 histograms, 0 samples were dropped.
2024-02-06 21:48:31.898 13518-13607 TrafficStats com.mrousavy.camera.example D tagSocket(142) with statsTag=0xffffffff, statsUid=-1
2024-02-06 21:48:32.054 13518-13590 ReactNativeJS com.mrousavy.camera.example I Running "VisionCameraExample" with {"rootTag":11}
2024-02-06 21:48:32.058 13518-13608 TrafficStats com.mrousavy.camera.example D tagSocket(142) with statsTag=0xffffffff, statsUid=-1
2024-02-06 21:48:32.240 13518-13590 ReactNativeJS com.mrousavy.camera.example I Loading react-native-worklets-core...
2024-02-06 21:48:32.243 13518-13590 ReactNativeJS com.mrousavy.camera.example I Worklets loaded successfully
2024-02-06 21:48:32.248 13518-13590 VisionCameraProxy com.mrousavy.camera.example I Initializing VisionCameraProxy...
2024-02-06 21:48:32.248 13518-13590 VisionCameraProxy com.mrousavy.camera.example I Creating Worklet Context...
2024-02-06 21:48:32.249 13518-13590 VisionCameraProxy com.mrousavy.camera.example I Worklet Context created!
2024-02-06 21:48:32.254 13518-13590 ReactNativeJS com.mrousavy.camera.example I Re-rendering Navigator. Camera: granted | Microphone: granted
2024-02-06 21:48:32.364 13518-13590 .camera.example com.mrousavy.camera.example W CheckJNI: method to register "installJSIBindings" not in the given class. This is slow, consider changing your RegisterNatives calls.
2024-02-06 21:48:32.561 13518-13590 MMKV com.mrousavy.camera.example I Loading C++ library...
2024-02-06 21:48:32.563 13518-13590 MMKV com.mrousavy.camera.example I Installing MMKV JSI Bindings for MMKV root directory: /data/user/0/com.mrousavy.camera.example/files/mmkv
2024-02-06 21:48:32.563 13518-13590 MMKV com.mrousavy.camera.example I <MMKV.cpp:164::initialize> version v1.3.0, page size 4096, arch arm64-v8a
2024-02-06 21:48:32.563 13518-13590 MMKV com.mrousavy.camera.example I <MMKV.cpp:175::initialize> armv8 AES instructions is supported
2024-02-06 21:48:32.563 13518-13590 MMKV com.mrousavy.camera.example I <MMKV.cpp:183::initialize> armv8 CRC32 instructions is supported
2024-02-06 21:48:32.565 13518-13590 MMKV com.mrousavy.camera.example I <MMKV.cpp:207::initializeMMKV> root dir: /data/user/0/com.mrousavy.camera.example/files/mmkv
2024-02-06 21:48:32.565 13518-13590 MMKV com.mrousavy.camera.example I Successfully installed MMKV JSI Bindings!
2024-02-06 21:48:32.565 13518-13590 RNMMKV com.mrousavy.camera.example I Creating MMKV instance "mmkv.default"... (Path: , Encrypted: 0)
2024-02-06 21:48:32.565 13518-13590 MMKV com.mrousavy.camera.example I <MemoryFile.cpp:97::open> open fd[0x90], /data/user/0/com.mrousavy.camera.example/files/mmkv/mmkv.default
2024-02-06 21:48:32.565 13518-13590 MMKV com.mrousavy.camera.example I <MemoryFile.cpp:97::open> open fd[0x91], /data/user/0/com.mrousavy.camera.example/files/mmkv/mmkv.default.crc
2024-02-06 21:48:32.566 13518-13590 MMKV com.mrousavy.camera.example I <MMKV_IO.cpp:200::loadMetaInfoAndCheck> meta file [mmkv.default] has flag [0]
2024-02-06 21:48:32.566 13518-13590 MMKV com.mrousavy.camera.example I <MMKV_IO.cpp:78::loadFromFile> loading [mmkv.default] with 0 actual size, file size 4096, InterProcess 0, meta info version:4
2024-02-06 21:48:32.566 13518-13590 MMKV com.mrousavy.camera.example I <MMKV_IO.cpp:127::loadFromFile> loaded [mmkv.default] with 0 key-values
2024-02-06 21:48:32.768 13518-13590 Compatibil...geReporter com.mrousavy.camera.example D Compat change id reported: 206033068; UID 10534; state: ENABLED
2024-02-06 21:48:33.459 13518-13590 FrameProce...inRegistry com.mrousavy.camera.example I Looking up Frame Processor Plugin "example_plugin"...
2024-02-06 21:48:33.459 13518-13590 FrameProce...inRegistry com.mrousavy.camera.example I Frame Processor Plugin "example_plugin" found! Initializing...
2024-02-06 21:48:33.460 13518-13590 SharedArray com.mrousavy.camera.example I Wrapping Java ByteBuffer with size 5...
2024-02-06 21:48:33.460 13518-13590 SharedArray com.mrousavy.camera.example I Allocating SharedArray with size 5...
2024-02-06 21:48:33.460 13518-13590 ExamplePlugin com.mrousavy.camera.example D Successfully allocated SharedArray! Size: 5
2024-02-06 21:48:33.460 13518-13590 SharedArray com.mrousavy.camera.example I Wrapping Java ByteBuffer with size 10...
2024-02-06 21:48:33.460 13518-13590 ExamplePlugin com.mrousavy.camera.example D Successfully wrapped SharedArray in ByteBuffer! Size: 10
2024-02-06 21:48:33.460 13518-13590 ExamplePlugin com.mrousavy.camera.example D ExampleFrameProcessorPlugin initialized with options: {}
2024-02-06 21:48:33.460 13518-13590 FrameProce...inRegistry com.mrousavy.camera.example I Looking up Frame Processor Plugin "example_kotlin_swift_plugin"...
2024-02-06 21:48:33.460 13518-13590 FrameProce...inRegistry com.mrousavy.camera.example I Frame Processor Plugin "example_kotlin_swift_plugin" found! Initializing...
2024-02-06 21:48:33.460 13518-13590 ExampleKotlinPlugin com.mrousavy.camera.example D ExampleKotlinFrameProcessorPlugin initialized with options: {foo=bar}
2024-02-06 21:48:33.531 13518-13518 CameraManager com.mrousavy.camera.example I registerAvailabilityCallback: Is device callback = false
2024-02-06 21:48:33.532 13518-13518 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_PRESENT
2024-02-06 21:48:33.532 13518-13518 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_PRESENT
2024-02-06 21:48:33.532 13518-13518 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_PRESENT
2024-02-06 21:48:33.532 13518-13518 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_PRESENT
2024-02-06 21:48:33.534 13518-13518 PreviewView com.mrousavy.camera.example I Creating PreviewView...
2024-02-06 21:48:33.534 13518-13518 PreviewView com.mrousavy.camera.example I PreviewView is 0x0, rendering 1080x1920 content. Resizing to: 0x0 (COVER)
2024-02-06 21:48:33.535 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example D 260833560 updateSurface: has no frame
2024-02-06 21:48:33.537 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example D 260833560 updateSurface: has no frame
2024-02-06 21:48:33.539 13518-13518 CameraView com.mrousavy.camera.example I Updating CameraSession...
2024-02-06 21:48:33.545 13518-13588 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock...
2024-02-06 21:48:33.547 13518-13588 CameraSession com.mrousavy.camera.example I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
2024-02-06 21:48:33.547 13518-13588 CameraSession com.mrousavy.camera.example I Need to rebuild CameraDevice and CameraCaptureSession...
2024-02-06 21:48:33.547 13518-13588 CameraSession com.mrousavy.camera.example I CameraDevice and CameraCaptureSession is torn down but Camera is not active, skipping update...
2024-02-06 21:48:33.547 13518-13588 CameraSession com.mrousavy.camera.example I Successfully updated CameraSession Configuration! isActive: false
2024-02-06 21:48:33.547 13518-13588 CameraView com.mrousavy.camera.example I invokeOnInitialized()
2024-02-06 21:48:33.555 13518-13591 unknown:Vi...rtyUpdater com.mrousavy.camera.example W Could not find generated setter for class com.swmansion.rnscreens.ScreensShadowNode
2024-02-06 21:48:33.624 13518-13590 ReactNativeJS com.mrousavy.camera.example I Camera: BACK (0) | Format: (2400x1080 photo / 2400x1080@60 video @ 60fps)
2024-02-06 21:48:33.657 13518-13590 ReactNativeJS com.mrousavy.camera.example I Camera initialized!
2024-02-06 21:48:33.672 13518-13591 Compatibil...geReporter com.mrousavy.camera.example D Compat change id reported: 289878283; UID 10534; state: DISABLED
2024-02-06 21:48:33.689 13518-13518 ReactNative com.mrousavy.camera.example I [GESTURE HANDLER] Initialize gesture handler for root view com.facebook.react.ReactRootView{c853a5f V.E...... ......ID 0,0-1080,2256 #b}
2024-02-06 21:48:33.708 13518-13518 CameraView com.mrousavy.camera.example I Updating CameraSession...
2024-02-06 21:48:33.709 13518-13588 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock...
2024-02-06 21:48:33.709 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I onWindowVisibilityChanged(0) true com.mrousavy.camera.core.PreviewView{f8c0118 V.E...... ......I. 0,0-0,0} of ViewRootImpl@7acdf14[MainActivity]
2024-02-06 21:48:33.709 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example D 260833560 updateSurface: has no frame
2024-02-06 21:48:33.709 13518-13588 CameraSession com.mrousavy.camera.example I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
2024-02-06 21:48:33.709 13518-13588 CameraSession com.mrousavy.camera.example I Need to rebuild CameraDevice and CameraCaptureSession...
2024-02-06 21:48:33.709 13518-13588 CameraSession com.mrousavy.camera.example I Need to rebuild CameraDevice and CameraCaptureSession...
2024-02-06 21:48:33.709 13518-13588 CameraSession com.mrousavy.camera.example I Configuring Camera #0...
2024-02-06 21:48:33.710 13518-13588 CameraManager com.mrousavy.camera.example I Camera #0: Opening...
2024-02-06 21:48:33.714 13518-13518 PreviewView com.mrousavy.camera.example I PreviewView is 1080x2256, rendering 1080x1920 content. Resizing to: 1269x2256 (COVER)
2024-02-06 21:48:33.714 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example D 260833560 updateSurface: has no frame
2024-02-06 21:48:33.718 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPENING for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:33.731 13518-13518 BLASTBufferQueue_Java com.mrousavy.camera.example I update, w= 1080 h= 2400 mName = ViewRootImpl@7acdf14[MainActivity] mNativeObject= 0xb400006ea81047d0 sc.mNativeObject= 0xb400006db80fa790 format= -3 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2968 android.view.ViewRootImpl.relayoutWindow:9998 android.view.ViewRootImpl.performTraversals:4056 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197 android.view.Choreographer$CallbackRecord.run:1650
2024-02-06 21:48:33.731 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=1 res=0x0 s={true 0xb400006f181367c0} ch=false seqId=0
2024-02-06 21:48:33.735 13518-13518 SurfaceView com.mrousavy.camera.example I 260833560 Changes: creating=true format=true size=true visible=true alpha=false hint=false visible=true left=true top=true z=false attached=true lifecycleStrategy=false
2024-02-06 21:48:33.738 13518-13538 Compatibil...geReporter com.mrousavy.camera.example D Compat change id reported: 244358506; UID 10534; state: DISABLED
2024-02-06 21:48:33.738 13518-13518 BLASTBufferQueue_Java com.mrousavy.camera.example I update, w= 1269 h= 2256 mName = null mNativeObject= 0xb400006ea81b8f50 sc.mNativeObject= 0xb400006db812cad0 format= 4 caller= android.view.SurfaceView.createBlastSurfaceControls:1511 android.view.SurfaceView.updateSurface:1187 android.view.SurfaceView.lambda$new$0:258 android.view.SurfaceView.$r8$lambda$cm3nmzErr-srXoT_KjIYQgdhFN0:0 android.view.SurfaceView$$ExternalSyntheticLambda2.onPreDraw:2 android.view.ViewTreeObserver.dispatchOnPreDraw:1204
2024-02-06 21:48:33.738 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I 260833560 Cur surface: Surface(name=null)/@0x16c6423
2024-02-06 21:48:33.738 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I pST: sr = Rect(-94, 0 - 1175, 2256) sw = 1269 sh = 2256
2024-02-06 21:48:33.739 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example D 260833560 performSurfaceTransaction RenderWorker position = [-94, 0, 1175, 2256] surfaceSize = 1269x2256
2024-02-06 21:48:33.739 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I updateSurface: mVisible = true mSurface.isValid() = true
2024-02-06 21:48:33.739 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I updateSurface: mSurfaceCreated = false surfaceChanged = true visibleChanged = true
2024-02-06 21:48:33.739 13518-13518 SurfaceView com.mrousavy.camera.example I 260833560 visibleChanged -- surfaceCreated
2024-02-06 21:48:33.739 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I surfaceCreated 1 #8 com.mrousavy.camera.core.PreviewView{f8c0118 V.E...... ......ID -94,0-1175,2256}
2024-02-06 21:48:33.739 13518-13518 CameraSession com.mrousavy.camera.example I PreviewView Surface created! Surface(name=null)/@0x16c6423
2024-02-06 21:48:33.739 13518-13518 CameraSession com.mrousavy.camera.example I Setting Preview Output...
2024-02-06 21:48:33.740 13518-13518 SurfaceView com.mrousavy.camera.example I 260833560 surfaceChanged -- format=4 w=1269 h=2256
2024-02-06 21:48:33.740 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I surfaceChanged (1269,2256) 1 #8 com.mrousavy.camera.core.PreviewView{f8c0118 V.E...... ......ID -94,0-1175,2256}
2024-02-06 21:48:33.740 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
2024-02-06 21:48:33.740 13518-13518 CameraSession com.mrousavy.camera.example I PreviewView Surface updated! Surface(name=null)/@0x16c6423 1269 x 2256
2024-02-06 21:48:33.740 13518-13518 SurfaceView com.mrousavy.camera.example I 260833560 surfaceRedrawNeeded
2024-02-06 21:48:33.740 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
2024-02-06 21:48:33.740 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #0 is now unavailable.
2024-02-06 21:48:33.741 13518-13518 SurfaceView com.mrousavy.camera.example I 260833560 finishedDrawing
2024-02-06 21:48:33.741 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example V Layout: x=-94 y=0 w=1269 h=2256, frame=Rect(0, 0 - 1269, 2256)
2024-02-06 21:48:33.742 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I registerCallbackForPendingTransactions
2024-02-06 21:48:33.760 13518-13537 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:33.760 13518-13588 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock...
2024-02-06 21:48:33.761 13518-13588 CameraManager com.mrousavy.camera.example I Camera #0: Opened!
2024-02-06 21:48:33.770 13518-13543 SurfaceView com.mrousavy.camera.example D 260833560 updateSurfacePosition RenderWorker, frameNr = 2, position = [-94, 0, 1175, 2256] surfaceSize = 1269x2256
2024-02-06 21:48:33.770 13518-13543 SurfaceView@f8c0118 com.mrousavy.camera.example I uSP: rtp = Rect(-94, 0 - 1175, 2256) rtsw = 1269 rtsh = 2256
2024-02-06 21:48:33.770 13518-13543 SurfaceView@f8c0118 com.mrousavy.camera.example I onSSPAndSRT: pl = -94 pt = 0 sx = 1.0 sy = 1.0
2024-02-06 21:48:33.770 13518-13543 SurfaceView@f8c0118 com.mrousavy.camera.example I aOrMT: ViewRootImpl@7acdf14[MainActivity] t = android.view.SurfaceControl$Transaction@bab4b4c fN = 2 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1660 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:369
2024-02-06 21:48:33.771 13518-13543 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e6842d910 mBlastBufferQueue=0xb400006ea81047d0 fn= 2 caller= android.view.SurfaceView.applyOrMergeTransaction:1592 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1660
2024-02-06 21:48:33.772 13518-13579 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e68130fb0 mBlastBufferQueue=0xb400006ea81047d0 fn= 2 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 21:48:33.772 13518-13579 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e6842f5f0 mBlastBufferQueue=0xb400006ea81047d0 fn= 2 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 21:48:33.781 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I registerCallbackForPendingTransactions
2024-02-06 21:48:33.823 13518-13588 CameraSession com.mrousavy.camera.example I Successfully configured Camera #0!
2024-02-06 21:48:33.823 13518-13588 CameraSession com.mrousavy.camera.example I Destroying previous outputs...
2024-02-06 21:48:33.824 13518-13588 CameraSession com.mrousavy.camera.example I Creating outputs for Camera #0...
2024-02-06 21:48:33.827 13518-13588 CameraSession com.mrousavy.camera.example I Adding 2400x1080 Photo Output in JPEG...
2024-02-06 21:48:33.827 13518-13588 Compatibil...geReporter com.mrousavy.camera.example D Compat change id reported: 236825255; UID 10534; state: DISABLED
2024-02-06 21:48:33.830 13518-13588 CameraSession com.mrousavy.camera.example I Adding 2400x1080 Video Output in YUV_420_888...
2024-02-06 21:48:33.831 13518-13588 VideoPipeline com.mrousavy.camera.example I Initializing 2400 x 1080 Video Pipeline (format: YUV)
2024-02-06 21:48:33.831 13518-13588 VideoPipeline com.mrousavy.camera.example I Using ImageReader round-trip (format: #35)
2024-02-06 21:48:33.831 13518-13588 VideoPipeline com.mrousavy.camera.example I Using API 29 for GPU ImageReader...
2024-02-06 21:48:33.831 13518-13588 VideoPipeline com.mrousavy.camera.example E supportsHardwareBufferFlags
2024-02-06 21:48:33.831 13518-13588 VideoPipeline com.mrousavy.camera.example I GPU + CPU HardwareBuffers are supported!
2024-02-06 21:48:33.831 13518-13588 VideoPipeline com.mrousavy.camera.example I Using ImageReader flags: 259
2024-02-06 21:48:33.836 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Camera #0: Creating Capture Session #1... (Hardware Level: 1 | Outputs: [PHOTO (2400x1080 in JPEG), VIDEO (2400x1080 in YUV)])
2024-02-06 21:48:33.836 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Using new API (>=28)
2024-02-06 21:48:33.848 13518-13578 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e68436970 mBlastBufferQueue=0xb400006ea81047d0 fn= 3 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 21:48:33.849 13518-13518 VisionCameraProxy com.mrousavy.camera.example D Finding view 3...
2024-02-06 21:48:33.849 13518-13518 VisionCameraProxy com.mrousavy.camera.example D Found view 3!
2024-02-06 21:48:33.855 13518-13518 BLASTBufferQueue_Java com.mrousavy.camera.example I update, w= 1080 h= 2400 mName = ViewRootImpl@7acdf14[MainActivity] mNativeObject= 0xb400006ea81047d0 sc.mNativeObject= 0xb400006db80fa790 format= -3 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2968 android.view.ViewRootImpl.relayoutWindow:9998 android.view.ViewRootImpl.performTraversals:4056 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197 android.view.Choreographer$CallbackRecord.run:1650
2024-02-06 21:48:33.855 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=1 res=0x0 s={true 0xb400006f181367c0} ch=false seqId=0
2024-02-06 21:48:33.856 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I updateBoundsLayer: t=android.view.SurfaceControl$Transaction@ba22d76 sc=Surface(name=Bounds for - com.mrousavy.camera.example/com.mrousavy.camera.example.MainActivity@0)/@0xd2b7f77 frame=4
2024-02-06 21:48:33.858 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I registerCallbackForPendingTransactions
2024-02-06 21:48:33.861 13518-13579 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e68134550 mBlastBufferQueue=0xb400006ea81047d0 fn= 4 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 21:48:33.868 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I registerCallbackForPendingTransactions
2024-02-06 21:48:33.871 13518-13578 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e68137db0 mBlastBufferQueue=0xb400006ea81047d0 fn= 5 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 21:48:33.907 13518-13534 System com.mrousavy.camera.example W A resource failed to call Surface.release.
2024-02-06 21:48:33.975 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Camera #0: Successfully created CameraCaptureSession #1!
2024-02-06 21:48:33.975 13518-13588 CameraSession com.mrousavy.camera.example I Successfully configured Session with 2 outputs for Camera #0!
2024-02-06 21:48:33.975 13518-13588 CameraSession com.mrousavy.camera.example I Updating Video Outputs...
2024-02-06 21:48:33.975 13518-13588 VideoPipeline com.mrousavy.camera.example I Removing RecordingSession Output...
2024-02-06 21:48:33.980 13518-13588 CameraView com.mrousavy.camera.example I invokeOnStarted()
2024-02-06 21:48:33.980 13518-13588 CameraSession com.mrousavy.camera.example I Successfully updated CameraSession Configuration! isActive: true
2024-02-06 21:48:33.980 13518-13588 CameraView com.mrousavy.camera.example I invokeOnInitialized()
2024-02-06 21:48:33.981 13518-13588 CameraSession com.mrousavy.camera.example I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=true, sidePropsChanged=true, isActiveChanged=false)
2024-02-06 21:48:33.981 13518-13588 CameraSession com.mrousavy.camera.example I Destroying previous outputs...
2024-02-06 21:48:33.981 13518-13588 SurfaceOutput com.mrousavy.camera.example I Closing 2400x1080 PHOTO ImageReader..
2024-02-06 21:48:33.981 13518-13590 ReactNativeJS com.mrousavy.camera.example I Camera initialized!
2024-02-06 21:48:33.981 13518-13588 SurfaceOutput com.mrousavy.camera.example I Closing 2400x1080 Video Pipeline..
2024-02-06 21:48:33.982 13518-13537 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:33.992 13518-13588 CameraView com.mrousavy.camera.example I invokeOnStopped()
2024-02-06 21:48:33.996 13518-13588 CameraSession com.mrousavy.camera.example I Creating outputs for Camera #0...
2024-02-06 21:48:33.998 13518-13588 CameraSession com.mrousavy.camera.example I Adding 2400x1080 Photo Output in JPEG...
2024-02-06 21:48:34.002 13518-13588 CameraSession com.mrousavy.camera.example I Adding 2400x1080 Video Output in YUV_420_888...
2024-02-06 21:48:34.002 13518-13588 VideoPipeline com.mrousavy.camera.example I Initializing 2400 x 1080 Video Pipeline (format: YUV)
2024-02-06 21:48:34.002 13518-13588 VideoPipeline com.mrousavy.camera.example I Using ImageReader round-trip (format: #35)
2024-02-06 21:48:34.002 13518-13588 VideoPipeline com.mrousavy.camera.example I Using API 29 for GPU ImageReader...
2024-02-06 21:48:34.002 13518-13588 VideoPipeline com.mrousavy.camera.example E supportsHardwareBufferFlags
2024-02-06 21:48:34.002 13518-13588 VideoPipeline com.mrousavy.camera.example I GPU + CPU HardwareBuffers are supported!
2024-02-06 21:48:34.002 13518-13588 VideoPipeline com.mrousavy.camera.example I Using ImageReader flags: 259
2024-02-06 21:48:34.005 13518-13588 CameraSession com.mrousavy.camera.example I Adding 1920x1080 Preview Output...
2024-02-06 21:48:34.005 13518-13518 PreviewView com.mrousavy.camera.example I Setting PreviewView Surface Size to 1269 x 2256...
2024-02-06 21:48:34.005 13518-13518 SurfaceView com.mrousavy.camera.example D 91990786 setFixedSize -1x-1 -> 1920x1080
2024-02-06 21:48:34.007 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Camera #0: Creating Capture Session #2... (Hardware Level: 1 | Outputs: [PHOTO (2400x1080 in JPEG), VIDEO (2400x1080 in YUV), PREVIEW (1920 x 1080)])
2024-02-06 21:48:34.007 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Using new API (>=28)
2024-02-06 21:48:34.018 13518-13518 SurfaceView com.mrousavy.camera.example I 260833560 Changes: creating=false format=false size=true visible=false alpha=false hint=false visible=false left=false top=false z=false attached=true lifecycleStrategy=false
2024-02-06 21:48:34.018 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I 260833560 Cur surface: Surface(name=null)/@0x16c6423
2024-02-06 21:48:34.018 13518-13518 BLASTBufferQueue_Java com.mrousavy.camera.example I update, w= 1920 h= 1080 mName = null mNativeObject= 0xb400006ea81b8f50 sc.mNativeObject= 0xb400006db812cad0 format= 4 caller= android.view.SurfaceView.setBufferSize:1432 android.view.SurfaceView.performSurfaceTransaction:988 android.view.SurfaceView.updateSurface:1204 android.view.SurfaceView.lambda$new$0:258 android.view.SurfaceView.$r8$lambda$cm3nmzErr-srXoT_KjIYQgdhFN0:0 android.view.SurfaceView$$ExternalSyntheticLambda2.onPreDraw:2
2024-02-06 21:48:34.018 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I pST: sr = Rect(-94, 0 - 1175, 2256) sw = 1920 sh = 1080
2024-02-06 21:48:34.019 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example D 260833560 performSurfaceTransaction RenderWorker position = [-94, 0, 1175, 2256] surfaceSize = 1920x1080
2024-02-06 21:48:34.019 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I updateSurface: mVisible = true mSurface.isValid() = true
2024-02-06 21:48:34.019 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I updateSurface: mSurfaceCreated = true surfaceChanged = false visibleChanged = false
2024-02-06 21:48:34.019 13518-13518 SurfaceView com.mrousavy.camera.example I 260833560 surfaceChanged -- format=4 w=1920 h=1080
2024-02-06 21:48:34.019 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I surfaceChanged (1920,1080) 1 #8 com.mrousavy.camera.core.PreviewView{f8c0118 V.E...... ......ID -94,0-1175,2256}
2024-02-06 21:48:34.019 13518-13518 CameraSession com.mrousavy.camera.example I PreviewView Surface updated! Surface(name=null)/@0x16c6423 1920 x 1080
2024-02-06 21:48:34.019 13518-13518 SurfaceView com.mrousavy.camera.example I 260833560 surfaceRedrawNeeded
2024-02-06 21:48:34.020 13518-13518 SurfaceView com.mrousavy.camera.example I 260833560 finishedDrawing
2024-02-06 21:48:34.020 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example V Layout: x=-94 y=0 w=1269 h=2256, frame=Rect(0, 0 - 1920, 1080)
2024-02-06 21:48:34.020 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I registerCallbackForPendingTransactions
2024-02-06 21:48:34.021 13518-13543 SurfaceView com.mrousavy.camera.example D 260833560 updateSurfacePosition RenderWorker, frameNr = 14, position = [-94, 0, 1175, 2256] surfaceSize = 1920x1080
2024-02-06 21:48:34.021 13518-13543 SurfaceView@f8c0118 com.mrousavy.camera.example I uSP: rtp = Rect(-94, 0 - 1175, 2256) rtsw = 1920 rtsh = 1080
2024-02-06 21:48:34.021 13518-13543 SurfaceView@f8c0118 com.mrousavy.camera.example I onSSPAndSRT: pl = -94 pt = 0 sx = 0.6609375 sy = 2.088889
2024-02-06 21:48:34.021 13518-13543 SurfaceView@f8c0118 com.mrousavy.camera.example I aOrMT: ViewRootImpl@7acdf14[MainActivity] t = android.view.SurfaceControl$Transaction@3b86e50 fN = 14 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1660 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:369
2024-02-06 21:48:34.021 13518-13543 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e68135890 mBlastBufferQueue=0xb400006ea81047d0 fn= 14 caller= android.view.SurfaceView.applyOrMergeTransaction:1592 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1660
2024-02-06 21:48:34.022 13518-13579 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e681338f0 mBlastBufferQueue=0xb400006ea81047d0 fn= 14 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 21:48:34.028 13518-13537 BufferQueueProducer com.mrousavy.camera.example E [ImageReader-2400x1080f23m3-13518-2](id:34ce00000006,api:4,p:1511,c:13518) dequeueBuffer: BufferQueue has been abandoned
2024-02-06 21:48:34.083 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_IDLE for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:34.127 13518-13538 BpBinder com.mrousavy.camera.example I onLastStrongRef automatically unlinking death recipients:
2024-02-06 21:48:34.129 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Camera #0: Successfully created CameraCaptureSession #2!
2024-02-06 21:48:34.129 13518-13588 CameraSession com.mrousavy.camera.example I Successfully configured Session with 3 outputs for Camera #0!
2024-02-06 21:48:34.129 13518-13588 CameraSession com.mrousavy.camera.example I Updating Video Outputs...
2024-02-06 21:48:34.129 13518-13588 VideoPipeline com.mrousavy.camera.example I Removing RecordingSession Output...
2024-02-06 21:48:34.135 13518-13537 BpBinder com.mrousavy.camera.example I onLastStrongRef automatically unlinking death recipients:
2024-02-06 21:48:34.136 13518-13588 CameraView com.mrousavy.camera.example I invokeOnStarted()
2024-02-06 21:48:34.136 13518-13588 CameraSession com.mrousavy.camera.example I Successfully updated CameraSession Configuration! isActive: true
2024-02-06 21:48:34.137 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Camera #0: CameraCaptureSession #1 has been closed.
2024-02-06 21:48:34.138 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:34.713 13518-13588 CameraManager com.mrousavy.camera.example E Camera #0: Error! 4
2024-02-06 21:48:34.713 13518-13588 CameraView com.mrousavy.camera.example I invokeOnStopped()
2024-02-06 21:48:34.714 13518-13588 CameraSession com.mrousavy.camera.example E Camera #0 has been unexpectedly disconnected!
com.mrousavy.camera.core.CameraDisconnectedError: [session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR
at com.mrousavy.camera.extensions.CameraManager_openCameraKt$openCamera$2$callback$1.onError(CameraManager+openCamera.kt:49)
at android.hardware.camera2.impl.CameraDeviceImpl.notifyError(CameraDeviceImpl.java:1868)
at android.hardware.camera2.impl.CameraDeviceImpl.$r8$lambda$NQ0CW2Syt34AhsPV0Gf6rH1V5xU(Unknown Source:0)
at android.hardware.camera2.impl.CameraDeviceImpl$$ExternalSyntheticLambda0.accept(Unknown Source:8)
at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(PooledLambdaImpl.java:281)
at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(PooledLambdaImpl.java:204)
at com.android.internal.util.function.pooled.OmniFunction.run(OmniFunction.java:87)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.os.HandlerThread.run(HandlerThread.java:67)
2024-02-06 21:48:34.715 13518-13588 CameraView com.mrousavy.camera.example E invokeOnError(...):
2024-02-06 21:48:34.715 13518-13588 System.err com.mrousavy.camera.example W com.mrousavy.camera.core.CameraDisconnectedError: [session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR
2024-02-06 21:48:34.715 13518-13588 System.err com.mrousavy.camera.example W at com.mrousavy.camera.extensions.CameraManager_openCameraKt$openCamera$2$callback$1.onError(CameraManager+openCamera.kt:49)
2024-02-06 21:48:34.715 13518-13588 System.err com.mrousavy.camera.example W at android.hardware.camera2.impl.CameraDeviceImpl.notifyError(CameraDeviceImpl.java:1868)
2024-02-06 21:48:34.715 13518-13588 System.err com.mrousavy.camera.example W at android.hardware.camera2.impl.CameraDeviceImpl.$r8$lambda$NQ0CW2Syt34AhsPV0Gf6rH1V5xU(Unknown Source:0)
2024-02-06 21:48:34.715 13518-13588 System.err com.mrousavy.camera.example W at android.hardware.camera2.impl.CameraDeviceImpl$$ExternalSyntheticLambda0.accept(Unknown Source:8)
2024-02-06 21:48:34.715 13518-13588 System.err com.mrousavy.camera.example W at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(PooledLambdaImpl.java:281)
2024-02-06 21:48:34.715 13518-13588 System.err com.mrousavy.camera.example W at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(PooledLambdaImpl.java:204)
2024-02-06 21:48:34.715 13518-13588 System.err com.mrousavy.camera.example W at com.android.internal.util.function.pooled.OmniFunction.run(OmniFunction.java:87)
2024-02-06 21:48:34.715 13518-13588 System.err com.mrousavy.camera.example W at android.os.Handler.handleCallback(Handler.java:958)
2024-02-06 21:48:34.715 13518-13588 System.err com.mrousavy.camera.example W at android.os.Handler.dispatchMessage(Handler.java:99)
2024-02-06 21:48:34.715 13518-13588 System.err com.mrousavy.camera.example W at android.os.Looper.loopOnce(Looper.java:230)
2024-02-06 21:48:34.715 13518-13588 System.err com.mrousavy.camera.example W at android.os.Looper.loop(Looper.java:319)
2024-02-06 21:48:34.715 13518-13588 System.err com.mrousavy.camera.example W at android.os.HandlerThread.run(HandlerThread.java:67)
2024-02-06 21:48:34.736 13518-13590 ReactNativeJS com.mrousavy.camera.example E { [session/camera-has-been-disconnected: [session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR]
name: 'session/camera-has-been-disconnected',
_code: 'session/camera-has-been-disconnected',
_message: '[session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR',
_cause: undefined }
2024-02-06 21:48:34.801 13518-13811 TrafficStats com.mrousavy.camera.example D tagSocket(6) with statsTag=0xffffffff, statsUid=-1
2024-02-06 21:48:34.972 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:34.981 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_NOT_PRESENT
2024-02-06 21:48:34.987 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #1 is now unavailable.
2024-02-06 21:48:34.988 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_NOT_PRESENT
2024-02-06 21:48:34.992 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_NOT_PRESENT
2024-02-06 21:48:34.993 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_NOT_PRESENT
2024-02-06 21:48:34.994 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_NOT_PRESENT
2024-02-06 21:48:34.995 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_NOT_PRESENT
2024-02-06 21:48:35.004 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I Camera 56 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:35.004 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 56 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:35.005 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I Camera 50 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:35.005 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 50 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:35.005 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I Camera 3 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:35.006 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 3 state changed to (facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:35.006 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_PRESENT
2024-02-06 21:48:35.006 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_PRESENT
2024-02-06 21:48:35.006 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I Camera 4 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:35.006 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 4 state changed to (facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:35.007 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I Camera 23 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:35.007 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 23 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:35.007 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I Camera 20 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:35.008 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 20 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:35.008 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:35.008 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_PRESENT
2024-02-06 21:48:35.008 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_PRESENT
2024-02-06 21:48:35.009 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I Camera 2 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:35.009 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 2 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:35.009 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_PRESENT
2024-02-06 21:48:35.009 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_PRESENT
2024-02-06 21:48:35.010 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I Camera 21 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:35.010 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 21 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:35.010 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I Camera 58 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:35.011 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 58 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:35.011 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I Camera 52 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:35.011 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 52 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:35.012 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #2 is now unavailable.
2024-02-06 21:48:35.013 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #3 is now unavailable.
2024-02-06 21:48:35.015 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #3 is now available.
2024-02-06 21:48:35.015 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #1 is now available.
2024-02-06 21:48:35.015 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #2 is now available.
2024-02-06 21:48:35.021 13518-13537 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:35.025 13518-13821 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_PRESENT
2024-02-06 21:48:35.031 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #0 is now available.
2024-02-06 21:48:35.032 13518-13821 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_PRESENT
2024-02-06 21:48:35.032 13518-13588 CameraSession com.mrousavy.camera.example I Camera #0 is now available again, trying to re-open it now...
2024-02-06 21:48:35.033 13518-13588 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock...
2024-02-06 21:48:35.033 13518-13588 CameraSession com.mrousavy.camera.example I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=false, sidePropsChanged=false, isActiveChanged=false)
2024-02-06 21:48:35.033 13518-13588 CameraSession com.mrousavy.camera.example I Need to rebuild CameraDevice and CameraCaptureSession...
2024-02-06 21:48:35.033 13518-13588 CameraSession com.mrousavy.camera.example I Need to rebuild CameraDevice and CameraCaptureSession...
2024-02-06 21:48:35.033 13518-13588 CameraSession com.mrousavy.camera.example I Configuring Camera #0...
2024-02-06 21:48:35.033 13518-13588 CameraManager com.mrousavy.camera.example I Camera #0: Opening...
2024-02-06 21:48:35.043 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPENING for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:35.062 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
2024-02-06 21:48:35.062 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
2024-02-06 21:48:35.062 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #0 is now unavailable.
2024-02-06 21:48:35.075 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:35.075 13518-13588 CameraManager com.mrousavy.camera.example I Camera #0: Opened!
2024-02-06 21:48:35.115 13518-13588 CameraSession com.mrousavy.camera.example I Successfully configured Camera #0!
2024-02-06 21:48:35.115 13518-13588 CameraSession com.mrousavy.camera.example I Destroying previous outputs...
2024-02-06 21:48:35.115 13518-13588 SurfaceOutput com.mrousavy.camera.example I Closing 2400x1080 PHOTO ImageReader..
2024-02-06 21:48:35.116 13518-13588 SurfaceOutput com.mrousavy.camera.example I Closing 2400x1080 Video Pipeline..
2024-02-06 21:48:35.121 13518-13588 CameraSession com.mrousavy.camera.example I Creating outputs for Camera #0...
2024-02-06 21:48:35.123 13518-13588 CameraSession com.mrousavy.camera.example I Adding 2400x1080 Photo Output in JPEG...
2024-02-06 21:48:35.127 13518-13588 CameraSession com.mrousavy.camera.example I Adding 2400x1080 Video Output in YUV_420_888...
2024-02-06 21:48:35.127 13518-13588 VideoPipeline com.mrousavy.camera.example I Initializing 2400 x 1080 Video Pipeline (format: YUV)
2024-02-06 21:48:35.127 13518-13588 VideoPipeline com.mrousavy.camera.example I Using ImageReader round-trip (format: #35)
2024-02-06 21:48:35.127 13518-13588 VideoPipeline com.mrousavy.camera.example I Using API 29 for GPU ImageReader...
2024-02-06 21:48:35.127 13518-13588 VideoPipeline com.mrousavy.camera.example E supportsHardwareBufferFlags
2024-02-06 21:48:35.127 13518-13588 VideoPipeline com.mrousavy.camera.example I GPU + CPU HardwareBuffers are supported!
2024-02-06 21:48:35.127 13518-13588 VideoPipeline com.mrousavy.camera.example I Using ImageReader flags: 259
2024-02-06 21:48:35.130 13518-13588 CameraSession com.mrousavy.camera.example I Adding 1920x1080 Preview Output...
2024-02-06 21:48:35.131 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Camera #0: Creating Capture Session #3... (Hardware Level: 1 | Outputs: [PHOTO (2400x1080 in JPEG), VIDEO (2400x1080 in YUV), PREVIEW (1920 x 1080)])
2024-02-06 21:48:35.131 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Using new API (>=28)
2024-02-06 21:48:35.135 13518-13518 PreviewView com.mrousavy.camera.example I Setting PreviewView Surface Size to 1269 x 2256...
2024-02-06 21:48:35.237 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Camera #0: Successfully created CameraCaptureSession #3!
2024-02-06 21:48:35.237 13518-13588 CameraSession com.mrousavy.camera.example I Successfully configured Session with 3 outputs for Camera #0!
2024-02-06 21:48:35.237 13518-13588 CameraSession com.mrousavy.camera.example I Updating Video Outputs...
2024-02-06 21:48:35.237 13518-13588 VideoPipeline com.mrousavy.camera.example I Removing RecordingSession Output...
2024-02-06 21:48:35.240 13518-13588 CameraView com.mrousavy.camera.example I invokeOnStarted()
2024-02-06 21:48:35.240 13518-13588 CameraSession com.mrousavy.camera.example I Successfully updated CameraSession Configuration! isActive: true
2024-02-06 21:48:35.241 13518-13580 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:35.787 13518-13588 CameraManager com.mrousavy.camera.example E Camera #0: Error! 4
2024-02-06 21:48:35.787 13518-13588 CameraView com.mrousavy.camera.example I invokeOnStopped()
2024-02-06 21:48:35.791 13518-13588 CameraSession com.mrousavy.camera.example E Camera #0 has been unexpectedly disconnected!
com.mrousavy.camera.core.CameraDisconnectedError: [session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR
at com.mrousavy.camera.extensions.CameraManager_openCameraKt$openCamera$2$callback$1.onError(CameraManager+openCamera.kt:49)
at android.hardware.camera2.impl.CameraDeviceImpl.notifyError(CameraDeviceImpl.java:1868)
at android.hardware.camera2.impl.CameraDeviceImpl.$r8$lambda$NQ0CW2Syt34AhsPV0Gf6rH1V5xU(Unknown Source:0)
at android.hardware.camera2.impl.CameraDeviceImpl$$ExternalSyntheticLambda0.accept(Unknown Source:8)
at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(PooledLambdaImpl.java:281)
at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(PooledLambdaImpl.java:204)
at com.android.internal.util.function.pooled.OmniFunction.run(OmniFunction.java:87)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.os.HandlerThread.run(HandlerThread.java:67)
2024-02-06 21:48:35.791 13518-13588 CameraView com.mrousavy.camera.example E invokeOnError(...):
2024-02-06 21:48:35.791 13518-13588 System.err com.mrousavy.camera.example W com.mrousavy.camera.core.CameraDisconnectedError: [session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR
2024-02-06 21:48:35.791 13518-13588 System.err com.mrousavy.camera.example W at com.mrousavy.camera.extensions.CameraManager_openCameraKt$openCamera$2$callback$1.onError(CameraManager+openCamera.kt:49)
2024-02-06 21:48:35.791 13518-13588 System.err com.mrousavy.camera.example W at android.hardware.camera2.impl.CameraDeviceImpl.notifyError(CameraDeviceImpl.java:1868)
2024-02-06 21:48:35.791 13518-13588 System.err com.mrousavy.camera.example W at android.hardware.camera2.impl.CameraDeviceImpl.$r8$lambda$NQ0CW2Syt34AhsPV0Gf6rH1V5xU(Unknown Source:0)
2024-02-06 21:48:35.791 13518-13588 System.err com.mrousavy.camera.example W at android.hardware.camera2.impl.CameraDeviceImpl$$ExternalSyntheticLambda0.accept(Unknown Source:8)
2024-02-06 21:48:35.792 13518-13588 System.err com.mrousavy.camera.example W at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(PooledLambdaImpl.java:281)
2024-02-06 21:48:35.792 13518-13588 System.err com.mrousavy.camera.example W at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(PooledLambdaImpl.java:204)
2024-02-06 21:48:35.792 13518-13588 System.err com.mrousavy.camera.example W at com.android.internal.util.function.pooled.OmniFunction.run(OmniFunction.java:87)
2024-02-06 21:48:35.792 13518-13588 System.err com.mrousavy.camera.example W at android.os.Handler.handleCallback(Handler.java:958)
2024-02-06 21:48:35.792 13518-13588 System.err com.mrousavy.camera.example W at android.os.Handler.dispatchMessage(Handler.java:99)
2024-02-06 21:48:35.792 13518-13588 System.err com.mrousavy.camera.example W at android.os.Looper.loopOnce(Looper.java:230)
2024-02-06 21:48:35.792 13518-13588 System.err com.mrousavy.camera.example W at android.os.Looper.loop(Looper.java:319)
2024-02-06 21:48:35.793 13518-13588 System.err com.mrousavy.camera.example W at android.os.HandlerThread.run(HandlerThread.java:67)
2024-02-06 21:48:35.798 13518-13590 ReactNativeJS com.mrousavy.camera.example E { [session/camera-has-been-disconnected: [session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR]
name: 'session/camera-has-been-disconnected',
_code: 'session/camera-has-been-disconnected',
_message: '[session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR',
_cause: undefined }
2024-02-06 21:48:36.359 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:36.363 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_NOT_PRESENT
2024-02-06 21:48:36.364 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_NOT_PRESENT
2024-02-06 21:48:36.364 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #1 is now unavailable.
2024-02-06 21:48:36.366 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_NOT_PRESENT
2024-02-06 21:48:36.367 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_NOT_PRESENT
2024-02-06 21:48:36.367 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_NOT_PRESENT
2024-02-06 21:48:36.367 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_NOT_PRESENT
2024-02-06 21:48:36.369 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #2 is now unavailable.
2024-02-06 21:48:36.371 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #3 is now unavailable.
2024-02-06 21:48:36.458 13518-13590 ReactNativeJS com.mrousavy.camera.example I Camera: undefined | Format: undefined
2024-02-06 21:48:36.469 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I onWindowVisibilityChanged(8) false com.mrousavy.camera.core.PreviewView{f8c0118 V.E...... ........ -94,0-1175,2256} of ViewRootImpl@7acdf14[MainActivity]
2024-02-06 21:48:36.470 13518-13518 SurfaceView com.mrousavy.camera.example I 260833560 Changes: creating=false format=false size=false visible=true alpha=false hint=false visible=true left=false top=false z=false attached=true lifecycleStrategy=false
2024-02-06 21:48:36.470 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I 260833560 Cur surface: Surface(name=null)/@0x16c6423
2024-02-06 21:48:36.470 13518-13518 SurfaceView com.mrousavy.camera.example I 260833560 surfaceDestroyed
2024-02-06 21:48:36.471 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I surfaceDestroyed callback.size 1 #2 com.mrousavy.camera.core.PreviewView{f8c0118 V.E...... ........ -94,0-1175,2256}
2024-02-06 21:48:36.471 13518-13518 CameraSession com.mrousavy.camera.example I PreviewView Surface destroyed! Surface(name=null)/@0x16c6423
2024-02-06 21:48:36.471 13518-13518 CameraSession com.mrousavy.camera.example I Destroying Preview Output...
2024-02-06 21:48:36.473 13518-13518 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock...
2024-02-06 21:48:36.473 13518-13518 CameraSession com.mrousavy.camera.example I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=true, sidePropsChanged=true, isActiveChanged=false)
2024-02-06 21:48:36.473 13518-13518 CameraSession com.mrousavy.camera.example I Need to rebuild CameraDevice and CameraCaptureSession...
2024-02-06 21:48:36.473 13518-13518 CameraSession com.mrousavy.camera.example I Need to rebuild CameraDevice and CameraCaptureSession...
2024-02-06 21:48:36.474 13518-13518 CameraSession com.mrousavy.camera.example I Configuring Camera #0...
2024-02-06 21:48:36.474 13518-13518 CameraManager com.mrousavy.camera.example I Camera #0: Opening...
2024-02-06 21:48:36.484 13518-13518 CameraSession com.mrousavy.camera.example E Failed to configure CameraSession! Error: getCameraCharacteristics:1123: Unable to retrieve camera characteristics for unknown device 0: No such file or directory (-2), isRunning: false, Config-Diff: Difference(deviceChanged=false, outputsChanged=true, sidePropsChanged=true, isActiveChanged=false)
java.lang.IllegalArgumentException: getCameraCharacteristics:1123: Unable to retrieve camera characteristics for unknown device 0: No such file or directory (-2)
at android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:2014)
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:863)
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:781)
at android.hardware.camera2.CameraManager.openCameraDeviceUserAsync(CameraManager.java:937)
at android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:1274)
at android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:1296)
at android.hardware.camera2.CameraManager.openCamera(CameraManager.java:1171)
at com.mrousavy.camera.extensions.CameraManager_openCameraKt.openCamera(CameraManager+openCamera.kt:56)
at com.mrousavy.camera.core.CameraSession.configureCameraDevice(CameraSession.kt:291)
at com.mrousavy.camera.core.CameraSession.configure(CameraSession.kt:168)
at com.mrousavy.camera.core.CameraSession$destroyPreviewOutputSync$1.invokeSuspend(CameraSession.kt:258)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at com.mrousavy.camera.core.CameraSession.destroyPreviewOutputSync(CameraSession.kt:257)
at com.mrousavy.camera.core.CameraSession.access$destroyPreviewOutputSync(CameraSession.kt:57)
at com.mrousavy.camera.core.CameraSession$createPreviewView$previewView$1.surfaceDestroyed(CameraSession.kt:236)
at android.view.SurfaceView.notifySurfaceDestroyed(SurfaceView.java:2126)
at android.view.SurfaceView.updateSurface(SurfaceView.java:1224)
at android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:439)
at android.view.View.dispatchDetachedFromWindow(View.java:23260)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:4191)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:4191)
at android.view.ViewGroup.removeViewInternal(ViewGroup.java:5840)
at android.view.ViewGroup.removeViewAt(ViewGroup.java:5787)
at com.facebook.react.views.view.ReactViewGroup.removeViewAt(ReactViewGroup.java:544)
at com.facebook.react.views.view.ReactClippingViewManager.removeViewAt(ReactClippingViewManager.java:74)
at com.facebook.react.views.view.ReactClippingViewManager.removeViewAt(ReactClippingViewManager.java:19)
at com.facebook.react.uimanager.NativeViewHierarchyManager.manageChildren(NativeViewHierarchyManager.java:459)
at com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager.manageChildren(ReanimatedNativeHierarchyManager.java:300)
at com.facebook.react.uimanager.UIViewOperationQueue$ManageChildrenOperation.execute(UIViewOperationQueue.java:217)
at com.facebook.react.uimanager.UIViewOperationQueue$1.run(UIViewOperationQueue.java:915)
at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches(UIViewOperationQueue.java:1026)
at com.facebook.react.uimanager.UIViewOperationQueue.-$$Nest$mflushPendingBatches(Unknown Source:0)
at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:1086)
2024-02-06 21:48:36.486 13518-13518 CameraSession com.mrousavy.camera.example E at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:29)
at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:175)
at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:85)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1648)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1659)
at android.view.Choreographer.doCallbacks(Choreographer.java:1129)
at android.view.Choreographer.doFrame(Choreographer.java:1045)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1622)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:8893)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Caused by: android.os.ServiceSpecificException: getCameraCharacteristics:1123: Unable to retrieve camera characteristics for unknown device 0: No such file or directory (-2) (code 3)
at android.os.Parcel.createExceptionOrNull(Parcel.java:3083)
at android.os.Parcel.createException(Parcel.java:3053)
at android.os.Parcel.readException(Parcel.java:3036)
at android.os.Parcel.readException(Parcel.java:2978)
at android.hardware.ICameraService$Stub$Proxy.getCameraCharacteristics(ICameraService.java:996)
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:842)
... 54 more
2024-02-06 21:48:36.486 13518-13518 CameraView com.mrousavy.camera.example E invokeOnError(...):
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W java.lang.IllegalArgumentException: getCameraCharacteristics:1123: Unable to retrieve camera characteristics for unknown device 0: No such file or directory (-2)
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W at android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:2014)
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:863)
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:781)
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W at android.hardware.camera2.CameraManager.openCameraDeviceUserAsync(CameraManager.java:937)
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W at android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:1274)
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W at android.hardware.camera2.CameraManager.openCameraForUid(CameraManager.java:1296)
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W at android.hardware.camera2.CameraManager.openCamera(CameraManager.java:1171)
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W at com.mrousavy.camera.extensions.CameraManager_openCameraKt.openCamera(CameraManager+openCamera.kt:56)
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W at com.mrousavy.camera.core.CameraSession.configureCameraDevice(CameraSession.kt:291)
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W at com.mrousavy.camera.core.CameraSession.configure(CameraSession.kt:168)
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W at com.mrousavy.camera.core.CameraSession$destroyPreviewOutputSync$1.invokeSuspend(CameraSession.kt:258)
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
2024-02-06 21:48:36.487 13518-13518 System.err com.mrousavy.camera.example W at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at com.mrousavy.camera.core.CameraSession.destroyPreviewOutputSync(CameraSession.kt:257)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at com.mrousavy.camera.core.CameraSession.access$destroyPreviewOutputSync(CameraSession.kt:57)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at com.mrousavy.camera.core.CameraSession$createPreviewView$previewView$1.surfaceDestroyed(CameraSession.kt:236)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at android.view.SurfaceView.notifySurfaceDestroyed(SurfaceView.java:2126)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at android.view.SurfaceView.updateSurface(SurfaceView.java:1224)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:439)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at android.view.View.dispatchDetachedFromWindow(View.java:23260)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:4191)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:4191)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at android.view.ViewGroup.removeViewInternal(ViewGroup.java:5840)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at android.view.ViewGroup.removeViewAt(ViewGroup.java:5787)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at com.facebook.react.views.view.ReactViewGroup.removeViewAt(ReactViewGroup.java:544)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at com.facebook.react.views.view.ReactClippingViewManager.removeViewAt(ReactClippingViewManager.java:74)
2024-02-06 21:48:36.488 13518-13518 System.err com.mrousavy.camera.example W at com.facebook.react.views.view.ReactClippingViewManager.removeViewAt(ReactClippingViewManager.java:19)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at com.facebook.react.uimanager.NativeViewHierarchyManager.manageChildren(NativeViewHierarchyManager.java:459)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager.manageChildren(ReanimatedNativeHierarchyManager.java:300)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at com.facebook.react.uimanager.UIViewOperationQueue$ManageChildrenOperation.execute(UIViewOperationQueue.java:217)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at com.facebook.react.uimanager.UIViewOperationQueue$1.run(UIViewOperationQueue.java:915)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches(UIViewOperationQueue.java:1026)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at com.facebook.react.uimanager.UIViewOperationQueue.-$$Nest$mflushPendingBatches(Unknown Source:0)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:1086)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:29)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:175)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:85)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1648)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1659)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at android.view.Choreographer.doCallbacks(Choreographer.java:1129)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at android.view.Choreographer.doFrame(Choreographer.java:1045)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1622)
2024-02-06 21:48:36.489 13518-13518 System.err com.mrousavy.camera.example W at android.os.Handler.handleCallback(Handler.java:958)
2024-02-06 21:48:36.490 13518-13518 System.err com.mrousavy.camera.example W at android.os.Handler.dispatchMessage(Handler.java:99)
2024-02-06 21:48:36.490 13518-13518 System.err com.mrousavy.camera.example W at android.os.Looper.loopOnce(Looper.java:230)
2024-02-06 21:48:36.490 13518-13518 System.err com.mrousavy.camera.example W at android.os.Looper.loop(Looper.java:319)
2024-02-06 21:48:36.490 13518-13518 System.err com.mrousavy.camera.example W at android.app.ActivityThread.main(ActivityThread.java:8893)
2024-02-06 21:48:36.490 13518-13518 System.err com.mrousavy.camera.example W at java.lang.reflect.Method.invoke(Native Method)
2024-02-06 21:48:36.490 13518-13518 System.err com.mrousavy.camera.example W at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
2024-02-06 21:48:36.490 13518-13518 System.err com.mrousavy.camera.example W at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
2024-02-06 21:48:36.490 13518-13518 System.err com.mrousavy.camera.example W Caused by: android.os.ServiceSpecificException: getCameraCharacteristics:1123: Unable to retrieve camera characteristics for unknown device 0: No such file or directory (-2) (code 3)
2024-02-06 21:48:36.490 13518-13518 System.err com.mrousavy.camera.example W at android.os.Parcel.createExceptionOrNull(Parcel.java:3083)
2024-02-06 21:48:36.490 13518-13518 System.err com.mrousavy.camera.example W at android.os.Parcel.createException(Parcel.java:3053)
2024-02-06 21:48:36.490 13518-13518 System.err com.mrousavy.camera.example W at android.os.Parcel.readException(Parcel.java:3036)
2024-02-06 21:48:36.490 13518-13518 System.err com.mrousavy.camera.example W at android.os.Parcel.readException(Parcel.java:2978)
2024-02-06 21:48:36.491 13518-13518 System.err com.mrousavy.camera.example W at android.hardware.ICameraService$Stub$Proxy.getCameraCharacteristics(ICameraService.java:996)
2024-02-06 21:48:36.491 13518-13518 System.err com.mrousavy.camera.example W at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:842)
2024-02-06 21:48:36.491 13518-13518 System.err com.mrousavy.camera.example W ... 54 more
2024-02-06 21:48:36.500 13518-13518 CameraSession com.mrousavy.camera.example I Preview Output destroyed!
2024-02-06 21:48:36.500 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I updateSurface: mVisible = false mSurface.isValid() = true
2024-02-06 21:48:36.501 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I releaseSurfaces: viewRoot = ViewRootImpl@7acdf14[MainActivity]
2024-02-06 21:48:36.501 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example V Layout: x=-94 y=0 w=1269 h=2256, frame=Rect(0, 0 - 1920, 1080)
2024-02-06 21:48:36.501 13518-13518 SurfaceView com.mrousavy.camera.example I 260833560 Detaching SV
2024-02-06 21:48:36.501 13518-13518 SurfaceView com.mrousavy.camera.example I 260833560 Changes: creating=false format=false size=false visible=false alpha=false hint=false visible=false left=false top=false z=false attached=false lifecycleStrategy=false
2024-02-06 21:48:36.501 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I onDetachedFromWindow: tryReleaseSurfaces()
2024-02-06 21:48:36.501 13518-13518 SurfaceView@f8c0118 com.mrousavy.camera.example I releaseSurfaces: viewRoot = ViewRootImpl@7acdf14[MainActivity]
2024-02-06 21:48:36.501 13518-13518 CameraView com.mrousavy.camera.example I Updating CameraSession...
2024-02-06 21:48:36.502 13518-13588 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock...
2024-02-06 21:48:36.502 13518-13518 CameraSession com.mrousavy.camera.example I Closing CameraSession...
2024-02-06 21:48:36.502 13518-13588 CameraSession com.mrousavy.camera.example I CameraSession is already destroyed. Skipping configure { ... }
2024-02-06 21:48:36.502 13518-13518 CameraSession com.mrousavy.camera.example I Destroying session..
2024-02-06 21:48:36.502 13518-13518 SurfaceOutput com.mrousavy.camera.example I Closing 2400x1080 PHOTO ImageReader..
2024-02-06 21:48:36.502 13518-13518 SurfaceOutput com.mrousavy.camera.example I Closing 2400x1080 Video Pipeline..
2024-02-06 21:48:36.503 13518-13518 CameraSession com.mrousavy.camera.example I CameraSession closed!
2024-02-06 21:48:36.505 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I registerCallbackForPendingTransactions
2024-02-06 21:48:36.506 13518-13543 SurfaceView com.mrousavy.camera.example D 256996443 windowPositionLost, frameNr = 36
2024-02-06 21:48:36.506 13518-13578 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e68444830 mBlastBufferQueue=0xb400006ea81047d0 fn= 36 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 21:48:37.036 13518-13518 InsetsSourceConsumer com.mrousavy.camera.example D applyRequestedVisibilityToControl: visible=true, type=1
2024-02-06 21:48:39.816 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 56 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:39.817 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 56 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:39.818 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 50 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:39.820 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 50 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:39.822 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 3 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:39.823 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 3 state changed to (facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:39.824 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_PRESENT
2024-02-06 21:48:39.824 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #3 is now available.
2024-02-06 21:48:39.825 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 4 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:39.826 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 4 state changed to (facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:39.827 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 23 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:39.828 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 23 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:39.829 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 20 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:39.835 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 20 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:39.837 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:39.838 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 1 state changed to (facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:39.839 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_PRESENT
2024-02-06 21:48:39.840 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 2 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:39.841 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 2 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:39.845 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_PRESENT
2024-02-06 21:48:39.846 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 21 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:39.846 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 21 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:39.855 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 58 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:39.855 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 58 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:39.858 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 52 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:39.858 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I CameraDevice 52 state changed to (facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system), which is what it already was, skip callback
2024-02-06 21:48:39.863 13518-13932 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 User Id 0
2024-02-06 21:48:39.867 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_PRESENT
2024-02-06 21:48:39.979 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #1 is now available.
2024-02-06 21:48:40.494 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #2 is now available.
2024-02-06 21:48:40.556 13518-13590 ReactNativeJS com.mrousavy.camera.example I Camera: BACK (0) | Format: (2400x1080 photo / 2400x1080@60 video @ 60fps)
2024-02-06 21:48:41.023 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #0 is now available.
2024-02-06 21:48:41.027 13518-13518 CameraManager com.mrousavy.camera.example I registerAvailabilityCallback: Is device callback = false
2024-02-06 21:48:41.028 13518-13518 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_PRESENT
2024-02-06 21:48:41.029 13518-13518 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_PRESENT
2024-02-06 21:48:41.030 13518-13518 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_PRESENT
2024-02-06 21:48:41.030 13518-13518 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_PRESENT
2024-02-06 21:48:41.031 13518-13518 PreviewView com.mrousavy.camera.example I Creating PreviewView...
2024-02-06 21:48:41.032 13518-13518 PreviewView com.mrousavy.camera.example I PreviewView is 0x0, rendering 1080x1920 content. Resizing to: 0x0 (COVER)
2024-02-06 21:48:41.032 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example D 75046951 updateSurface: has no frame
2024-02-06 21:48:41.035 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example D 75046951 updateSurface: has no frame
2024-02-06 21:48:41.035 13518-13518 CameraView com.mrousavy.camera.example I Updating CameraSession...
2024-02-06 21:48:41.036 13518-13588 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock...
2024-02-06 21:48:41.037 13518-13588 CameraSession com.mrousavy.camera.example I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
2024-02-06 21:48:41.037 13518-13588 CameraSession com.mrousavy.camera.example I Need to rebuild CameraDevice and CameraCaptureSession...
2024-02-06 21:48:41.037 13518-13588 CameraSession com.mrousavy.camera.example I CameraDevice and CameraCaptureSession is torn down but Camera is not active, skipping update...
2024-02-06 21:48:41.037 13518-13588 CameraSession com.mrousavy.camera.example I Successfully updated CameraSession Configuration! isActive: false
2024-02-06 21:48:41.037 13518-13588 CameraView com.mrousavy.camera.example I invokeOnInitialized()
2024-02-06 21:48:41.048 13518-13518 CameraView com.mrousavy.camera.example I Updating CameraSession...
2024-02-06 21:48:41.048 13518-13588 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock...
2024-02-06 21:48:41.049 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example I onWindowVisibilityChanged(0) true com.mrousavy.camera.core.PreviewView{4792027 V.E...... ......I. 0,0-0,0} of ViewRootImpl@7acdf14[MainActivity]
2024-02-06 21:48:41.049 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example D 75046951 updateSurface: has no frame
2024-02-06 21:48:41.049 13518-13588 CameraSession com.mrousavy.camera.example I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
2024-02-06 21:48:41.049 13518-13588 CameraSession com.mrousavy.camera.example I Need to rebuild CameraDevice and CameraCaptureSession...
2024-02-06 21:48:41.049 13518-13588 CameraSession com.mrousavy.camera.example I Need to rebuild CameraDevice and CameraCaptureSession...
2024-02-06 21:48:41.049 13518-13588 CameraSession com.mrousavy.camera.example I Configuring Camera #0...
2024-02-06 21:48:41.049 13518-13588 CameraManager com.mrousavy.camera.example I Camera #0: Opening...
2024-02-06 21:48:41.050 13518-13518 PreviewView com.mrousavy.camera.example I PreviewView is 1080x2256, rendering 1080x1920 content. Resizing to: 1269x2256 (COVER)
2024-02-06 21:48:41.050 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example D 75046951 updateSurface: has no frame
2024-02-06 21:48:41.057 13518-13518 SurfaceView com.mrousavy.camera.example I 75046951 Changes: creating=true format=true size=true visible=true alpha=false hint=false visible=true left=true top=true z=false attached=true lifecycleStrategy=false
2024-02-06 21:48:41.059 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPENING for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:41.061 13518-13518 BLASTBufferQueue_Java com.mrousavy.camera.example I update, w= 1269 h= 2256 mName = null mNativeObject= 0xb400006ea81b8f50 sc.mNativeObject= 0xb400006db8127490 format= 4 caller= android.view.SurfaceView.createBlastSurfaceControls:1511 android.view.SurfaceView.updateSurface:1187 android.view.SurfaceView.lambda$new$0:258 android.view.SurfaceView.$r8$lambda$cm3nmzErr-srXoT_KjIYQgdhFN0:0 android.view.SurfaceView$$ExternalSyntheticLambda2.onPreDraw:2 android.view.ViewTreeObserver.dispatchOnPreDraw:1204
2024-02-06 21:48:41.061 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example I 75046951 Cur surface: Surface(name=null)/@0xc0b3170
2024-02-06 21:48:41.061 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example I pST: sr = Rect(-94, 0 - 1175, 2256) sw = 1269 sh = 2256
2024-02-06 21:48:41.061 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example D 75046951 performSurfaceTransaction RenderWorker position = [-94, 0, 1175, 2256] surfaceSize = 1269x2256
2024-02-06 21:48:41.062 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example I updateSurface: mVisible = true mSurface.isValid() = true
2024-02-06 21:48:41.062 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example I updateSurface: mSurfaceCreated = false surfaceChanged = true visibleChanged = true
2024-02-06 21:48:41.062 13518-13518 SurfaceView com.mrousavy.camera.example I 75046951 visibleChanged -- surfaceCreated
2024-02-06 21:48:41.062 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example I surfaceCreated 1 #8 com.mrousavy.camera.core.PreviewView{4792027 V.E...... ......ID -94,0-1175,2256}
2024-02-06 21:48:41.062 13518-13518 CameraSession com.mrousavy.camera.example I PreviewView Surface created! Surface(name=null)/@0xc0b3170
2024-02-06 21:48:41.062 13518-13518 CameraSession com.mrousavy.camera.example I Setting Preview Output...
2024-02-06 21:48:41.062 13518-13518 SurfaceView com.mrousavy.camera.example I 75046951 surfaceChanged -- format=4 w=1269 h=2256
2024-02-06 21:48:41.062 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example I surfaceChanged (1269,2256) 1 #8 com.mrousavy.camera.core.PreviewView{4792027 V.E...... ......ID -94,0-1175,2256}
2024-02-06 21:48:41.062 13518-13518 CameraSession com.mrousavy.camera.example I PreviewView Surface updated! Surface(name=null)/@0xc0b3170 1269 x 2256
2024-02-06 21:48:41.062 13518-13518 SurfaceView com.mrousavy.camera.example I 75046951 surfaceRedrawNeeded
2024-02-06 21:48:41.062 13518-13518 SurfaceView com.mrousavy.camera.example I 75046951 finishedDrawing
2024-02-06 21:48:41.063 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example V Layout: x=-94 y=0 w=1269 h=2256, frame=Rect(0, 0 - 1269, 2256)
2024-02-06 21:48:41.063 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I registerCallbackForPendingTransactions
2024-02-06 21:48:41.066 13518-13543 SurfaceView com.mrousavy.camera.example D 75046951 updateSurfacePosition RenderWorker, frameNr = 37, position = [-94, 0, 1175, 2256] surfaceSize = 1269x2256
2024-02-06 21:48:41.066 13518-13543 SurfaceView@4792027 com.mrousavy.camera.example I uSP: rtp = Rect(-94, 0 - 1175, 2256) rtsw = 1269 rtsh = 2256
2024-02-06 21:48:41.066 13518-13543 SurfaceView@4792027 com.mrousavy.camera.example I onSSPAndSRT: pl = -94 pt = 0 sx = 1.0 sy = 1.0
2024-02-06 21:48:41.066 13518-13543 SurfaceView@4792027 com.mrousavy.camera.example I aOrMT: ViewRootImpl@7acdf14[MainActivity] t = android.view.SurfaceControl$Transaction@910bd6e fN = 37 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1660 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:369
2024-02-06 21:48:41.066 13518-13543 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e6843a330 mBlastBufferQueue=0xb400006ea81047d0 fn= 37 caller= android.view.SurfaceView.applyOrMergeTransaction:1592 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1660
2024-02-06 21:48:41.066 13518-13579 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e683e1990 mBlastBufferQueue=0xb400006ea81047d0 fn= 37 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 21:48:41.078 13518-13590 ReactNativeJS com.mrousavy.camera.example I Camera initialized!
2024-02-06 21:48:41.079 13518-13590 ReactNativeJS com.mrousavy.camera.example I Camera: BACK (0) | Format: (2400x1080 photo / 2400x1080@60 video @ 60fps)
2024-02-06 21:48:41.084 13518-13518 VisionCameraProxy com.mrousavy.camera.example D Finding view 129...
2024-02-06 21:48:41.084 13518-13518 VisionCameraProxy com.mrousavy.camera.example D Found view 129!
2024-02-06 21:48:41.092 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
2024-02-06 21:48:41.092 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
2024-02-06 21:48:41.092 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #0 is now unavailable.
2024-02-06 21:48:41.102 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:41.102 13518-13588 CameraSession com.mrousavy.camera.example I configure { ... }: Waiting for lock...
2024-02-06 21:48:41.102 13518-13588 CameraManager com.mrousavy.camera.example I Camera #0: Opened!
2024-02-06 21:48:41.151 13518-13588 CameraSession com.mrousavy.camera.example I Successfully configured Camera #0!
2024-02-06 21:48:41.151 13518-13588 CameraSession com.mrousavy.camera.example I Destroying previous outputs...
2024-02-06 21:48:41.153 13518-13588 CameraSession com.mrousavy.camera.example I Creating outputs for Camera #0...
2024-02-06 21:48:41.156 13518-13588 CameraSession com.mrousavy.camera.example I Adding 2400x1080 Photo Output in JPEG...
2024-02-06 21:48:41.160 13518-13588 CameraSession com.mrousavy.camera.example I Adding 2400x1080 Video Output in YUV_420_888...
2024-02-06 21:48:41.160 13518-13588 VideoPipeline com.mrousavy.camera.example I Initializing 2400 x 1080 Video Pipeline (format: YUV)
2024-02-06 21:48:41.160 13518-13588 VideoPipeline com.mrousavy.camera.example I Using ImageReader round-trip (format: #35)
2024-02-06 21:48:41.160 13518-13588 VideoPipeline com.mrousavy.camera.example I Using API 29 for GPU ImageReader...
2024-02-06 21:48:41.160 13518-13588 VideoPipeline com.mrousavy.camera.example E supportsHardwareBufferFlags
2024-02-06 21:48:41.161 13518-13588 VideoPipeline com.mrousavy.camera.example I GPU + CPU HardwareBuffers are supported!
2024-02-06 21:48:41.161 13518-13588 VideoPipeline com.mrousavy.camera.example I Using ImageReader flags: 259
2024-02-06 21:48:41.163 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Camera #0: Creating Capture Session #4... (Hardware Level: 1 | Outputs: [PHOTO (2400x1080 in JPEG), VIDEO (2400x1080 in YUV)])
2024-02-06 21:48:41.163 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Using new API (>=28)
2024-02-06 21:48:41.254 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Camera #0: Successfully created CameraCaptureSession #4!
2024-02-06 21:48:41.254 13518-13588 CameraSession com.mrousavy.camera.example I Successfully configured Session with 2 outputs for Camera #0!
2024-02-06 21:48:41.254 13518-13588 CameraSession com.mrousavy.camera.example I Updating Video Outputs...
2024-02-06 21:48:41.254 13518-13588 VideoPipeline com.mrousavy.camera.example I Removing RecordingSession Output...
2024-02-06 21:48:41.259 13518-13588 CameraView com.mrousavy.camera.example I invokeOnStarted()
2024-02-06 21:48:41.259 13518-13588 CameraSession com.mrousavy.camera.example I Successfully updated CameraSession Configuration! isActive: true
2024-02-06 21:48:41.259 13518-13588 CameraView com.mrousavy.camera.example I invokeOnInitialized()
2024-02-06 21:48:41.260 13518-13588 CameraSession com.mrousavy.camera.example I configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=true, sidePropsChanged=true, isActiveChanged=false)
2024-02-06 21:48:41.260 13518-13588 CameraSession com.mrousavy.camera.example I Destroying previous outputs...
2024-02-06 21:48:41.260 13518-13588 SurfaceOutput com.mrousavy.camera.example I Closing 2400x1080 PHOTO ImageReader..
2024-02-06 21:48:41.260 13518-13588 SurfaceOutput com.mrousavy.camera.example I Closing 2400x1080 Video Pipeline..
2024-02-06 21:48:41.261 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:41.261 13518-13588 CameraView com.mrousavy.camera.example I invokeOnStopped()
2024-02-06 21:48:41.261 13518-13590 ReactNativeJS com.mrousavy.camera.example I Camera initialized!
2024-02-06 21:48:41.263 13518-13588 CameraSession com.mrousavy.camera.example I Creating outputs for Camera #0...
2024-02-06 21:48:41.266 13518-13588 CameraSession com.mrousavy.camera.example I Adding 2400x1080 Photo Output in JPEG...
2024-02-06 21:48:41.268 13518-13588 CameraSession com.mrousavy.camera.example I Adding 2400x1080 Video Output in YUV_420_888...
2024-02-06 21:48:41.268 13518-13588 VideoPipeline com.mrousavy.camera.example I Initializing 2400 x 1080 Video Pipeline (format: YUV)
2024-02-06 21:48:41.269 13518-13588 VideoPipeline com.mrousavy.camera.example I Using ImageReader round-trip (format: #35)
2024-02-06 21:48:41.269 13518-13588 VideoPipeline com.mrousavy.camera.example I Using API 29 for GPU ImageReader...
2024-02-06 21:48:41.269 13518-13588 VideoPipeline com.mrousavy.camera.example E supportsHardwareBufferFlags
2024-02-06 21:48:41.269 13518-13588 VideoPipeline com.mrousavy.camera.example I GPU + CPU HardwareBuffers are supported!
2024-02-06 21:48:41.269 13518-13588 VideoPipeline com.mrousavy.camera.example I Using ImageReader flags: 259
2024-02-06 21:48:41.274 13518-13588 CameraSession com.mrousavy.camera.example I Adding 1920x1080 Preview Output...
2024-02-06 21:48:41.276 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Camera #0: Creating Capture Session #5... (Hardware Level: 1 | Outputs: [PHOTO (2400x1080 in JPEG), VIDEO (2400x1080 in YUV), PREVIEW (1920 x 1080)])
2024-02-06 21:48:41.276 13518-13518 PreviewView com.mrousavy.camera.example I Setting PreviewView Surface Size to 1269 x 2256...
2024-02-06 21:48:41.277 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Using new API (>=28)
2024-02-06 21:48:41.277 13518-13518 SurfaceView com.mrousavy.camera.example D 187809825 setFixedSize -1x-1 -> 1920x1080
2024-02-06 21:48:41.291 13518-13518 SurfaceView com.mrousavy.camera.example I 75046951 Changes: creating=false format=false size=true visible=false alpha=false hint=false visible=false left=false top=false z=false attached=true lifecycleStrategy=false
2024-02-06 21:48:41.292 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example I 75046951 Cur surface: Surface(name=null)/@0xc0b3170
2024-02-06 21:48:41.292 13518-13518 BLASTBufferQueue_Java com.mrousavy.camera.example I update, w= 1920 h= 1080 mName = null mNativeObject= 0xb400006ea81b8f50 sc.mNativeObject= 0xb400006db8127490 format= 4 caller= android.view.SurfaceView.setBufferSize:1432 android.view.SurfaceView.performSurfaceTransaction:988 android.view.SurfaceView.updateSurface:1204 android.view.SurfaceView.lambda$new$0:258 android.view.SurfaceView.$r8$lambda$cm3nmzErr-srXoT_KjIYQgdhFN0:0 android.view.SurfaceView$$ExternalSyntheticLambda2.onPreDraw:2
2024-02-06 21:48:41.292 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example I pST: sr = Rect(-94, 0 - 1175, 2256) sw = 1920 sh = 1080
2024-02-06 21:48:41.293 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example D 75046951 performSurfaceTransaction RenderWorker position = [-94, 0, 1175, 2256] surfaceSize = 1920x1080
2024-02-06 21:48:41.293 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example I updateSurface: mVisible = true mSurface.isValid() = true
2024-02-06 21:48:41.293 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example I updateSurface: mSurfaceCreated = true surfaceChanged = false visibleChanged = false
2024-02-06 21:48:41.293 13518-13518 SurfaceView com.mrousavy.camera.example I 75046951 surfaceChanged -- format=4 w=1920 h=1080
2024-02-06 21:48:41.293 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example I surfaceChanged (1920,1080) 1 #8 com.mrousavy.camera.core.PreviewView{4792027 V.E...... ......ID -94,0-1175,2256}
2024-02-06 21:48:41.293 13518-13518 CameraSession com.mrousavy.camera.example I PreviewView Surface updated! Surface(name=null)/@0xc0b3170 1920 x 1080
2024-02-06 21:48:41.293 13518-13518 SurfaceView com.mrousavy.camera.example I 75046951 surfaceRedrawNeeded
2024-02-06 21:48:41.294 13518-13518 SurfaceView com.mrousavy.camera.example I 75046951 finishedDrawing
2024-02-06 21:48:41.294 13518-13518 SurfaceView@4792027 com.mrousavy.camera.example V Layout: x=-94 y=0 w=1269 h=2256, frame=Rect(0, 0 - 1920, 1080)
2024-02-06 21:48:41.294 13518-13518 ViewRootIm...nActivity] com.mrousavy.camera.example I registerCallbackForPendingTransactions
2024-02-06 21:48:41.295 13518-13543 SurfaceView com.mrousavy.camera.example D 75046951 updateSurfacePosition RenderWorker, frameNr = 39, position = [-94, 0, 1175, 2256] surfaceSize = 1920x1080
2024-02-06 21:48:41.295 13518-13543 SurfaceView@4792027 com.mrousavy.camera.example I uSP: rtp = Rect(-94, 0 - 1175, 2256) rtsw = 1920 rtsh = 1080
2024-02-06 21:48:41.295 13518-13543 SurfaceView@4792027 com.mrousavy.camera.example I onSSPAndSRT: pl = -94 pt = 0 sx = 0.6609375 sy = 2.088889
2024-02-06 21:48:41.295 13518-13543 SurfaceView@4792027 com.mrousavy.camera.example I aOrMT: ViewRootImpl@7acdf14[MainActivity] t = android.view.SurfaceControl$Transaction@fb9be07 fN = 39 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1660 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:369
2024-02-06 21:48:41.295 13518-13543 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e6812eeb0 mBlastBufferQueue=0xb400006ea81047d0 fn= 39 caller= android.view.SurfaceView.applyOrMergeTransaction:1592 android.view.SurfaceView.-$$Nest$mapplyOrMergeTransaction:0 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1660
2024-02-06 21:48:41.296 13518-13578 ViewRootIm...nActivity] com.mrousavy.camera.example I mWNT: t=0xb400006e683467b0 mBlastBufferQueue=0xb400006ea81047d0 fn= 39 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788
2024-02-06 21:48:41.311 13518-13538 BufferQueueProducer com.mrousavy.camera.example E [ImageReader-2400x1080f23m3-13518-11](id:34ce00000013,api:4,p:1511,c:13518) dequeueBuffer: BufferQueue has been abandoned
2024-02-06 21:48:41.364 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_IDLE for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:41.436 13518-13536 BpBinder com.mrousavy.camera.example I onLastStrongRef automatically unlinking death recipients:
2024-02-06 21:48:41.438 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Camera #0: Successfully created CameraCaptureSession #5!
2024-02-06 21:48:41.439 13518-13588 CameraSession com.mrousavy.camera.example I Successfully configured Session with 3 outputs for Camera #0!
2024-02-06 21:48:41.439 13518-13588 CameraSession com.mrousavy.camera.example I Updating Video Outputs...
2024-02-06 21:48:41.439 13518-13588 VideoPipeline com.mrousavy.camera.example I Removing RecordingSession Output...
2024-02-06 21:48:41.443 13518-13538 BpBinder com.mrousavy.camera.example I onLastStrongRef automatically unlinking death recipients:
2024-02-06 21:48:41.443 13518-13588 CameraView com.mrousavy.camera.example I invokeOnStarted()
2024-02-06 21:48:41.444 13518-13588 CameraSession com.mrousavy.camera.example I Successfully updated CameraSession Configuration! isActive: true
2024-02-06 21:48:41.444 13518-13588 CreateCaptureSession com.mrousavy.camera.example I Camera #0: CameraCaptureSession #4 has been closed.
2024-02-06 21:48:41.445 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:42.096 13518-13588 CameraManager com.mrousavy.camera.example E Camera #0: Error! 4
2024-02-06 21:48:42.096 13518-13588 CameraView com.mrousavy.camera.example I invokeOnStopped()
2024-02-06 21:48:42.106 13518-13588 CameraSession com.mrousavy.camera.example E Camera #0 has been unexpectedly disconnected!
com.mrousavy.camera.core.CameraDisconnectedError: [session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR
at com.mrousavy.camera.extensions.CameraManager_openCameraKt$openCamera$2$callback$1.onError(CameraManager+openCamera.kt:49)
at android.hardware.camera2.impl.CameraDeviceImpl.notifyError(CameraDeviceImpl.java:1868)
at android.hardware.camera2.impl.CameraDeviceImpl.$r8$lambda$NQ0CW2Syt34AhsPV0Gf6rH1V5xU(Unknown Source:0)
at android.hardware.camera2.impl.CameraDeviceImpl$$ExternalSyntheticLambda0.accept(Unknown Source:8)
at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(PooledLambdaImpl.java:281)
at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(PooledLambdaImpl.java:204)
at com.android.internal.util.function.pooled.OmniFunction.run(OmniFunction.java:87)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.os.HandlerThread.run(HandlerThread.java:67)
2024-02-06 21:48:42.106 13518-13588 CameraView com.mrousavy.camera.example E invokeOnError(...):
2024-02-06 21:48:42.106 13518-13588 System.err com.mrousavy.camera.example W com.mrousavy.camera.core.CameraDisconnectedError: [session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR
2024-02-06 21:48:42.106 13518-13588 System.err com.mrousavy.camera.example W at com.mrousavy.camera.extensions.CameraManager_openCameraKt$openCamera$2$callback$1.onError(CameraManager+openCamera.kt:49)
2024-02-06 21:48:42.106 13518-13588 System.err com.mrousavy.camera.example W at android.hardware.camera2.impl.CameraDeviceImpl.notifyError(CameraDeviceImpl.java:1868)
2024-02-06 21:48:42.106 13518-13588 System.err com.mrousavy.camera.example W at android.hardware.camera2.impl.CameraDeviceImpl.$r8$lambda$NQ0CW2Syt34AhsPV0Gf6rH1V5xU(Unknown Source:0)
2024-02-06 21:48:42.106 13518-13588 System.err com.mrousavy.camera.example W at android.hardware.camera2.impl.CameraDeviceImpl$$ExternalSyntheticLambda0.accept(Unknown Source:8)
2024-02-06 21:48:42.106 13518-13588 System.err com.mrousavy.camera.example W at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(PooledLambdaImpl.java:281)
2024-02-06 21:48:42.107 13518-13588 System.err com.mrousavy.camera.example W at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(PooledLambdaImpl.java:204)
2024-02-06 21:48:42.107 13518-13588 System.err com.mrousavy.camera.example W at com.android.internal.util.function.pooled.OmniFunction.run(OmniFunction.java:87)
2024-02-06 21:48:42.107 13518-13588 System.err com.mrousavy.camera.example W at android.os.Handler.handleCallback(Handler.java:958)
2024-02-06 21:48:42.107 13518-13588 System.err com.mrousavy.camera.example W at android.os.Handler.dispatchMessage(Handler.java:99)
2024-02-06 21:48:42.107 13518-13588 System.err com.mrousavy.camera.example W at android.os.Looper.loopOnce(Looper.java:230)
2024-02-06 21:48:42.107 13518-13588 System.err com.mrousavy.camera.example W at android.os.Looper.loop(Looper.java:319)
2024-02-06 21:48:42.107 13518-13588 System.err com.mrousavy.camera.example W at android.os.HandlerThread.run(HandlerThread.java:67)
2024-02-06 21:48:42.108 13518-13590 ReactNativeJS com.mrousavy.camera.example E { [session/camera-has-been-disconnected: [session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR]
name: 'session/camera-has-been-disconnected',
_code: 'session/camera-has-been-disconnected',
_message: '[session/camera-has-been-disconnected] The given Camera device (id: 0) has been disconnected! Error: UNKNOWN_CAMERA_DEVICE_ERROR',
_cause: undefined }
2024-02-06 21:48:42.711 13518-13538 CameraManagerGlobal com.mrousavy.camera.example I Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client com.mrousavy.camera.example API Level 2 User Id 0
2024-02-06 21:48:42.712 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_NOT_PRESENT
2024-02-06 21:48:42.712 13518-13591 CameraDevices com.mrousavy.camera.example I Camera #1 is now unavailable.
2024-02-06 21:48:42.712 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 1 status STATUS_NOT_PRESENT
2024-02-06 21:48:42.718 13518-13591 AndroidRuntime com.mrousavy.camera.example E FATAL EXCEPTION: mqt_native_modules
Process: com.mrousavy.camera.example, PID: 13518
java.lang.IllegalArgumentException: getCameraCharacteristics:1123: Unable to retrieve camera characteristics for unknown device 2: No such file or directory (-2)
at android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:2014)
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:863)
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:781)
at com.mrousavy.camera.core.CameraDeviceDetails.<init>(CameraDeviceDetails.kt:27)
at com.mrousavy.camera.CameraDevicesManager.getDevicesJson(CameraDevicesManager.kt:63)
at com.mrousavy.camera.CameraDevicesManager.sendAvailableDevicesChangedEvent(CameraDevicesManager.kt:71)
at com.mrousavy.camera.CameraDevicesManager$callback$1.onCameraUnavailable(CameraDevicesManager.kt:44)
at android.hardware.camera2.CameraManager$CameraManagerGlobal$7.run(CameraManager.java:2851)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228)
at java.lang.Thread.run(Thread.java:1012)
Caused by: android.os.ServiceSpecificException: getCameraCharacteristics:1123: Unable to retrieve camera characteristics for unknown device 2: No such file or directory (-2) (code 3)
at android.os.Parcel.createExceptionOrNull(Parcel.java:3083)
at android.os.Parcel.createException(Parcel.java:3053)
at android.os.Parcel.readException(Parcel.java:3036)
at android.os.Parcel.readException(Parcel.java:2978)
at android.hardware.ICameraService$Stub$Proxy.getCameraCharacteristics(ICameraService.java:996)
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:842)
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:781) 
at com.mrousavy.camera.core.CameraDeviceDetails.<init>(CameraDeviceDetails.kt:27) 
at com.mrousavy.camera.CameraDevicesManager.getDevicesJson(CameraDevicesManager.kt:63) 
at com.mrousavy.camera.CameraDevicesManager.sendAvailableDevicesChangedEvent(CameraDevicesManager.kt:71) 
at com.mrousavy.camera.CameraDevicesManager$callback$1.onCameraUnavailable(CameraDevicesManager.kt:44) 
at android.hardware.camera2.CameraManager$CameraManagerGlobal$7.run(CameraManager.java:2851) 
at android.os.Handler.handleCallback(Handler.java:958) 
at android.os.Handler.dispatchMessage(Handler.java:99) 
at android.os.Looper.loopOnce(Looper.java:230) 
at android.os.Looper.loop(Looper.java:319) 
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228) 
at java.lang.Thread.run(Thread.java:1012) 
2024-02-06 21:48:42.720 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_NOT_PRESENT
2024-02-06 21:48:42.720 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 2 status STATUS_NOT_PRESENT
2024-02-06 21:48:42.721 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_NOT_PRESENT
2024-02-06 21:48:42.721 13518-13536 CameraManagerGlobal com.mrousavy.camera.example I postSingleUpdate device: camera id 3 status STATUS_NOT_PRESENT
2024-02-06 21:48:42.759 13518-13591 Process com.mrousavy.camera.example I Sending signal. PID: 13518 SIG: 9
---------------------------- PROCESS ENDED (13518) for package com.mrousavy.camera.example ----------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment