1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2023 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 xmlns:tools="http://schemas.android.com/tools" 20 package="android.tools"> 21 22 <uses-sdk android:minSdkVersion="29" android:targetSdkVersion="29"/> 23 <!-- Read and write traces from external storage --> 24 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 25 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> 26 <!-- Allow the test to write directly to /sdcard/ --> 27 <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> 28 <!-- Capture screen contents --> 29 <uses-permission android:name="android.permission.ACCESS_SURFACE_FLINGER" /> 30 <!-- Run layers trace --> 31 <uses-permission android:name="android.permission.HARDWARE_TEST"/> 32 <!-- Capture screen recording --> 33 <uses-permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"/> 34 <!-- Enable / Disable tracing !--> 35 <uses-permission android:name="android.permission.DUMP" /> 36 <!-- ATM.removeRootTasksWithActivityTypes() --> 37 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_TASKS" /> 38 <!-- Force-stop test apps --> 39 <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"/> 40 <!-- Allow the test to connect to perfetto trace processor --> 41 <uses-permission android:name="android.permission.INTERNET"/> 42 43 <!-- Allow the test to write directly to /sdcard/ --> 44 <application android:label="FlickerLibTest" 45 android:requestLegacyExternalStorage="true" 46 android:largeHeap="true" 47 android:networkSecurityConfig="@xml/network_security_config"> 48 <uses-library android:name="android.test.runner"/> 49 50 <!-- (b/197936012) Remove startup provider due to test timeout issue --> 51 <provider android:name="androidx.startup.InitializationProvider" 52 android:authorities="${applicationId}.androidx-startup" 53 tools:node="remove" /> 54 </application> 55</manifest> 56