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.integrationtests"> 20 21 <!-- The permissions below would be needed if tests were not using "adopt shell permissions" to 22 obtain the necessary permissions. --> 23 <!-- uses-permission android:name="android.permission.MANAGE_HEALTH_PERMISSIONS" --> 24 <!-- uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS" --> 25 <!-- uses-permission android:name="android.permission.REVOKE_RUNTIME_PERMISSIONS" --> 26 27 <eat-comment/> 28 29 <queries> 30 <package android:name="android.healthconnect.test.app"/> 31 <package android:name="android.healthconnect.test.app2"/> 32 <package android:name="android.healthconnect.test.app3"/> 33 </queries> 34 35 <uses-permission android:name="android.permission.health.READ_BODY_FAT"/> 36 <uses-permission android:name="android.permission.health.READ_HEIGHT"/> 37 <uses-permission android:name="android.permission.health.WRITE_ACTIVE_CALORIES_BURNED"/> 38 <uses-permission android:name="android.permission.health.WRITE_EXERCISE"/> 39 <uses-permission android:name="android.permission.health.WRITE_PLANNED_EXERCISE"/> 40 41 <application android:debuggable="true"> 42 <uses-library android:name="android.test.runner"/> 43 <activity android:name=".EmptyActivity" 44 android:label="EmptyActivity" 45 android:exported="true"> 46 <intent-filter> 47 <action android:name="android.health.connect.action.SHOW_MIGRATION_INFO"/> 48 </intent-filter> 49 </activity> 50 51 <receiver android:name="android.healthconnect.cts.utils.TestReceiver" 52 android:exported="true"/> 53 </application> 54 55 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 56 android:targetPackage="android.healthconnect.integrationtests" 57 android:label="Integration tests for android.healthconnect."> 58 </instrumentation> 59 60</manifest> 61 62