1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 * Copyright (C) 2007 The Android Open Source Project 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 --> 17 18 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 19 package="com.android.cts.app.stub"> 20 21 <permission android:name="android.app.cts.permission.TEST_GRANTED" 22 android:protectionLevel="normal" 23 android:label="@string/permlab_testGranted" 24 android:description="@string/permdesc_testGranted"> 25 <meta-data android:name="android.app.cts.string" android:value="foo" /> 26 <meta-data android:name="android.app.cts.boolean" android:value="true" /> 27 <meta-data android:name="android.app.cts.integer" android:value="100" /> 28 <meta-data android:name="android.app.cts.color" android:value="#ff000000" /> 29 <meta-data android:name="android.app.cts.float" android:value="100.1" /> 30 <meta-data android:name="android.app.cts.reference" android:resource="@xml/metadata" /> 31 </permission> 32 33 <uses-permission android:name="android.app.cts.permission.TEST_GRANTED" /> 34 <uses-permission android:name="android.permission.READ_CONTACTS" /> 35 <uses-permission android:name="android.permission.WRITE_CONTACTS" /> 36 <uses-permission android:name="android.permission.INTERNET" /> 37 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 38 <uses-permission android:name="android.permission.CAMERA" /> 39 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 40 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> 41 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" /> 42 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 43 <uses-permission android:name="android.permission.BODY_SENSORS" /> 44 45 <application android:label="Android TestCase" 46 android:icon="@drawable/size_48x48" 47 android:maxRecents="1" 48 android:multiArch="true" 49 android:name="android.app.cts.MockApplication" 50 android:supportsRtl="true"> 51 <uses-library android:name="android.test.runner" /> 52 53 <activity android:name="android.app.cts.ActionBarActivity" /> 54 55 <activity android:name="android.app.cts.DialogStubActivity" 56 android:label="DialogStubActivity" 57 android:configChanges="keyboardHidden|orientation|screenSize"> 58 <intent-filter> 59 <action android:name="android.intent.action.MAIN" /> 60 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" /> 61 </intent-filter> 62 </activity> 63 64 <activity android:name="android.app.cts.MockActivity" android:label="MockActivity"> 65 <meta-data android:name="android.app.alias" 66 android:resource="@xml/alias" /> 67 <meta-data android:name="android.app.intent.filter" 68 android:resource="@xml/intentfilter" /> 69 </activity> 70 71 <activity android:name="android.app.cts.MockApplicationActivity" 72 android:label="MockApplicationActivity"> 73 <intent-filter> 74 <action android:name="android.intent.action.MAIN"/> 75 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" /> 76 </intent-filter> 77 </activity> 78 79 <activity android:name="android.app.cts.InstrumentationTestActivity" 80 android:theme="@style/Theme_NoSwipeDismiss" 81 android:label="InstrumentationTestActivity"> 82 <intent-filter> 83 <action android:name="android.intent.action.MAIN" /> 84 <category android:name="android.intent.category.DEFAULT" /> 85 <data android:mimeType="vnd.android.cursor.dir/person" /> 86 </intent-filter> 87 </activity> 88 89 <activity android:name="android.app.cts.AliasActivityStub"> 90 <meta-data android:name="android.app.alias" 91 android:resource="@xml/alias" /> 92 </activity> 93 94 <activity android:name="android.app.cts.ChildActivity" 95 android:label="ChildActivity" /> 96 97 <receiver android:name="android.app.cts.MockReceiver"> 98 <intent-filter> 99 <action android:name="android.app.cts.PendingIntentTest.TEST_RECEIVER" /> 100 </intent-filter> 101 </receiver> 102 103 <service android:name="android.app.cts.MockService" /> 104 105 <activity android:name="android.app.cts.SearchManagerStubActivity" 106 android:label="SearchManagerStubActivity"> 107 <intent-filter> 108 <action android:name="android.intent.action.SEARCH" /> 109 <category android:name="android.intent.category.DEFAULT" /> 110 </intent-filter> 111 <meta-data android:name="android.app.searchable" android:resource="@xml/searchable" /> 112 </activity> 113 114 <service android:name="android.app.cts.LocalService"> 115 <intent-filter> 116 <action android:name="android.app.cts.activity.SERVICE_LOCAL" /> 117 </intent-filter> 118 <meta-data android:name="android.app.cts.string" android:value="foo" /> 119 <meta-data android:name="android.app.cts.boolean" android:value="true" /> 120 <meta-data android:name="android.app.cts.integer" android:value="100" /> 121 <meta-data android:name="android.app.cts.color" android:value="#ff000000" /> 122 <meta-data android:name="android.app.cts.float" android:value="100.1" /> 123 <meta-data android:name="android.app.cts.reference" android:resource="@xml/metadata" /> 124 </service> 125 126 <service android:name="android.app.cts.LocalGrantedService" 127 android:permission="android.app.cts.permission.TEST_GRANTED"> 128 <intent-filter> 129 <action android:name="android.app.cts.activity.SERVICE_LOCAL_GRANTED" /> 130 </intent-filter> 131 </service> 132 133 <service android:name="android.app.cts.LocalDeniedService" 134 android:permission="android.app.cts.permission.TEST_DENIED"> 135 <intent-filter> 136 <action android:name="android.app.cts.activity.SERVICE_LOCAL_DENIED" /> 137 </intent-filter> 138 </service> 139 140 <activity android:name="android.app.cts.TestedScreen" 141 android:process=":remoteScreen"> 142 </activity> 143 <activity android:name="android.app.cts.LocalScreen" android:multiprocess="true"> 144 </activity> 145 <activity android:name="android.app.cts.ClearTop" android:multiprocess="true" 146 android:launchMode="singleTop"> 147 </activity> 148 <activity android:name="android.app.cts.LocalDialog" android:multiprocess="true" 149 android:theme="@android:style/Theme.Dialog"> 150 </activity> 151 152 <activity android:name="android.app.cts.PendingIntentStubActivity" 153 android:label="PendingIntentStubActivity"/> 154 155 <activity android:name="android.app.cts.LocalActivityManagerStubActivity" 156 android:label="LocalActivityManagerStubActivity" /> 157 158 <activity android:name="android.app.cts.LocalActivityManagerTestHelper" 159 android:label="LocalActivityManagerTestHelper" /> 160 161 <activity android:name="android.app.cts.LaunchpadTabActivity" android:multiprocess="true"> 162 </activity> 163 164 <activity android:name="android.app.cts.LocalActivity" android:multiprocess="true"> 165 <meta-data android:name="android.app.cts.string" android:value="foo" /> 166 <meta-data android:name="android.app.cts.boolean" android:value="true" /> 167 <meta-data android:name="android.app.cts.integer" android:value="100" /> 168 <meta-data android:name="android.app.cts.color" android:value="#ff000000" /> 169 <meta-data android:name="android.app.cts.float" android:value="100.1" /> 170 <meta-data android:name="android.app.cts.reference" android:resource="@xml/metadata" /> 171 </activity> 172 173 <activity android:name="android.app.cts.TestedActivity" 174 android:process=":remoteActivity"> 175 </activity> 176 177 <activity android:name="android.app.cts.ExpandableListTestActivity" 178 android:label="ExpandableListTestActivity"> 179 <intent-filter> 180 <action android:name="android.intent.action.MAIN" /> 181 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" /> 182 </intent-filter> 183 </activity> 184 185 <activity android:name="android.app.cts.ChildTabActivity" android:label="ChildTabActivity" /> 186 187 <activity android:name="android.app.cts.LauncherActivityStub" 188 android:label="LauncherActivityStub" > 189 <intent-filter> 190 <action android:name="android.intent.action.MAIN"/> 191 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" /> 192 </intent-filter> 193 </activity> 194 195 <activity android:name="android.app.cts.MockTabActivity" android:label="MockTabActivity" /> 196 197 <activity android:name="android.app.cts.AppStubActivity" android:label="AppStubActivity"> 198 <intent-filter> 199 <action android:name="android.intent.action.MAIN" /> 200 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" /> 201 </intent-filter> 202 </activity> 203 204 <activity android:name="android.app.cts.DialogStubActivity" 205 android:theme="@style/Theme_NoSwipeDismiss" 206 android:label="DialogStubActivity"> 207 <intent-filter> 208 <action android:name="android.intent.action.MAIN" /> 209 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" /> 210 </intent-filter> 211 </activity> 212 213 <activity android:name="android.app.cts.ActivityManagerStubFooActivity" 214 android:label="ActivityManagerStubFooActivity"> 215 <intent-filter> 216 <action android:name="android.intent.action.MAIN" /> 217 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" /> 218 </intent-filter> 219 </activity> 220 221 <activity android:name="android.app.cts.ActivityManagerRecentOneActivity" 222 android:label="ActivityManagerRecentOneActivity" 223 android:allowTaskReparenting="true" 224 android:taskAffinity="android.app.cts.recentOne"> 225 <intent-filter> 226 <action android:name="android.intent.action.MAIN" /> 227 </intent-filter> 228 </activity> 229 230 <activity android:name="android.app.cts.ActivityManagerRecentTwoActivity" 231 android:label="ActivityManagerRecentTwoActivity" 232 android:allowTaskReparenting="true" 233 android:taskAffinity="android.app.cts.recentTwo"> 234 <intent-filter> 235 <action android:name="android.intent.action.MAIN" /> 236 </intent-filter> 237 </activity> 238 239 <activity android:name="android.app.cts.ActivityManagerStubCrashActivity" 240 android:label="ActivityManagerStubCrashActivity" 241 android:multiprocess="true" 242 android:process=":ActivityManagerStubCrashActivity"> 243 <intent-filter> 244 <action android:name="android.intent.action.MAIN" /> 245 </intent-filter> 246 </activity> 247 248 <service android:name="android.app.cts.StubRemoteService" 249 android:process=":remote"> 250 <intent-filter> 251 <action 252 android:name="android.app.cts.ISecondary" /> 253 <action 254 android:name="android.app.REMOTESERVICE" /> 255 </intent-filter> 256 </service> 257 258 <activity android:name="android.app.ActivityGroup" 259 android:label="ActivityGroup" /> 260 261 <activity android:name="android.app.cts.KeyguardManagerActivity" 262 android:label="KeyguardManagerActivity"> 263 <intent-filter> 264 <action android:name="android.intent.action.MAIN" /> 265 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" /> 266 </intent-filter> 267 </activity> 268 269 <service android:name="android.app.cts.IntentServiceStub"/> 270 271 <activity android:name="android.app.cts.LaunchpadActivity" 272 android:configChanges="keyboardHidden|orientation|screenSize" 273 android:multiprocess="true"> 274 </activity> 275 276 <activity android:name="android.app.cts.ActivityManagerMemoryClassLaunchActivity" /> 277 278 <activity android:name="android.app.cts.ActivityManagerMemoryClassTestActivity" 279 android:process=":memoryclass" /> 280 281 </application> 282 283 </manifest> 284 285