xref: /aosp_15_r20/frameworks/base/tests/SurfaceViewBufferTests/AndroidManifest.xml (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1*d57664e9SAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*d57664e9SAndroid Build Coastguard Worker<!-- Copyright (C) 2020 The Android Open Source Project
3*d57664e9SAndroid Build Coastguard Worker
4*d57664e9SAndroid Build Coastguard Worker     Licensed under the Apache License, Version 2.0 (the "License");
5*d57664e9SAndroid Build Coastguard Worker     you may not use this file except in compliance with the License.
6*d57664e9SAndroid Build Coastguard Worker     You may obtain a copy of the License at
7*d57664e9SAndroid Build Coastguard Worker
8*d57664e9SAndroid Build Coastguard Worker          http://www.apache.org/licenses/LICENSE-2.0
9*d57664e9SAndroid Build Coastguard Worker
10*d57664e9SAndroid Build Coastguard Worker     Unless required by applicable law or agreed to in writing, software
11*d57664e9SAndroid Build Coastguard Worker     distributed under the License is distributed on an "AS IS" BASIS,
12*d57664e9SAndroid Build Coastguard Worker     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*d57664e9SAndroid Build Coastguard Worker     See the License for the specific language governing permissions and
14*d57664e9SAndroid Build Coastguard Worker     limitations under the License.
15*d57664e9SAndroid Build Coastguard Worker-->
16*d57664e9SAndroid Build Coastguard Worker
17*d57664e9SAndroid Build Coastguard Worker<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18*d57664e9SAndroid Build Coastguard Worker     package="com.android.test">
19*d57664e9SAndroid Build Coastguard Worker
20*d57664e9SAndroid Build Coastguard Worker    <uses-sdk android:minSdkVersion="29"
21*d57664e9SAndroid Build Coastguard Worker         android:targetSdkVersion="29"/>
22*d57664e9SAndroid Build Coastguard Worker    <!-- Enable / Disable tracing !-->
23*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.DUMP" />
24*d57664e9SAndroid Build Coastguard Worker    <!-- Enable / Disable sv blast adapter !-->
25*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
26*d57664e9SAndroid Build Coastguard Worker    <!-- Readback virtual display output !-->
27*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"/>
28*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
29*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
30*d57664e9SAndroid Build Coastguard Worker    <!-- Save failed test bitmap images !-->
31*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.Manifest.permission.WRITE_EXTERNAL_STORAGE"/>
32*d57664e9SAndroid Build Coastguard Worker    <!-- Allow the test to connect to perfetto trace processor -->
33*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.INTERNET"/>
34*d57664e9SAndroid Build Coastguard Worker
35*d57664e9SAndroid Build Coastguard Worker    <application android:allowBackup="false"
36*d57664e9SAndroid Build Coastguard Worker         android:supportsRtl="true"
37*d57664e9SAndroid Build Coastguard Worker         android:networkSecurityConfig="@xml/network_security_config">
38*d57664e9SAndroid Build Coastguard Worker        <activity android:name=".MainActivity"
39*d57664e9SAndroid Build Coastguard Worker                  android:taskAffinity="com.android.test.MainActivity"
40*d57664e9SAndroid Build Coastguard Worker                  android:theme="@style/AppTheme"
41*d57664e9SAndroid Build Coastguard Worker                  android:configChanges="orientation|screenSize"
42*d57664e9SAndroid Build Coastguard Worker                  android:label="SurfaceViewBufferTestApp"
43*d57664e9SAndroid Build Coastguard Worker                  android:exported="true">
44*d57664e9SAndroid Build Coastguard Worker            <intent-filter>
45*d57664e9SAndroid Build Coastguard Worker                <action android:name="android.intent.action.MAIN"/>
46*d57664e9SAndroid Build Coastguard Worker                <category android:name="android.intent.category.LAUNCHER"/>
47*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
48*d57664e9SAndroid Build Coastguard Worker        </activity>
49*d57664e9SAndroid Build Coastguard Worker        <service android:name="com.android.test.LocalMediaProjectionService"
50*d57664e9SAndroid Build Coastguard Worker                 android:foregroundServiceType="mediaProjection"
51*d57664e9SAndroid Build Coastguard Worker                 android:enabled="true">
52*d57664e9SAndroid Build Coastguard Worker        </service>
53*d57664e9SAndroid Build Coastguard Worker        <uses-library android:name="android.test.runner"/>
54*d57664e9SAndroid Build Coastguard Worker    </application>
55*d57664e9SAndroid Build Coastguard Worker
56*d57664e9SAndroid Build Coastguard Worker    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
57*d57664e9SAndroid Build Coastguard Worker                     android:targetPackage="com.android.test"
58*d57664e9SAndroid Build Coastguard Worker                     android:label="SurfaceViewBufferTests">
59*d57664e9SAndroid Build Coastguard Worker    </instrumentation>
60*d57664e9SAndroid Build Coastguard Worker</manifest>
61