1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2023 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="android.healthconnect.cts.testapp.writePermsOnly"
20          android:versionCode="1"
21          android:versionName="1.0">
22
23
24    <uses-permission android:name="android.permission.health.WRITE_STEPS"/>
25    <uses-permission android:name="android.permission.health.WRITE_HEART_RATE"/>
26    <uses-permission android:name="android.permission.health.WRITE_BASAL_METABOLIC_RATE"/>
27    <uses-permission android:name="android.permission.health.WRITE_ACTIVE_CALORIES_BURNED"/>
28    <uses-permission android:name="android.permission.health.WRITE_HYDRATION"/>
29    <uses-permission android:name="android.permission.health.WRITE_ELEVATION_GAINED"/>
30    <uses-permission android:name="android.permission.health.WRITE_FLOORS_CLIMBED"/>
31    <uses-permission android:name="android.permission.health.WRITE_WHEELCHAIR_PUSHES"/>
32    <uses-permission android:name="android.permission.health.WRITE_DISTANCE"/>
33    <uses-permission android:name="android.permission.health.WRITE_EXERCISE"/>
34    <uses-permission android:name="android.permission.health.WRITE_EXERCISE_ROUTE"/>
35    <uses-permission android:name="android.permission.health.WRITE_VO2_MAX"/>
36    <uses-permission android:name="android.permission.health.WRITE_POWER"/>
37    <uses-permission android:name="android.permission.health.WRITE_SPEED"/>
38    <uses-permission android:name="android.permission.health.WRITE_BODY_FAT"/>
39    <uses-permission android:name="android.permission.health.WRITE_BODY_WATER_MASS"/>
40    <uses-permission android:name="android.permission.health.WRITE_BONE_MASS"/>
41    <uses-permission android:name="android.permission.health.WRITE_HEIGHT"/>
42    <uses-permission android:name="android.permission.health.WRITE_LEAN_BODY_MASS"/>
43    <uses-permission android:name="android.permission.health.WRITE_WEIGHT"/>
44    <uses-permission android:name="android.permission.health.WRITE_CERVICAL_MUCUS"/>
45    <uses-permission android:name="android.permission.health.WRITE_MENSTRUATION"/>
46    <uses-permission android:name="android.permission.health.WRITE_INTERMENSTRUAL_BLEEDING"/>
47    <uses-permission android:name="android.permission.health.WRITE_OVULATION_TEST"/>
48    <uses-permission android:name="android.permission.health.WRITE_SEXUAL_ACTIVITY"/>
49    <uses-permission android:name="android.permission.health.WRITE_SLEEP"/>
50    <uses-permission android:name="android.permission.health.WRITE_BASAL_BODY_TEMPERATURE"/>
51    <uses-permission android:name="android.permission.health.WRITE_BLOOD_GLUCOSE"/>
52    <uses-permission android:name="android.permission.health.WRITE_BLOOD_PRESSURE"/>
53    <uses-permission android:name="android.permission.health.WRITE_BODY_TEMPERATURE"/>
54    <uses-permission android:name="android.permission.health.WRITE_HEART_RATE_VARIABILITY"/>
55    <uses-permission android:name="android.permission.health.WRITE_OXYGEN_SATURATION"/>
56    <uses-permission android:name="android.permission.health.WRITE_RESPIRATORY_RATE"/>
57    <uses-permission android:name="android.permission.health.WRITE_RESTING_HEART_RATE"/>
58    <uses-permission android:name="android.permission.health.WRITE_NUTRITION"/>
59    <uses-permission android:name="android.permission.health.WRITE_TOTAL_CALORIES_BURNED"/>
60
61
62    <application android:label="CtsHealthConnectTestAppWithWritePermissionsOnly">
63        <activity android:name="android.healthconnect.cts.testhelper.TestAppActivity"
64                  android:exported="true">
65            <intent-filter>
66                <action android:name="android.intent.action.MAIN"/>
67                <category android:name="android.intent.category.DEFAULT"/>
68                <category android:name="android.intent.category.LAUNCHER"/>
69                <action android:name="android.intent.action.VIEW_PERMISSION_USAGE"/>
70                <category android:name="android.intent.category.HEALTH_PERMISSIONS"/>
71            </intent-filter>
72        </activity>
73
74        <receiver android:name="android.healthconnect.cts.testhelper.TestAppReceiver"
75            android:exported="true"/>
76    </application>
77</manifest>
78