1*b7c941bbSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?> 2*b7c941bbSAndroid Build Coastguard Worker<!-- Copyright (C) 2018 The Android Open Source Project 3*b7c941bbSAndroid Build Coastguard Worker 4*b7c941bbSAndroid Build Coastguard Worker Licensed under the Apache License, Version 2.0 (the "License"); 5*b7c941bbSAndroid Build Coastguard Worker you may not use this file except in compliance with the License. 6*b7c941bbSAndroid Build Coastguard Worker You may obtain a copy of the License at 7*b7c941bbSAndroid Build Coastguard Worker 8*b7c941bbSAndroid Build Coastguard Worker http://www.apache.org/licenses/LICENSE-2.0 9*b7c941bbSAndroid Build Coastguard Worker 10*b7c941bbSAndroid Build Coastguard Worker Unless required by applicable law or agreed to in writing, software 11*b7c941bbSAndroid Build Coastguard Worker distributed under the License is distributed on an "AS IS" BASIS, 12*b7c941bbSAndroid Build Coastguard Worker WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*b7c941bbSAndroid Build Coastguard Worker See the License for the specific language governing permissions and 14*b7c941bbSAndroid Build Coastguard Worker limitations under the License. 15*b7c941bbSAndroid Build Coastguard Worker--> 16*b7c941bbSAndroid Build Coastguard Worker 17*b7c941bbSAndroid Build Coastguard Worker<manifest xmlns:android="http://schemas.android.com/apk/res/android" 18*b7c941bbSAndroid Build Coastguard Worker package="android.appsecurity.cts.orderedactivity" 19*b7c941bbSAndroid Build Coastguard Worker android:versionCode="10" 20*b7c941bbSAndroid Build Coastguard Worker android:versionName="1.0" 21*b7c941bbSAndroid Build Coastguard Worker android:targetSandboxVersion="2"> 22*b7c941bbSAndroid Build Coastguard Worker <application android:label="@string/app_name"> 23*b7c941bbSAndroid Build Coastguard Worker <!-- Activities used for queries --> 24*b7c941bbSAndroid Build Coastguard Worker <activity android:name=".OrderActivity2" 25*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 26*b7c941bbSAndroid Build Coastguard Worker <intent-filter android:order="2"> 27*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.cts.intent.action.ORDERED"/> 28*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="https" 29*b7c941bbSAndroid Build Coastguard Worker android:host="www.google.com" 30*b7c941bbSAndroid Build Coastguard Worker android:pathPrefix="/cts/package"/> 31*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 32*b7c941bbSAndroid Build Coastguard Worker </activity> 33*b7c941bbSAndroid Build Coastguard Worker <activity android:name=".OrderActivity1" 34*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 35*b7c941bbSAndroid Build Coastguard Worker <intent-filter android:order="1"> 36*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.cts.intent.action.ORDERED"/> 37*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="https" 38*b7c941bbSAndroid Build Coastguard Worker android:host="www.google.com" 39*b7c941bbSAndroid Build Coastguard Worker android:path="/cts/packageresolution"/> 40*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 41*b7c941bbSAndroid Build Coastguard Worker </activity> 42*b7c941bbSAndroid Build Coastguard Worker <activity android:name=".OrderActivityDefault" 43*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 44*b7c941bbSAndroid Build Coastguard Worker <intent-filter> 45*b7c941bbSAndroid Build Coastguard Worker <!-- default order --> 46*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.cts.intent.action.ORDERED"/> 47*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="https" 48*b7c941bbSAndroid Build Coastguard Worker android:host="www.google.com"/> 49*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 50*b7c941bbSAndroid Build Coastguard Worker </activity> 51*b7c941bbSAndroid Build Coastguard Worker <activity android:name=".OrderActivity3" 52*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 53*b7c941bbSAndroid Build Coastguard Worker <intent-filter android:order="3"> 54*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.cts.intent.action.ORDERED"/> 55*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="https" 56*b7c941bbSAndroid Build Coastguard Worker android:host="www.google.com" 57*b7c941bbSAndroid Build Coastguard Worker android:pathPrefix="/cts"/> 58*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 59*b7c941bbSAndroid Build Coastguard Worker </activity> 60*b7c941bbSAndroid Build Coastguard Worker 61*b7c941bbSAndroid Build Coastguard Worker <!-- Services used for queries --> 62*b7c941bbSAndroid Build Coastguard Worker <service android:name=".OrderServiceDefault" 63*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 64*b7c941bbSAndroid Build Coastguard Worker <intent-filter> 65*b7c941bbSAndroid Build Coastguard Worker <!-- default order --> 66*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.cts.intent.action.ORDERED"/> 67*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="https" 68*b7c941bbSAndroid Build Coastguard Worker android:host="www.google.com"/> 69*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 70*b7c941bbSAndroid Build Coastguard Worker </service> 71*b7c941bbSAndroid Build Coastguard Worker <service android:name=".OrderService2" 72*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 73*b7c941bbSAndroid Build Coastguard Worker <intent-filter android:order="2"> 74*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.cts.intent.action.ORDERED"/> 75*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="https" 76*b7c941bbSAndroid Build Coastguard Worker android:host="www.google.com" 77*b7c941bbSAndroid Build Coastguard Worker android:pathPrefix="/cts/package"/> 78*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 79*b7c941bbSAndroid Build Coastguard Worker </service> 80*b7c941bbSAndroid Build Coastguard Worker <service android:name=".OrderService3" 81*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 82*b7c941bbSAndroid Build Coastguard Worker <intent-filter android:order="3"> 83*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.cts.intent.action.ORDERED"/> 84*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="https" 85*b7c941bbSAndroid Build Coastguard Worker android:host="www.google.com" 86*b7c941bbSAndroid Build Coastguard Worker android:pathPrefix="/cts"/> 87*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 88*b7c941bbSAndroid Build Coastguard Worker </service> 89*b7c941bbSAndroid Build Coastguard Worker <service android:name=".OrderService1" 90*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 91*b7c941bbSAndroid Build Coastguard Worker <intent-filter android:order="1"> 92*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.cts.intent.action.ORDERED"/> 93*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="https" 94*b7c941bbSAndroid Build Coastguard Worker android:host="www.google.com" 95*b7c941bbSAndroid Build Coastguard Worker android:path="/cts/packageresolution"/> 96*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 97*b7c941bbSAndroid Build Coastguard Worker </service> 98*b7c941bbSAndroid Build Coastguard Worker 99*b7c941bbSAndroid Build Coastguard Worker <!-- Broadcast receivers used for queries --> 100*b7c941bbSAndroid Build Coastguard Worker <receiver android:name=".OrderReceiver3" 101*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 102*b7c941bbSAndroid Build Coastguard Worker <intent-filter android:order="3"> 103*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.cts.intent.action.ORDERED"/> 104*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="https" 105*b7c941bbSAndroid Build Coastguard Worker android:host="www.google.com" 106*b7c941bbSAndroid Build Coastguard Worker android:pathPrefix="/cts"/> 107*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 108*b7c941bbSAndroid Build Coastguard Worker </receiver> 109*b7c941bbSAndroid Build Coastguard Worker <receiver android:name=".OrderReceiverDefault" 110*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 111*b7c941bbSAndroid Build Coastguard Worker <intent-filter> 112*b7c941bbSAndroid Build Coastguard Worker <!-- default order --> 113*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.cts.intent.action.ORDERED"/> 114*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="https" 115*b7c941bbSAndroid Build Coastguard Worker android:host="www.google.com"/> 116*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 117*b7c941bbSAndroid Build Coastguard Worker </receiver> 118*b7c941bbSAndroid Build Coastguard Worker <receiver android:name=".OrderReceiver1" 119*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 120*b7c941bbSAndroid Build Coastguard Worker <intent-filter android:order="1"> 121*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.cts.intent.action.ORDERED"/> 122*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="https" 123*b7c941bbSAndroid Build Coastguard Worker android:host="www.google.com" 124*b7c941bbSAndroid Build Coastguard Worker android:path="/cts/packageresolution"/> 125*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 126*b7c941bbSAndroid Build Coastguard Worker </receiver> 127*b7c941bbSAndroid Build Coastguard Worker <receiver android:name=".OrderReceiver2" 128*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 129*b7c941bbSAndroid Build Coastguard Worker <intent-filter android:order="2"> 130*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.cts.intent.action.ORDERED"/> 131*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="https" 132*b7c941bbSAndroid Build Coastguard Worker android:host="www.google.com" 133*b7c941bbSAndroid Build Coastguard Worker android:pathPrefix="/cts/package"/> 134*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 135*b7c941bbSAndroid Build Coastguard Worker </receiver> 136*b7c941bbSAndroid Build Coastguard Worker </application> 137*b7c941bbSAndroid Build Coastguard Worker 138*b7c941bbSAndroid Build Coastguard Worker <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 139*b7c941bbSAndroid Build Coastguard Worker android:targetPackage="android.appsecurity.cts.orderedactivity"/> 140*b7c941bbSAndroid Build Coastguard Worker</manifest> 141