Make SettingsLib capable of tracking which wifi networks are available/saved and their state. Also modify Quick Settings to use this code rather than having its own logic. Bug: 19180466 Change-Id: Iff9f9aed240d79323dba41496496e8076b9fa6f2
82 lines
3.9 KiB
XML
82 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
**
|
|
** Copyright 2015 The Android Open Source Project
|
|
**
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
** you may not use this file except in compliance with the License.
|
|
** You may obtain a copy of the License at
|
|
**
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
**
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
** See the License for the specific language governing permissions and
|
|
** limitations under the License.
|
|
*/
|
|
-->
|
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
|
|
<!-- Wi-Fi settings -->
|
|
|
|
<!-- Match this with the order of NetworkInfo.DetailedState. --> <skip />
|
|
<!-- Wi-Fi settings. The status messages when the network is unknown. -->
|
|
<string-array name="wifi_status">
|
|
<!-- Status message of Wi-Fi when it is idle. -->
|
|
<item></item>
|
|
<!-- Status message of Wi-Fi when it is scanning. -->
|
|
<item>Scanning\u2026</item>
|
|
<!-- Status message of Wi-Fi when it is connecting. -->
|
|
<item>Connecting\u2026</item>
|
|
<!-- Status message of Wi-Fi when it is authenticating. -->
|
|
<item>Authenticating\u2026</item>
|
|
<!-- Status message of Wi-Fi when it is obtaining IP address. -->
|
|
<item>Obtaining IP address\u2026</item>
|
|
<!-- Status message of Wi-Fi when it is connected. -->
|
|
<item>Connected</item>
|
|
<!-- Status message of Wi-Fi when it is suspended. -->
|
|
<item>Suspended</item>
|
|
<!-- Status message of Wi-Fi when it is disconnecting. -->
|
|
<item>Disconnecting\u2026</item>
|
|
<!-- Status message of Wi-Fi when it is disconnected. -->
|
|
<item>Disconnected</item>
|
|
<!-- Status message of Wi-Fi when it is a failure. -->
|
|
<item>Unsuccessful</item>
|
|
<!-- Status message of Wi-Fi when it is blocked. -->
|
|
<item>Blocked</item>
|
|
<!-- Status message of Wi-Fi when connectiong is being verified. -->
|
|
<item>Temporarily avoiding poor connection</item>
|
|
</string-array>
|
|
|
|
<!-- Match this with the order of NetworkInfo.DetailedState. --> <skip />
|
|
<!-- Wi-Fi settings. The status messages when the network is known. -->
|
|
<string-array name="wifi_status_with_ssid">
|
|
<!-- Status message of Wi-Fi when it is idle. -->
|
|
<item></item>
|
|
<!-- Status message of Wi-Fi when it is scanning. -->
|
|
<item>Scanning\u2026</item>
|
|
<!-- Status message of Wi-Fi when it is connecting to a network. -->
|
|
<item>Connecting to <xliff:g id="network_name">%1$s</xliff:g>\u2026</item>
|
|
<!-- Status message of Wi-Fi when it is authenticating with a network. -->
|
|
<item>Authenticating with <xliff:g id="network_name">%1$s</xliff:g>\u2026</item>
|
|
<!-- Status message of Wi-Fi when it is obtaining IP address from a network. -->
|
|
<item>Obtaining IP address from <xliff:g id="network_name">%1$s</xliff:g>\u2026</item>
|
|
<!-- Status message of Wi-Fi when it is connected to a network. -->
|
|
<item>Connected to <xliff:g id="network_name">%1$s</xliff:g></item>
|
|
<!-- Status message of Wi-Fi when it is suspended. -->
|
|
<item>Suspended</item>
|
|
<!-- Status message of Wi-Fi when it is disconnecting from a network. -->
|
|
<item>Disconnecting from <xliff:g id="network_name">%1$s</xliff:g>\u2026</item>
|
|
<!-- Status message of Wi-Fi when it is disconnected. -->
|
|
<item>Disconnected</item>
|
|
<!-- Status message of Wi-Fi when it is a failure. -->
|
|
<item>Unsuccessful</item>
|
|
<!-- Status message of Wi-Fi when it is blocked. -->
|
|
<item>Blocked</item>
|
|
<!-- Status message of Wi-Fi when connectiong is being verified. -->
|
|
<item>Temporarily avoiding poor connection</item>
|
|
</string-array>
|
|
</resources>
|