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