1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright 2023 Google Inc. All Rights Reserved.
4 -->
5
6<manifest xmlns:android="http://schemas.android.com/apk/res/android"
7          package="android.tools">
8
9    <!-- Perfetto tracing and trace processor -->
10    <uses-permission android:name="android.permission.READ_LOGS"/>
11    <uses-permission android:name="android.permission.INTERNET"/>
12    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
13    <!-- Shell transition tracing -->
14    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
15    <!-- Capture screen recording -->
16    <uses-permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"/>
17    <!-- Enable / Disable tracing !-->
18    <uses-permission android:name="android.permission.DUMP" />
19    <!-- Allow the test to write directly to /sdcard/ -->
20    <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
21    <!-- Allow the test to connect to perfetto trace processor -->
22    <uses-permission android:name="android.permission.INTERNET"/>
23
24
25    <uses-sdk android:minSdkVersion="29" android:targetSdkVersion="29"/>
26    <application android:label="FlickerLibUtilsTest"
27                 android:requestLegacyExternalStorage="true"
28                 android:networkSecurityConfig="@xml/network_security_config">
29        <uses-library android:name="android.test.runner"/>
30    </application>
31
32    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
33                     android:targetPackage="android.tools"
34                     android:label="WindowManager Flicker Lib Test">
35    </instrumentation>
36
37</manifest>
38