blob: 1b6dfba77e02234ae4947840f623d79effbd07dc [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.documentsui.tests">
<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">
<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">
<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">
<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:process="com.android.documentsui">
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService" />
</intent-filter>
</service>
</application>
<instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
android:targetPackage="com.android.documentsui"
android:label="Tests for DocumentsUI" />
</manifest>