Vishnu Nair | 8248b7c | 2018-08-01 10:13:36 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Nataniel Borges | 160b9df | 2023-05-12 12:29:57 +0000 | [diff] [blame] | 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 | --> |
Vishnu Nair | 8248b7c | 2018-08-01 10:13:36 -0700 | [diff] [blame] | 17 | |
| 18 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Nataniel Borges | 5fd4566 | 2023-06-21 15:04:29 +0000 | [diff] [blame] | 19 | xmlns:tools="http://schemas.android.com/tools" |
Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 20 | package="com.android.server.wm.flicker.close"> |
Vishnu Nair | 8248b7c | 2018-08-01 10:13:36 -0700 | [diff] [blame] | 21 | |
Nataniel Borges | 3bc59bb | 2020-07-15 20:59:36 +0200 | [diff] [blame] | 22 | <uses-sdk android:minSdkVersion="29" android:targetSdkVersion="29"/> |
Vishnu Nair | 8248b7c | 2018-08-01 10:13:36 -0700 | [diff] [blame] | 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" /> |
Nataniel Borges | d43036b | 2020-12-01 16:27:22 +0100 | [diff] [blame] | 26 | <!-- Allow the test to write directly to /sdcard/ --> |
| 27 | <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> |
Nataniel Borges | 9757209 | 2019-09-26 12:01:24 +0200 | [diff] [blame] | 28 | <!-- Write secure settings --> |
| 29 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
Vishnu Nair | 8248b7c | 2018-08-01 10:13:36 -0700 | [diff] [blame] | 30 | <!-- Capture screen contents --> |
| 31 | <uses-permission android:name="android.permission.ACCESS_SURFACE_FLINGER" /> |
Nataniel Borges | f5c828c | 2019-09-09 17:29:23 +0200 | [diff] [blame] | 32 | <!-- Enable / Disable tracing !--> |
| 33 | <uses-permission android:name="android.permission.DUMP" /> |
Bill Lin | a6c32cc9 | 2020-11-18 15:44:52 +0800 | [diff] [blame] | 34 | <!-- Force-stop test apps --> |
| 35 | <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"/> |
Vishnu Nair | 8248b7c | 2018-08-01 10:13:36 -0700 | [diff] [blame] | 36 | <!-- Run layers trace --> |
| 37 | <uses-permission android:name="android.permission.HARDWARE_TEST"/> |
Nataniel Borges | 9d11021 | 2021-01-15 16:04:09 +0100 | [diff] [blame] | 38 | <!-- Capture screen recording --> |
| 39 | <uses-permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"/> |
Nataniel Borges | 0dbd017 | 2020-04-01 13:43:03 +0200 | [diff] [blame] | 40 | <!-- 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 Borges | ba72075 | 2021-03-24 10:48:27 +0100 | [diff] [blame] | 43 | <!-- ATM.removeRootTasksWithActivityTypes() --> |
| 44 | <uses-permission android:name="android.permission.MANAGE_ACTIVITY_TASKS" /> |
Garfield Tan | 5cb5912 | 2022-09-16 09:19:34 -0700 | [diff] [blame] | 45 | <!-- ActivityOptions.makeCustomTaskAnimation() --> |
| 46 | <uses-permission android:name="android.permission.START_TASKS_FROM_RECENTS" /> |
Kean Mariotti | f9969f7 | 2023-06-09 12:53:23 +0000 | [diff] [blame] | 47 | <!-- 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 Nair | 8248b7c | 2018-08-01 10:13:36 -0700 | [diff] [blame] | 53 | <uses-library android:name="android.test.runner"/> |
Chris Li | d498d2f | 2022-06-28 11:29:40 +0800 | [diff] [blame] | 54 | <uses-library android:name="androidx.window.extensions" android:required="false"/> |
Nataniel Borges | 5fd4566 | 2023-06-21 15:04:29 +0000 | [diff] [blame] | 55 | |
| 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 Nair | 8248b7c | 2018-08-01 10:13:36 -0700 | [diff] [blame] | 61 | </application> |
Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 62 | |
| 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 Borges | f5c828c | 2019-09-09 17:29:23 +0200 | [diff] [blame] | 67 | </manifest> |