1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2007 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
18<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19    package="com.android.cts.app.stub">
20
21    <permission android:name="android.app.cts.permission.TEST_GRANTED"
22        android:protectionLevel="normal"
23            android:label="@string/permlab_testGranted"
24            android:description="@string/permdesc_testGranted">
25        <meta-data android:name="android.app.cts.string" android:value="foo" />
26        <meta-data android:name="android.app.cts.boolean" android:value="true" />
27        <meta-data android:name="android.app.cts.integer" android:value="100" />
28        <meta-data android:name="android.app.cts.color" android:value="#ff000000" />
29        <meta-data android:name="android.app.cts.float" android:value="100.1" />
30        <meta-data android:name="android.app.cts.reference" android:resource="@xml/metadata" />
31    </permission>
32
33    <uses-permission android:name="android.app.cts.permission.TEST_GRANTED" />
34    <uses-permission android:name="android.permission.READ_CONTACTS" />
35    <uses-permission android:name="android.permission.WRITE_CONTACTS" />
36    <uses-permission android:name="android.permission.INTERNET" />
37    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
38    <uses-permission android:name="android.permission.CAMERA" />
39    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
40    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
41    <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
42    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
43    <uses-permission android:name="android.permission.BODY_SENSORS" />
44
45    <application android:label="Android TestCase"
46                android:icon="@drawable/size_48x48"
47                android:maxRecents="1"
48                android:multiArch="true"
49                android:name="android.app.cts.MockApplication"
50                android:supportsRtl="true">
51        <uses-library android:name="android.test.runner" />
52        <uses-library android:name="org.apache.http.legacy" android:required="false" />
53
54        <activity android:name="android.app.cts.ActionBarActivity" />
55
56        <activity android:name="android.app.cts.DialogStubActivity"
57            android:label="DialogStubActivity"
58            android:configChanges="keyboardHidden|orientation|screenSize">
59            <intent-filter>
60                <action android:name="android.intent.action.MAIN" />
61                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />
62            </intent-filter>
63        </activity>
64
65        <activity android:name="android.app.cts.MockActivity" android:label="MockActivity">
66            <meta-data android:name="android.app.alias"
67                android:resource="@xml/alias" />
68            <meta-data android:name="android.app.intent.filter"
69                android:resource="@xml/intentfilter" />
70        </activity>
71
72        <activity android:name="android.app.cts.MockApplicationActivity"
73            android:label="MockApplicationActivity">
74            <intent-filter>
75                <action android:name="android.intent.action.MAIN"/>
76                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />
77            </intent-filter>
78        </activity>
79
80        <activity android:name="android.app.cts.InstrumentationTestActivity"
81                  android:theme="@style/Theme_NoSwipeDismiss"
82                  android:label="InstrumentationTestActivity">
83            <intent-filter>
84                <action android:name="android.intent.action.MAIN" />
85                <category android:name="android.intent.category.DEFAULT" />
86                <data android:mimeType="vnd.android.cursor.dir/person" />
87            </intent-filter>
88        </activity>
89
90        <activity android:name="android.app.cts.AliasActivityStub">
91            <meta-data android:name="android.app.alias"
92                android:resource="@xml/alias" />
93        </activity>
94
95        <activity android:name="android.app.cts.ChildActivity"
96                        android:label="ChildActivity" />
97
98        <receiver android:name="android.app.cts.MockReceiver">
99            <intent-filter>
100                <action android:name="android.app.cts.PendingIntentTest.TEST_RECEIVER" />
101            </intent-filter>
102        </receiver>
103
104        <service android:name="android.app.cts.MockService" />
105
106        <activity android:name="android.app.cts.SearchManagerStubActivity"
107                android:label="SearchManagerStubActivity">
108            <intent-filter>
109                <action android:name="android.intent.action.SEARCH" />
110                <category android:name="android.intent.category.DEFAULT" />
111            </intent-filter>
112            <meta-data android:name="android.app.searchable" android:resource="@xml/searchable" />
113        </activity>
114
115        <service android:name="android.app.cts.LocalService">
116            <intent-filter>
117                <action android:name="android.app.cts.activity.SERVICE_LOCAL" />
118            </intent-filter>
119            <meta-data android:name="android.app.cts.string" android:value="foo" />
120            <meta-data android:name="android.app.cts.boolean" android:value="true" />
121            <meta-data android:name="android.app.cts.integer" android:value="100" />
122            <meta-data android:name="android.app.cts.color" android:value="#ff000000" />
123            <meta-data android:name="android.app.cts.float" android:value="100.1" />
124            <meta-data android:name="android.app.cts.reference" android:resource="@xml/metadata" />
125        </service>
126
127        <service android:name="android.app.cts.LocalGrantedService"
128             android:permission="android.app.cts.permission.TEST_GRANTED">
129            <intent-filter>
130                <action android:name="android.app.cts.activity.SERVICE_LOCAL_GRANTED" />
131            </intent-filter>
132        </service>
133
134        <service android:name="android.app.cts.LocalDeniedService"
135               android:permission="android.app.cts.permission.TEST_DENIED">
136            <intent-filter>
137                <action android:name="android.app.cts.activity.SERVICE_LOCAL_DENIED" />
138            </intent-filter>
139        </service>
140
141        <activity android:name="android.app.cts.TestedScreen"
142                android:process=":remoteScreen">
143        </activity>
144        <activity android:name="android.app.cts.LocalScreen" android:multiprocess="true">
145        </activity>
146        <activity android:name="android.app.cts.ClearTop" android:multiprocess="true"
147               android:launchMode="singleTop">
148        </activity>
149        <activity android:name="android.app.cts.LocalDialog" android:multiprocess="true"
150               android:theme="@android:style/Theme.Dialog">
151        </activity>
152
153        <activity android:name="android.app.cts.PendingIntentStubActivity"
154             android:label="PendingIntentStubActivity"/>
155
156        <activity android:name="android.app.cts.LocalActivityManagerStubActivity"
157                        android:label="LocalActivityManagerStubActivity" />
158
159        <activity android:name="android.app.cts.LocalActivityManagerTestHelper"
160            android:label="LocalActivityManagerTestHelper" />
161
162        <activity android:name="android.app.cts.LaunchpadTabActivity" android:multiprocess="true">
163        </activity>
164
165        <activity android:name="android.app.cts.LocalActivity" android:multiprocess="true">
166            <meta-data android:name="android.app.cts.string" android:value="foo" />
167            <meta-data android:name="android.app.cts.boolean" android:value="true" />
168            <meta-data android:name="android.app.cts.integer" android:value="100" />
169            <meta-data android:name="android.app.cts.color" android:value="#ff000000" />
170            <meta-data android:name="android.app.cts.float" android:value="100.1" />
171            <meta-data android:name="android.app.cts.reference" android:resource="@xml/metadata" />
172        </activity>
173
174        <activity android:name="android.app.cts.TestedActivity"
175                android:process=":remoteActivity">
176        </activity>
177
178        <activity android:name="android.app.cts.ExpandableListTestActivity"
179            android:label="ExpandableListTestActivity">
180            <intent-filter>
181                <action android:name="android.intent.action.MAIN" />
182                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />
183            </intent-filter>
184        </activity>
185
186        <activity android:name="android.app.cts.ChildTabActivity" android:label="ChildTabActivity" />
187
188        <activity android:name="android.app.cts.LauncherActivityStub"
189                  android:label="LauncherActivityStub" >
190            <intent-filter>
191                <action android:name="android.intent.action.MAIN"/>
192                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />
193            </intent-filter>
194        </activity>
195
196        <activity android:name="android.app.cts.MockTabActivity" android:label="MockTabActivity" />
197
198        <activity android:name="android.app.cts.AppStubActivity" android:label="AppStubActivity">
199            <intent-filter>
200                <action android:name="android.intent.action.MAIN" />
201                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />
202            </intent-filter>
203        </activity>
204
205        <activity android:name="android.app.cts.DialogStubActivity"
206                  android:theme="@style/Theme_NoSwipeDismiss"
207                  android:label="DialogStubActivity">
208            <intent-filter>
209                <action android:name="android.intent.action.MAIN" />
210                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />
211            </intent-filter>
212        </activity>
213
214        <activity android:name="android.app.cts.ActivityManagerStubFooActivity"
215            android:label="ActivityManagerStubFooActivity">
216            <intent-filter>
217                <action android:name="android.intent.action.MAIN" />
218                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />
219            </intent-filter>
220        </activity>
221
222        <activity android:name="android.app.cts.ActivityManagerRecentOneActivity"
223            android:label="ActivityManagerRecentOneActivity"
224            android:allowTaskReparenting="true"
225            android:taskAffinity="android.app.cts.recentOne">
226            <intent-filter>
227                <action android:name="android.intent.action.MAIN" />
228            </intent-filter>
229        </activity>
230
231        <activity android:name="android.app.cts.ActivityManagerRecentTwoActivity"
232            android:label="ActivityManagerRecentTwoActivity"
233            android:allowTaskReparenting="true"
234            android:taskAffinity="android.app.cts.recentTwo">
235            <intent-filter>
236                <action android:name="android.intent.action.MAIN" />
237            </intent-filter>
238        </activity>
239
240        <activity android:name="android.app.cts.ActivityManagerStubCrashActivity"
241            android:label="ActivityManagerStubCrashActivity"
242            android:multiprocess="true"
243            android:process=":ActivityManagerStubCrashActivity">
244            <intent-filter>
245                <action android:name="android.intent.action.MAIN" />
246            </intent-filter>
247        </activity>
248
249        <service android:name="android.app.cts.StubRemoteService"
250            android:process=":remote">
251            <intent-filter>
252                <action
253                    android:name="android.app.cts.ISecondary" />
254                <action
255                    android:name="android.app.REMOTESERVICE" />
256            </intent-filter>
257        </service>
258
259        <activity android:name="android.app.ActivityGroup"
260            android:label="ActivityGroup" />
261
262        <activity android:name="android.app.cts.KeyguardManagerActivity"
263            android:label="KeyguardManagerActivity">
264            <intent-filter>
265                <action android:name="android.intent.action.MAIN" />
266                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />
267            </intent-filter>
268        </activity>
269
270        <service android:name="android.app.cts.IntentServiceStub"/>
271
272        <activity android:name="android.app.cts.LaunchpadActivity"
273                  android:configChanges="keyboardHidden|orientation|screenSize"
274                  android:multiprocess="true">
275        </activity>
276
277        <activity android:name="android.app.cts.ActivityManagerMemoryClassLaunchActivity" />
278
279        <activity android:name="android.app.cts.ActivityManagerMemoryClassTestActivity"
280                android:process=":memoryclass" />
281
282    </application>
283
284</manifest>
285
286