• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright 2018 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:settings="http://schemas.android.com/apk/res-auto"
21    android:title="@string/wifi_settings"
22    android:key="@string/psk_wifi_detail">
23    <!-- General Details Category -->
24    <com.android.car.settings.common.LogicalPreferenceGroup>
25        <com.android.car.settings.wifi.details.WifiDetailsPreference
26            android:key="@string/pk_wifi_signal_strength"
27            android:selectable="false"
28            android:title="@string/wifi_signal_strength"
29            settings:controller="com.android.car.settings.wifi.details.WifiSignalStrengthPreferenceController"/>
30        <com.android.car.settings.wifi.details.WifiDetailsPreference
31            android:key="@string/pk_wifi_frequency"
32            android:selectable="false"
33            android:title="@string/wifi_frequency"
34            settings:controller="com.android.car.settings.wifi.details.WifiFrequencyPreferenceController"/>
35        <com.android.car.settings.wifi.details.WifiDetailsPreference
36            android:key="@string/pk_wifi_security"
37            android:selectable="false"
38            android:title="@string/wifi_security"
39            settings:controller="com.android.car.settings.wifi.details.WifiSecurityPreferenceController"/>
40    </com.android.car.settings.common.LogicalPreferenceGroup>
41
42    <!-- Ip Details Category -->
43    <PreferenceCategory
44        android:title="@string/wifi_network_detail">
45        <com.android.car.settings.wifi.details.WifiDetailsPreference
46            android:key="@string/pk_wifi_mac_address"
47            android:selectable="false"
48            android:title="@string/wifi_mac_address"
49            settings:controller="com.android.car.settings.wifi.details.WifiMacAddressPreferenceController"/>
50        <com.android.car.settings.wifi.details.WifiDetailsPreference
51            android:key="@string/pk_wifi_ip"
52            android:selectable="false"
53            android:title="@string/wifi_ip_address"
54            settings:controller="com.android.car.settings.wifi.details.WifiIpAddressPreferenceController"/>
55        <com.android.car.settings.wifi.details.WifiDetailsPreference
56            android:key="@string/pk_wifi_gateway"
57            android:selectable="false"
58            android:title="@string/wifi_gateway"
59            settings:controller="com.android.car.settings.wifi.details.WifiGatewayPreferenceController"/>
60        <com.android.car.settings.wifi.details.WifiDetailsPreference
61            android:key="@string/pk_wifi_subnet_mask"
62            android:selectable="false"
63            android:title="@string/wifi_subnet_mask"
64            settings:controller="com.android.car.settings.wifi.details.WifiSubnetPreferenceController"/>
65        <com.android.car.settings.wifi.details.WifiDetailsPreference
66            android:key="@string/pk_wifi_dns"
67            android:selectable="false"
68            android:title="@string/wifi_dns"
69            settings:controller="com.android.car.settings.wifi.details.WifiDnsPreferenceController"/>
70        <com.android.car.settings.wifi.details.WifiDetailsPreference
71            android:key="@string/pk_wifi_link_speed"
72            android:selectable="false"
73            android:title="@string/wifi_speed"
74            settings:controller="com.android.car.settings.wifi.details.WifiLinkSpeedPreferenceController"/>
75    </PreferenceCategory>
76
77    <!-- IPv6 Details -->
78    <PreferenceCategory
79        android:selectable="false"
80        android:title="@string/wifi_details_ipv6_address_header">
81        <Preference
82            android:key="@string/pk_wifi_ipv6"
83            android:selectable="false"
84            settings:controller="com.android.car.settings.wifi.details.WifiIpv6AddressPreferenceController"
85            settings:showChevron="false"/>
86    </PreferenceCategory>
87</PreferenceScreen>
88