1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2018 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 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 17 package="android.appsecurity.cts.orderedactivity" 18 android:versionCode="10" 19 android:versionName="1.0"> 20 <application android:label="@string/app_name"> 21 <!-- Activities used for queries --> 22 <activity android:name=".OrderActivity2"> 23 <intent-filter 24 android:order="2"> 25 <action android:name="android.cts.intent.action.ORDERED" /> 26 <data android:scheme="https" 27 android:host="www.google.com" 28 android:pathPrefix="/cts/package" /> 29 </intent-filter> 30 </activity> 31 <activity android:name=".OrderActivity1"> 32 <intent-filter 33 android:order="1"> 34 <action android:name="android.cts.intent.action.ORDERED" /> 35 <data android:scheme="https" 36 android:host="www.google.com" 37 android:path="/cts/packageresolution" /> 38 </intent-filter> 39 </activity> 40 <activity android:name=".OrderActivityDefault"> 41 <intent-filter> 42 <!-- default order --> 43 <action android:name="android.cts.intent.action.ORDERED" /> 44 <data android:scheme="https" 45 android:host="www.google.com" /> 46 </intent-filter> 47 </activity> 48 <activity android:name=".OrderActivity3"> 49 <intent-filter 50 android:order="3"> 51 <action android:name="android.cts.intent.action.ORDERED" /> 52 <data android:scheme="https" 53 android:host="www.google.com" 54 android:pathPrefix="/cts" /> 55 </intent-filter> 56 </activity> 57 58 <!-- Services used for queries --> 59 <service android:name=".OrderServiceDefault"> 60 <intent-filter> 61 <!-- default order --> 62 <action android:name="android.cts.intent.action.ORDERED" /> 63 <data android:scheme="https" 64 android:host="www.google.com" /> 65 </intent-filter> 66 </service> 67 <service android:name=".OrderService2"> 68 <intent-filter 69 android:order="2"> 70 <action android:name="android.cts.intent.action.ORDERED" /> 71 <data android:scheme="https" 72 android:host="www.google.com" 73 android:pathPrefix="/cts/package" /> 74 </intent-filter> 75 </service> 76 <service android:name=".OrderService3"> 77 <intent-filter 78 android:order="3"> 79 <action android:name="android.cts.intent.action.ORDERED" /> 80 <data android:scheme="https" 81 android:host="www.google.com" 82 android:pathPrefix="/cts" /> 83 </intent-filter> 84 </service> 85 <service android:name=".OrderService1"> 86 <intent-filter 87 android:order="1"> 88 <action android:name="android.cts.intent.action.ORDERED" /> 89 <data android:scheme="https" 90 android:host="www.google.com" 91 android:path="/cts/packageresolution" /> 92 </intent-filter> 93 </service> 94 95 <!-- Broadcast receivers used for queries --> 96 <receiver android:name=".OrderReceiver3"> 97 <intent-filter 98 android:order="3"> 99 <action android:name="android.cts.intent.action.ORDERED" /> 100 <data android:scheme="https" 101 android:host="www.google.com" 102 android:pathPrefix="/cts" /> 103 </intent-filter> 104 </receiver> 105 <receiver android:name=".OrderReceiverDefault"> 106 <intent-filter> 107 <!-- default order --> 108 <action android:name="android.cts.intent.action.ORDERED" /> 109 <data android:scheme="https" 110 android:host="www.google.com" /> 111 </intent-filter> 112 </receiver> 113 <receiver android:name=".OrderReceiver1"> 114 <intent-filter 115 android:order="1"> 116 <action android:name="android.cts.intent.action.ORDERED" /> 117 <data android:scheme="https" 118 android:host="www.google.com" 119 android:path="/cts/packageresolution" /> 120 </intent-filter> 121 </receiver> 122 <receiver android:name=".OrderReceiver2"> 123 <intent-filter 124 android:order="2"> 125 <action android:name="android.cts.intent.action.ORDERED" /> 126 <data android:scheme="https" 127 android:host="www.google.com" 128 android:pathPrefix="/cts/package" /> 129 </intent-filter> 130 </receiver> 131 </application> 132 133 <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner" 134 android:targetPackage="android.appsecurity.cts.orderedactivity" /> 135 </manifest> 136