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 package="android.view.surfacecontrol.cts" 20 xmlns:tools="http://schemas.android.com/tools" 21 android:targetSandboxVersion="2"> 22 23 <uses-permission android:name="android.permission.DISABLE_KEYGUARD"/> 24 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 25 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> 26 27 <queries> 28 <package android:name="com.android.cts.mockime" /> 29 <package android:name="android.server.wm.scvh" /> 30 </queries> 31 32 <!-- Make application debuggable to enable checkjni for all tests --> 33 <application android:label="Android TestCase" 34 android:maxRecents="1" 35 android:multiArch="true" 36 android:debuggable="true" 37 android:supportsRtl="true"> 38 <uses-library android:name="android.test.runner"/> 39 40 <activity android:name="android.view.surfacecontrol.cts.CtsActivity" 41 android:screenOrientation="locked" 42 android:label="CtsActivity" 43 android:exported="true"> 44 <intent-filter> 45 <action android:name="android.intent.action.MAIN"/> 46 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"/> 47 </intent-filter> 48 </activity> 49 50 <activity android:name="android.view.cts.surfacevalidator.CapturedActivity" 51 android:screenOrientation="locked" 52 android:theme="@style/WhiteBackgroundTheme" 53 android:exported="true"> 54 <intent-filter> 55 <action android:name="android.intent.action.MAIN"/> 56 <category android:name="android.intent.category.LAUNCHER"/> 57 </intent-filter> 58 </activity> 59 60 <activity android:name="android.view.cts.surfacevalidator.ASurfaceControlTestActivity" 61 android:screenOrientation="locked" 62 android:theme="@style/WhiteBackgroundTheme" 63 android:exported="true"> 64 <intent-filter> 65 <action android:name="android.intent.action.MAIN"/> 66 <category android:name="android.intent.category.LAUNCHER"/> 67 </intent-filter> 68 </activity> 69 70 <activity android:name="android.view.cts.util.CapturedActivityWithResource" 71 android:screenOrientation="locked" 72 android:theme="@style/WhiteBackgroundTheme" 73 android:exported="true"> 74 <intent-filter> 75 <action android:name="android.intent.action.MAIN"/> 76 <category android:name="android.intent.category.LAUNCHER"/> 77 </intent-filter> 78 </activity> 79 80 <activity android:name="android.view.surfacecontrol.cts.TrustedPresentationCallbackTest$TestActivity" 81 android:exported="true"> 82 <intent-filter> 83 <action android:name="android.intent.action.MAIN"/> 84 </intent-filter> 85 </activity> 86 87 <activity android:name="android.view.surfacecontrol.cts.SurfaceViewCtsActivity" 88 android:screenOrientation="locked" 89 android:turnScreenOn="true" 90 android:showWhenLocked="true" 91 android:label="SurfaceViewCtsActivity" 92 android:exported="true"> 93 <intent-filter> 94 <action android:name="android.intent.action.MAIN"/> 95 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"/> 96 </intent-filter> 97 </activity> 98 99 <activity android:name="android.view.surfacecontrol.cts.TestActivity" 100 android:exported="true" 101 android:turnScreenOn="true" 102 android:showWhenLocked="true" 103 android:theme="@android:style/Theme.NoTitleBar.Fullscreen" /> 104 105 <activity android:name="android.view.surfacecontrol.cts.TrustedPresentationListenerTest$TestActivity" 106 android:exported="true" 107 android:showWhenLocked="true" 108 android:turnScreenOn="true" /> 109 110 <activity android:name="android.view.surfacecontrol.cts.HandleConfigurationActivity" 111 android:screenOrientation="locked" 112 android:label="HandleConfigurationActivity" 113 android:rotationAnimation="jumpcut" 114 android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize" 115 android:exported="true"> 116 <intent-filter> 117 <action android:name="android.intent.action.MAIN"/> 118 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"/> 119 </intent-filter> 120 </activity> 121 122 <activity android:name="android.view.surfacecontrol.cts.SurfaceSyncGroupActivity" 123 android:screenOrientation="locked" 124 android:turnScreenOn="true" 125 android:theme="@style/WhiteBackgroundTheme" 126 android:exported="true"/> 127 128 <activity android:name="android.view.surfacecontrol.cts.SurfaceControlViewHostTests$TestActivity" 129 android:exported="true" 130 android:theme="@android:style/Theme.NoTitleBar.Fullscreen" /> 131 132 <service android:name="android.view.cts.util.EmbeddedSCVHService" 133 android:process="android.view.cts.surfacevalidator.embedded_process" /> 134 <service android:name="android.view.cts.util.SurfaceControlViewHostHelper$InProcessEmbeddedSCVHService" /> 135 </application> 136 137 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 138 android:targetPackage="android.view.surfacecontrol.cts" 139 android:label="SurfaceControl related CTS tests"> 140 </instrumentation> 141 142</manifest> 143