• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        <package android:name="android.healthconnect.test.app4"/>
34        <package android:name="android.healthconnect.test.app5"/>
35    </queries>
36
37    <uses-permission android:name="android.permission.health.READ_BODY_FAT"/>
38    <uses-permission android:name="android.permission.health.READ_HEIGHT"/>
39    <uses-permission android:name="android.permission.health.WRITE_ACTIVE_CALORIES_BURNED"/>
40    <uses-permission android:name="android.permission.health.WRITE_EXERCISE"/>
41    <uses-permission android:name="android.permission.health.WRITE_PLANNED_EXERCISE"/>
42
43    <application android:debuggable="true">
44        <uses-library android:name="android.test.runner"/>
45        <activity android:name=".EmptyActivity"
46            android:label="EmptyActivity"
47            android:exported="true">
48            <intent-filter>
49                <action android:name="android.health.connect.action.SHOW_MIGRATION_INFO"/>
50            </intent-filter>
51        </activity>
52    </application>
53
54    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
55                     android:targetPackage="android.healthconnect.integrationtests"
56                     android:label="Integration tests for android.healthconnect.">
57    </instrumentation>
58
59</manifest>
60
61