OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:WifiManager
(Results
51 - 75
of
175
) sorted by null
1
2
3
4
5
6
7
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
TestCase.java
19
import android.net.wifi.
WifiManager
;
53
protected
WifiManager
mWifiMgr;
146
mWifiMgr = (
WifiManager
) mContext.getSystemService(Context.WIFI_SERVICE);
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
WifiTest.java
22
import android.net.wifi.
WifiManager
;
50
// Shared
WifiManager
instance.
51
private
WifiManager
mWifiManager;
56
mWifiManager = (
WifiManager
) getContext().getSystemService(Context.WIFI_SERVICE);
60
* Add a network through the
WifiManager
API. Verifies that the network was actually added.
78
* Remove any network through the
WifiManager
API with a certain SSID. Verifies that the network
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
WifiManagerFacade.java
22
import android.net.wifi.
WifiManager
;
23
import android.net.wifi.
WifiManager
.WifiLock;
65
*
WifiManager
functions.
70
private final static String mEventType = "
WifiManager
";
72
private final
WifiManager
mWifi;
87
if (
WifiManager
.WIFI_AP_STATE_CHANGED_ACTION.equals(action)) {
89
int state = intent.getIntExtra(
WifiManager
.EXTRA_WIFI_AP_STATE,
90
WifiManager
.WIFI_AP_STATE_FAILED);
91
if (state ==
WifiManager
.WIFI_AP_STATE_ENABLED) {
93
} else if (state ==
WifiManager
.WIFI_AP_STATE_DISABLED)
[
all
...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
WifiAssociationTest.java
25
import android.net.wifi.
WifiManager
;
88
frequencyBand =
WifiManager
.WIFI_FREQUENCY_BAND_2GHZ;
90
frequencyBand =
WifiManager
.WIFI_FREQUENCY_BAND_5GHZ;
92
frequencyBand =
WifiManager
.WIFI_FREQUENCY_BAND_AUTO;
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
HotspotCondition.java
24
import android.net.wifi.
WifiManager
;
38
private final
WifiManager
mWifiManager;
42
mWifiManager = mManager.getContext().getSystemService(
WifiManager
.class);
124
if (
WifiManager
.WIFI_AP_STATE_CHANGED_ACTION.equals(intent.getAction())) {
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
WifiP2pPeer.java
20
import android.net.wifi.
WifiManager
;
89
return
WifiManager
.calculateSignalLevel(mRssi, SIGNAL_LEVELS);
/cts/common/device-side/util/src/com/android/compatibility/common/util/
WifiConfigCreator.java
24
import android.net.wifi.
WifiManager
;
32
import static android.net.wifi.
WifiManager
.EXTRA_WIFI_STATE;
33
import static android.net.wifi.
WifiManager
.WIFI_STATE_ENABLED;
59
private final
WifiManager
mWifiManager;
63
mWifiManager = (
WifiManager
) context.getSystemService(Context.WIFI_SERVICE);
201
mContext.registerReceiver(watcher, new IntentFilter(
WifiManager
.WIFI_STATE_CHANGED_ACTION));
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
ConnectToWifiFragment.java
28
import android.net.wifi.
WifiManager
;
74
private
WifiManager
mWifiManager;
133
mWifiManager = ((
WifiManager
) getActivity().getSystemService(Context.WIFI_SERVICE));
137
filter.addAction(
WifiManager
.SUPPLICANT_STATE_CHANGED_ACTION);
141
if (
WifiManager
.SUPPLICANT_STATE_CHANGED_ACTION.equals(intent.getAction())) {
143
WifiManager
.EXTRA_NEW_STATE);
ConnectivityListener.java
33
import android.net.wifi.
WifiManager
;
64
private final
WifiManager
mWifiManager;
110
mWifiManager = (
WifiManager
) mContext.getSystemService(Context.WIFI_SERVICE);
126
WifiManager
.WIFI_STATE_CHANGED_ACTION));
224
return
WifiManager
.calculateSignalLevel(wifiInfo.getRssi(), maxLevel);
336
signalStrength =
WifiManager
.calculateSignalLevel(wifiInfo.getRssi(), 4);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiStateMachine.java
19
import static android.net.wifi.
WifiManager
.WIFI_AP_STATE_DISABLED;
20
import static android.net.wifi.
WifiManager
.WIFI_AP_STATE_DISABLING;
21
import static android.net.wifi.
WifiManager
.WIFI_AP_STATE_ENABLED;
22
import static android.net.wifi.
WifiManager
.WIFI_AP_STATE_ENABLING;
23
import static android.net.wifi.
WifiManager
.WIFI_AP_STATE_FAILED;
24
import static android.net.wifi.
WifiManager
.WIFI_STATE_DISABLED;
25
import static android.net.wifi.
WifiManager
.WIFI_STATE_DISABLING;
26
import static android.net.wifi.
WifiManager
.WIFI_STATE_ENABLED;
27
import static android.net.wifi.
WifiManager
.WIFI_STATE_ENABLING;
28
import static android.net.wifi.
WifiManager
.WIFI_STATE_UNKNOWN
[
all
...]
SupplicantStateTracker.java
23
import android.net.wifi.
WifiManager
;
197
Intent intent = new Intent(
WifiManager
.SUPPLICANT_STATE_CHANGED_ACTION);
200
intent.putExtra(
WifiManager
.EXTRA_NEW_STATE, (Parcelable) state);
203
WifiManager
.EXTRA_SUPPLICANT_ERROR,
204
WifiManager
.ERROR_AUTHENTICATING);
235
case
WifiManager
.CONNECT_NETWORK:
/frameworks/base/wifi/java/android/net/wifi/
WifiManager.java
69
public class
WifiManager
{
71
private static final String TAG = "
WifiManager
";
681
* Create a new
WifiManager
instance.
690
public
WifiManager
(Context context, IWifiManager service, Looper looper) {
[
all
...]
/packages/apps/Settings/src/com/android/settings/wifi/
ConfigureWifiSettings.java
26
import android.net.wifi.
WifiManager
;
56
private
WifiManager
mWifiManager;
71
mWifiManager = (
WifiManager
) getSystemService(Context.WIFI_SERVICE);
73
mFilter.addAction(
WifiManager
.LINK_CONFIGURATION_CHANGED_ACTION);
74
mFilter.addAction(
WifiManager
.NETWORK_STATE_CHANGED_ACTION);
253
if (action.equals(
WifiManager
.LINK_CONFIGURATION_CHANGED_ACTION) ||
254
action.equals(
WifiManager
.NETWORK_STATE_CHANGED_ACTION)) {
WifiSettings.java
35
import android.net.wifi.
WifiManager
;
119
protected
WifiManager
mWifiManager;
120
private
WifiManager
.ActionListener mConnectListener;
121
private
WifiManager
.ActionListener mSaveListener;
122
private
WifiManager
.ActionListener mForgetListener;
202
mConnectListener = new
WifiManager
.ActionListener() {
217
mSaveListener = new
WifiManager
.ActionListener() {
232
mForgetListener = new
WifiManager
.ActionListener() {
615
case
WifiManager
.WIFI_STATE_ENABLED:
681
case
WifiManager
.WIFI_STATE_ENABLING
[
all
...]
WifiAPITest.java
23
import android.net.wifi.
WifiManager
;
56
private
WifiManager
mWifiManager;
67
mWifiManager = (
WifiManager
) getSystemService(WIFI_SERVICE);
WifiScanModeActivity.java
27
import android.net.wifi.
WifiManager
;
46
.equals(
WifiManager
.ACTION_REQUEST_SCAN_ALWAYS_AVAILABLE)) {
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
NetworkMonitorAutoDetect.java
44
import android.net.wifi.
WifiManager
;
216
/** Queries the
WifiManager
for SSID of the current Wifi connection. */
219
private final
WifiManager
wifiManager
;
228
wifiManager
= hasWifiPermission
229
? (
WifiManager
) context.getSystemService(Context.WIFI_SERVICE) : null;
236
wifiManager
= null;
242
new IntentFilter(
WifiManager
.NETWORK_STATE_CHANGED_ACTION));
244
final WifiInfo wifiInfo = intent.getParcelableExtra(
WifiManager
.EXTRA_WIFI_INFO);
/packages/apps/Settings/src/com/android/settings/datausage/
DataUsageMeteredSettings.java
24
import android.net.wifi.
WifiManager
;
55
private
WifiManager
mWifiManager;
74
mWifiManager = (
WifiManager
) context.getSystemService(Context.WIFI_SERVICE);
203
final
WifiManager
wifiManager
=
204
(
WifiManager
) context.getSystemService(Context.WIFI_SERVICE);
205
if (hasWifiRadio(context) &&
wifiManager
.isWifiEnabled()) {
206
for (WifiConfiguration config :
wifiManager
.getConfiguredNetworks()) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
StatusFragment.java
27
import android.net.wifi.
WifiManager
;
64
WifiManager
.LINK_CONFIGURATION_CHANGED_ACTION,
65
WifiManager
.NETWORK_STATE_CHANGED_ACTION,
73
private
WifiManager
mWifiManager;
130
mWifiManager = (
WifiManager
) getActivity().getSystemService(Context.WIFI_SERVICE);
/cts/tests/tests/media/src/android/media/cts/
WifiStatus.java
24
import android.net.wifi.
WifiManager
;
42
private
WifiManager
mWifiManager;
47
mWifiManager = (
WifiManager
)context.getSystemService(Context.WIFI_SERVICE);
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
WifiConfig.java
22
import android.net.wifi.
WifiManager
;
32
private final
WifiManager
mWifiManager;
40
public WifiConfig(
WifiManager
manager) {
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
AddWifiNetworkTask.java
23
import android.net.wifi.
WifiManager
;
52
private
WifiManager
mWifiManager;
71
mWifiManager = (
WifiManager
) mContext.getSystemService(Context.WIFI_SERVICE);
/packages/apps/Settings/src/com/android/settings/
ResetNetworkConfirm.java
24
import android.net.wifi.
WifiManager
;
78
WifiManager
wifiManager
= (
WifiManager
)
80
if (
wifiManager
!= null) {
81
wifiManager
.factoryReset();
/platform_testing/tests/androidbvt/src/com/android/androidbvt/
AndroidBvtHelper.java
24
import android.net.wifi.
WifiManager
;
75
public
WifiManager
getWifiManager() {
76
return (
WifiManager
) mContext.getSystemService(Context.WIFI_SERVICE);
/packages/apps/Settings/src/com/android/settings/deviceinfo/
Status.java
30
import android.net.wifi.
WifiManager
;
73
WifiManager
.LINK_CONFIGURATION_CHANGED_ACTION,
74
WifiManager
.NETWORK_STATE_CHANGED_ACTION,
82
private
WifiManager
mWifiManager;
164
mWifiManager = (
WifiManager
) getSystemService(WIFI_SERVICE);
Completed in 629 milliseconds
1
2
3
4
5
6
7