1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2022 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.ui"
20    android:targetSandboxVersion="2">
21
22    <application android:debuggable="true">
23        <uses-library android:name="android.test.runner"/>
24        <activity android:name="android.healthconnect.cts.utils.ProxyActivity"/>
25    </application>
26
27    <!-- To get visibility of the app with health permissions definitions,
28         required for testing defined permissions. -->
29    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
30        android:label="CTS HealthConnect UI tests"
31        android:targetPackage="android.healthconnect.cts.ui">
32    </instrumentation>
33
34    <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>
35    <uses-permission android:name="android.permission.health.READ_ACTIVE_CALORIES_BURNED"/>
36    <uses-permission android:name="android.permission.health.READ_BASAL_BODY_TEMPERATURE"/>
37    <uses-permission android:name="android.permission.health.READ_BASAL_METABOLIC_RATE"/>
38    <uses-permission android:name="android.permission.health.READ_BLOOD_GLUCOSE"/>
39    <uses-permission android:name="android.permission.health.READ_BLOOD_PRESSURE"/>
40    <uses-permission android:name="android.permission.health.READ_BODY_FAT"/>
41    <uses-permission android:name="android.permission.health.READ_BODY_TEMPERATURE"/>
42    <uses-permission android:name="android.permission.health.READ_BODY_WATER_MASS"/>
43    <uses-permission android:name="android.permission.health.READ_BONE_MASS"/>
44    <uses-permission android:name="android.permission.health.READ_CERVICAL_MUCUS"/>
45    <uses-permission android:name="android.permission.health.READ_INTERMENSTRUAL_BLEEDING"/>
46    <uses-permission android:name="android.permission.health.READ_DISTANCE"/>
47    <uses-permission android:name="android.permission.health.READ_ELEVATION_GAINED"/>
48    <uses-permission android:name="android.permission.health.READ_EXERCISE"/>
49    <uses-permission android:name="android.permission.health.READ_PLANNED_EXERCISE"/>
50    <uses-permission android:name="android.permission.health.READ_FLOORS_CLIMBED"/>
51    <uses-permission android:name="android.permission.health.READ_HEART_RATE"/>
52    <uses-permission android:name="android.permission.health.READ_HEART_RATE_VARIABILITY"/>
53    <uses-permission android:name="android.permission.health.READ_HEIGHT"/>
54    <uses-permission android:name="android.permission.health.READ_HIP_CIRCUMFERENCE"/>
55    <uses-permission android:name="android.permission.health.READ_HYDRATION"/>
56    <uses-permission android:name="android.permission.health.READ_LEAN_BODY_MASS"/>
57    <uses-permission android:name="android.permission.health.READ_MENSTRUATION"/>
58    <uses-permission android:name="android.permission.health.READ_NUTRITION"/>
59    <uses-permission android:name="android.permission.health.READ_OVULATION_TEST"/>
60    <uses-permission android:name="android.permission.health.READ_OXYGEN_SATURATION"/>
61    <uses-permission android:name="android.permission.health.READ_POWER"/>
62    <uses-permission android:name="android.permission.health.READ_RESPIRATORY_RATE"/>
63    <uses-permission android:name="android.permission.health.READ_RESTING_HEART_RATE"/>
64    <uses-permission android:name="android.permission.health.READ_SEXUAL_ACTIVITY"/>
65    <uses-permission android:name="android.permission.health.READ_SLEEP"/>
66    <uses-permission android:name="android.permission.health.READ_SPEED"/>
67    <uses-permission android:name="android.permission.health.READ_STEPS"/>
68    <uses-permission android:name="android.permission.health.READ_SKIN_TEMPERATURE"/>
69    <uses-permission android:name="android.permission.health.READ_TOTAL_CALORIES_BURNED"/>
70    <uses-permission android:name="android.permission.health.READ_VO2_MAX"/>
71    <uses-permission android:name="android.permission.health.READ_WAIST_CIRCUMFERENCE"/>
72    <uses-permission android:name="android.permission.health.READ_WEIGHT"/>
73    <uses-permission android:name="android.permission.health.READ_WHEELCHAIR_PUSHES"/>
74    <uses-permission android:name="android.permission.health.WRITE_ACTIVE_CALORIES_BURNED"/>
75    <uses-permission android:name="android.permission.health.WRITE_BASAL_BODY_TEMPERATURE"/>
76    <uses-permission android:name="android.permission.health.WRITE_BASAL_METABOLIC_RATE"/>
77    <uses-permission android:name="android.permission.health.WRITE_BLOOD_GLUCOSE"/>
78    <uses-permission android:name="android.permission.health.WRITE_BLOOD_PRESSURE"/>
79    <uses-permission android:name="android.permission.health.WRITE_BODY_FAT"/>
80    <uses-permission android:name="android.permission.health.WRITE_BODY_TEMPERATURE"/>
81    <uses-permission android:name="android.permission.health.WRITE_BODY_WATER_MASS"/>
82    <uses-permission android:name="android.permission.health.WRITE_BONE_MASS"/>
83    <uses-permission android:name="android.permission.health.WRITE_CERVICAL_MUCUS"/>
84    <uses-permission android:name="android.permission.health.WRITE_INTERMENSTRUAL_BLEEDING"/>
85    <uses-permission android:name="android.permission.health.WRITE_DISTANCE"/>
86    <uses-permission android:name="android.permission.health.WRITE_ELEVATION_GAINED"/>
87    <uses-permission android:name="android.permission.health.WRITE_EXERCISE"/>
88    <uses-permission android:name="android.permission.health.WRITE_PLANNED_EXERCISE"/>
89    <uses-permission android:name="android.permission.health.WRITE_EXERCISE_ROUTE"/>
90    <uses-permission android:name="android.permission.health.WRITE_FLOORS_CLIMBED"/>
91    <uses-permission android:name="android.permission.health.WRITE_HEART_RATE"/>
92    <uses-permission android:name="android.permission.health.WRITE_HEART_RATE_VARIABILITY"/>
93    <uses-permission android:name="android.permission.health.WRITE_HEIGHT"/>
94    <uses-permission android:name="android.permission.health.WRITE_HIP_CIRCUMFERENCE"/>
95    <uses-permission android:name="android.permission.health.WRITE_HYDRATION"/>
96    <uses-permission android:name="android.permission.health.WRITE_LEAN_BODY_MASS"/>
97    <uses-permission android:name="android.permission.health.WRITE_MENSTRUATION"/>
98    <uses-permission android:name="android.permission.health.WRITE_NUTRITION"/>
99    <uses-permission android:name="android.permission.health.WRITE_OVULATION_TEST"/>
100    <uses-permission android:name="android.permission.health.WRITE_OXYGEN_SATURATION"/>
101    <uses-permission android:name="android.permission.health.WRITE_POWER"/>
102    <uses-permission android:name="android.permission.health.WRITE_RESPIRATORY_RATE"/>
103    <uses-permission android:name="android.permission.health.WRITE_RESTING_HEART_RATE"/>
104    <uses-permission android:name="android.permission.health.WRITE_SEXUAL_ACTIVITY"/>
105    <uses-permission android:name="android.permission.health.WRITE_SLEEP"/>
106    <uses-permission android:name="android.permission.health.WRITE_SPEED"/>
107    <uses-permission android:name="android.permission.health.WRITE_STEPS"/>
108    <uses-permission android:name="android.permission.health.WRITE_SKIN_TEMPERATURE"/>
109    <uses-permission android:name="android.permission.health.WRITE_TOTAL_CALORIES_BURNED"/>
110    <uses-permission android:name="android.permission.health.WRITE_VO2_MAX"/>
111    <uses-permission android:name="android.permission.health.WRITE_WAIST_CIRCUMFERENCE"/>
112    <uses-permission android:name="android.permission.health.WRITE_WEIGHT"/>
113    <uses-permission android:name="android.permission.health.WRITE_WHEELCHAIR_PUSHES"/>
114
115    <!--  self-instrumenting test package. -->
116</manifest>
117