• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4 * Copyright (C) 2020 The Android Open Source Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *      http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<manifest xmlns:android="http://schemas.android.com/apk/res/android"
20          xmlns:tools="http://schemas.android.com/tools"
21    package="com.android.captiveportallogin.tests">
22    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
23
24    <application android:debuggable="true">
25        <uses-library android:name="android.test.runner" />
26        <provider android:name="androidx.core.content.FileProvider"
27                  android:authorities="com.android.captiveportallogin.tests.fileprovider"
28                  android:exported="false"
29                  android:grantUriPermissions="true"
30                  tools:replace="android:authorities" >
31            <meta-data
32                android:name="android.support.FILE_PROVIDER_PATHS"
33                android:resource="@xml/file_paths"
34                tools:replace="android:resource" />
35        </provider>
36        <activity
37            android:name="com.android.captiveportallogin.CaptivePortalLoginActivityTest$InstrumentedCaptivePortalLoginActivity"/>
38        <activity android:name="com.android.captiveportallogin.DownloadServiceTest$RequestDismissKeyguardActivity"/>
39        <activity android:name="com.android.captiveportallogin.DownloadServiceTest$OpenTextFileActivity"
40                  android:exported="false" >
41            <intent-filter>
42                <action android:name="android.intent.action.VIEW" />
43                <category android:name="android.intent.category.DEFAULT" />
44                <data android:scheme="content" />
45                <data android:mimeType="text/vnd.captiveportallogin.testtxtfile" />
46                <data android:pathPattern=".*\\.testtxtfile" />
47            </intent-filter>
48        </activity>
49        <activity android:name="com.android.captiveportallogin.RequestDismissKeyguardActivity" />
50    </application>
51    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
52        android:targetPackage="com.android.captiveportallogin.tests"
53        android:label="Captive portal login tests">
54    </instrumentation>
55</manifest>
56