• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2017 The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16-->
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18    package="android.autofillservice.cts"
19    android:targetSandboxVersion="2">
20
21    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
22    <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS"/>
23    <uses-permission android:name="android.permission.ACTIVITY_EMBEDDING"/>
24    <uses-permission android:name="android.permission.INJECT_EVENTS" />
25    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
26
27    <application>
28
29        <uses-library android:name="android.test.runner" />
30
31        <activity android:name=".LoginActivity" >
32            <intent-filter>
33                <!-- This intent filter is not really needed by CTS, but it maks easier to launch
34                     this app during CTS development... -->
35                <action android:name="android.intent.action.MAIN" />
36                <category android:name="android.intent.category.LAUNCHER" />
37            </intent-filter>
38        </activity>
39        <activity android:name=".PreFilledLoginActivity" />
40        <activity android:name=".LoginWithCustomHighlightActivity"
41                  android:theme="@style/MyAutofilledHighlight"/>
42        <activity android:name=".LoginWithStringsActivity" />
43        <activity android:name=".WelcomeActivity" android:taskAffinity=".WelcomeActivity"/>
44        <activity android:name=".ViewAttributesTestActivity" />
45        <activity android:name=".AuthenticationActivity" />
46        <activity android:name=".ManualAuthenticationActivity" />
47        <activity android:name=".CheckoutActivity" android:taskAffinity=".CheckoutActivity"/>
48        <activity android:name=".InitializedCheckoutActivity" />
49        <activity android:name=".DatePickerCalendarActivity" />
50        <activity android:name=".DatePickerSpinnerActivity" />
51        <activity android:name=".TimePickerClockActivity" />
52        <activity android:name=".TimePickerSpinnerActivity" />
53        <activity android:name=".FatActivity" />
54        <activity android:name=".VirtualContainerActivity">
55            <intent-filter>
56                <!-- This intent filter is not really needed by CTS, but it maks easier to launch
57                     this app during CTS development... -->
58                <action android:name="android.intent.action.MAIN" />
59                <category android:name="android.intent.category.LAUNCHER" />
60            </intent-filter>
61        </activity>
62        <activity android:name=".OptionalSaveActivity" />
63        <activity android:name=".AllAutofillableViewsActivity" />
64        <activity android:name=".GridActivity"/>
65        <activity android:name=".EmptyActivity"/>
66        <activity android:name=".DummyActivity"/>
67        <activity android:name=".OutOfProcessLoginActivity"
68            android:process="android.autofillservice.cts.outside"/>
69        <activity android:name=".FragmentContainerActivity" />
70        <activity android:name=".DuplicateIdActivity"
71            android:theme="@android:style/Theme.NoTitleBar" />
72        <activity android:name=".SimpleSaveActivity"/>
73        <activity android:name=".PreSimpleSaveActivity">
74            <intent-filter>
75                <!-- This intent filter is not really needed by CTS, but it maks easier to launch
76                     this app during CTS development... -->
77                <action android:name="android.intent.action.MAIN" />
78                <category android:name="android.intent.category.LAUNCHER" />
79            </intent-filter>
80        </activity>
81        <activity android:name=".WebViewActivity"/>
82        <activity android:name=".TrampolineWelcomeActivity"/>
83        <activity android:name=".AttachedContextActivity"/>
84        <activity android:name=".DialogLauncherActivity" >
85            <intent-filter>
86                <!-- This intent filter is not really needed by CTS, but it maks easier to launch
87                     this app during CTS development... -->
88                <action android:name="android.intent.action.MAIN" />
89                <category android:name="android.intent.category.LAUNCHER" />
90            </intent-filter>
91        </activity>
92        <activity android:name=".MultiWindowLoginActivity" />
93        <activity android:name=".MultiWindowEmptyActivity"
94            android:taskAffinity="nobody.but.EmptyActivity"
95            android:exported="true" />
96
97        <activity android:name=".TrampolineForResultActivity" />
98
99        <receiver android:name=".SelfDestructReceiver"
100            android:exported="true"
101            android:process="android.autofillservice.cts.outside"/>
102
103        <service
104            android:name=".InstrumentedAutoFillService"
105            android:label="InstrumentedAutoFillService"
106            android:permission="android.permission.BIND_AUTOFILL_SERVICE" >
107            <intent-filter>
108                <action android:name="android.service.autofill.AutofillService" />
109            </intent-filter>
110        </service>
111        <service
112            android:name=".InstrumentedAutoFillServiceCompatMode"
113            android:label="InstrumentedAutoFillServiceCompatMode"
114            android:permission="android.permission.BIND_AUTOFILL_SERVICE" >
115            <intent-filter>
116                <action android:name="android.service.autofill.AutofillService" />
117            </intent-filter>
118            <meta-data
119                android:name="android.autofill"
120                android:resource="@xml/autofill_service_compat_mode_config">
121            </meta-data>
122        </service>
123        <service
124            android:name=".NoOpAutofillService"
125            android:label="NoOpAutofillService"
126            android:permission="android.permission.BIND_AUTOFILL_SERVICE" >
127            <intent-filter>
128                <action android:name="android.service.autofill.AutofillService" />
129            </intent-filter>
130        </service>
131        <!--  BadAutofillService does not declare the proper permission -->
132        <service
133            android:name=".BadAutofillService"
134            android:label="BadAutofillService">
135            <intent-filter>
136                <action android:name="android.service.autofill.AutofillService" />
137            </intent-filter>
138        </service>
139    </application>
140
141    <instrumentation
142        android:name="android.support.test.runner.AndroidJUnitRunner"
143        android:label="CTS tests for the AutoFill Framework APIs."
144        android:targetPackage="android.autofillservice.cts" >
145    </instrumentation>
146
147</manifest>
148