Jeff Sharkey | 06c4187 | 2013-09-06 10:43:45 -0700 | [diff] [blame] | 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 | |
Steve McKay | beac223 | 2016-03-11 10:11:52 -0800 | [diff] [blame] | 5 | <uses-permission android:name="android.permission.INTERNET" /> |
| 6 | |
Jon Mann | 253a992 | 2017-03-21 18:53:27 -0700 | [diff] [blame] | 7 | <application android:label="DocumentsUI Tests"> |
Jeff Sharkey | 06c4187 | 2013-09-06 10:43:45 -0700 | [diff] [blame] | 8 | <uses-library android:name="android.test.runner" /> |
Jon Mann | 253a992 | 2017-03-21 18:53:27 -0700 | [diff] [blame] | 9 | |
| 10 | <activity android:name="com.android.documentsui.SettingsActivity"> |
| 11 | <intent-filter> |
| 12 | <action android:name="android.provider.action.DOCUMENT_SETTINGS" /> |
| 13 | <category android:name="android.intent.category.DEFAULT" /> |
| 14 | <data android:scheme="content" |
| 15 | android:host="com.android.documentsui.demoprovider" |
| 16 | android:mimeType="*/*" /> |
| 17 | </intent-filter> |
| 18 | </activity> |
| 19 | |
Austin Kolander | 012e8ba | 2017-06-27 14:58:22 -0700 | [diff] [blame] | 20 | <!--Needed for demo'ing and functional testing the open in provider feature in inspector --> |
| 21 | <activity android:name="com.android.documentsui.TestProviderActivity"> |
| 22 | <intent-filter> |
| 23 | <action android:name="android.provider.action.DOCUMENT_SETTINGS" /> |
| 24 | <category android:name="android.intent.category.DEFAULT" /> |
| 25 | <data android:scheme="content" |
| 26 | android:host="com.android.documentsui.inspectorprovider" |
| 27 | android:mimeType="*/*" /> |
| 28 | </intent-filter> |
| 29 | </activity> |
| 30 | |
Ben Lin | 8003008 | 2017-05-01 18:50:05 -0700 | [diff] [blame] | 31 | <activity android:name="com.android.documentsui.AuthenticationActivity"> |
| 32 | <intent-filter> |
| 33 | <action android:name="com.android.documentsui.test.action.AUTHENTICATE" /> |
| 34 | <category android:name="android.intent.category.DEFAULT" /> |
| 35 | </intent-filter> |
| 36 | </activity> |
| 37 | |
Tomasz Mikolajewski | 5519474 | 2015-04-08 09:21:08 +0900 | [diff] [blame] | 38 | <provider |
| 39 | android:name="com.android.documentsui.StubProvider" |
| 40 | android:authorities="com.android.documentsui.stubprovider" |
| 41 | android:exported="true" |
| 42 | android:grantUriPermissions="true" |
| 43 | android:permission="android.permission.MANAGE_DOCUMENTS" |
| 44 | android:enabled="true"> |
| 45 | <intent-filter> |
| 46 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 47 | </intent-filter> |
| 48 | </provider> |
Steve McKay | 50b9bae | 2017-01-17 11:12:08 -0800 | [diff] [blame] | 49 | |
Steve McKay | ee7d587 | 2016-11-17 13:59:00 -0800 | [diff] [blame] | 50 | <!-- Provider that demostrates some features, like display of INFO and ERROR messages. --> |
| 51 | <provider |
| 52 | android:name="com.android.documentsui.DemoProvider" |
Jon Mann | 253a992 | 2017-03-21 18:53:27 -0700 | [diff] [blame] | 53 | android:label="Demo Provider" |
Steve McKay | ee7d587 | 2016-11-17 13:59:00 -0800 | [diff] [blame] | 54 | android:authorities="com.android.documentsui.demoprovider" |
| 55 | android:exported="true" |
| 56 | android:grantUriPermissions="true" |
| 57 | android:permission="android.permission.MANAGE_DOCUMENTS" |
| 58 | android:enabled="true"> |
Jon Mann | 253a992 | 2017-03-21 18:53:27 -0700 | [diff] [blame] | 59 | <intent-filter> |
Steve McKay | ee7d587 | 2016-11-17 13:59:00 -0800 | [diff] [blame] | 60 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 61 | </intent-filter> |
| 62 | </provider> |
Steve McKay | 50b9bae | 2017-01-17 11:12:08 -0800 | [diff] [blame] | 63 | |
Tomasz Mikolajewski | 55b6b48 | 2016-12-13 18:38:41 +0900 | [diff] [blame] | 64 | <!-- Provider for testing archives. --> |
| 65 | <provider |
| 66 | android:name="com.android.documentsui.archives.ResourcesProvider" |
| 67 | android:authorities="com.android.documentsui.archives.resourcesprovider" |
| 68 | android:exported="true" |
| 69 | android:grantUriPermissions="true" |
| 70 | android:permission="android.permission.MANAGE_DOCUMENTS" |
| 71 | android:enabled="true"> |
| 72 | <intent-filter> |
| 73 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 74 | </intent-filter> |
| 75 | </provider> |
Steve McKay | 50b9bae | 2017-01-17 11:12:08 -0800 | [diff] [blame] | 76 | |
Austin Kolander | f6d1a88 | 2017-06-14 14:51:21 -0700 | [diff] [blame] | 77 | <!-- Provider for testing inspector --> |
| 78 | <provider |
| 79 | android:name="com.android.documentsui.InspectorProvider" |
| 80 | android:authorities="com.android.documentsui.inspectorprovider" |
| 81 | android:exported="true" |
| 82 | android:grantUriPermissions="true" |
| 83 | android:permission="android.permission.MANAGE_DOCUMENTS" |
| 84 | android:enabled="true"> |
| 85 | <intent-filter> |
| 86 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 87 | </intent-filter> |
| 88 | </provider> |
| 89 | |
Steve McKay | 50b9bae | 2017-01-17 11:12:08 -0800 | [diff] [blame] | 90 | <!-- Provider with support for paging. --> |
| 91 | <provider |
| 92 | android:name="com.android.documentsui.PagingProvider" |
| 93 | android:authorities="com.android.documentsui.pagingprovider" |
| 94 | android:exported="true" |
| 95 | android:grantUriPermissions="true" |
| 96 | android:permission="android.permission.MANAGE_DOCUMENTS" |
| 97 | android:enabled="true"> |
| 98 | <intent-filter> |
| 99 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 100 | </intent-filter> |
| 101 | </provider> |
Garfield Tan | e967033 | 2017-03-06 18:33:23 -0800 | [diff] [blame] | 102 | |
| 103 | <!-- Provider that has broken behavior --> |
| 104 | <provider |
| 105 | android:name="com.android.documentsui.BrokenProvider" |
| 106 | android:authorities="com.android.documentsui.broken" |
| 107 | android:exported="true" |
| 108 | android:grantUriPermissions="true" |
| 109 | android:permission="android.permission.MANAGE_DOCUMENTS" |
| 110 | android:enabled="true"> |
| 111 | <intent-filter> |
| 112 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 113 | </intent-filter> |
| 114 | </provider> |
Jon Mann | 253a992 | 2017-03-21 18:53:27 -0700 | [diff] [blame] | 115 | |
| 116 | <provider |
| 117 | android:name="com.android.documentsui.BrokenSettingsEnabledProvider" |
| 118 | android:authorities="com.android.documentsui.brokensettingsenabled" |
| 119 | android:exported="true" |
| 120 | android:grantUriPermissions="true" |
| 121 | android:permission="android.permission.MANAGE_DOCUMENTS" |
| 122 | android:enabled="true"> |
| 123 | <intent-filter> |
| 124 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 125 | </intent-filter> |
| 126 | </provider> |
Jun Ono | 418e5a3 | 2017-11-22 10:29:30 +0900 | [diff] [blame] | 127 | |
| 128 | <service android:name="com.android.documentsui.services.TestNotificationService" |
| 129 | android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" |
| 130 | android:process="com.android.documentsui"> |
| 131 | <intent-filter> |
| 132 | <action android:name="android.service.notification.NotificationListenerService" /> |
| 133 | </intent-filter> |
| 134 | </service> |
| 135 | |
Jeff Sharkey | 06c4187 | 2013-09-06 10:43:45 -0700 | [diff] [blame] | 136 | </application> |
| 137 | |
Brett Chabot | 2027ca0 | 2018-12-13 19:06:31 -0800 | [diff] [blame] | 138 | <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" |
Jeff Sharkey | 06c4187 | 2013-09-06 10:43:45 -0700 | [diff] [blame] | 139 | android:targetPackage="com.android.documentsui" |
| 140 | android:label="Tests for DocumentsUI" /> |
| 141 | |
| 142 | </manifest> |