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