History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e4334721104f3fa6df8886f5f46e43e0317a8dd2 30-Jan-2018 Ecco Park <eccopark@google.com> WifiTrafficPoller: Implement Unit test

Bug: 72549299
Test: All the tests are passed
./frameworks/opt/net/wifi/tests/wifitests/runtests.sh -e class
com.android.server.wifi.WifiTrafficPollerTest

OK (4 tests)

Change-Id: Icc4a5688ecc7dfb6fc1de9210cb25a71000ba59b
Signed-off-by: Ecco Park <eccopark@google.com>
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
89ca161462f01aded5909cbe85b4a267e5aac8e2 26-Jan-2018 Roshan Pius <rpius@google.com> WifiTrafficPoller: Check if client iface name is null

TrafficStats API's don't handle null iface name. Hence
return from the notifyOnDataActivity() method, if the client interface is
torn down.

Bug: 72530852
Test: act.py -c wifi_manager.config -tb dut-name -tc WifiManagerTest
Change-Id: Id51af09502644a40cbeca44376cae5ade3360b53
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
402189c3983a074c76d86b0c56b7824a6dc7014e 24-Jan-2018 Michael Plass <mplass@google.com> Make some WifiTrafficPoller methods public

This is so some recently changed unit tests can be run with mockito 2.12

Bug: 72052158
Test: unit tests
Change-Id: I171bf4b917249fa63501bd59efdc9d6e09626355
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
52ed1731664f7e0b76adb14eec7a76eaa95144c3 22-Dec-2017 Roshan Pius <rpius@google.com> WifiNative: Use iface name for WifiNative methods

Remove any hardcoded interface name throughout the wifi framework
codebase.
Interface name will now be retrieved from the HAL using the
WifiNative.setupInterfaceFor*Mode() methods. All interface specific
operations in WifiNative will now accept the interface name as handle.
The clients (WifiStateMachine, SoftApManager, etc) should use the
appropriate interface name retrieved fom the setup method.

The only exception is external clients like RttService,
WifiScanningService, WifiDiagnostics, etc which will retrieve the active
client interface name from WifiNative.

Bug: 69426063
Test: Manually toggled wifi/softap/airplane mode on/off multiple times.
Test: Unit tests.
Test: Will send for regression tests
Change-Id: If7b34f9c7714fcab8482e6f2cad9078d78229fe2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
da918df16e03ee19be62343313d954027d3eb3ab 28-Nov-2016 Rebecca Silberstein <silberst@google.com> WifiServiceImpl: allow for unit tests

Some structural cleanup that allows for WifiServiceImplTest development.

Bug: 33167818
Test: runtests.sh
Change-Id: Ic3ca545f210dfaa3277cc28166b2611b3c818408
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
7002981cd8cf4ed73e9bbb2c1a877c3594e0ab39 22-Apr-2016 Samuel Tan <samueltan@google.com> Replace sVDBG and VDBG with mVerboseLoggingEnabled

Replace all instances of the private static fields sVDBG
and VDBG with the instance variable mVerboseLoggingEnabled.
This new name better reflects how this field is controlled
by the verbose debugging switch. This field is now an instance
variable (rather than a static variable) since it is set by the
enableVerboseDebugging() instance method of each class.

Also:
- Add a setter for mVerboseLoggingEnabled in WifiConfigStore, which
is called from the same setter in WifiConfigManager.

BUG: 28321397
Change-Id: Icc3a2bf31b8d4090b89d429e1a1329c703116160
TEST: 'runtest frameworks-wifi' passes.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
1c0d1409f4f52d9b699777660054d8a8134e4459 22-Apr-2016 Samuel Tan <samueltan@google.com> WifiTrafficPoller: switch VDBG and DBG

Switch the VDBG and DBG fields to adhere with the current
convention in WifiConfigStore and WifiConfigManager, which
is that DBG is a compile-time flag, and VDBG is a a flag settable
at run-time. A forthcoming CL will give VDBG a more readable variable
name.

Also:
- Make DBG a constant (static final) field, since it is only set at
compile time.
- For log messages guarded by DBG or VDBG, use Log.d instead of Log.e,
since these are debug, not error, log messages.

BUG: 28321397
Change-Id: I3bc2fbded3723d3a00d0a357c7bdf8543ad707e8
TEST: 'runtest frameworks-wifi' passes.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
cf731bc480e2e11474b5d820b7d7a04bd0eff176 16-May-2016 Ningyuan Wang <nywang@google.com> Fix null intent handling

This also fixes the potential crash when handling intent
with null action string.

BUG=28689719
TEST=compile
TEST=runtest frameworks-wifi

Change-Id: I6ef3e07e38f33d8c5040dd358f161224095189d6
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
2af03130d7f85823223b8591dc52858d851b301d 24-Feb-2016 Mitchell Wills <mwills@google.com> Remove a bunch of dead wifi code

Bug: 26907933

Change-Id: I3398b9bc9a2c915319ac4533b402ba400588f6e8
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
8e14dcb9dc38149b4672eceb3fe22287ea4343a0 19-Jan-2016 Peter Qiu <zqiu@google.com> Run WifiTrafficPoller.TrafficHandler in WifiService thread

Currently WifiTrafficPoller.TrafficHandler is running under a non-WiFi
related thread ("SystemServer" thread). Update it to run under
WifiService thread instead.

Bug: 26584131
TEST=Run frameworks-wifi unitests

Change-Id: Ieb151f3609944f47fdd0d1f18fc483786f148342
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
4dc6f3a322806b25d50039614cde1b94fe91ab17 11-Jun-2014 vandwalle <vandwalle@google.com> auto-roam initial implementation

Bug:15553951

Change-Id: I04ebca4a4f5a9b408893ce1e9874f08aeff50ba2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
992ae00f25a9cc22cf5db3261bd7e72927069cf7 30-May-2014 vandwalle <vandwalle@google.com> add debug info to wifi configure, check auth method for real before self-adding

Bug:15111865

Change-Id: I095fff870c7871e3cb7ae4b8e99034519eb26fa1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
f22d23092ab37286a5ef9d257d5bb32c421d2669 06-May-2014 vandwalle <vandwalle@google.com> autojoin initial implementation

Change-Id: Iea4e5c0b8e988e410d2f9885ecaf6317d34cc1d1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
155b9d09ef9b8ead3ca617afdd91e74070d3f0cb 09-Jan-2014 Vinit Deshpande <vinitd@google.com> Revert "Revert "Move Wifi services to a new git project""

This reverts commit 862f81faba40e9af8fb80744a22e968a298e814e.

Change-Id: I7b15e266a5948749026e01a61d8581746cfd0f5f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
862f81faba40e9af8fb80744a22e968a298e814e 08-Jan-2014 Vinit Deshpande <vinitd@google.com> Revert "Move Wifi services to a new git project"

This reverts commit a07c419913bfae2a896fbc29e8f269ee08c4d910.

Change-Id: I1cd35cea1594cdbeae800b9130bc6f885f238b28
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java
a07c419913bfae2a896fbc29e8f269ee08c4d910 18-Dec-2013 Vinit Deshapnde <vinitd@google.com> Move Wifi services to a new git project

Bug: 12175455
Change-Id: I1fa07e29c6a9aae38d9e334d519a9f2445d15613
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiTrafficPoller.java