1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2020 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<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18    xmlns:tools="http://schemas.android.com/tools"
19    package="androidx.benchmark.macro" >
20
21    <uses-sdk android:minSdkVersion="23" />
22
23    <uses-permission
24        android:name="android.permission.QUERY_ALL_PACKAGES"
25        tools:ignore="QueryAllPackagesPermission" />
26
27    <!--
28         Internet permission is required for perfetto trace shell processor http server but
29        it's used to reach localhost only
30    -->
31    <uses-permission android:name="android.permission.INTERNET" />
32
33    <!--
34     QUERY_ALL_PACKAGES is used to enable macrobenchmarks to read package information from
35    potential target packages, e.g. for querying debuggable, profileable, or default launch intent.
36
37    This could also be done by making each macrobenchmark specify a <queries/> tag, with the
38    target package, but this removes the need for documenting that setup step, and detecting
39    misconfiguration.
40    -->
41    <!-- usesCleartextTraffic is required for perfetto trace shell processor http server -->
42    <application android:networkSecurityConfig="@xml/network_security_config" />
43
44</manifest>