Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-129324

Don't print exceptions for content file operations that are supposed to be done under the hood

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.0 RC
    • Core: I/O
    • None
    • Android

    Description

      When dealing with content:/ URIs, some operations like checking for file existence or readability throw Java exceptions when failing, these cases shouldn't be throwing since and only return whether the file exists or is readable instead. Example of such logs:

      I QTestLib: QWARN  : tst_ContentUris::readWriteNonExistingFile(document_with_slash) java.lang.SecurityException: Permission Denial: reading com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/document/primary%3APictures/non-existing-file.txt from pid=11302, uid=10203 requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIsI QTestLib: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)I QTestLib: 	at android.os.Parcel.createException(Parcel.java:3041)I QTestLib: 	at android.os.Parcel.readException(Parcel.java:3024)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)I QTestLib: 	at android.content.ContentProviderProxy.query(ContentProviderNative.java:495)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1229)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1161)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1117)I QTestLib: 	at org.qtproject.qt.android.QtNative.startQtApplication(Native Method)I QTestLib: 	at org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run(D8$$SyntheticClass:0)I QTestLib: 	at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)I QTestLib: 	at java.lang.Thread.run(Thread.java:1012)09-25 14:40:12.326 11302 11372 I QTestLib:I QTestLib: QWARN  : tst_ContentUris::readWriteNonExistingFile(document_with_slash) java.lang.SecurityException: Permission Denial: reading com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/document/primary%3APictures/non-existing-file.txt from pid=11302, uid=10203 requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIsI QTestLib: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)I QTestLib: 	at android.os.Parcel.createException(Parcel.java:3041)I QTestLib: 	at android.os.Parcel.readException(Parcel.java:3024)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)I QTestLib: 	at android.content.ContentProviderProxy.query(ContentProviderNative.java:495)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1229)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1161)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1117)I QTestLib: 	at org.qtproject.qt.android.QtNative.startQtApplication(Native Method)I QTestLib: 	at org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run(D8$$SyntheticClass:0)I QTestLib: 	at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)I QTestLib: 	at java.lang.Thread.run(Thread.java:1012)09-25 14:40:12.327 11302 11372 I QTestLib:I QTestLib: QWARN  : tst_ContentUris::readWriteNonExistingFile(document_with_slash) java.lang.SecurityException: Permission Denial: reading com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/document/primary%3APictures/non-existing-file.txt from pid=11302, uid=10203 requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIsI QTestLib: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)I QTestLib: 	at android.os.Parcel.createException(Parcel.java:3041)I QTestLib: 	at android.os.Parcel.readException(Parcel.java:3024)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)I QTestLib: 	at android.content.ContentProviderProxy.query(ContentProviderNative.java:495)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1229)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1161)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1117)I QTestLib: 	at org.qtproject.qt.android.QtNative.startQtApplication(Native Method)I QTestLib: 	at org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run(D8$$SyntheticClass:0)I QTestLib: 	at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)I QTestLib: 	at java.lang.Thread.run(Thread.java:1012)09-25 14:40:12.328 11302 11372 I QTestLib:I QTestLib: QWARN  : tst_ContentUris::readWriteNonExistingFile(document_with_slash) open(): non-existent content URI with a document type providedI QTestLib: QWARN  : tst_ContentUris::readWriteNonExistingFile(document_with_slash) java.lang.SecurityException: Permission Denial: writing com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/document/primary%3APictures/non-existing-file.txt from pid=11302, uid=10203 requires android.permission.MANAGE_DOCUMENTS, or grantUriPermission()I QTestLib: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)I QTestLib: 	at android.os.Parcel.createException(Parcel.java:3041)I QTestLib: 	at android.os.Parcel.readException(Parcel.java:3024)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)I QTestLib: 	at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:153)I QTestLib: 	at android.content.ContentProviderProxy.openAssetFile(ContentProviderNative.java:737)I QTestLib: 	at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1876)I QTestLib: 	at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:1689)I QTestLib: 	at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:1635)I QTestLib: 	at org.qtproject.qt.android.QtNative.startQtApplication(Native Method)I QTestLib: 	at org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run(D8$$SyntheticClass:0)I QTestLib: 	at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)I QTestLib: 	at java.lang.Thread.run(Thread.java:1012)09-25 14:40:12.337 11302 11372 I QTestLib:I QTestLib: PASS   : tst_ContentUris::readWriteNonExistingFile(document_with_slash)I QTestLib: QWARN  : tst_ContentUris::readWriteNonExistingFile(document_with_encoded_slash) java.lang.SecurityException: Permission Denial: reading com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/document/primary%3APictures%2Fnon-existing-file.txt from pid=11302, uid=10203 requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIsI QTestLib: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)I QTestLib: 	at android.os.Parcel.createException(Parcel.java:3041)I QTestLib: 	at android.os.Parcel.readException(Parcel.java:3024)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)I QTestLib: 	at android.content.ContentProviderProxy.query(ContentProviderNative.java:495)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1229)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1161)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1117)I QTestLib: 	at org.qtproject.qt.android.QtNative.startQtApplication(Native Method)I QTestLib: 	at org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run(D8$$SyntheticClass:0)I QTestLib: 	at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)I QTestLib: 	at java.lang.Thread.run(Thread.java:1012)09-25 14:40:12.339 11302 11372 I QTestLib:I QTestLib: QWARN  : tst_ContentUris::readWriteNonExistingFile(document_with_encoded_slash) java.lang.SecurityException: Permission Denial: reading com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/document/primary%3APictures%2Fnon-existing-file.txt from pid=11302, uid=10203 requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIsI QTestLib: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)I QTestLib: 	at android.os.Parcel.createException(Parcel.java:3041)I QTestLib: 	at android.os.Parcel.readException(Parcel.java:3024)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)I QTestLib: 	at android.content.ContentProviderProxy.query(ContentProviderNative.java:495)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1229)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1161)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1117)I QTestLib: 	at org.qtproject.qt.android.QtNative.startQtApplication(Native Method)I QTestLib: 	at org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run(D8$$SyntheticClass:0)I QTestLib: 	at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)I QTestLib: 	at java.lang.Thread.run(Thread.java:1012)09-25 14:40:12.343 11302 11372 I QTestLib:I QTestLib: QWARN  : tst_ContentUris::readWriteNonExistingFile(document_with_encoded_slash) java.lang.SecurityException: Permission Denial: reading com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/document/primary%3APictures%2Fnon-existing-file.txt from pid=11302, uid=10203 requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIsI QTestLib: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)I QTestLib: 	at android.os.Parcel.createException(Parcel.java:3041)I QTestLib: 	at android.os.Parcel.readException(Parcel.java:3024)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)I QTestLib: 	at android.content.ContentProviderProxy.query(ContentProviderNative.java:495)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1229)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1161)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1117)I QTestLib: 	at org.qtproject.qt.android.QtNative.startQtApplication(Native Method)I QTestLib: 	at org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run(D8$$SyntheticClass:0)I QTestLib: 	at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)I QTestLib: 	at java.lang.Thread.run(Thread.java:1012)09-25 14:40:12.351 11302 11372 I QTestLib:I QTestLib: QWARN  : tst_ContentUris::readWriteNonExistingFile(document_with_encoded_slash) open(): non-existent content URI with a document type providedI QTestLib: QWARN  : tst_ContentUris::readWriteNonExistingFile(document_with_encoded_slash) java.lang.SecurityException: Permission Denial: writing com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/document/primary%3APictures%2Fnon-existing-file.txt from pid=11302, uid=10203 requires android.permission.MANAGE_DOCUMENTS, or grantUriPermission()I QTestLib: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)I QTestLib: 	at android.os.Parcel.createException(Parcel.java:3041)I QTestLib: 	at android.os.Parcel.readException(Parcel.java:3024)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)I QTestLib: 	at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:153)I QTestLib: 	at android.content.ContentProviderProxy.openAssetFile(ContentProviderNative.java:737)I QTestLib: 	at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1876)I QTestLib: 	at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:1689)I QTestLib: 	at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:1635)I QTestLib: 	at org.qtproject.qt.android.QtNative.startQtApplication(Native Method)I QTestLib: 	at org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run(D8$$SyntheticClass:0)I QTestLib: 	at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)I QTestLib: 	at java.lang.Thread.run(Thread.java:1012)09-25 14:40:12.352 11302 11372 I QTestLib:I QTestLib: PASS   : tst_ContentUris::readWriteNonExistingFile(document_with_encoded_slash)E OpenGLRenderer: Unable to match the desired swap behavior.D EGL_emulation: app_time_stats: avg=151.20ms min=0.81ms max=1403.73ms count=10I Choreographer: Skipped 65 frames!  The application may be doing too much work on its main thread.I OpenGLRenderer: Davey! duration=1108ms; Flags=0, FrameTimelineVsyncId=98609, IntendedVsync=6580932612863, Vsync=6580932612863, InputEventId=0, HandleInputStart=6580933010803, AnimationStart=6580933011553, PerformTraversalsStart=6580933012345, DrawStart=6580933066428, FrameDeadline=6580982612861, FrameInterval=6580933001387, FrameStartTime=16666666, SyncQueued=6580933248095, SyncStart=6580948335178, IssueDrawCommandsStart=6580948421012, SwapBuffers=6580948936803, FrameCompleted=6582056169971, DequeueBufferDuration=1106830626, QueueBufferDuration=47750, GpuCompleted=6582055542137, SwapBuffersCompleted=6582056169971, DisplayPresentTime=0, CommandSubmissionCompleted=6580948936803,D EGL_emulation: app_time_stats: avg=7.20ms min=0.83ms max=13.54ms count=4D EGL_emulation: app_time_stats: avg=2941.82ms min=0.75ms max=8810.39ms count=3W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@5fc1319D OpenGLRenderer: endAllActiveAnimators on 0xb400007dbcad4ab0 (RippleDrawable) with handle 0xb400007dccadd460D EGL_emulation: app_time_stats: avg=6131.78ms min=216.37ms max=12047.20ms count=2W st_content_uris: Attempt to remove non-JNI local referenceE OpenGLRenderer: Unable to match the desired swap behavior.I QTestLib: QWARN  : tst_ContentUris::createFileFromDirUrl(tree_with_slash) java.lang.SecurityException: Permission Denial: reading com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/tree/primary%3ATest%2Ftext.txt from pid=11302, uid=10203 requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIsI QTestLib: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)I QTestLib: 	at android.os.Parcel.createException(Parcel.java:3041)I QTestLib: 	at android.os.Parcel.readException(Parcel.java:3024)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)I QTestLib: 	at android.content.ContentProviderProxy.query(ContentProviderNative.java:495)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1229)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1161)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1117)I QTestLib: 	at org.qtproject.qt.android.QtNative.startQtApplication(Native Method)I QTestLib: 	at org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run(D8$$SyntheticClass:0)I QTestLib: 	at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)I QTestLib: 	at java.lang.Thread.run(Thread.java:1012)09-25 14:40:27.837 11302 11372 I QTestLib:I QTestLib: QWARN  : tst_ContentUris::createFileFromDirUrl(tree_with_slash) java.lang.SecurityException: Permission Denial: reading com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/tree/primary%3ATest%2Ftext.txt from pid=11302, uid=10203 requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIsI QTestLib: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)I QTestLib: 	at android.os.Parcel.createException(Parcel.java:3041)I QTestLib: 	at android.os.Parcel.readException(Parcel.java:3024)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)I QTestLib: 	at android.content.ContentProviderProxy.query(ContentProviderNative.java:495)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1229)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1161)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1117)I QTestLib: 	at org.qtproject.qt.android.QtNative.startQtApplication(Native Method)I QTestLib: 	at org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run(D8$$SyntheticClass:0)I QTestLib: 	at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)I QTestLib: 	at java.lang.Thread.run(Thread.java:1012)09-25 14:40:27.838 11302 11372 I QTestLib:I QTestLib: QWARN  : tst_ContentUris::createFileFromDirUrl(tree_with_slash) java.lang.SecurityException: Permission Denial: reading com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/tree/primary%3ATest%2Ftext.txt from pid=11302, uid=10203 requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIsI QTestLib: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)I QTestLib: 	at android.os.Parcel.createException(Parcel.java:3041)I QTestLib: 	at android.os.Parcel.readException(Parcel.java:3024)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)I QTestLib: 	at android.content.ContentProviderProxy.query(ContentProviderNative.java:495)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1229)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1161)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1117)I QTestLib: 	at org.qtproject.qt.android.QtNative.startQtApplication(Native Method)I QTestLib: 	at org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run(D8$$SyntheticClass:0)I QTestLib: 	at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)I QTestLib: 	at java.lang.Thread.run(Thread.java:1012)09-25 14:40:27.839 11302 11372 I QTestLib:I QTestLib: PASS   : tst_ContentUris::createFileFromDirUrl(tree_with_slash)E OpenGLRenderer: Unable to match the desired swap behavior.D EGL_emulation: app_time_stats: avg=117.37ms min=0.48ms max=1354.79ms count=12D EGL_emulation: app_time_stats: avg=58.12ms min=0.40ms max=947.05ms count=17W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@8a5cbf2D OpenGLRenderer: endAllActiveAnimators on 0xb400007dbcb1b140 (RippleDrawable) with handle 0xb400007dccb152c0D EGL_emulation: app_time_stats: avg=1768.19ms min=312.96ms max=3223.43ms count=2W st_content_uris: Attempt to remove non-JNI local referenceE OpenGLRenderer: Unable to match the desired swap behavior.E OpenGLRenderer: Unable to match the desired swap behavior.D EGL_emulation: app_time_stats: avg=167.79ms min=6.31ms max=1384.76ms count=9D EGL_emulation: app_time_stats: avg=67.69ms min=0.36ms max=1140.97ms count=17W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@2d7b6faD OpenGLRenderer: endAllActiveAnimators on 0xb400007dbcb19780 (RippleDrawable) with handle 0xb400007dccb17ea0D EGL_emulation: app_time_stats: avg=1832.71ms min=236.31ms max=3429.11ms count=2W st_content_uris: Attempt to remove non-JNI local referenceE OpenGLRenderer: Unable to match the desired swap behavior.E OpenGLRenderer: Unable to match the desired swap behavior.D EGL_emulation: app_time_stats: avg=151.55ms min=11.47ms max=1324.91ms count=10W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@fd74a05D OpenGLRenderer: endAllActiveAnimators on 0xb400007dbcb3a0f0 (RippleDrawable) with handle 0xb400007dccadaca0D EGL_emulation: app_time_stats: avg=1361.10ms min=209.75ms max=2512.45ms count=2W st_content_uris: Attempt to remove non-JNI local referenceE OpenGLRenderer: Unable to match the desired swap behavior.I QTestLib: QWARN  : tst_ContentUris::fileOperations() java.lang.SecurityException: Permission Denial: reading com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/document/primary%3ATest%2Fsecond_nenamed_file.txt from pid=11302, uid=10203 requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIsI QTestLib: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)I QTestLib: 	at android.os.Parcel.createException(Parcel.java:3041)I QTestLib: 	at android.os.Parcel.readException(Parcel.java:3024)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)I QTestLib: 	at android.content.ContentProviderProxy.query(ContentProviderNative.java:495)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1229)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1161)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1117)I QTestLib: 	at org.qtproject.qt.android.QtNative.startQtApplication(Native Method)I QTestLib: 	at org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run(D8$$SyntheticClass:0)I QTestLib: 	at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)I QTestLib: 	at java.lang.Thread.run(Thread.java:1012)09-25 14:40:42.183 11302 11372 I QTestLib:E OpenGLRenderer: Unable to match the desired swap behavior.D EGL_emulation: app_time_stats: avg=127.68ms min=2.88ms max=1360.53ms count=12D EGL_emulation: app_time_stats: avg=208.91ms min=0.39ms max=3428.08ms count=17W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@6bd2929D OpenGLRenderer: endAllActiveAnimators on 0xb400007dbcb55d20 (RippleDrawable) with handle 0xb400007dccac1020D EGL_emulation: app_time_stats: avg=2996.01ms min=157.71ms max=5834.32ms count=2W st_content_uris: Attempt to remove non-JNI local referenceE OpenGLRenderer: Unable to match the desired swap behavior.I QTestLib: QWARN  : tst_ContentUris::fileOperations() java.lang.SecurityException: Permission Denial: reading com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/tree/primary%3ATest%2Ffile_to_move.txt from pid=11302, uid=10203 requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIsI QTestLib: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)I QTestLib: 	at android.os.Parcel.createException(Parcel.java:3041)I QTestLib: 	at android.os.Parcel.readException(Parcel.java:3024)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)I QTestLib: 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)I QTestLib: 	at android.content.ContentProviderProxy.query(ContentProviderNative.java:495)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1229)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1161)I QTestLib: 	at android.content.ContentResolver.query(ContentResolver.java:1117)I QTestLib: 	at org.qtproject.qt.android.QtNative.startQtApplication(Native Method)I QTestLib: 	at org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run(D8$$SyntheticClass:0)I QTestLib: 	at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)I QTestLib: 	at java.lang.Thread.run(Thread.java:1012) 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtandroidteam Qt Android Team
            assam Assam Boudjelthia
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes