1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2019 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          android:sharedUserId="android.uid.system"
21          package="com.android.systemui.tests">
22
23    <permission
24        android:name="com.android.car.docklib.permission.BROADCAST_SENDER"
25        tools:node="remove" />
26
27    <permission
28        android:name="com.android.car.docklib.permission.BROADCAST_RECEIVER"
29        tools:node="remove" />
30
31    <application
32        android:name="com.android.systemui.SystemUIApplication"
33        android:debuggable="true"
34        android:largeHeap="true"
35        tools:replace="android:appComponentFactory"
36        android:appComponentFactory="com.android.systemui.CarSystemUITestAppComponentFactory"
37        android:testOnly="true">
38        <uses-library android:name="android.test.runner"/>
39
40        <activity android:name="com.android.systemui.car.userpicker.UserPickerDriverTestActivity"
41                  android:exported="false"
42                  android:theme="@style/Theme.UserPicker"
43                  android:finishOnCloseSystemDialogs="true"
44                  android:excludeFromRecents="true" />
45
46        <activity android:name="com.android.systemui.car.userpicker.UserPickerPassengerTestActivity"
47                  android:exported="false"
48                  android:theme="@style/Theme.UserPicker"
49                  android:finishOnCloseSystemDialogs="true"
50                  android:excludeFromRecents="true" />
51
52        <activity android:name="com.android.systemui.car.userpicker.UserPickerRecyclerViewTestActivity"
53                  android:exported="false"
54                  android:theme="@style/Theme.UserPicker"
55                  android:finishOnCloseSystemDialogs="true"
56                  android:excludeFromRecents="true" />
57
58        <provider
59            android:name="androidx.startup.InitializationProvider"
60            tools:replace="android:authorities"
61            android:authorities="${applicationId}.startup-tests"
62            android:exported="false"
63            android:enabled="false"
64            android:multiprocess="true"/>
65    </application>
66
67    <instrumentation android:name="android.testing.TestableInstrumentation"
68                     android:targetPackage="com.android.systemui.tests"
69                     android:label="Tests for CarSystemUI">
70    </instrumentation>
71</manifest>
72