xref: /aosp_15_r20/cts/hostsidetests/appbinding/app/app3/AndroidManifest.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
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="com.android.cts.appbinding.app">
19*b7c941bbSAndroid Build Coastguard Worker
20*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.WRITE_SMS"/>
21*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.READ_SMS"/>
22*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.SEND_SMS"/>
23*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.RECEIVE_SMS"/>
24*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.RECEIVE_MMS"/>
25*b7c941bbSAndroid Build Coastguard Worker
26*b7c941bbSAndroid Build Coastguard Worker    <application>
27*b7c941bbSAndroid Build Coastguard Worker        <uses-library android:name="android.test.runner"/>
28*b7c941bbSAndroid Build Coastguard Worker
29*b7c941bbSAndroid Build Coastguard Worker        <!-- Target to-be-bound service. -->
30*b7c941bbSAndroid Build Coastguard Worker        <service android:name=".MyService"
31*b7c941bbSAndroid Build Coastguard Worker             android:exported="false"
32*b7c941bbSAndroid Build Coastguard Worker             android:process=":persistent">
33*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
34*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.telephony.action.CARRIER_MESSAGING_CLIENT_SERVICE"/>
35*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
36*b7c941bbSAndroid Build Coastguard Worker        </service>
37*b7c941bbSAndroid Build Coastguard Worker
38*b7c941bbSAndroid Build Coastguard Worker        <!-- Components needed to be an SMS app -->
39*b7c941bbSAndroid Build Coastguard Worker        <activity android:name=".MySendToActivity"
40*b7c941bbSAndroid Build Coastguard Worker             android:exported="true">
41*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
42*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.intent.action.SEND"/>
43*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.intent.action.SENDTO"/>
44*b7c941bbSAndroid Build Coastguard Worker                <category android:name="android.intent.category.DEFAULT"/>
45*b7c941bbSAndroid Build Coastguard Worker                <category android:name="android.intent.category.BROWSABLE"/>
46*b7c941bbSAndroid Build Coastguard Worker                <data android:scheme="sms"/>
47*b7c941bbSAndroid Build Coastguard Worker                <data android:scheme="smsto"/>
48*b7c941bbSAndroid Build Coastguard Worker                <data android:scheme="mms"/>
49*b7c941bbSAndroid Build Coastguard Worker                <data android:scheme="mmsto"/>
50*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
51*b7c941bbSAndroid Build Coastguard Worker
52*b7c941bbSAndroid Build Coastguard Worker        </activity>
53*b7c941bbSAndroid Build Coastguard Worker
54*b7c941bbSAndroid Build Coastguard Worker        <receiver android:name=".sms.MySmsReceiver"
55*b7c941bbSAndroid Build Coastguard Worker             android:permission="android.permission.BROADCAST_SMS"
56*b7c941bbSAndroid Build Coastguard Worker             android:exported="true">
57*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
58*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.provider.Telephony.SMS_DELIVER"/>
59*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
60*b7c941bbSAndroid Build Coastguard Worker        </receiver>
61*b7c941bbSAndroid Build Coastguard Worker
62*b7c941bbSAndroid Build Coastguard Worker        <receiver android:name=".sms.MyMmsReceiver"
63*b7c941bbSAndroid Build Coastguard Worker             android:permission="android.permission.BROADCAST_WAP_PUSH"
64*b7c941bbSAndroid Build Coastguard Worker             android:exported="true">
65*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
66*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.provider.Telephony.WAP_PUSH_DELIVER"/>
67*b7c941bbSAndroid Build Coastguard Worker                <data android:mimeType="application/vnd.wap.mms-message"/>
68*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
69*b7c941bbSAndroid Build Coastguard Worker
70*b7c941bbSAndroid Build Coastguard Worker        </receiver>
71*b7c941bbSAndroid Build Coastguard Worker
72*b7c941bbSAndroid Build Coastguard Worker        <service android:name=".sms.MyRespondService"
73*b7c941bbSAndroid Build Coastguard Worker             android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE"
74*b7c941bbSAndroid Build Coastguard Worker             android:exported="true">
75*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
76*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.intent.action.RESPOND_VIA_MESSAGE"/>
77*b7c941bbSAndroid Build Coastguard Worker                <category android:name="android.intent.category.DEFAULT"/>
78*b7c941bbSAndroid Build Coastguard Worker                <data android:scheme="sms"/>
79*b7c941bbSAndroid Build Coastguard Worker                <data android:scheme="smsto"/>
80*b7c941bbSAndroid Build Coastguard Worker                <data android:scheme="mms"/>
81*b7c941bbSAndroid Build Coastguard Worker                <data android:scheme="mmsto"/>
82*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
83*b7c941bbSAndroid Build Coastguard Worker        </service>
84*b7c941bbSAndroid Build Coastguard Worker    </application>
85*b7c941bbSAndroid Build Coastguard Worker
86*b7c941bbSAndroid Build Coastguard Worker    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
87*b7c941bbSAndroid Build Coastguard Worker         android:targetPackage="com.android.cts.appbinding.app"/>
88*b7c941bbSAndroid Build Coastguard Worker</manifest>
89