1<?xml version="1.0" encoding="utf-8"?> 2<manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 package="com.android.documentsui.tests"> 4 5 <uses-sdk android:minSdkVersion="29" android:targetSdkVersion="29"/> 6 7 <uses-permission android:name="android.permission.INTERNET" /> 8 9 <application android:label="DocumentsUI Tests"> 10 <uses-library android:name="android.test.runner" /> 11 12 <activity android:name="com.android.documentsui.SettingsActivity" 13 android:exported="true"> 14 <intent-filter> 15 <action android:name="android.provider.action.DOCUMENT_SETTINGS" /> 16 <category android:name="android.intent.category.DEFAULT" /> 17 <data android:scheme="content" 18 android:host="com.android.documentsui.demoprovider" 19 android:mimeType="*/*" /> 20 </intent-filter> 21 </activity> 22 23 <!--Needed for demo'ing and functional testing the open in provider feature in inspector --> 24 <activity android:name="com.android.documentsui.TestProviderActivity" 25 android:exported="true"> 26 <intent-filter> 27 <action android:name="android.provider.action.DOCUMENT_SETTINGS" /> 28 <category android:name="android.intent.category.DEFAULT" /> 29 <data android:scheme="content" 30 android:host="com.android.documentsui.inspectorprovider" 31 android:mimeType="*/*" /> 32 </intent-filter> 33 </activity> 34 35 <activity android:name="com.android.documentsui.AuthenticationActivity" 36 android:exported="true"> 37 <intent-filter> 38 <action android:name="com.android.documentsui.test.action.AUTHENTICATE" /> 39 <category android:name="android.intent.category.DEFAULT" /> 40 </intent-filter> 41 </activity> 42 43 44 <provider 45 android:name="com.android.documentsui.StubProvider" 46 android:authorities="com.android.documentsui.stubprovider" 47 android:exported="true" 48 android:grantUriPermissions="true" 49 android:permission="android.permission.MANAGE_DOCUMENTS" 50 android:enabled="true"> 51 <intent-filter> 52 <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> 53 </intent-filter> 54 </provider> 55 56 <!-- Provider that demostrates some features, like display of INFO and ERROR messages. --> 57 <provider 58 android:name="com.android.documentsui.DemoProvider" 59 android:label="Demo Provider" 60 android:authorities="com.android.documentsui.demoprovider" 61 android:exported="true" 62 android:grantUriPermissions="true" 63 android:permission="android.permission.MANAGE_DOCUMENTS" 64 android:enabled="true"> 65 <intent-filter> 66 <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> 67 </intent-filter> 68 </provider> 69 70 <!-- Provider for testing archives. --> 71 <provider 72 android:name="com.android.documentsui.archives.ResourcesProvider" 73 android:authorities="com.android.documentsui.archives.resourcesprovider" 74 android:exported="true" 75 android:grantUriPermissions="true" 76 android:permission="android.permission.MANAGE_DOCUMENTS" 77 android:enabled="true"> 78 <intent-filter> 79 <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> 80 </intent-filter> 81 </provider> 82 83 <!-- Provider for testing inspector --> 84 <provider 85 android:name="com.android.documentsui.InspectorProvider" 86 android:authorities="com.android.documentsui.inspectorprovider" 87 android:exported="true" 88 android:grantUriPermissions="true" 89 android:permission="android.permission.MANAGE_DOCUMENTS" 90 android:enabled="true"> 91 <intent-filter> 92 <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> 93 </intent-filter> 94 </provider> 95 96 <!-- Provider with support for paging. --> 97 <provider 98 android:name="com.android.documentsui.PagingProvider" 99 android:authorities="com.android.documentsui.pagingprovider" 100 android:exported="true" 101 android:grantUriPermissions="true" 102 android:permission="android.permission.MANAGE_DOCUMENTS" 103 android:enabled="true"> 104 <intent-filter> 105 <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> 106 </intent-filter> 107 </provider> 108 109 <!-- Provider that has broken behavior --> 110 <provider 111 android:name="com.android.documentsui.BrokenProvider" 112 android:authorities="com.android.documentsui.broken" 113 android:exported="true" 114 android:grantUriPermissions="true" 115 android:permission="android.permission.MANAGE_DOCUMENTS" 116 android:enabled="true"> 117 <intent-filter> 118 <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> 119 </intent-filter> 120 </provider> 121 122 <provider 123 android:name="com.android.documentsui.BrokenSettingsEnabledProvider" 124 android:authorities="com.android.documentsui.brokensettingsenabled" 125 android:exported="true" 126 android:grantUriPermissions="true" 127 android:permission="android.permission.MANAGE_DOCUMENTS" 128 android:enabled="true"> 129 <intent-filter> 130 <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> 131 </intent-filter> 132 </provider> 133 134 <service android:name="com.android.documentsui.services.TestNotificationService" 135 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" 136 android:exported="true" 137 android:process="com.android.documentsui"> 138 <intent-filter> 139 <action android:name="android.service.notification.NotificationListenerService" /> 140 </intent-filter> 141 </service> 142 143 </application> 144 145 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 146 android:targetPackage="com.android.documentsui" 147 android:label="Tests for DocumentsUI" /> 148 149</manifest> 150