You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

150 lines
6.3 KiB

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.documentsui.tests">
<uses-sdk android:minSdkVersion="29" android:targetSdkVersion="29"/>
<uses-permission android:name="android.permission.INTERNET" />
<application android:label="DocumentsUI Tests">
<uses-library android:name="android.test.runner" />
<activity android:name="com.android.documentsui.SettingsActivity"
android:exported="true">
<intent-filter>
<action android:name="android.provider.action.DOCUMENT_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content"
android:host="com.android.documentsui.demoprovider"
android:mimeType="*/*" />
</intent-filter>
</activity>
<!--Needed for demo'ing and functional testing the open in provider feature in inspector -->
<activity android:name="com.android.documentsui.TestProviderActivity"
android:exported="true">
<intent-filter>
<action android:name="android.provider.action.DOCUMENT_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content"
android:host="com.android.documentsui.inspectorprovider"
android:mimeType="*/*" />
</intent-filter>
</activity>
<activity android:name="com.android.documentsui.AuthenticationActivity"
android:exported="true">
<intent-filter>
<action android:name="com.android.documentsui.test.action.AUTHENTICATE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<provider
android:name="com.android.documentsui.StubProvider"
android:authorities="com.android.documentsui.stubprovider"
android:exported="true"
android:grantUriPermissions="true"
android:permission="android.permission.MANAGE_DOCUMENTS"
android:enabled="true">
<intent-filter>
<action android:name="android.content.action.DOCUMENTS_PROVIDER" />
</intent-filter>
</provider>
<!-- Provider that demostrates some features, like display of INFO and ERROR messages. -->
<provider
android:name="com.android.documentsui.DemoProvider"
android:label="Demo Provider"
android:authorities="com.android.documentsui.demoprovider"
android:exported="true"
android:grantUriPermissions="true"
android:permission="android.permission.MANAGE_DOCUMENTS"
android:enabled="true">
<intent-filter>
<action android:name="android.content.action.DOCUMENTS_PROVIDER" />
</intent-filter>
</provider>
<!-- Provider for testing archives. -->
<provider
android:name="com.android.documentsui.archives.ResourcesProvider"
android:authorities="com.android.documentsui.archives.resourcesprovider"
android:exported="true"
android:grantUriPermissions="true"
android:permission="android.permission.MANAGE_DOCUMENTS"
android:enabled="true">
<intent-filter>
<action android:name="android.content.action.DOCUMENTS_PROVIDER" />
</intent-filter>
</provider>
<!-- Provider for testing inspector -->
<provider
android:name="com.android.documentsui.InspectorProvider"
android:authorities="com.android.documentsui.inspectorprovider"
android:exported="true"
android:grantUriPermissions="true"
android:permission="android.permission.MANAGE_DOCUMENTS"
android:enabled="true">
<intent-filter>
<action android:name="android.content.action.DOCUMENTS_PROVIDER" />
</intent-filter>
</provider>
<!-- Provider with support for paging. -->
<provider
android:name="com.android.documentsui.PagingProvider"
android:authorities="com.android.documentsui.pagingprovider"
android:exported="true"
android:grantUriPermissions="true"
android:permission="android.permission.MANAGE_DOCUMENTS"
android:enabled="true">
<intent-filter>
<action android:name="android.content.action.DOCUMENTS_PROVIDER" />
</intent-filter>
</provider>
<!-- Provider that has broken behavior -->
<provider
android:name="com.android.documentsui.BrokenProvider"
android:authorities="com.android.documentsui.broken"
android:exported="true"
android:grantUriPermissions="true"
android:permission="android.permission.MANAGE_DOCUMENTS"
android:enabled="true">
<intent-filter>
<action android:name="android.content.action.DOCUMENTS_PROVIDER" />
</intent-filter>
</provider>
<provider
android:name="com.android.documentsui.BrokenSettingsEnabledProvider"
android:authorities="com.android.documentsui.brokensettingsenabled"
android:exported="true"
android:grantUriPermissions="true"
android:permission="android.permission.MANAGE_DOCUMENTS"
android:enabled="true">
<intent-filter>
<action android:name="android.content.action.DOCUMENTS_PROVIDER" />
</intent-filter>
</provider>
<service android:name="com.android.documentsui.services.TestNotificationService"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
android:exported="true"
android:process="com.android.documentsui">
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService" />
</intent-filter>
</service>
</application>
<instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
android:targetPackage="com.android.documentsui"
android:label="Tests for DocumentsUI" />
</manifest>