blob: 15c2be4c407ac2bb189c5011dc22b318ef82955a [file] [log] [blame]
Jeff Sharkey58f533a2018-08-06 18:31:51 -06001<?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
Corina20af4bc2021-04-28 20:46:00 +00005 <uses-sdk android:minSdkVersion="30" android:targetSdkVersion="30" />
6
Jeff Sharkeyc55994b2019-12-20 19:43:59 -07007 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
8 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
]a023ea22021-02-08 13:23:19 +00009 <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
Abhijeet Kaur8c4eadc2021-07-21 14:22:54 +010010 <uses-permission android:name="android.permission.MANAGE_USERS" />
11 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
Jeff Sharkey58f533a2018-08-06 18:31:51 -060012 <application android:label="MediaProvider Tests">
13 <uses-library android:name="android.test.runner" />
Jeff Sharkeyf06febd2020-04-07 13:03:30 -060014
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 Rao0c9631a2021-09-17 20:43:27 +010018 <activity android:name="com.android.providers.media.photopicker.espresso.PhotoPickerTestActivity"
Sahana Raoe0aba482021-05-17 22:10:42 +010019 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 Rao0c9631a2021-09-17 20:43:27 +010024 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />
Abhijeet Kaureca00472021-06-23 15:05:19 +010025 <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 Rao0c9631a2021-09-17 20:43:27 +010031 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />
Sahana Raoe0aba482021-05-17 22:10:42 +010032 </intent-filter>
33 </activity>
Zim6a877702021-07-23 18:35:12 +010034
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 Sharkey58f533a2018-08-06 18:31:51 -060070 </application>
71
Brett Chabotc3a0f782018-12-13 19:06:19 -080072 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
Jeff Sharkeyc55994b2019-12-20 19:43:59 -070073 android:targetPackage="com.android.providers.media.tests"
Jeff Sharkey58f533a2018-08-06 18:31:51 -060074 android:label="MediaProvider Tests" />
75
76</manifest>