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