blob: 01f2f6b26415dc4a4c190aa844f6c0aa3b0d3e2b [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" />
Jeff Sharkey9599cc52011-05-22 14:59:31 -070028 <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" />
29 <uses-permission android:name="android.permission.MANAGE_APP_TOKENS" />
Jeff Sharkeya63ba592011-07-19 23:47:12 -070030 <uses-permission android:name="android.permission.WAKE_LOCK" />
Suprabh Shukla09a88f52015-12-02 14:36:31 -080031 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
32 <uses-permission android:name="android.permission.REAL_GET_TASKS" />
33 <uses-permission android:name="android.permission.GET_DETAILED_TASKS" />
Yorke Leebd54c2a2016-10-25 13:49:23 -070034 <uses-permission android:name="android.permission.REORDER_TASKS" />
Jeff Sharkey21c9c452011-06-07 12:26:43 -070035 <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" />
36 <uses-permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY" />
Jeff Sharkey2242af22011-06-16 13:43:18 -070037 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
Jeff Sharkey8fc27e82012-04-04 20:40:58 -070038 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Amith Yamasani2a003292012-08-14 18:25:45 -070039 <uses-permission android:name="android.permission.MANAGE_USERS" />
Amith Yamasanidb6a14c2012-10-17 21:16:52 -070040 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Amith Yamasani5b5aa402014-06-01 20:10:14 -070041 <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" />
Paul Jensend7b6ca92015-05-13 14:05:12 -040042 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
43 <uses-permission android:name="android.permission.INTERNET" />
44 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
Lorenzo Colitti7914ce52015-09-08 13:21:48 +090045 <uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" />
Paul Jensen4e1d3fd2016-04-08 13:56:52 -040046 <uses-permission android:name="android.permission.GET_INTENT_SENDER_INTENT" />
Jorim Jaggi7b614372016-09-28 15:17:50 +020047 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" />
Sudheer Shanka7cb54a32016-09-16 12:59:05 -070048 <uses-permission android:name="android.permission.INSTALL_PACKAGES" />
Andrii Kulian4ede3e02017-01-12 11:52:31 -080049 <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
Sudheer Shanka686bb2d2017-03-20 12:16:32 -070050 <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
51 <uses-permission android:name="android.permission.DELETE_PACKAGES" />
Suprabh Shukla3ac1daa2017-07-14 12:15:27 -070052 <uses-permission android:name="android.permission.GET_APP_OPS_STATS" />
53 <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
Suprabh Shukla9e41b7f2018-05-16 17:54:45 -070054 <uses-permission android:name="android.permission.MANAGE_APP_OPS_MODES"/>
Suprabh Shukla3ac1daa2017-07-14 12:15:27 -070055 <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" />
Svetoslav Ganov2d20fb42018-02-08 15:52:10 -080063 <uses-permission android:name="android.permission.WATCH_APPOPS" />
Dianne Hackborndd027b32018-01-19 17:44:46 -080064 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
Suprabh Shukla021b57a2018-03-08 18:21:50 -080065 <uses-permission android:name="android.permission.SUSPEND_APPS"/>
Suprabh Shukla3c3af142018-03-30 00:28:37 -070066 <uses-permission android:name="android.permission.CONTROL_KEYGUARD"/>
Michael Grooverc76ea602018-08-09 16:12:42 -070067 <uses-permission android:name="android.permission.MANAGE_BIND_INSTANT_SERVICE"/>
Christine Franks39b03112018-07-03 14:46:07 -070068 <uses-permission android:name="android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS" />
Stanislav Zholnine992b1a2019-02-08 17:17:43 +000069 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
70 <uses-permission android:name="android.permission.WRITE_DEVICE_CONFIG" />
Christine Franksdacbb2d32019-04-05 18:33:55 -070071 <uses-permission android:name="android.permission.HARDWARE_TEST"/>
Amith Yamasani5b5aa402014-06-01 20:10:14 -070072
sunjiand62dc392017-06-01 12:05:59 -070073 <!-- Uses API introduced in O (26) -->
74 <uses-sdk android:minSdkVersion="1"
75 android:targetSdkVersion="26"/>
76
Suprabh Shukla77e22452018-05-22 18:02:37 -070077 <application android:testOnly="true">
Neal Nguyen1a44d5d2010-01-13 10:42:43 -080078 <uses-library android:name="android.test.runner" />
Svetoslav Ganov0b29a582010-04-16 18:52:49 -070079
Hongming Jin81c4c8a2017-01-10 13:31:36 -080080 <service android:name="com.android.server.accounts.TestAccountType1AuthenticatorService"
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_type1_authenticator" />
87 </service>
88
89 <service android:name="com.android.server.accounts.TestAccountType2AuthenticatorService"
90 android:exported="false">
91 <intent-filter>
92 <action android:name="android.accounts.AccountAuthenticator" />
93 </intent-filter>
94 <meta-data android:name="android.accounts.AccountAuthenticator"
95 android:resource="@xml/test_account_type2_authenticator" />
96 </service>
97
Amith Yamasani5b5aa402014-06-01 20:10:14 -070098 <receiver android:name="com.android.server.devicepolicy.ApplicationRestrictionsTest$AdminReceiver"
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
Makoto Onukif76b06a2015-09-22 15:03:44 -0700107 <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin1"
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$Admin2"
117 android:permission="android.permission.BIND_DEVICE_ADMIN">
118 <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
125 <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin3"
126 android:permission="android.permission.BIND_DEVICE_ADMIN">
Makoto Onukicc4bbeb2015-09-17 10:28:24 -0700127 <meta-data android:name="android.app.device_admin"
128 android:resource="@xml/device_admin_sample" />
129 <intent-filter>
130 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
131 </intent-filter>
132 </receiver>
133
Makoto Onuki3ab6f2e2015-11-05 13:55:37 -0800134 <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$AdminNoPerm">
135 <meta-data android:name="android.app.device_admin"
136 android:resource="@xml/device_admin_sample" />
137 <intent-filter>
138 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
139 </intent-filter>
140 </receiver>
141
Shreyas Basarge5db09082016-01-07 13:38:29 +0000142 <service android:name="com.android.server.job.MockPriorityJobService"
143 android:permission="android.permission.BIND_JOB_SERVICE" />
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800144
Makoto Onukiee6b6e42016-06-29 17:34:02 -0700145 <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity" />
146 <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity2" />
147 <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity3" />
148
149 <activity android:name="com.android.server.pm.ShortcutTestActivity"
Hongming Jin81c4c8a2017-01-10 13:31:36 -0800150 android:enabled="true" android:exported="true" />
151
Suprabh Shukla3c3af142018-03-30 00:28:37 -0700152 <activity android:name="com.android.server.pm.SuspendedDetailsActivity"
153 android:enabled="true"
154 android:permission="android.permission.SEND_SHOW_SUSPENDED_APP_DETAILS">
155 <intent-filter>
156 <action android:name="android.intent.action.SHOW_SUSPENDED_APP_DETAILS" />
157 <category android:name="android.intent.category.DEFAULT" />
158 </intent-filter>
159 </activity>
160
Hongming Jin81c4c8a2017-01-10 13:31:36 -0800161 <activity android:name="com.android.server.accounts.AccountAuthenticatorDummyActivity" />
Michael Groover9e7b06e2018-12-28 19:55:51 -0800162 <activity android:name="com.android.server.adb.AdbDebuggingManagerTestActivity" />
Makoto Onukiee6b6e42016-06-29 17:34:02 -0700163
164 <activity-alias android:name="a.ShortcutEnabled"
165 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
166 android:enabled="true" android:exported="true">
167 </activity-alias>
168 <activity-alias android:name="a.ShortcutDisabled"
169 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
170 android:enabled="false" android:exported="true">
171 <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_5"/>
172 </activity-alias>
173 <activity-alias android:name="a.ShortcutUnexported"
174 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
175 android:enabled="true" android:exported="false">
176 <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_5"/>
177 </activity-alias>
178 <activity-alias android:name="a.Shortcut1"
179 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
180 android:enabled="true" android:exported="true">
181 <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_1"/>
182 </activity-alias>
Sunny Goyala6be88a2017-01-12 16:27:58 -0800183 <activity-alias android:name="a.ShortcutConfigActivity"
184 android:targetActivity="com.android.server.pm.ShortcutTestActivity">
185 <intent-filter>
186 <action android:name="android.intent.action.CREATE_SHORTCUT" />
187 </intent-filter>
188 </activity-alias>
Makoto Onukiee6b6e42016-06-29 17:34:02 -0700189
190 <activity-alias android:name="a.DisabledMain"
191 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
192 android:enabled="false" android:exported="true">
193 <intent-filter>
194 <action android:name="android.intent.action.MAIN" />
195 <category android:name="android.intent.category.DEFAULT" />
196 <category android:name="android.intent.category.LAUNCHER" />
197 </intent-filter>
198 </activity-alias>
199
200 <activity-alias android:name="a.UnexportedMain"
201 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
202 android:enabled="true" android:exported="false">
203 <intent-filter>
204 <action android:name="android.intent.action.MAIN" />
205 <category android:name="android.intent.category.DEFAULT" />
206 <category android:name="android.intent.category.LAUNCHER" />
207 </intent-filter>
208 </activity-alias>
209
Sunny Goyal87a563e2017-01-01 19:42:45 -0800210 <receiver android:name="com.android.server.appwidget.DummyAppWidget">
211 <intent-filter>
212 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
213 </intent-filter>
214 <meta-data android:name="android.appwidget.provider"
215 android:resource="@xml/dummy_appwidget_info" />
216 </receiver>
Neal Nguyen1a44d5d2010-01-13 10:42:43 -0800217 </application>
218
219 <instrumentation
Brett Chabota26eda92018-07-23 13:08:30 -0700220 android:name="androidx.test.runner.AndroidJUnitRunner"
Santos Cordonb0608632017-04-05 10:31:15 -0700221 android:targetPackage="com.android.frameworks.servicestests"
222 android:label="Frameworks Services Tests" />
Neal Nguyen1a44d5d2010-01-13 10:42:43 -0800223</manifest>