• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<PreferenceScreen
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:settings="http://schemas.android.com/apk/res-auto"
20    android:key="wifi_configure_settings_screen"
21    android:title="@string/wifi_configure_settings_preference_title">
22
23    <SwitchPreference
24        android:key="enable_wifi_wakeup"
25        android:title="@string/wifi_wakeup"
26        android:icon="@drawable/ic_auto_wifi"
27        android:summary="@string/wifi_wakeup_summary" />
28
29    <SwitchPreference
30        android:key="use_open_wifi_automatically"
31        android:icon="@drawable/ic_open_wifi_autoconnect"
32        android:title="@string/use_open_wifi_automatically_title"
33        android:summary="@string/use_open_wifi_automatically_summary" />
34
35    <SwitchPreference
36        android:key="notify_open_networks"
37        android:title="@string/wifi_notify_open_networks"
38        android:icon="@drawable/ic_open_wifi_notifications"
39        android:summary="@string/wifi_notify_open_networks_summary"
40        settings:keywords="@string/keywords_wifi_notify_open_networks"/>
41
42    <SwitchPreference
43        android:key="wifi_cellular_data_fallback"
44        android:title="@string/wifi_cellular_data_fallback_title"
45        android:summary="@string/wifi_cellular_data_fallback_summary"
46        settings:controller="com.android.car.developeroptions.wifi.CellularFallbackPreferenceController" />
47
48    <Preference
49        android:key="install_credentials"
50        android:title="@string/wifi_install_credentials">
51        <intent android:action="android.credentials.INSTALL_AS_USER"
52                android:targetPackage="com.android.certinstaller"
53                android:targetClass="com.android.certinstaller.CertInstallerMain">
54            <extra android:name="install_as_uid" android:value="1010" />
55        </intent>
56    </Preference>
57
58    <Preference
59        android:key="network_scorer_picker"
60        android:title="@string/network_scorer_picker_title"
61        android:fragment="com.android.car.developeroptions.network.NetworkScorerPicker"
62        settings:controller="com.android.car.developeroptions.network.NetworkScorerPickerPreferenceController" />
63
64    <Preference
65        android:key="wifi_direct"
66        android:title="@string/wifi_menu_p2p"
67        android:fragment="com.android.car.developeroptions.wifi.p2p.WifiP2pSettings" />
68
69    <Preference
70        android:key="mac_address"
71        android:title="@string/wifi_advanced_mac_address_title" />
72
73    <Preference
74        android:key="current_ip_address"
75        android:title="@string/wifi_advanced_ip_address_title" />
76
77</PreferenceScreen>
78