The Android Open Source Project | f013e1a | 2008-12-17 18:05: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 |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 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" |
| 18 | package="com.android.unit_tests" |
| 19 | android:sharedUserId="com.android.uid.test"> |
| 20 | <permission android:name="com.android.unit_tests.permission.TEST_GRANTED" |
| 21 | android:protectionLevel="normal" |
| 22 | android:label="@string/permlab_testGranted" |
| 23 | android:description="@string/permdesc_testGranted"> |
| 24 | <meta-data android:name="com.android.unit_tests.string" android:value="foo" /> |
| 25 | <meta-data android:name="com.android.unit_tests.boolean" android:value="true" /> |
| 26 | <meta-data android:name="com.android.unit_tests.integer" android:value="100" /> |
| 27 | <meta-data android:name="com.android.unit_tests.color" android:value="#ff000000" /> |
| 28 | <meta-data android:name="com.android.unit_tests.float" android:value="100.1" /> |
| 29 | <meta-data android:name="com.android.unit_tests.reference" android:resource="@xml/metadata" /> |
| 30 | </permission> |
| 31 | <permission android:name="com.android.unit_tests.permission.TEST_DENIED" |
| 32 | android:protectionLevel="normal" |
| 33 | android:label="@string/permlab_testDenied" |
| 34 | android:description="@string/permdesc_testDenied" /> |
| 35 | |
| 36 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| 37 | <uses-permission android:name="android.permission.BROADCAST_STICKY" /> |
| 38 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 39 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
| 40 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 41 | <uses-permission android:name="android.permission.READ_SMS"/> |
| 42 | <uses-permission android:name="android.permission.WRITE_SMS"/> |
| 43 | <uses-permission android:name="android.permission.DELETE_CACHE_FILES" /> |
| 44 | <uses-permission android:name="android.permission.CLEAR_APP_CACHE" /> |
| 45 | <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" /> |
| 46 | <uses-permission android:name="android.permission.GET_PACKAGE_SIZE" /> |
| 47 | <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> |
| 48 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| 49 | <uses-permission android:name="android.permission.INTERNET" /> |
| 50 | <uses-permission android:name="android.permission.WRITE_GSERVICES" /> |
| 51 | |
| 52 | <uses-permission android:name="com.android.unit_tests.permission.TEST_GRANTED" /> |
| 53 | |
| 54 | <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" /> |
| 55 | <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES" /> |
| 56 | <uses-permission android:name="com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD" /> |
| 57 | <!-- InstrumentationTestRunner for AndroidTests --> |
| 58 | <instrumentation android:name="android.test.InstrumentationTestRunner" |
| 59 | android:targetPackage="com.android.unit_tests" |
| 60 | android:label="Tests for AndroidTests (unit tests collection)"/> |
| 61 | |
| 62 | <application> |
| 63 | <uses-library android:name="android.test.runner" /> |
| 64 | |
| 65 | <!-- Activity-level metadata --> |
| 66 | <meta-data android:name="com.android.unit_tests.isApp" android:value="true" /> |
| 67 | <meta-data android:name="com.android.unit_tests.string" android:value="foo" /> |
| 68 | <meta-data android:name="com.android.unit_tests.boolean" android:value="true" /> |
| 69 | <meta-data android:name="com.android.unit_tests.integer" android:value="100" /> |
| 70 | <meta-data android:name="com.android.unit_tests.color" android:value="#ff000000" /> |
| 71 | <meta-data android:name="com.android.unit_tests.float" android:value="100.1" /> |
| 72 | <meta-data android:name="com.android.unit_tests.reference" |
| 73 | android:resource="@xml/metadata_app" /> |
| 74 | |
| 75 | <activity android:name="AndroidPerformanceTests" android:label="Android Performance Tests"> |
| 76 | <intent-filter> |
| 77 | <action android:name="android.intent.action.MAIN" /> |
| 78 | <category android:name="android.intent.category.UNIT_TEST" /> |
| 79 | </intent-filter> |
| 80 | </activity> |
| 81 | |
| 82 | <!-- Application components used for activity tests --> |
| 83 | |
| 84 | <activity android:name=".activity.TestedActivity" |
| 85 | android:process=":remoteActivity"> |
| 86 | </activity> |
| 87 | <activity android:name=".activity.LocalActivity" android:multiprocess="true"> |
| 88 | <meta-data android:name="com.android.unit_tests.string" android:value="foo" /> |
| 89 | <meta-data android:name="com.android.unit_tests.boolean" android:value="true" /> |
| 90 | <meta-data android:name="com.android.unit_tests.integer" android:value="100" /> |
| 91 | <meta-data android:name="com.android.unit_tests.color" android:value="#ff000000" /> |
| 92 | <meta-data android:name="com.android.unit_tests.float" android:value="100.1" /> |
| 93 | <meta-data android:name="com.android.unit_tests.reference" android:resource="@xml/metadata" /> |
| 94 | </activity> |
| 95 | <activity android:name=".activity.TestedScreen" |
| 96 | android:process=":remoteScreen"> |
| 97 | </activity> |
| 98 | <activity android:name=".activity.LocalScreen" android:multiprocess="true"> |
| 99 | </activity> |
| 100 | <activity android:name=".activity.ClearTop" android:multiprocess="true" |
| 101 | android:launchMode="singleTop"> |
| 102 | </activity> |
| 103 | <activity android:name=".activity.LocalDialog" android:multiprocess="true" |
| 104 | android:theme="@android:style/Theme.Dialog"> |
| 105 | </activity> |
| 106 | <activity android:name=".activity.SubActivityScreen"> |
| 107 | </activity> |
| 108 | <activity android:name=".activity.RemoteSubActivityScreen" |
| 109 | android:process=":remoteActivity"> |
| 110 | </activity> |
| 111 | <activity android:name=".activity.LaunchpadActivity" android:multiprocess="true"> |
| 112 | </activity> |
| 113 | <activity android:name=".activity.LaunchpadTabActivity" android:multiprocess="true"> |
| 114 | </activity> |
| 115 | |
| 116 | <receiver android:name=".activity.AbortReceiver"> |
| 117 | <intent-filter android:priority="1"> |
| 118 | <action android:name="com.android.unit_tests.activity.BROADCAST_ABORT" /> |
| 119 | </intent-filter> |
| 120 | </receiver> |
| 121 | <receiver android:name=".activity.LocalReceiver"> |
| 122 | <intent-filter android:priority="-1"> |
| 123 | <action android:name="com.android.unit_tests.activity.BROADCAST_ABORT" /> |
| 124 | <action android:name="com.android.unit_tests.activity.BROADCAST_ALL" /> |
| 125 | <action android:name="com.android.unit_tests.activity.BROADCAST_REPEAT" /> |
| 126 | <action android:name="com.android.unit_tests.activity.BROADCAST_LOCAL" /> |
| 127 | <action android:name="com.android.unit_tests.activity.BROADCAST_FAIL_REGISTER" /> |
| 128 | <action android:name="com.android.unit_tests.activity.BROADCAST_FAIL_BIND" /> |
| 129 | </intent-filter> |
| 130 | <meta-data android:name="com.android.unit_tests.string" android:value="foo" /> |
| 131 | <meta-data android:name="com.android.unit_tests.boolean" android:value="true" /> |
| 132 | <meta-data android:name="com.android.unit_tests.integer" android:value="100" /> |
| 133 | <meta-data android:name="com.android.unit_tests.color" android:value="#ff000000" /> |
| 134 | <meta-data android:name="com.android.unit_tests.float" android:value="100.1" /> |
| 135 | <meta-data android:name="com.android.unit_tests.reference" android:resource="@xml/metadata" /> |
| 136 | </receiver> |
| 137 | <receiver android:name=".activity.ResultReceiver"> |
| 138 | <intent-filter> |
| 139 | <action android:name="com.android.unit_tests.activity.BROADCAST_RESULT" /> |
| 140 | </intent-filter> |
| 141 | </receiver> |
| 142 | <receiver android:name=".activity.LocalGrantedReceiver" |
| 143 | android:permission="com.android.unit_tests.permission.TEST_GRANTED"> |
| 144 | <intent-filter android:priority="-1"> |
| 145 | <action android:name="com.android.unit_tests.activity.BROADCAST_LOCAL_GRANTED" /> |
| 146 | </intent-filter> |
| 147 | </receiver> |
| 148 | <receiver android:name=".activity.LocalDeniedReceiver" |
| 149 | android:permission="com.android.unit_tests.permission.TEST_DENIED"> |
| 150 | <intent-filter android:priority="-1"> |
| 151 | <action android:name="com.android.unit_tests.activity.BROADCAST_LOCAL_DENIED" /> |
| 152 | </intent-filter> |
| 153 | </receiver> |
| 154 | <receiver android:name=".activity.RemoteReceiver" |
| 155 | android:process=":remoteReceiver"> |
| 156 | <intent-filter android:priority="2"> |
| 157 | <action android:name="com.android.unit_tests.activity.BROADCAST_ABORT" /> |
| 158 | <action android:name="com.android.unit_tests.activity.BROADCAST_ALL" /> |
| 159 | <action android:name="com.android.unit_tests.activity.BROADCAST_REPEAT" /> |
| 160 | <action android:name="com.android.unit_tests.activity.BROADCAST_REMOTE" /> |
| 161 | </intent-filter> |
| 162 | </receiver> |
| 163 | <receiver android:name=".activity.RemoteGrantedReceiver" |
| 164 | android:permission="com.android.unit_tests.permission.TEST_GRANTED"> |
| 165 | <intent-filter android:priority="2"> |
| 166 | <action android:name="com.android.unit_tests.activity.BROADCAST_REMOTE_GRANTED" /> |
| 167 | </intent-filter> |
| 168 | </receiver> |
| 169 | <receiver android:name=".activity.RemoteDeniedReceiver" |
| 170 | android:permission="com.android.unit_tests.permission.TEST_DENIED"> |
| 171 | <intent-filter android:priority="2"> |
| 172 | <action android:name="com.android.unit_tests.activity.BROADCAST_REMOTE_DENIED" /> |
| 173 | </intent-filter> |
| 174 | </receiver> |
| 175 | <service android:name=".activity.LocalService"> |
| 176 | <intent-filter> |
| 177 | <action android:name="com.android.unit_tests.activity.SERVICE_LOCAL" /> |
| 178 | </intent-filter> |
| 179 | <meta-data android:name="com.android.unit_tests.string" android:value="foo" /> |
| 180 | <meta-data android:name="com.android.unit_tests.boolean" android:value="true" /> |
| 181 | <meta-data android:name="com.android.unit_tests.integer" android:value="100" /> |
| 182 | <meta-data android:name="com.android.unit_tests.color" android:value="#ff000000" /> |
| 183 | <meta-data android:name="com.android.unit_tests.float" android:value="100.1" /> |
| 184 | <meta-data android:name="com.android.unit_tests.reference" android:resource="@xml/metadata" /> |
| 185 | </service> |
| 186 | <service android:name=".activity.LocalDeniedService" |
| 187 | android:permission="com.android.unit_tests.permission.TEST_DENIED"> |
| 188 | <intent-filter> |
| 189 | <action android:name="com.android.unit_tests.activity.SERVICE_LOCAL_DENIED" /> |
| 190 | </intent-filter> |
| 191 | </service> |
| 192 | <service android:name=".activity.LocalGrantedService" |
| 193 | android:permission="com.android.unit_tests.permission.TEST_GRANTED"> |
| 194 | <intent-filter> |
| 195 | <action android:name="com.android.unit_tests.activity.SERVICE_LOCAL_GRANTED" /> |
| 196 | </intent-filter> |
| 197 | </service> |
| 198 | |
| 199 | <provider android:name=".activity.LocalProvider" |
| 200 | android:authorities="com.android.unit_tests.LocalProvider"> |
| 201 | <meta-data android:name="com.android.unit_tests.string" android:value="foo" /> |
| 202 | <meta-data android:name="com.android.unit_tests.boolean" android:value="true" /> |
| 203 | <meta-data android:name="com.android.unit_tests.integer" android:value="100" /> |
| 204 | <meta-data android:name="com.android.unit_tests.color" android:value="#ff000000" /> |
| 205 | <meta-data android:name="com.android.unit_tests.float" android:value="100.1" /> |
| 206 | <meta-data android:name="com.android.unit_tests.reference" android:resource="@xml/metadata" /> |
| 207 | </provider> |
| 208 | |
| 209 | <!-- Application components used for os tests --> |
| 210 | |
| 211 | <service android:name=".os.MessengerService" |
| 212 | android:process=":messengerService"> |
| 213 | </service> |
| 214 | |
| 215 | <!-- Application components used for search manager tests --> |
| 216 | <!-- TODO: Removed temporarily - need to be replaced using mocks --> |
| 217 | |
| 218 | <!-- Used to test IPC. --> |
| 219 | <service android:name=".binder.BinderTestService" |
| 220 | android:process="binder.BinderTestService" /> |
| 221 | <service android:name=".binder.BinderPerformanceService" |
| 222 | android:process="binder.BinderPerformanceService" /> |
| 223 | <service android:name=".binder.BinderVsMessagingService" |
| 224 | android:process="binder.BinderVsMessagingService" /> |
| 225 | </application> |
| 226 | </manifest> |