blob: 5d8aca195ef8a76464d1760697a9aaa30485a4b1 [file] [log] [blame]
Neal Nguyen1a44d5d2010-01-13 10:42:43 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 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
Yorke Leebd54c2a2016-10-25 13:49:23 -07007
Neal Nguyen1a44d5d2010-01-13 10:42:43 -08008 http://www.apache.org/licenses/LICENSE-2.0
Yorke Leebd54c2a2016-10-25 13:49:23 -07009
Neal Nguyen1a44d5d2010-01-13 10:42:43 -080010 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 xmlns:android="http://schemas.android.com/apk/res/android"
Amith Yamasani4b2e9342011-03-31 12:38:53 -070018 package="com.android.frameworks.servicestests">
Neal Nguyen1a44d5d2010-01-13 10:42:43 -080019
Neal Nguyen3433d3c2010-02-02 17:09:00 -080020 <uses-permission android:name="android.permission.READ_LOGS" />
Christine Frankse5bb03e2017-02-10 17:36:10 -080021 <uses-permission android:name="android.permission.ACCESS_VR_MANAGER" />
Hongming Jin81c4c8a2017-01-10 13:31:36 -080022 <uses-permission android:name="android.permission.ACCOUNT_MANAGER" />
Neal Nguyen3433d3c2010-02-02 17:09:00 -080023 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
24 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
Jeff Sharkeyb7342ac2011-04-25 23:44:11 -070025 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
26 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
27 <uses-permission android:name="android.permission.BROADCAST_STICKY" />
28 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
Jeff Sharkey9599cc52011-05-22 14:59:31 -070029 <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" />
30 <uses-permission android:name="android.permission.MANAGE_APP_TOKENS" />
Jeff Sharkeya63ba592011-07-19 23:47:12 -070031 <uses-permission android:name="android.permission.WAKE_LOCK" />
Suprabh Shukla09a88f52015-12-02 14:36:31 -080032 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
33 <uses-permission android:name="android.permission.REAL_GET_TASKS" />
34 <uses-permission android:name="android.permission.GET_DETAILED_TASKS" />
Yorke Leebd54c2a2016-10-25 13:49:23 -070035 <uses-permission android:name="android.permission.REORDER_TASKS" />
Jeff Sharkey21c9c452011-06-07 12:26:43 -070036 <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" />
37 <uses-permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY" />
Jeff Sharkey2242af22011-06-16 13:43:18 -070038 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
Jeff Sharkey8fc27e82012-04-04 20:40:58 -070039 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Amith Yamasani2a003292012-08-14 18:25:45 -070040 <uses-permission android:name="android.permission.MANAGE_USERS" />
Amith Yamasanidb6a14c2012-10-17 21:16:52 -070041 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Amith Yamasani5b5aa402014-06-01 20:10:14 -070042 <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" />
Paul Jensend7b6ca92015-05-13 14:05:12 -040043 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
44 <uses-permission android:name="android.permission.INTERNET" />
45 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
Lorenzo Colitti7914ce52015-09-08 13:21:48 +090046 <uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" />
Paul Jensen4e1d3fd2016-04-08 13:56:52 -040047 <uses-permission android:name="android.permission.GET_INTENT_SENDER_INTENT" />
Jorim Jaggi7b614372016-09-28 15:17:50 +020048 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" />
Sudheer Shanka7cb54a32016-09-16 12:59:05 -070049 <uses-permission android:name="android.permission.INSTALL_PACKAGES" />
Andrii Kulian4ede3e02017-01-12 11:52:31 -080050 <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
Sudheer Shanka686bb2d2017-03-20 12:16:32 -070051 <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
52 <uses-permission android:name="android.permission.DELETE_PACKAGES" />
Suprabh Shukla3ac1daa2017-07-14 12:15:27 -070053 <uses-permission android:name="android.permission.GET_APP_OPS_STATS" />
54 <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
55 <uses-permission android:name="android.permission.DEVICE_POWER" />
56 <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" />
57 <uses-permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" />
Wale Ogunwalec0b0f932017-11-01 12:51:43 -070058 <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
59 <uses-permission android:name="android.permission.STATUS_BAR_SERVICE" />
Robert Carrb1579c82017-09-05 14:54:47 -070060 <uses-permission android:name="android.permission.ACCESS_SURFACE_FLINGER" />
chaviwfbe47df2017-11-10 16:14:49 -080061 <uses-permission android:name="android.permission.READ_FRAME_BUFFER" />
arangelov91201bd2018-01-04 17:10:21 +000062 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Amith Yamasani5b5aa402014-06-01 20:10:14 -070063
sunjiand62dc392017-06-01 12:05:59 -070064 <!-- Uses API introduced in O (26) -->
65 <uses-sdk android:minSdkVersion="1"
66 android:targetSdkVersion="26"/>
67
Neal Nguyen1a44d5d2010-01-13 10:42:43 -080068 <application>
69 <uses-library android:name="android.test.runner" />
Svetoslav Ganov0b29a582010-04-16 18:52:49 -070070
Hongming Jin81c4c8a2017-01-10 13:31:36 -080071 <service android:name="com.android.server.accounts.TestAccountType1AuthenticatorService"
72 android:exported="false">
73 <intent-filter>
74 <action android:name="android.accounts.AccountAuthenticator" />
75 </intent-filter>
76 <meta-data android:name="android.accounts.AccountAuthenticator"
77 android:resource="@xml/test_account_type1_authenticator" />
78 </service>
79
80 <service android:name="com.android.server.accounts.TestAccountType2AuthenticatorService"
81 android:exported="false">
82 <intent-filter>
83 <action android:name="android.accounts.AccountAuthenticator" />
84 </intent-filter>
85 <meta-data android:name="android.accounts.AccountAuthenticator"
86 android:resource="@xml/test_account_type2_authenticator" />
87 </service>
88
Amith Yamasani5b5aa402014-06-01 20:10:14 -070089 <receiver android:name="com.android.server.devicepolicy.ApplicationRestrictionsTest$AdminReceiver"
90 android:permission="android.permission.BIND_DEVICE_ADMIN">
91 <meta-data android:name="android.app.device_admin"
92 android:resource="@xml/device_admin_sample" />
93 <intent-filter>
94 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
95 </intent-filter>
96 </receiver>
97
Makoto Onukif76b06a2015-09-22 15:03:44 -070098 <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin1"
99 android:permission="android.permission.BIND_DEVICE_ADMIN">
100 <meta-data android:name="android.app.device_admin"
101 android:resource="@xml/device_admin_sample" />
102 <intent-filter>
103 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
104 </intent-filter>
105 </receiver>
106
107 <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin2"
108 android:permission="android.permission.BIND_DEVICE_ADMIN">
109 <meta-data android:name="android.app.device_admin"
110 android:resource="@xml/device_admin_sample" />
111 <intent-filter>
112 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
113 </intent-filter>
114 </receiver>
115
116 <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin3"
117 android:permission="android.permission.BIND_DEVICE_ADMIN">
Makoto Onukicc4bbeb2015-09-17 10:28:24 -0700118 <meta-data android:name="android.app.device_admin"
119 android:resource="@xml/device_admin_sample" />
120 <intent-filter>
121 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
122 </intent-filter>
123 </receiver>
124
Makoto Onuki3ab6f2e2015-11-05 13:55:37 -0800125 <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$AdminNoPerm">
126 <meta-data android:name="android.app.device_admin"
127 android:resource="@xml/device_admin_sample" />
128 <intent-filter>
129 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
130 </intent-filter>
131 </receiver>
132
Shreyas Basarge5db09082016-01-07 13:38:29 +0000133 <service android:name="com.android.server.job.MockPriorityJobService"
134 android:permission="android.permission.BIND_JOB_SERVICE" />
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800135
Makoto Onukiee6b6e42016-06-29 17:34:02 -0700136 <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity" />
137 <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity2" />
138 <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity3" />
139
Wale Ogunwalec0b0f932017-11-01 12:51:43 -0700140 <activity android:name="com.android.server.wm.ScreenDecorWindowTests$TestActivity" />
141
Makoto Onukiee6b6e42016-06-29 17:34:02 -0700142 <activity android:name="com.android.server.pm.ShortcutTestActivity"
Hongming Jin81c4c8a2017-01-10 13:31:36 -0800143 android:enabled="true" android:exported="true" />
144
145 <activity android:name="com.android.server.accounts.AccountAuthenticatorDummyActivity" />
Makoto Onukiee6b6e42016-06-29 17:34:02 -0700146
147 <activity-alias android:name="a.ShortcutEnabled"
148 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
149 android:enabled="true" android:exported="true">
150 </activity-alias>
151 <activity-alias android:name="a.ShortcutDisabled"
152 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
153 android:enabled="false" android:exported="true">
154 <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_5"/>
155 </activity-alias>
156 <activity-alias android:name="a.ShortcutUnexported"
157 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
158 android:enabled="true" android:exported="false">
159 <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_5"/>
160 </activity-alias>
161 <activity-alias android:name="a.Shortcut1"
162 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
163 android:enabled="true" android:exported="true">
164 <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_1"/>
165 </activity-alias>
Sunny Goyala6be88a2017-01-12 16:27:58 -0800166 <activity-alias android:name="a.ShortcutConfigActivity"
167 android:targetActivity="com.android.server.pm.ShortcutTestActivity">
168 <intent-filter>
169 <action android:name="android.intent.action.CREATE_SHORTCUT" />
170 </intent-filter>
171 </activity-alias>
Makoto Onukiee6b6e42016-06-29 17:34:02 -0700172
173 <activity-alias android:name="a.DisabledMain"
174 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
175 android:enabled="false" android:exported="true">
176 <intent-filter>
177 <action android:name="android.intent.action.MAIN" />
178 <category android:name="android.intent.category.DEFAULT" />
179 <category android:name="android.intent.category.LAUNCHER" />
180 </intent-filter>
181 </activity-alias>
182
183 <activity-alias android:name="a.UnexportedMain"
184 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
185 android:enabled="true" android:exported="false">
186 <intent-filter>
187 <action android:name="android.intent.action.MAIN" />
188 <category android:name="android.intent.category.DEFAULT" />
189 <category android:name="android.intent.category.LAUNCHER" />
190 </intent-filter>
191 </activity-alias>
192
Jorim Jaggi7b614372016-09-28 15:17:50 +0200193 <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityA" />
194 <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityB" />
Yorke Leebd54c2a2016-10-25 13:49:23 -0700195 <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityRequestedOrientationChange" />
196 <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityTaskChangeCallbacks" />
197 <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityTaskDescriptionChange" />
Jorim Jaggi7b614372016-09-28 15:17:50 +0200198
Sunny Goyal87a563e2017-01-01 19:42:45 -0800199 <receiver android:name="com.android.server.appwidget.DummyAppWidget">
200 <intent-filter>
201 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
202 </intent-filter>
203 <meta-data android:name="android.appwidget.provider"
204 android:resource="@xml/dummy_appwidget_info" />
205 </receiver>
Neal Nguyen1a44d5d2010-01-13 10:42:43 -0800206 </application>
207
208 <instrumentation
Santos Cordonb0608632017-04-05 10:31:15 -0700209 android:name="android.support.test.runner.AndroidJUnitRunner"
210 android:targetPackage="com.android.frameworks.servicestests"
211 android:label="Frameworks Services Tests" />
Neal Nguyen1a44d5d2010-01-13 10:42:43 -0800212</manifest>