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 38 <application android:debuggable="true"> 39 <uses-library android:name="android.test.runner"/> 40 <activity android:name=".EmptyActivity" 41 android:label="EmptyActivity" 42 android:exported="true"> 43 <intent-filter> 44 <action android:name="android.health.connect.action.SHOW_MIGRATION_INFO"/> 45 </intent-filter> 46 </activity> 47 48 </application> 49 50 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 51 android:targetPackage="android.healthconnect.integrationtests" 52 android:label="Integration tests for android.healthconnect."> 53 </instrumentation> 54 55</manifest> 56 57