blob: b5f672374911541bf736cbc5e49178a5e27cfe59 [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" />
21 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
22 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
Jeff Sharkeyb7342ac2011-04-25 23:44:11 -070023 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
24 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
25 <uses-permission android:name="android.permission.BROADCAST_STICKY" />
26 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
Jeff Sharkey9599cc52011-05-22 14:59:31 -070027 <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" />
28 <uses-permission android:name="android.permission.MANAGE_APP_TOKENS" />
Jeff Sharkeya63ba592011-07-19 23:47:12 -070029 <uses-permission android:name="android.permission.WAKE_LOCK" />
Suprabh Shukla09a88f52015-12-02 14:36:31 -080030 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
31 <uses-permission android:name="android.permission.REAL_GET_TASKS" />
32 <uses-permission android:name="android.permission.GET_DETAILED_TASKS" />
Yorke Leebd54c2a2016-10-25 13:49:23 -070033 <uses-permission android:name="android.permission.REORDER_TASKS" />
Jeff Sharkey21c9c452011-06-07 12:26:43 -070034 <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" />
35 <uses-permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY" />
Jeff Sharkeya63ba592011-07-19 23:47:12 -070036 <uses-permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING" />
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" />
Amith Yamasani5b5aa402014-06-01 20:10:14 -070049
Neal Nguyen1a44d5d2010-01-13 10:42:43 -080050 <application>
51 <uses-library android:name="android.test.runner" />
Svetoslav Ganov0b29a582010-04-16 18:52:49 -070052
Svetoslav Ganov53e184d2012-05-16 15:57:10 -070053 <service android:name="com.android.server.AccessibilityManagerServiceTest$MyFirstMockAccessibilityService"
54 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
Svetoslav Ganov0b29a582010-04-16 18:52:49 -070055 <intent-filter>
56 <action android:name="android.accessibilityservice.AccessibilityService"/>
57 </intent-filter>
58 </service>
59
Svetoslav Ganov53e184d2012-05-16 15:57:10 -070060 <service android:name="com.android.server.AccessibilityManagerServiceTest$MySecondMockAccessibilityService"
61 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
Svetoslav Ganov0b29a582010-04-16 18:52:49 -070062 <intent-filter>
63 <action android:name="android.accessibilityservice.AccessibilityService"/>
64 </intent-filter>
65 </service>
66
Amith Yamasani5b5aa402014-06-01 20:10:14 -070067 <receiver android:name="com.android.server.devicepolicy.ApplicationRestrictionsTest$AdminReceiver"
68 android:permission="android.permission.BIND_DEVICE_ADMIN">
69 <meta-data android:name="android.app.device_admin"
70 android:resource="@xml/device_admin_sample" />
71 <intent-filter>
72 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
73 </intent-filter>
74 </receiver>
75
Makoto Onukif76b06a2015-09-22 15:03:44 -070076 <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin1"
77 android:permission="android.permission.BIND_DEVICE_ADMIN">
78 <meta-data android:name="android.app.device_admin"
79 android:resource="@xml/device_admin_sample" />
80 <intent-filter>
81 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
82 </intent-filter>
83 </receiver>
84
85 <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin2"
86 android:permission="android.permission.BIND_DEVICE_ADMIN">
87 <meta-data android:name="android.app.device_admin"
88 android:resource="@xml/device_admin_sample" />
89 <intent-filter>
90 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
91 </intent-filter>
92 </receiver>
93
94 <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin3"
95 android:permission="android.permission.BIND_DEVICE_ADMIN">
Makoto Onukicc4bbeb2015-09-17 10:28:24 -070096 <meta-data android:name="android.app.device_admin"
97 android:resource="@xml/device_admin_sample" />
98 <intent-filter>
99 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
100 </intent-filter>
101 </receiver>
102
Makoto Onuki3ab6f2e2015-11-05 13:55:37 -0800103 <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$AdminNoPerm">
104 <meta-data android:name="android.app.device_admin"
105 android:resource="@xml/device_admin_sample" />
106 <intent-filter>
107 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
108 </intent-filter>
109 </receiver>
110
Shreyas Basarge5db09082016-01-07 13:38:29 +0000111 <service android:name="com.android.server.job.MockPriorityJobService"
112 android:permission="android.permission.BIND_JOB_SERVICE" />
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800113
Makoto Onukiee6b6e42016-06-29 17:34:02 -0700114 <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity" />
115 <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity2" />
116 <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity3" />
117
118 <activity android:name="com.android.server.pm.ShortcutTestActivity"
119 android:enabled="true" android:exported="true" />
120
121 <activity-alias android:name="a.ShortcutEnabled"
122 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
123 android:enabled="true" android:exported="true">
124 </activity-alias>
125 <activity-alias android:name="a.ShortcutDisabled"
126 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
127 android:enabled="false" android:exported="true">
128 <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_5"/>
129 </activity-alias>
130 <activity-alias android:name="a.ShortcutUnexported"
131 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
132 android:enabled="true" android:exported="false">
133 <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_5"/>
134 </activity-alias>
135 <activity-alias android:name="a.Shortcut1"
136 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
137 android:enabled="true" android:exported="true">
138 <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcut_1"/>
139 </activity-alias>
Sunny Goyala6be88a2017-01-12 16:27:58 -0800140 <activity-alias android:name="a.ShortcutConfigActivity"
141 android:targetActivity="com.android.server.pm.ShortcutTestActivity">
142 <intent-filter>
143 <action android:name="android.intent.action.CREATE_SHORTCUT" />
144 </intent-filter>
145 </activity-alias>
Makoto Onukiee6b6e42016-06-29 17:34:02 -0700146
147 <activity-alias android:name="a.DisabledMain"
148 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
149 android:enabled="false" android:exported="true">
150 <intent-filter>
151 <action android:name="android.intent.action.MAIN" />
152 <category android:name="android.intent.category.DEFAULT" />
153 <category android:name="android.intent.category.LAUNCHER" />
154 </intent-filter>
155 </activity-alias>
156
157 <activity-alias android:name="a.UnexportedMain"
158 android:targetActivity="com.android.server.pm.ShortcutTestActivity"
159 android:enabled="true" android:exported="false">
160 <intent-filter>
161 <action android:name="android.intent.action.MAIN" />
162 <category android:name="android.intent.category.DEFAULT" />
163 <category android:name="android.intent.category.LAUNCHER" />
164 </intent-filter>
165 </activity-alias>
166
Jorim Jaggi7b614372016-09-28 15:17:50 +0200167 <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityA" />
168 <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityB" />
Yorke Leebd54c2a2016-10-25 13:49:23 -0700169 <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityRequestedOrientationChange" />
170 <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityTaskChangeCallbacks" />
171 <activity android:name="com.android.server.am.TaskStackChangedListenerTest$ActivityTaskDescriptionChange" />
Jorim Jaggi7b614372016-09-28 15:17:50 +0200172
Sunny Goyal87a563e2017-01-01 19:42:45 -0800173 <receiver android:name="com.android.server.appwidget.DummyAppWidget">
174 <intent-filter>
175 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
176 </intent-filter>
177 <meta-data android:name="android.appwidget.provider"
178 android:resource="@xml/dummy_appwidget_info" />
179 </receiver>
Neal Nguyen1a44d5d2010-01-13 10:42:43 -0800180 </application>
181
182 <instrumentation
Xiaohui Chenf86676a2015-08-19 13:30:07 -0700183 android:name="android.support.test.runner.AndroidJUnitRunner"
Neal Nguyen1a44d5d2010-01-13 10:42:43 -0800184 android:targetPackage="com.android.frameworks.servicestests"
185 android:label="Frameworks Services Tests" />
186</manifest>