• 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    package="com.android.captiveportallogin.tests">
21    <uses-sdk android:minSdkVersion="29" android:targetSdkVersion="29" />
22
23    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
24    <uses-permission android:name="android.permission.MANAGE_TEST_NETWORKS" />
25
26    <application android:debuggable="true">
27        <uses-library android:name="android.test.runner" />
28        <provider android:name="androidx.core.content.FileProvider"
29                  android:authorities="com.android.captiveportallogin.tests.fileprovider"
30                  android:exported="false"
31                  android:grantUriPermissions="true">
32            <meta-data
33                android:name="android.support.FILE_PROVIDER_PATHS"
34                android:resource="@xml/file_paths" />
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            <intent-filter>
41                <action android:name="android.intent.action.VIEW" />
42                <category android:name="android.intent.category.DEFAULT" />
43                <data android:scheme="content" />
44                <data android:mimeType="*/*" />
45                <data android:pathPattern=".*\\.testtxtfile" />
46            </intent-filter>
47        </activity>
48        <activity android:name="com.android.captiveportallogin.RequestDismissKeyguardActivity" />
49    </application>
50    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
51        android:targetPackage="com.android.captiveportallogin.tests"
52        android:label="Captive portal login tests">
53    </instrumentation>
54</manifest>
55