1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 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="android.alarmmanager.alarmtestapp.cts">
19
20    <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
21    <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
22    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE"/>
23
24    <application android:label="CTS Alarm Test Helper"
25                 android:debuggable="true">
26        <!-- Needs to be debuggable to allow overriding compat change ids -->
27        <receiver android:name=".TestAlarmScheduler"
28                  android:exported="true" />
29        <receiver android:name=".TestAlarmReceiver" />
30        <receiver
31            android:name=
32                "android.alarmmanager.alarmtestapp.cts.common.PermissionStateChangedReceiver"
33            android:exported="true"
34            android:enabled="false" >
35            <!-- Disabled by default so it doesn't cause resource churn or race in tests
36             where this is not required -->
37            <intent-filter>
38                <action android:name=
39                            "android.app.action.SCHEDULE_EXACT_ALARM_PERMISSION_STATE_CHANGED"/>
40                <action android:name="android.app.action.cts.ACTION_PING" />
41            </intent-filter>
42        </receiver>
43        <receiver android:name="android.alarmmanager.alarmtestapp.cts.common.RequestReceiver"
44                  android:exported="true"/>
45        <service android:name="android.alarmmanager.alarmtestapp.cts.common.TestService"
46                 android:foregroundServiceType="specialUse"
47                 android:exported="false" >
48            <property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" android:value="cts" />
49        </service>
50    </application>
51
52</manifest>
53