Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 1 | <?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 Lee | bd54c2a | 2016-10-25 13:49:23 -0700 | [diff] [blame] | 7 | |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Yorke Lee | bd54c2a | 2016-10-25 13:49:23 -0700 | [diff] [blame] | 9 | |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 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 xmlns:android="http://schemas.android.com/apk/res/android" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 18 | package="com.android.frameworks.servicestests"> |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 19 | |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 20 | <uses-permission android:name="android.permission.READ_LOGS"/> |
| 21 | <uses-permission android:name="android.permission.ACCESS_VR_MANAGER"/> |
| 22 | <uses-permission android:name="android.permission.ACCOUNT_MANAGER"/> |
| 23 | <uses-permission android:name="android.permission.WRITE_SETTINGS"/> |
| 24 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> |
| 25 | <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.UPDATE_DEVICE_STATS"/> |
| 29 | <uses-permission android:name="android.permission.MANAGE_APP_TOKENS"/> |
| 30 | <uses-permission android:name="android.permission.WAKE_LOCK"/> |
| 31 | <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"/> |
| 34 | <uses-permission android:name="android.permission.REORDER_TASKS"/> |
| 35 | <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY"/> |
| 36 | <uses-permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY"/> |
| 37 | <uses-permission android:name="android.permission.OBSERVE_NETWORK_POLICY"/> |
| 38 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> |
| 39 | <uses-permission android:name="android.permission.MANAGE_USERS"/> |
| 40 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/> |
| 41 | <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS"/> |
| 42 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE"/> |
| 43 | <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"/> |
| 44 | <uses-permission android:name="android.permission.INTERNET"/> |
| 45 | <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/> |
| 46 | <uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD"/> |
| 47 | <uses-permission android:name="android.permission.GET_INTENT_SENDER_INTENT"/> |
Louis Chang | 5510ecd | 2020-10-14 13:06:13 +0800 | [diff] [blame] | 48 | <uses-permission android:name="android.permission.MANAGE_ACTIVITY_TASKS"/> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 49 | <uses-permission android:name="android.permission.INSTALL_PACKAGES"/> |
| 50 | <uses-permission android:name="android.permission.CHANGE_CONFIGURATION"/> |
| 51 | <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/> |
| 52 | <uses-permission android:name="android.permission.DELETE_PACKAGES"/> |
| 53 | <uses-permission android:name="android.permission.GET_APP_OPS_STATS"/> |
| 54 | <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS"/> |
Suprabh Shukla | 9e41b7f | 2018-05-16 17:54:45 -0700 | [diff] [blame] | 55 | <uses-permission android:name="android.permission.MANAGE_APP_OPS_MODES"/> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 56 | <uses-permission android:name="android.permission.DEVICE_POWER"/> |
| 57 | <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"/> |
| 58 | <uses-permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/> |
| 59 | <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> |
| 60 | <uses-permission android:name="android.permission.STATUS_BAR_SERVICE"/> |
| 61 | <uses-permission android:name="android.permission.ACCESS_SURFACE_FLINGER"/> |
| 62 | <uses-permission android:name="android.permission.READ_FRAME_BUFFER"/> |
| 63 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> |
| 64 | <uses-permission android:name="android.permission.STORAGE_INTERNAL"/> |
| 65 | <uses-permission android:name="android.permission.WATCH_APPOPS"/> |
Dianne Hackborn | dd027b3 | 2018-01-19 17:44:46 -0800 | [diff] [blame] | 66 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> |
Suprabh Shukla | 021b57a | 2018-03-08 18:21:50 -0800 | [diff] [blame] | 67 | <uses-permission android:name="android.permission.SUSPEND_APPS"/> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 68 | <uses-permission android:name="android.permission.LOG_COMPAT_CHANGE"/> |
| 69 | <uses-permission android:name="android.permission.READ_COMPAT_CHANGE_CONFIG"/> |
Suprabh Shukla | 3c3af14 | 2018-03-30 00:28:37 -0700 | [diff] [blame] | 70 | <uses-permission android:name="android.permission.CONTROL_KEYGUARD"/> |
Michael Groover | c76ea60 | 2018-08-09 16:12:42 -0700 | [diff] [blame] | 71 | <uses-permission android:name="android.permission.MANAGE_BIND_INSTANT_SERVICE"/> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 72 | <uses-permission android:name="android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS"/> |
Fiona Campbell | 9320191 | 2021-02-15 12:22:17 +0000 | [diff] [blame] | 73 | <uses-permission android:name="android.permission.CONTROL_DISPLAY_BRIGHTNESS"/> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 74 | <uses-permission android:name="android.permission.READ_DEVICE_CONFIG"/> |
| 75 | <uses-permission android:name="android.permission.WRITE_DEVICE_CONFIG"/> |
Christine Franks | dacbb2d3 | 2019-04-05 18:33:55 -0700 | [diff] [blame] | 76 | <uses-permission android:name="android.permission.HARDWARE_TEST"/> |
Jean-Michel Trivi | dc552e9 | 2019-06-24 10:39:19 -0700 | [diff] [blame] | 77 | <uses-permission android:name="android.permission.BLUETOOTH"/> |
Jeff Sharkey | 7b14b87 | 2021-03-22 15:34:02 -0600 | [diff] [blame] | 78 | <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/> |
Jeff Sharkey | 6dcac06 | 2021-04-07 19:43:57 -0600 | [diff] [blame] | 79 | <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE"/> |
Jeff Sharkey | 7b14b87 | 2021-03-22 15:34:02 -0600 | [diff] [blame] | 80 | <uses-permission android:name="android.permission.BLUETOOTH_CONNECT"/> |
| 81 | <uses-permission android:name="android.permission.BLUETOOTH_SCAN"/> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 82 | <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/> |
| 83 | <uses-permission android:name="android.permission.DUMP"/> |
Yogisha Dixit | 9c20afa | 2020-01-15 15:55:51 +0000 | [diff] [blame] | 84 | <uses-permission android:name="android.permission.READ_DREAM_STATE"/> |
Yogisha Dixit | 784b62a | 2020-09-25 13:15:00 +0100 | [diff] [blame] | 85 | <uses-permission android:name="android.permission.READ_DREAM_SUPPRESSION"/> |
Yogisha Dixit | 9c20afa | 2020-01-15 15:55:51 +0000 | [diff] [blame] | 86 | <uses-permission android:name="android.permission.WRITE_DREAM_STATE"/> |
Jean-Michel Trivi | c6452e6 | 2020-04-09 08:19:26 -0700 | [diff] [blame] | 87 | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/> |
Beverly | 2b4306a | 2020-04-27 16:15:15 -0400 | [diff] [blame] | 88 | <uses-permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE"/> |
Amy Zhang | ccdbc4d | 2020-06-08 21:29:59 -0700 | [diff] [blame] | 89 | <uses-permission android:name="android.permission.MEDIA_RESOURCE_OVERRIDE_PID"/> |
Lais Andrade | 41e6054 | 2020-06-25 10:51:52 +0000 | [diff] [blame] | 90 | <uses-permission android:name="android.permission.VIBRATE"/> |
| 91 | <uses-permission android:name="android.permission.ACCESS_VIBRATOR_STATE"/> |
| 92 | <uses-permission android:name="android.permission.VIBRATE_ALWAYS_ON"/> |
Darryl L Johnson | 8ca4e81 | 2020-10-30 14:49:34 -0700 | [diff] [blame] | 93 | <uses-permission android:name="android.permission.CONTROL_DEVICE_STATE"/> |
Kurt Dresner | 3d21c80 | 2020-09-29 15:32:11 -0700 | [diff] [blame] | 94 | <uses-permission android:name="android.permission.READ_PROJECTION_STATE"/> |
Jing Ji | f45997c | 2021-03-26 00:50:09 -0700 | [diff] [blame] | 95 | <uses-permission android:name="android.permission.KILL_UID"/> |
Adam Bodnar | fcfeedc | 2021-03-25 13:39:25 -0700 | [diff] [blame] | 96 | <uses-permission |
| 97 | android:name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD"/> |
Amith Yamasani | 5b5aa40 | 2014-06-01 20:10:14 -0700 | [diff] [blame] | 98 | |
sunjian | d62dc39 | 2017-06-01 12:05:59 -0700 | [diff] [blame] | 99 | <!-- Uses API introduced in O (26) --> |
| 100 | <uses-sdk android:minSdkVersion="1" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 101 | android:targetSdkVersion="26"/> |
sunjian | d62dc39 | 2017-06-01 12:05:59 -0700 | [diff] [blame] | 102 | |
Suprabh Shukla | 77e2245 | 2018-05-22 18:02:37 -0700 | [diff] [blame] | 103 | <application android:testOnly="true"> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 104 | <uses-library android:name="android.test.runner"/> |
Svetoslav Ganov | 0b29a58 | 2010-04-16 18:52:49 -0700 | [diff] [blame] | 105 | |
Hongming Jin | 81c4c8a | 2017-01-10 13:31:36 -0800 | [diff] [blame] | 106 | <service android:name="com.android.server.accounts.TestAccountType1AuthenticatorService" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 107 | android:exported="false"> |
Hongming Jin | 81c4c8a | 2017-01-10 13:31:36 -0800 | [diff] [blame] | 108 | <intent-filter> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 109 | <action android:name="android.accounts.AccountAuthenticator"/> |
Hongming Jin | 81c4c8a | 2017-01-10 13:31:36 -0800 | [diff] [blame] | 110 | </intent-filter> |
| 111 | <meta-data android:name="android.accounts.AccountAuthenticator" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 112 | android:resource="@xml/test_account_type1_authenticator"/> |
Hongming Jin | 81c4c8a | 2017-01-10 13:31:36 -0800 | [diff] [blame] | 113 | </service> |
| 114 | |
| 115 | <service android:name="com.android.server.accounts.TestAccountType2AuthenticatorService" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 116 | android:exported="false"> |
Hongming Jin | 81c4c8a | 2017-01-10 13:31:36 -0800 | [diff] [blame] | 117 | <intent-filter> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 118 | <action android:name="android.accounts.AccountAuthenticator"/> |
Hongming Jin | 81c4c8a | 2017-01-10 13:31:36 -0800 | [diff] [blame] | 119 | </intent-filter> |
| 120 | <meta-data android:name="android.accounts.AccountAuthenticator" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 121 | android:resource="@xml/test_account_type2_authenticator"/> |
Hongming Jin | 81c4c8a | 2017-01-10 13:31:36 -0800 | [diff] [blame] | 122 | </service> |
| 123 | |
Amith Yamasani | 5b5aa40 | 2014-06-01 20:10:14 -0700 | [diff] [blame] | 124 | <receiver android:name="com.android.server.devicepolicy.ApplicationRestrictionsTest$AdminReceiver" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 125 | android:permission="android.permission.BIND_DEVICE_ADMIN" |
| 126 | android:exported="true"> |
Amith Yamasani | 5b5aa40 | 2014-06-01 20:10:14 -0700 | [diff] [blame] | 127 | <meta-data android:name="android.app.device_admin" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 128 | android:resource="@xml/device_admin_sample"/> |
Amith Yamasani | 5b5aa40 | 2014-06-01 20:10:14 -0700 | [diff] [blame] | 129 | <intent-filter> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 130 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED"/> |
Amith Yamasani | 5b5aa40 | 2014-06-01 20:10:14 -0700 | [diff] [blame] | 131 | </intent-filter> |
| 132 | </receiver> |
| 133 | |
Makoto Onuki | f76b06a | 2015-09-22 15:03:44 -0700 | [diff] [blame] | 134 | <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin1" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 135 | android:permission="android.permission.BIND_DEVICE_ADMIN" |
| 136 | android:exported="true"> |
Makoto Onuki | f76b06a | 2015-09-22 15:03:44 -0700 | [diff] [blame] | 137 | <meta-data android:name="android.app.device_admin" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 138 | android:resource="@xml/device_admin_sample"/> |
Makoto Onuki | f76b06a | 2015-09-22 15:03:44 -0700 | [diff] [blame] | 139 | <intent-filter> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 140 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED"/> |
Makoto Onuki | f76b06a | 2015-09-22 15:03:44 -0700 | [diff] [blame] | 141 | </intent-filter> |
| 142 | </receiver> |
| 143 | |
| 144 | <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin2" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 145 | android:permission="android.permission.BIND_DEVICE_ADMIN" |
| 146 | android:exported="true"> |
Makoto Onuki | f76b06a | 2015-09-22 15:03:44 -0700 | [diff] [blame] | 147 | <meta-data android:name="android.app.device_admin" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 148 | android:resource="@xml/device_admin_sample"/> |
Makoto Onuki | f76b06a | 2015-09-22 15:03:44 -0700 | [diff] [blame] | 149 | <intent-filter> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 150 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED"/> |
Makoto Onuki | f76b06a | 2015-09-22 15:03:44 -0700 | [diff] [blame] | 151 | </intent-filter> |
| 152 | </receiver> |
| 153 | |
| 154 | <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$Admin3" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 155 | android:permission="android.permission.BIND_DEVICE_ADMIN" |
| 156 | android:exported="true"> |
Makoto Onuki | cc4bbeb | 2015-09-17 10:28:24 -0700 | [diff] [blame] | 157 | <meta-data android:name="android.app.device_admin" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 158 | android:resource="@xml/device_admin_sample"/> |
Makoto Onuki | cc4bbeb | 2015-09-17 10:28:24 -0700 | [diff] [blame] | 159 | <intent-filter> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 160 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED"/> |
Makoto Onuki | cc4bbeb | 2015-09-17 10:28:24 -0700 | [diff] [blame] | 161 | </intent-filter> |
| 162 | </receiver> |
| 163 | |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 164 | <receiver android:name="com.android.server.devicepolicy.DummyDeviceAdmins$AdminNoPerm" |
| 165 | android:exported="true"> |
Makoto Onuki | 3ab6f2e | 2015-11-05 13:55:37 -0800 | [diff] [blame] | 166 | <meta-data android:name="android.app.device_admin" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 167 | android:resource="@xml/device_admin_sample"/> |
Makoto Onuki | 3ab6f2e | 2015-11-05 13:55:37 -0800 | [diff] [blame] | 168 | <intent-filter> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 169 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED"/> |
Makoto Onuki | 3ab6f2e | 2015-11-05 13:55:37 -0800 | [diff] [blame] | 170 | </intent-filter> |
| 171 | </receiver> |
| 172 | |
Shreyas Basarge | 5db0908 | 2016-01-07 13:38:29 +0000 | [diff] [blame] | 173 | <service android:name="com.android.server.job.MockPriorityJobService" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 174 | android:permission="android.permission.BIND_JOB_SERVICE"/> |
Makoto Onuki | 6f7362d9 | 2016-03-04 13:39:41 -0800 | [diff] [blame] | 175 | |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 176 | <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity"/> |
| 177 | <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity2"/> |
| 178 | <activity android:name="com.android.server.pm.BaseShortcutManagerTest$ShortcutActivity3"/> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 179 | |
| 180 | <activity android:name="com.android.server.pm.ShortcutTestActivity" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 181 | android:enabled="true" |
| 182 | android:exported="true"/> |
Hongming Jin | 81c4c8a | 2017-01-10 13:31:36 -0800 | [diff] [blame] | 183 | |
Suprabh Shukla | 3c3af14 | 2018-03-30 00:28:37 -0700 | [diff] [blame] | 184 | <activity android:name="com.android.server.pm.SuspendedDetailsActivity" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 185 | android:enabled="true" |
| 186 | android:permission="android.permission.SEND_SHOW_SUSPENDED_APP_DETAILS" |
| 187 | android:exported="true"> |
Suprabh Shukla | 3c3af14 | 2018-03-30 00:28:37 -0700 | [diff] [blame] | 188 | <intent-filter> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 189 | <action android:name="android.intent.action.SHOW_SUSPENDED_APP_DETAILS"/> |
| 190 | <category android:name="android.intent.category.DEFAULT"/> |
Suprabh Shukla | 3c3af14 | 2018-03-30 00:28:37 -0700 | [diff] [blame] | 191 | </intent-filter> |
| 192 | </activity> |
| 193 | |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 194 | <activity android:name="com.android.server.accounts.AccountAuthenticatorDummyActivity"/> |
| 195 | <activity android:name="com.android.server.adb.AdbDebuggingManagerTestActivity"/> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 196 | |
| 197 | <activity-alias android:name="a.ShortcutEnabled" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 198 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 199 | android:enabled="true" |
| 200 | android:exported="true"> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 201 | </activity-alias> |
| 202 | <activity-alias android:name="a.ShortcutDisabled" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 203 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 204 | android:enabled="false" |
| 205 | android:exported="true"> |
| 206 | <meta-data android:name="android.app.shortcuts" |
| 207 | android:resource="@xml/shortcut_5"/> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 208 | </activity-alias> |
| 209 | <activity-alias android:name="a.ShortcutUnexported" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 210 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 211 | android:enabled="true" |
| 212 | android:exported="false"> |
| 213 | <meta-data android:name="android.app.shortcuts" |
| 214 | android:resource="@xml/shortcut_5"/> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 215 | </activity-alias> |
| 216 | <activity-alias android:name="a.Shortcut1" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 217 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 218 | android:enabled="true" |
| 219 | android:exported="true"> |
| 220 | <meta-data android:name="android.app.shortcuts" |
| 221 | android:resource="@xml/shortcut_1"/> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 222 | </activity-alias> |
Sunny Goyal | a6be88a | 2017-01-12 16:27:58 -0800 | [diff] [blame] | 223 | <activity-alias android:name="a.ShortcutConfigActivity" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 224 | android:targetActivity="com.android.server.pm.ShortcutTestActivity"> |
Sunny Goyal | a6be88a | 2017-01-12 16:27:58 -0800 | [diff] [blame] | 225 | <intent-filter> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 226 | <action android:name="android.intent.action.CREATE_SHORTCUT"/> |
Sunny Goyal | a6be88a | 2017-01-12 16:27:58 -0800 | [diff] [blame] | 227 | </intent-filter> |
| 228 | </activity-alias> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 229 | |
| 230 | <activity-alias android:name="a.DisabledMain" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 231 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 232 | android:enabled="false" |
| 233 | android:exported="true"> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 234 | <intent-filter> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 235 | <action android:name="android.intent.action.MAIN"/> |
| 236 | <category android:name="android.intent.category.DEFAULT"/> |
| 237 | <category android:name="android.intent.category.LAUNCHER"/> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 238 | </intent-filter> |
| 239 | </activity-alias> |
| 240 | |
| 241 | <activity-alias android:name="a.UnexportedMain" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 242 | android:targetActivity="com.android.server.pm.ShortcutTestActivity" |
| 243 | android:enabled="true" |
| 244 | android:exported="false"> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 245 | <intent-filter> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 246 | <action android:name="android.intent.action.MAIN"/> |
| 247 | <category android:name="android.intent.category.DEFAULT"/> |
| 248 | <category android:name="android.intent.category.LAUNCHER"/> |
Makoto Onuki | ee6b6e4 | 2016-06-29 17:34:02 -0700 | [diff] [blame] | 249 | </intent-filter> |
| 250 | </activity-alias> |
| 251 | |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 252 | <receiver android:name="com.android.server.appwidget.DummyAppWidget" |
| 253 | android:exported="true"> |
Sunny Goyal | 87a563e | 2017-01-01 19:42:45 -0800 | [diff] [blame] | 254 | <intent-filter> |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 255 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> |
Sunny Goyal | 87a563e | 2017-01-01 19:42:45 -0800 | [diff] [blame] | 256 | </intent-filter> |
| 257 | <meta-data android:name="android.appwidget.provider" |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 258 | android:resource="@xml/dummy_appwidget_info"/> |
Sunny Goyal | 87a563e | 2017-01-01 19:42:45 -0800 | [diff] [blame] | 259 | </receiver> |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 260 | </application> |
| 261 | |
Ashwini Oruganti | e178c24 | 2020-03-18 15:46:39 -0700 | [diff] [blame] | 262 | <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" |
| 263 | android:targetPackage="com.android.frameworks.servicestests" |
| 264 | android:label="Frameworks Services Tests"/> |
Neal Nguyen | 1a44d5d | 2010-01-13 10:42:43 -0800 | [diff] [blame] | 265 | </manifest> |