Jeff Sharkey | 58f533a | 2018-08-06 18:31:51 -0600 | [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.providers.media.tests"> |
| 4 | |
Corina | 20af4bc | 2021-04-28 20:46:00 +0000 | [diff] [blame] | 5 | <uses-sdk android:minSdkVersion="30" android:targetSdkVersion="30" /> |
| 6 | |
Jeff Sharkey | c55994b | 2019-12-20 19:43:59 -0700 | [diff] [blame] | 7 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| 8 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
] | a023ea2 | 2021-02-08 13:23:19 +0000 | [diff] [blame] | 9 | <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> |
Abhijeet Kaur | 8c4eadc | 2021-07-21 14:22:54 +0100 | [diff] [blame] | 10 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
| 11 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
Jeff Sharkey | 58f533a | 2018-08-06 18:31:51 -0600 | [diff] [blame] | 12 | <application android:label="MediaProvider Tests"> |
| 13 | <uses-library android:name="android.test.runner" /> |
Jeff Sharkey | f06febd | 2020-04-07 13:03:30 -0600 | [diff] [blame] | 14 | |
| 15 | <activity android:name="com.android.providers.media.GetResultActivity" /> |
| 16 | <activity android:name="com.android.providers.media.PermissionActivity" /> |
| 17 | <activity android:name="com.android.providers.media.CacheClearingActivity" /> |
Sahana Rao | 0c9631a | 2021-09-17 20:43:27 +0100 | [diff] [blame] | 18 | <activity android:name="com.android.providers.media.photopicker.espresso.PhotoPickerTestActivity" |
Sahana Rao | e0aba48 | 2021-05-17 22:10:42 +0100 | [diff] [blame] | 19 | android:theme="@style/PickerDefaultTheme" |
| 20 | android:excludeFromRecents="true"> |
| 21 | <intent-filter> |
| 22 | <action android:name="android.provider.action.PICK_IMAGES" /> |
| 23 | <category android:name="android.intent.category.DEFAULT" /> |
Sahana Rao | 0c9631a | 2021-09-17 20:43:27 +0100 | [diff] [blame] | 24 | <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" /> |
Abhijeet Kaur | eca0047 | 2021-06-23 15:05:19 +0100 | [diff] [blame] | 25 | <data android:mimeType="image/*" /> |
| 26 | <data android:mimeType="video/*" /> |
| 27 | </intent-filter> |
| 28 | <intent-filter> |
| 29 | <action android:name="android.provider.action.PICK_IMAGES" /> |
| 30 | <category android:name="android.intent.category.DEFAULT" /> |
Sahana Rao | 0c9631a | 2021-09-17 20:43:27 +0100 | [diff] [blame] | 31 | <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" /> |
Sahana Rao | e0aba48 | 2021-05-17 22:10:42 +0100 | [diff] [blame] | 32 | </intent-filter> |
| 33 | </activity> |
Zim | 6a87770 | 2021-07-23 18:35:12 +0100 | [diff] [blame] | 34 | |
| 35 | <provider android:name="com.android.providers.media.photopicker.LocalProvider" |
| 36 | android:authorities="com.android.providers.media.photopicker.tests.local" |
| 37 | android:exported="false" /> |
| 38 | |
| 39 | <provider android:name="com.android.providers.media.cloudproviders.CloudProviderPrimary" |
| 40 | android:authorities="com.android.providers.media.photopicker.tests.cloud_primary" |
| 41 | android:permission="com.android.providers.media.permission.MANAGE_CLOUD_MEDIA_PROVIDERS" |
| 42 | android:exported="true"> |
| 43 | <intent-filter> |
| 44 | <action android:name="android.content.action.CLOUD_MEDIA_PROVIDER" /> |
| 45 | </intent-filter> |
| 46 | </provider> |
| 47 | |
| 48 | <provider android:name="com.android.providers.media.cloudproviders.CloudProviderSecondary" |
| 49 | android:authorities="com.android.providers.media.photopicker.tests.cloud_secondary" |
| 50 | android:readPermission="com.android.providers.media.permission.MANAGE_CLOUD_MEDIA_PROVIDERS" |
| 51 | android:exported="true"> |
| 52 | <intent-filter> |
| 53 | <action android:name="android.content.action.CLOUD_MEDIA_PROVIDER" /> |
| 54 | </intent-filter> |
| 55 | </provider> |
| 56 | |
| 57 | <provider android:name="com.android.providers.media.cloudproviders.CloudProviderNoPermission" |
| 58 | android:authorities="com.android.providers.media.photopicker.tests.cloud_no_permission" |
| 59 | android:exported="true"> |
| 60 | <intent-filter> |
| 61 | <action android:name="android.content.action.CLOUD_MEDIA_PROVIDER" /> |
| 62 | </intent-filter> |
| 63 | </provider> |
| 64 | |
| 65 | <provider android:name="com.android.providers.media.cloudproviders.CloudProviderNoIntentFilter" |
| 66 | android:permission="com.android.providers.media.permission.MANAGE_CLOUD_MEDIA_PROVIDERS" |
| 67 | android:authorities="com.android.providers.media.photopicker.tests.cloud_no_intent_filter" |
| 68 | android:exported="true"> |
| 69 | </provider> |
Jeff Sharkey | 58f533a | 2018-08-06 18:31:51 -0600 | [diff] [blame] | 70 | </application> |
| 71 | |
Brett Chabot | c3a0f78 | 2018-12-13 19:06:19 -0800 | [diff] [blame] | 72 | <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" |
Jeff Sharkey | c55994b | 2019-12-20 19:43:59 -0700 | [diff] [blame] | 73 | android:targetPackage="com.android.providers.media.tests" |
Jeff Sharkey | 58f533a | 2018-08-06 18:31:51 -0600 | [diff] [blame] | 74 | android:label="MediaProvider Tests" /> |
| 75 | |
| 76 | </manifest> |