• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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="com.android.cts.appbinding.app" >
19
20    <uses-permission android:name="android.permission.WRITE_SMS" />
21    <uses-permission android:name="android.permission.READ_SMS" />
22    <uses-permission android:name="android.permission.SEND_SMS" />
23    <uses-permission android:name="android.permission.RECEIVE_SMS" />
24    <uses-permission android:name="android.permission.RECEIVE_MMS" />
25
26    <application>
27        <uses-library android:name="android.test.runner" />
28
29        <!-- Target to-be-bound service found, but doesn't have :process. -->
30        <service
31            android:name=".MyService2"
32            android:exported="false"
33            android:permission="android.permission.BIND_CARRIER_MESSAGING_CLIENT_SERVICE" >
34            <intent-filter>
35                <action android:name="android.telephony.action.CARRIER_MESSAGING_CLIENT_SERVICE" />
36            </intent-filter>
37        </service>
38
39        <!-- Components needed to be an SMS app -->
40        <activity android:name=".MySendToActivity">
41            <intent-filter>
42                <action android:name="android.intent.action.SEND" />
43                <action android:name="android.intent.action.SENDTO" />
44                <category android:name="android.intent.category.DEFAULT" />
45                <category android:name="android.intent.category.BROWSABLE" />
46                <data android:scheme="sms" />
47                <data android:scheme="smsto" />
48                <data android:scheme="mms" />
49                <data android:scheme="mmsto" />
50            </intent-filter>
51
52        </activity>
53
54        <receiver android:name=".sms.MySmsReceiver"
55            android:permission="android.permission.BROADCAST_SMS">
56            <intent-filter>
57                <action android:name="android.provider.Telephony.SMS_DELIVER" />
58            </intent-filter>
59        </receiver>
60
61        <receiver android:name=".sms.MyMmsReceiver"
62            android:permission="android.permission.BROADCAST_WAP_PUSH">
63            <intent-filter>
64                <action android:name="android.provider.Telephony.WAP_PUSH_DELIVER" />
65                <data android:mimeType="application/vnd.wap.mms-message" />
66            </intent-filter>
67
68        </receiver>
69
70        <service android:name=".sms.MyRespondService"
71            android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE" >
72            <intent-filter>
73                <action android:name="android.intent.action.RESPOND_VIA_MESSAGE" />
74                <category android:name="android.intent.category.DEFAULT" />
75                <data android:scheme="sms" />
76                <data android:scheme="smsto" />
77                <data android:scheme="mms" />
78                <data android:scheme="mmsto" />
79            </intent-filter>
80        </service>
81    </application>
82
83    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
84            android:targetPackage="com.android.cts.deviceadminservice" />
85</manifest>
86