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<ScrollView
18    android:layout_width="fill_parent"
19    android:layout_height="fill_parent"
20    xmlns:android="http://schemas.android.com/apk/res/android">
21    <LinearLayout
22        android:layout_width="match_parent"
23        android:layout_height="match_parent"
24        android:orientation="vertical">
25        <LinearLayout
26            android:layout_width="match_parent"
27            android:layout_height="wrap_content"
28            android:orientation="horizontal">
29            <Space
30                android:layout_width="3dp"
31                android:layout_height="match_parent"/>
32            <TextView
33                android:layout_width="wrap_content"
34                android:layout_height="wrap_content"
35                android:text="@string/oem_car_service_audio_focus"/>
36            <Space
37                android:layout_width="3dp"
38                android:layout_height="match_parent"/>
39            <Button
40                android:id="@+id/oem_car_service_audio_focus_test_button"
41                android:layout_width="wrap_content"
42                android:layout_height="wrap_content"
43                android:text="@string/oem_car_service_audio_focus_test"
44                android:padding="20dp"/>
45        </LinearLayout>
46        <LinearLayout
47            android:layout_width="match_parent"
48            android:layout_height="wrap_content"
49            android:orientation="horizontal">
50            <Space
51                android:layout_width="3dp"
52                android:layout_height="match_parent"/>
53            <TextView
54                android:layout_width="wrap_content"
55                android:layout_height="wrap_content"
56                android:text="@string/oem_car_service_audio_volume"/>
57            <Space
58                android:layout_width="3dp"
59                android:layout_height="match_parent"/>
60            <Button
61                android:id="@+id/oem_car_service_audio_volume_test_button"
62                android:layout_width="wrap_content"
63                android:layout_height="wrap_content"
64                android:text="@string/oem_car_service_audio_volume_test"
65                android:padding="20dp"/>
66        </LinearLayout>
67
68        <Space
69            android:layout_width="match_parent"
70            android:layout_height="20dp"/>
71        <LinearLayout
72            android:layout_width="match_parent"
73            android:layout_height="wrap_content"
74            android:orientation="horizontal">
75            <LinearLayout
76                android:layout_width="wrap_content"
77                android:layout_height="wrap_content"
78                android:orientation="vertical">
79                <TextView
80                    android:layout_width="wrap_content"
81                    android:layout_height="wrap_content"
82                    android:text="@string/oem_car_service_audio_focus_results"/>
83                <Space
84                    android:layout_width="3dp"
85                    android:layout_height="match_parent"/>
86                <TextView
87                    android:id="@+id/oem_car_service_audio_focus_text"
88                    android:layout_width="400dp"
89                    android:layout_height="wrap_content"
90                    android:text="No Results"/>
91            </LinearLayout>
92            <LinearLayout
93                android:layout_width="wrap_content"
94                android:layout_height="wrap_content"
95                android:orientation="vertical">
96                <TextView
97                    android:layout_width="wrap_content"
98                    android:layout_height="wrap_content"
99                    android:text="@string/oem_car_service_audio_volume_results"/>
100                <Space
101                    android:layout_width="3dp"
102                    android:layout_height="match_parent"/>
103                <TextView
104                    android:id="@+id/oem_car_service_audio_volume_text"
105                    android:layout_width="400dp"
106                    android:layout_height="wrap_content"
107                    android:text="No Results"/>
108            </LinearLayout>
109        </LinearLayout>
110        <Space
111            android:layout_width="match_parent"
112            android:layout_height="3dp"/>
113        <LinearLayout
114            android:layout_width="wrap_content"
115            android:layout_height="wrap_content"
116            android:orientation="vertical">
117            <TextView
118                android:layout_width="wrap_content"
119                android:layout_height="wrap_content"
120                android:text="Instructions for installing OEMCarServiceTestApp:\n
121            adb root\n
122            adb remount #(reboot if required)\n
123            adb shell setprop persist.com.android.car.internal.debug.oem_car_service\n
124            com.android.car.oemcarservice.testapp/.OemCarServiceImpl\n
125            m -j OemCarServiceTestApp\n
126            adb root &amp;&amp; adb remount &amp;&amp; adb shell stop &amp;&amp; adb sync &amp;&amp;\n
127            adb shell start\n
128            Visit go/oem-customization-service for more information."/>
129            <Space
130                android:layout_width="match_parent"
131                android:layout_height="20dp"/>
132            <TextView
133                android:layout_width="wrap_content"
134                android:layout_height="wrap_content"
135                android:text="Ensure that the following have been set:\n
136            adb shell setprop persist.log.tag.CarOemAudioFocusProxyService DEBUG\n
137            adb shell setprop persist.log.tag.CarOemAudioVolumeProxyService DEBUG"/>
138        </LinearLayout>
139    </LinearLayout>
140</ScrollView>
141