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.readWritePerms.B"
20          android:versionCode="1"
21          android:versionName="1.0">
22
23    <uses-permission android:name="android.permission-group.HEALTH"/>
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_SKIN_TEMPERATURE"/>
59    <uses-permission android:name="android.permission.health.WRITE_NUTRITION"/>
60    <uses-permission android:name="android.permission.health.WRITE_TOTAL_CALORIES_BURNED"/>
61
62    <uses-permission android:name="android.permission.health.READ_STEPS"/>
63    <uses-permission android:name="android.permission.health.READ_HEART_RATE"/>
64    <uses-permission android:name="android.permission.health.READ_BASAL_METABOLIC_RATE"/>
65    <uses-permission android:name="android.permission.health.READ_ACTIVE_CALORIES_BURNED"/>
66    <uses-permission android:name="android.permission.health.READ_HYDRATION"/>
67    <uses-permission android:name="android.permission.health.READ_ELEVATION_GAINED"/>
68    <uses-permission android:name="android.permission.health.READ_FLOORS_CLIMBED"/>
69    <uses-permission android:name="android.permission.health.READ_WHEELCHAIR_PUSHES"/>
70    <uses-permission android:name="android.permission.health.READ_DISTANCE"/>
71    <uses-permission android:name="android.permission.health.READ_EXERCISE"/>
72    <uses-permission android:name="android.permission.health.READ_EXERCISE_ROUTES"/>
73    <uses-permission android:name="android.permission.health.READ_VO2_MAX"/>
74    <uses-permission android:name="android.permission.health.READ_POWER"/>
75    <uses-permission android:name="android.permission.health.READ_SPEED"/>
76    <uses-permission android:name="android.permission.health.READ_BODY_FAT"/>
77    <uses-permission android:name="android.permission.health.READ_BODY_WATER_MASS"/>
78    <uses-permission android:name="android.permission.health.READ_BONE_MASS"/>
79    <uses-permission android:name="android.permission.health.READ_HEIGHT"/>
80    <uses-permission android:name="android.permission.health.READ_LEAN_BODY_MASS"/>
81    <uses-permission android:name="android.permission.health.READ_WEIGHT"/>
82    <uses-permission android:name="android.permission.health.READ_CERVICAL_MUCUS"/>
83    <uses-permission android:name="android.permission.health.READ_MENSTRUATION"/>
84    <uses-permission android:name="android.permission.health.READ_INTERMENSTRUAL_BLEEDING"/>
85    <uses-permission android:name="android.permission.health.READ_OVULATION_TEST"/>
86    <uses-permission android:name="android.permission.health.READ_SEXUAL_ACTIVITY"/>
87    <uses-permission android:name="android.permission.health.READ_SLEEP"/>
88    <uses-permission android:name="android.permission.health.READ_BASAL_BODY_TEMPERATURE"/>
89    <uses-permission android:name="android.permission.health.READ_BLOOD_GLUCOSE"/>
90    <uses-permission android:name="android.permission.health.READ_BLOOD_PRESSURE"/>
91    <uses-permission android:name="android.permission.health.READ_BODY_TEMPERATURE"/>
92    <uses-permission android:name="android.permission.health.READ_HEART_RATE_VARIABILITY"/>
93    <uses-permission android:name="android.permission.health.READ_OXYGEN_SATURATION"/>
94    <uses-permission android:name="android.permission.health.READ_RESPIRATORY_RATE"/>
95    <uses-permission android:name="android.permission.health.READ_RESTING_HEART_RATE"/>
96    <uses-permission android:name="android.permission.health.READ_SKIN_TEMPERATURE"/>
97    <uses-permission android:name="android.permission.health.READ_NUTRITION"/>
98    <uses-permission android:name="android.permission.health.READ_TOTAL_CALORIES_BURNED"/>
99
100
101    <application android:label="CtsHealthConnectTestAppBWithNormalReadWritePermission">
102        <activity android:name="android.healthconnect.cts.testhelper.TestAppActivity"
103                  android:exported="true">
104            <intent-filter>
105                <action android:name="android.intent.action.MAIN"/>
106                <category android:name="android.intent.category.DEFAULT"/>
107                <category android:name="android.intent.category.LAUNCHER"/>
108                <action android:name="android.intent.action.VIEW_PERMISSION_USAGE"/>
109                <category android:name="android.intent.category.HEALTH_PERMISSIONS"/>
110            </intent-filter>
111        </activity>
112
113        <receiver android:name="android.healthconnect.cts.testhelper.TestAppReceiver"
114            android:exported="true"/>
115    </application>
116</manifest>
117