• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 The Android Open Source Project
3
4    Licensed under the Apache License, Version 2.0 (the "License");
5    you may not use this file except in compliance with the License.
6    You may obtain a copy of the License at
7
8         http://www.apache.org/licenses/LICENSE-2.0
9
10    Unless required by applicable law or agreed to in writing, software
11    distributed under the License is distributed on an "AS IS" BASIS,
12    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13    See the License for the specific language governing permissions and
14    limitations under the License.
15-->
16
17<manifest
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    package="com.android.launcher3.tests">
20
21    <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/>
22
23    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
24    <uses-permission android:name="android.permission.READ_LOGS"/>
25    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
26
27    <application android:debuggable="true">
28        <uses-library android:name="android.test.runner"/>
29
30        <receiver
31            android:name="com.android.launcher3.testcomponent.AppWidgetNoConfig"
32            android:label="No Config">
33            <intent-filter>
34                <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
35            </intent-filter>
36            <meta-data android:name="android.appwidget.provider"
37                       android:resource="@xml/appwidget_no_config"/>
38        </receiver>
39
40        <receiver
41            android:name="com.android.launcher3.testcomponent.AppWdigetHidden"
42            android:label="Hidden widget">
43            <intent-filter>
44                <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
45            </intent-filter>
46            <meta-data android:name="android.appwidget.provider"
47                       android:resource="@xml/appwidget_hidden"/>
48        </receiver>
49
50        <receiver
51            android:name="com.android.launcher3.testcomponent.AppWidgetWithConfig"
52            android:label="With Config">
53            <intent-filter>
54                <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
55            </intent-filter>
56            <meta-data android:name="android.appwidget.provider"
57                       android:resource="@xml/appwidget_with_config"/>
58        </receiver>
59
60        <activity
61            android:name="com.android.launcher3.testcomponent.WidgetConfigActivity">
62            <intent-filter>
63                <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
64            </intent-filter>
65        </activity>
66        <activity android:name="com.android.launcher3.testcomponent.CustomShortcutConfigActivity">
67            <intent-filter>
68                <action android:name="android.intent.action.CREATE_SHORTCUT" />
69                <category android:name="android.intent.category.DEFAULT" />
70            </intent-filter>
71        </activity>
72        <activity
73            android:name="com.android.launcher3.testcomponent.RequestPinItemActivity"
74            android:icon="@drawable/test_drawable_pin_item"
75            android:label="Test Pin Item">
76            <intent-filter>
77                <action android:name="android.intent.action.MAIN"/>
78                <category android:name="android.intent.category.LAUNCHER"/>
79                <category android:name="android.intent.category.DEFAULT"/>
80            </intent-filter>
81        </activity>
82
83        <service
84            android:name="com.android.launcher3.testcomponent.ListViewService"
85            android:permission="android.permission.BIND_REMOTEVIEWS" />
86
87        <provider
88            android:name="com.android.launcher3.testcomponent.TestCommandProvider"
89            android:authorities="${packageName}.commands"
90            android:exported="true"/>
91
92        <activity
93            android:name="com.android.launcher3.testcomponent.TestLauncherActivity"
94            android:clearTaskOnLaunch="true"
95            android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
96            android:enabled="false"
97            android:label="Test launcher"
98            android:launchMode="singleTask"
99            android:process=":testLauncherProcess"
100            android:resizeableActivity="true"
101            android:screenOrientation="unspecified"
102            android:stateNotNeeded="true"
103            android:taskAffinity=""
104            android:theme="@android:style/Theme.DeviceDefault.Light"
105            android:windowSoftInputMode="adjustPan">
106            <intent-filter>
107                <action android:name="android.intent.action.MAIN"/>
108                <category android:name="android.intent.category.HOME"/>
109                <category android:name="android.intent.category.DEFAULT"/>
110                <category android:name="android.intent.category.MONKEY"/>
111                <category android:name="android.intent.category.LAUNCHER_APP"/>
112            </intent-filter>
113        </activity>
114        <activity
115            android:name="com.android.launcher3.testcomponent.BaseTestingActivity"
116            android:label="LauncherTestApp"
117            android:taskAffinity="com.android.launcher3.testcomponent.Affinity1">
118            <intent-filter>
119                <action android:name="android.intent.action.MAIN"/>
120                <category android:name="android.intent.category.LAUNCHER"/>
121            </intent-filter>
122            <intent-filter>
123                <action android:name="com.android.launcher3.intent.action.test_shortcut"/>
124                <category android:name="android.intent.category.DEFAULT"/>
125            </intent-filter>
126            <meta-data android:name="android.app.shortcuts"
127                       android:resource="@xml/shortcuts"/>
128        </activity>
129        <activity-alias android:name="Activity2"
130                        android:label="TestActivity2"
131                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
132            <intent-filter>
133                <action android:name="android.intent.action.MAIN"/>
134                <category android:name="android.intent.category.LAUNCHER"/>
135            </intent-filter>
136        </activity-alias>
137        <activity-alias android:name="Activity3"
138                        android:label="TestActivity3"
139                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
140            <intent-filter>
141                <action android:name="android.intent.action.MAIN"/>
142                <category android:name="android.intent.category.LAUNCHER"/>
143            </intent-filter>
144        </activity-alias>
145        <activity-alias android:name="Activity4"
146                        android:label="TestActivity4"
147                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
148            <intent-filter>
149                <action android:name="android.intent.action.MAIN"/>
150                <category android:name="android.intent.category.LAUNCHER"/>
151            </intent-filter>
152        </activity-alias>
153        <activity-alias android:name="Activity5"
154                        android:label="TestActivity5"
155                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
156            <intent-filter>
157                <action android:name="android.intent.action.MAIN"/>
158                <category android:name="android.intent.category.LAUNCHER"/>
159            </intent-filter>
160        </activity-alias>
161        <activity-alias android:name="Activity6"
162                        android:label="TestActivity6"
163                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
164            <intent-filter>
165                <action android:name="android.intent.action.MAIN"/>
166                <category android:name="android.intent.category.LAUNCHER"/>
167            </intent-filter>
168        </activity-alias>
169        <activity-alias android:name="Activity7"
170                        android:label="TestActivity7"
171                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
172            <intent-filter>
173                <action android:name="android.intent.action.MAIN"/>
174                <category android:name="android.intent.category.LAUNCHER"/>
175            </intent-filter>
176        </activity-alias>
177        <activity-alias android:name="Activity8"
178                        android:label="TestActivity8"
179                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
180            <intent-filter>
181                <action android:name="android.intent.action.MAIN"/>
182                <category android:name="android.intent.category.LAUNCHER"/>
183            </intent-filter>
184        </activity-alias>
185        <activity-alias android:name="Activity9"
186                        android:label="TestActivity9"
187                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
188            <intent-filter>
189                <action android:name="android.intent.action.MAIN"/>
190                <category android:name="android.intent.category.LAUNCHER"/>
191            </intent-filter>
192        </activity-alias>
193        <activity-alias android:name="Activity10"
194                        android:label="TestActivity10"
195                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
196            <intent-filter>
197                <action android:name="android.intent.action.MAIN"/>
198                <category android:name="android.intent.category.LAUNCHER"/>
199            </intent-filter>
200        </activity-alias>
201        <activity-alias android:name="Activity11"
202                        android:label="TestActivity11"
203                        android:targetActivity="com.android.launcher3.testcomponent.BaseTestingActivity">
204            <intent-filter>
205                <action android:name="android.intent.action.MAIN"/>
206                <category android:name="android.intent.category.LAUNCHER"/>
207            </intent-filter>
208        </activity-alias>
209    </application>
210</manifest>
211