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.A" 20 android:versionCode="1" 21 android:versionName="1.0"> 22 23 <uses-permission android:name="android.permission.health.READ_HEALTH_DATA_HISTORY" /> 24 <uses-permission android:name="android.permission.health.READ_HEALTH_DATA_IN_BACKGROUND"/> 25 26 <uses-permission android:name="android.permission-group.HEALTH"/> 27 <uses-permission android:name="android.permission.health.WRITE_STEPS"/> 28 <uses-permission android:name="android.permission.health.WRITE_HEART_RATE"/> 29 <uses-permission android:name="android.permission.health.WRITE_BASAL_METABOLIC_RATE"/> 30 <uses-permission android:name="android.permission.health.WRITE_ACTIVE_CALORIES_BURNED"/> 31 <uses-permission android:name="android.permission.health.WRITE_HYDRATION"/> 32 <uses-permission android:name="android.permission.health.WRITE_ELEVATION_GAINED"/> 33 <uses-permission android:name="android.permission.health.WRITE_FLOORS_CLIMBED"/> 34 <uses-permission android:name="android.permission.health.WRITE_WHEELCHAIR_PUSHES"/> 35 <uses-permission android:name="android.permission.health.WRITE_DISTANCE"/> 36 <uses-permission android:name="android.permission.health.WRITE_EXERCISE"/> 37 <uses-permission android:name="android.permission.health.WRITE_EXERCISE_ROUTE"/> 38 <uses-permission android:name="android.permission.health.WRITE_VO2_MAX"/> 39 <uses-permission android:name="android.permission.health.WRITE_POWER"/> 40 <uses-permission android:name="android.permission.health.WRITE_SPEED"/> 41 <uses-permission android:name="android.permission.health.WRITE_BODY_FAT"/> 42 <uses-permission android:name="android.permission.health.WRITE_BODY_WATER_MASS"/> 43 <uses-permission android:name="android.permission.health.WRITE_BONE_MASS"/> 44 <uses-permission android:name="android.permission.health.WRITE_HEIGHT"/> 45 <uses-permission android:name="android.permission.health.WRITE_LEAN_BODY_MASS"/> 46 <uses-permission android:name="android.permission.health.WRITE_WEIGHT"/> 47 <uses-permission android:name="android.permission.health.WRITE_CERVICAL_MUCUS"/> 48 <uses-permission android:name="android.permission.health.WRITE_MENSTRUATION"/> 49 <uses-permission android:name="android.permission.health.WRITE_INTERMENSTRUAL_BLEEDING"/> 50 <uses-permission android:name="android.permission.health.WRITE_OVULATION_TEST"/> 51 <uses-permission android:name="android.permission.health.WRITE_SEXUAL_ACTIVITY"/> 52 <uses-permission android:name="android.permission.health.WRITE_SLEEP"/> 53 <uses-permission android:name="android.permission.health.WRITE_BASAL_BODY_TEMPERATURE"/> 54 <uses-permission android:name="android.permission.health.WRITE_BLOOD_GLUCOSE"/> 55 <uses-permission android:name="android.permission.health.WRITE_BLOOD_PRESSURE"/> 56 <uses-permission android:name="android.permission.health.WRITE_BODY_TEMPERATURE"/> 57 <uses-permission android:name="android.permission.health.WRITE_HEART_RATE_VARIABILITY"/> 58 <uses-permission android:name="android.permission.health.WRITE_OXYGEN_SATURATION"/> 59 <uses-permission android:name="android.permission.health.WRITE_RESPIRATORY_RATE"/> 60 <uses-permission android:name="android.permission.health.WRITE_RESTING_HEART_RATE"/> 61 <uses-permission android:name="android.permission.health.WRITE_SKIN_TEMPERATURE"/> 62 <uses-permission android:name="android.permission.health.WRITE_NUTRITION"/> 63 <uses-permission android:name="android.permission.health.WRITE_TOTAL_CALORIES_BURNED"/> 64 65 <uses-permission android:name="android.permission.health.READ_STEPS"/> 66 <uses-permission android:name="android.permission.health.READ_HEART_RATE"/> 67 <uses-permission android:name="android.permission.health.READ_BASAL_METABOLIC_RATE"/> 68 <uses-permission android:name="android.permission.health.READ_ACTIVE_CALORIES_BURNED"/> 69 <uses-permission android:name="android.permission.health.READ_HYDRATION"/> 70 <uses-permission android:name="android.permission.health.READ_ELEVATION_GAINED"/> 71 <uses-permission android:name="android.permission.health.READ_FLOORS_CLIMBED"/> 72 <uses-permission android:name="android.permission.health.READ_WHEELCHAIR_PUSHES"/> 73 <uses-permission android:name="android.permission.health.READ_DISTANCE"/> 74 <uses-permission android:name="android.permission.health.READ_EXERCISE"/> 75 <uses-permission android:name="android.permission.health.READ_EXERCISE_ROUTES"/> 76 <uses-permission android:name="android.permission.health.READ_VO2_MAX"/> 77 <uses-permission android:name="android.permission.health.READ_POWER"/> 78 <uses-permission android:name="android.permission.health.READ_SPEED"/> 79 <uses-permission android:name="android.permission.health.READ_BODY_FAT"/> 80 <uses-permission android:name="android.permission.health.READ_BODY_WATER_MASS"/> 81 <uses-permission android:name="android.permission.health.READ_BONE_MASS"/> 82 <uses-permission android:name="android.permission.health.READ_HEIGHT"/> 83 <uses-permission android:name="android.permission.health.READ_LEAN_BODY_MASS"/> 84 <uses-permission android:name="android.permission.health.READ_WEIGHT"/> 85 <uses-permission android:name="android.permission.health.READ_CERVICAL_MUCUS"/> 86 <uses-permission android:name="android.permission.health.READ_MENSTRUATION"/> 87 <uses-permission android:name="android.permission.health.READ_INTERMENSTRUAL_BLEEDING"/> 88 <uses-permission android:name="android.permission.health.READ_OVULATION_TEST"/> 89 <uses-permission android:name="android.permission.health.READ_SEXUAL_ACTIVITY"/> 90 <uses-permission android:name="android.permission.health.READ_SLEEP"/> 91 <uses-permission android:name="android.permission.health.READ_BASAL_BODY_TEMPERATURE"/> 92 <uses-permission android:name="android.permission.health.READ_BLOOD_GLUCOSE"/> 93 <uses-permission android:name="android.permission.health.READ_BLOOD_PRESSURE"/> 94 <uses-permission android:name="android.permission.health.READ_BODY_TEMPERATURE"/> 95 <uses-permission android:name="android.permission.health.READ_HEART_RATE_VARIABILITY"/> 96 <uses-permission android:name="android.permission.health.READ_OXYGEN_SATURATION"/> 97 <uses-permission android:name="android.permission.health.READ_RESPIRATORY_RATE"/> 98 <uses-permission android:name="android.permission.health.READ_RESTING_HEART_RATE"/> 99 <uses-permission android:name="android.permission.health.READ_SKIN_TEMPERATURE"/> 100 <uses-permission android:name="android.permission.health.READ_NUTRITION"/> 101 <uses-permission android:name="android.permission.health.READ_TOTAL_CALORIES_BURNED"/> 102 103 104 <application android:label="CtsHealthConnectTestAppAWithNormalReadWritePermission"> 105 <activity android:name="android.healthconnect.cts.testhelper.TestAppActivity" 106 android:exported="true"> 107 <intent-filter> 108 <action android:name="android.intent.action.MAIN"/> 109 <category android:name="android.intent.category.DEFAULT"/> 110 <category android:name="android.intent.category.LAUNCHER"/> 111 <action android:name="android.intent.action.VIEW_PERMISSION_USAGE"/> 112 <category android:name="android.intent.category.HEALTH_PERMISSIONS"/> 113 </intent-filter> 114 </activity> 115 116 <activity android:name="android.healthconnect.cts.utils.ProxyActivity" 117 android:exported="true"> 118 <intent-filter> 119 <action android:name="android.healthconnect.cts.ACTION_START_ACTIVITY_FOR_RESULT"/> 120 <category android:name="android.intent.category.DEFAULT"/> 121 </intent-filter> 122 </activity> 123 124 <receiver android:name="android.healthconnect.cts.testhelper.TestAppReceiver" 125 android:exported="true"/> 126 </application> 127</manifest> 128