blob: e75e178b388c576cdc11f13808a6b8ec6886cf5a [file] [log] [blame]
Vishnu Nair8248b7c2018-08-01 10:13:36 -07001<?xml version="1.0" encoding="utf-8"?>
Nataniel Borges160b9df2023-05-12 12:29:57 +00002<!--
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 -->
Vishnu Nair8248b7c2018-08-01 10:13:36 -070017
18<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Nataniel Borges5fd45662023-06-21 15:04:29 +000019 xmlns:tools="http://schemas.android.com/tools"
Nataniel Borges84828f92023-11-03 14:39:55 +000020 package="com.android.server.wm.flicker.close">
Vishnu Nair8248b7c2018-08-01 10:13:36 -070021
Nataniel Borges3bc59bb2020-07-15 20:59:36 +020022 <uses-sdk android:minSdkVersion="29" android:targetSdkVersion="29"/>
Vishnu Nair8248b7c2018-08-01 10:13:36 -070023 <!-- 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" />
Nataniel Borgesd43036b2020-12-01 16:27:22 +010026 <!-- Allow the test to write directly to /sdcard/ -->
27 <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
Nataniel Borges97572092019-09-26 12:01:24 +020028 <!-- Write secure settings -->
29 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
Vishnu Nair8248b7c2018-08-01 10:13:36 -070030 <!-- Capture screen contents -->
31 <uses-permission android:name="android.permission.ACCESS_SURFACE_FLINGER" />
Nataniel Borgesf5c828c2019-09-09 17:29:23 +020032 <!-- Enable / Disable tracing !-->
33 <uses-permission android:name="android.permission.DUMP" />
Bill Lina6c32cc92020-11-18 15:44:52 +080034 <!-- Force-stop test apps -->
35 <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"/>
Vishnu Nair8248b7c2018-08-01 10:13:36 -070036 <!-- Run layers trace -->
37 <uses-permission android:name="android.permission.HARDWARE_TEST"/>
Nataniel Borges9d110212021-01-15 16:04:09 +010038 <!-- Capture screen recording -->
39 <uses-permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"/>
Nataniel Borges0dbd0172020-04-01 13:43:03 +020040 <!-- Workaround grant runtime permission exception from b/152733071 -->
41 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
42 <uses-permission android:name="android.permission.READ_LOGS"/>
Nataniel Borgesba720752021-03-24 10:48:27 +010043 <!-- ATM.removeRootTasksWithActivityTypes() -->
44 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_TASKS" />
Garfield Tan5cb59122022-09-16 09:19:34 -070045 <!-- ActivityOptions.makeCustomTaskAnimation() -->
46 <uses-permission android:name="android.permission.START_TASKS_FROM_RECENTS" />
Kean Mariottif9969f72023-06-09 12:53:23 +000047 <!-- Allow the test to connect to perfetto trace processor -->
48 <uses-permission android:name="android.permission.INTERNET"/>
49 <!-- Allow the test to write directly to /sdcard/ and connect to trace processor -->
50 <application android:requestLegacyExternalStorage="true"
51 android:networkSecurityConfig="@xml/network_security_config"
52 android:largeHeap="true">
Vishnu Nair8248b7c2018-08-01 10:13:36 -070053 <uses-library android:name="android.test.runner"/>
Chris Lid498d2f2022-06-28 11:29:40 +080054 <uses-library android:name="androidx.window.extensions" android:required="false"/>
Nataniel Borges5fd45662023-06-21 15:04:29 +000055
56 <!-- (b/197936012) Remove startup provider due to test timeout issue -->
57 <provider
58 android:name="androidx.startup.InitializationProvider"
59 android:authorities="${applicationId}.androidx-startup"
60 tools:node="remove" />
Vishnu Nair8248b7c2018-08-01 10:13:36 -070061 </application>
Nataniel Borges84828f92023-11-03 14:39:55 +000062
63 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
64 android:targetPackage="com.android.server.wm.flicker.close"
65 android:label="WindowManager Flicker Tests">
66 </instrumentation>
Nataniel Borgesf5c828c2019-09-09 17:29:23 +020067</manifest>