1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2014 The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 -->
17
18<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19     package="com.android.cts.launcherapps.simpleapp">
20
21    <uses-permission android:name="android.permission.READ_CALENDAR"/>
22    <uses-permission android:name="android.permission.READ_CONTACTS"/>
23    <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
24    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE"/>
25
26    <application>
27        <activity android:name=".SimpleActivity"
28             android:exported="true">
29            <intent-filter>
30                <action android:name="android.intent.action.MAIN"/>
31                <category android:name="android.intent.category.DEFAULT"/>
32                <category android:name="android.intent.category.LAUNCHER"/>
33            </intent-filter>
34            <intent-filter>
35                <action android:name="android.intent.action.VIEW"/>
36                <category android:name="android.intent.category.DEFAULT"/>
37            </intent-filter>
38        </activity>
39        <activity android:name=".NonExportedActivity"
40             android:exported="false">
41        </activity>
42        <activity android:name=".NonLauncherActivity"
43             android:exported="true">
44        </activity>
45        <activity android:name=".SimpleActivityStartService"
46             android:turnScreenOn="true"
47             android:excludeFromRecents="true"
48             android:exported="true"/>
49        <activity android:name=".SimpleActivityStartFgService"
50             android:exported="true"/>
51        <activity android:name=".SimpleActivityImmediateExit"
52             android:exported="true">
53            <intent-filter>
54                <action android:name="android.intent.action.MAIN"/>
55                <category android:name="android.intent.category.DEFAULT"/>
56            </intent-filter>
57        </activity>
58        <activity android:name=".SimpleActivityChainExit"
59             android:exported="true">
60            <intent-filter>
61                <action android:name="android.intent.action.MAIN"/>
62                <category android:name="android.intent.category.DEFAULT"/>
63            </intent-filter>
64        </activity>
65
66        <service android:name=".SimpleService"
67             android:foregroundServiceType="specialUse"
68             android:exported="true">
69            <property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" android:value="cts" />
70        </service>
71        <service android:name=".SimpleService2"
72             android:exported="true"
73             android:process=":other">
74        </service>
75        <service android:name=".SimpleService3"
76             android:foregroundServiceType="specialUse"
77             android:exported="true">
78            <property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" android:value="cts" />
79        </service>
80
81        <service android:name=".SimpleService4"
82             android:exported="true">
83            <intent-filter>
84                <action android:name="com.android.cts.launchertests.simpleapp.EXIT_ACTION"/>
85                <category android:name="android.intent.category.DEFAULT"/>
86            </intent-filter>
87        </service>
88
89        <service android:name=".SimpleService5"
90             android:exported="true"
91             android:process=":remote">
92            <intent-filter>
93                <action android:name="com.android.cts.launchertests.simpleapp.EXIT_ACTION"/>
94                <category android:name="android.intent.category.DEFAULT"/>
95            </intent-filter>
96        </service>
97
98        <service android:name=".SimpleService6"
99             android:exported="true"
100             android:isolatedProcess="true">
101            <intent-filter>
102                <action android:name="com.android.cts.launchertests.simpleapp.EXIT_ACTION"/>
103                <category android:name="android.intent.category.DEFAULT"/>
104            </intent-filter>
105        </service>
106
107        <receiver android:name=".SimpleReceiverStartService"
108             android:exported="true">
109        </receiver>
110        <receiver android:name=".SimpleReceiver"
111             android:exported="true">
112        </receiver>
113        <receiver android:name=".SimpleRemoteReceiver"
114             android:process=":receiver"
115             android:exported="true">
116        </receiver>
117        <provider android:name=".SimpleProvider"
118             android:process=":remote"
119             android:authorities="com.android.cts.launcherapps.simpleapp.provider"
120             android:exported="false">
121        </provider>
122    </application>
123
124</manifest>
125