1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2022 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<PreferenceScreen
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:app="http://schemas.android.com/apk/res-auto"
21    android:title="@string/enable_adb_wireless">
22
23    <!-- ADB wireless disable/enable option -->
24    <PreferenceCategory
25        android:key="adb_wireless_selection_option">
26        <com.android.tv.settings.RadioPreference
27            android:key="adb_wireless_selection_disable"
28            android:title="@string/disabled"
29            app:radioGroup="adb_wireless_selection_option" />
30        <com.android.tv.settings.RadioPreference
31            android:key="adb_wireless_selection_enable"
32            android:title="@string/enabled"
33            app:radioGroup="adb_wireless_selection_option" />
34    </PreferenceCategory>
35
36    <!-- Pairing code -->
37    <Preference
38        android:key="adb_pair_method_code_pref"
39        android:title="@string/adb_pair_method_code_title"
40        android:fragment="com.android.tv.settings.system.development.WirelessDebuggingFragment$PairingCodeFragment" />
41
42    <!-- ADB device name -->
43    <Preference
44        android:key="adb_device_name_pref"
45        android:title="@string/device_name"
46        android:selectable="false" />
47
48    <!-- IP address & port -->
49    <Preference
50        android:key="adb_ip_addr_pref"
51        android:title="@string/adb_wireless_ip_addr_preference_title"
52        android:selectable="false" />
53
54    <!-- Paired devices list -->
55    <PreferenceCategory
56        android:key="adb_paired_devices_category"
57        android:title="@string/adb_paired_devices_title" />
58</PreferenceScreen>
59