History log of /frameworks/base/wifi/java/android/net/wifi/WifiManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0859b764719735e4b9aea5df6051ece13e212841 07-Sep-2010 Irfan Sheriff <isheriff@google.com> Make wifi scan async. (don't auto-merge)

When an entity (NLP for example) acquires
a WifiLock and initiates a scan, scan can
get blocked until driver starts.

scan returns no useful info, scan results
are broadcast when obtained.

Bug: 2964633
Change-Id: Iaefc32bb6b82f0718285a18ac600e6bbbb096e77
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
7e9f4eb2608148436cef36c9969bf8a599b39e72 11-Sep-2010 Dianne Hackborn <hackbod@google.com> Track client requests through location manager.

This fixes a problem where applications could ask the location
manager to do very heavy-weight things (like... say... update
location every minute), which would get accounted against the
system instead of the application because ultimately it is the
system making the heavy calls (wake locks, etc).

To solve this, we introduce a new class WorkSource representing
the source of some work. Wake locks and Wifi locks allow you
to set the source to use (but only if you are system code and thus
can get the permission to do so), which is what will be reported
to the battery stats until the actual caller.

For the initial implementation, the location manager keeps track
of all clients requesting periodic updates, and tells its providers
about them as a WorkSource param when setting their min update time.
The network location provider uses this to set the source on the
wake and wifi locks it acquires, when doing work because of the
update period.

This should also be used elsewhere, such as in the GPS provider,
but this is a good start.

Change-Id: I2b6ffafad9e90ecf15d7c502e2db675fd52ae3cf
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
4d32d81bd7abb77ab9663f4f800bd96dca0c0e03 18-Aug-2010 Irfan Sheriff <isheriff@google.com> Fix SDK build

Add the tag and documentation when we open up the high perf mode

Change-Id: I921e46a7519561e59fb917d08a36dd1d3d2fc7f3
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
8c11e952305327183db9f7be719e4c94fde15a7c 13-Aug-2010 Irfan Sheriff <isheriff@google.com> DO NOT MERGE WifiLock extensions for high performance mode

Add extension to WifiLock to allow apps to operate
in high performance mode (high power & disable suspend
optimizations for battery consumption).

Bug: 2834260
Change-Id: I8b33d307f3d569bc92ba2139b9ed224ffc147547
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
17b232b5b59ab91ab543b87e849583678a000f9b 24-Jun-2010 Irfan Sheriff <isheriff@google.com> Add setWifiApConfiguration interface

Bug: 2538623
Change-Id: I779044173a2fa0e9b851ea92aeec5ca25eb9c86f
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
9ab518ad793385f8405edf19363fe825fb64f5f8 13-Mar-2010 Irfan Sheriff <isheriff@google.com> softAp framework changes

Remove AP persist settings
Add new netd interface
Handle errors
Handle AP config change
Bug: 2413908
Change-Id: I31a1221ef5479da8d4a2620f0f0ee0b62539bc69
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
5321aef4a22daef6ed01ed48d936cdd82f2e38b7 12-Feb-2010 Irfan Sheriff <isheriff@google.com> Wifi AP framework changes first pass

Bug: 2421638
Change-Id: Ic5ea8f7560a7fe5e1b0769daa5d92cc33eefc692
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
e2d155a51e68694e17fa6e27d05c928215a5dbcf 21-Oct-2009 Robert Greenwalt <robdroid@android.com> Add a new API for initing Wifi multicast filtering

Gets rid of the old method which generated Log noise.

bug: 1973855
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
4a51c20ce607c74914f90fd897f04080121ac13b 22-Aug-2009 Dianne Hackborn <hackbod@google.com> I am getting tired of the java doc warnings, so fix them.

Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
0cbdb39991d65909e00700db0c8e9e9447365882 30-Jul-2009 Robert Greenwalt <robdroid@android.com> am 41c10433: Fix MulticastLock API to match WifiLock API.

Merge commit '41c104339951e0e5e78240e1f48455c21b3ba5fd'

* commit '41c104339951e0e5e78240e1f48455c21b3ba5fd':
Fix MulticastLock API to match WifiLock API.
41c104339951e0e5e78240e1f48455c21b3ba5fd 30-Jul-2009 Robert Greenwalt <robdroid@android.com> Fix MulticastLock API to match WifiLock API.

Adds option to make lock refcounted or not. Fixes 2017680.
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
6811355d9683412cb3651e75c59c3256ceaddcec 09-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 463aacfb: Merge change 6661 into donut

Merge commit '463aacfbd220c9ef2f6ed915d54092289fdac05b'

* commit '463aacfbd220c9ef2f6ed915d54092289fdac05b':
wifi: WifiManager.startScan() will now do passive scans by default.
a5ec95cdb1a7d2024249277dff1f99d0046c9b56 08-Jul-2009 Mike Lockwood <lockwood@android.com> wifi: WifiManager.startScan() will now do passive scans by default.

Active scans will only happen if a hidden AP is in use, or if the new method
WifiManager.startScanActive() is called.
This fixes some audio playback problems with bluetooth A2DP.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
fca3ae1517b19c3cd40b761cd4bc134e98c0c565 06-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 3bc64a2c: Merge change 6088 into donut

Merge commit '3bc64a2cb97da7bf7dc203416ad6c7d86c5925fc'

* commit '3bc64a2cb97da7bf7dc203416ad6c7d86c5925fc':
WifiManager: Limit the number of WifiLocks that can be active simultaneously.
617750604c69e6068f68266d0e30324273aa990e 02-Jul-2009 Mike Lockwood <lockwood@android.com> WifiManager: Limit the number of WifiLocks that can be active simultaneously.

This is to prevent a bad app from using up all the global references in the
system process due to allocating too many DeathRecipients.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
96cdc61c69aa735e65295a50e3e2922425b3c877 28-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 1e2e44e9: Merge change 2365 into donut

Merge commit '1e2e44e900cb9a25d548e27a20d65292a7f321bc'

* commit '1e2e44e900cb9a25d548e27a20d65292a7f321bc':
Fix wifi multicast API for public use.
Revert "Bug fixes and performance improvements"
fc1b15cfbfc5f69235ec1f367abd7a909381cd05 23-May-2009 Robert Greenwalt <robdroid@android.com> Fix wifi multicast API for public use.

Applying API review comments and taking it public.
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
b5010cc3c33c74cc406a70f34f93d330a3f0db6a 22-May-2009 Robert Greenwalt <robdroid@android.com> Add carrier/mcc factors to wifi-channel decision.

Uses ro.carrier and MCC when available to try to set
(non-persistingly) the number of allowed wifi channels.
Part of the fix for 1625953.
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
58ff0217a617d5b03d18f0ef532f254f8ba6de2b 20-May-2009 Robert Greenwalt <robdroid@android.com> Increment BatteryStatsImpl's VERSION.
That'll make it stop trying to interpret older records with the new format.
Also applied other comments involving name changes to remove un-needed 'Wifi' labels in WifiManager API, etc.
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
5347bd4cda2b6afc18f8acab48e52131f35ed13c 14-May-2009 Robert Greenwalt <robdroid@android.com> Add wifi multicast filter api (enable/disable).
Fixes 1833432. Automatically re-disables any request when the app
exits/crashes. Also hooked into Battery Stats for power managment analysis.
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
99001278289036a3c645e599ed832943ff1b6e15 14-Apr-2009 Eric Shienbrood <> AI 145980: am: CL 145881 Adding on to CL 145383, unhiding some additional methods and constants
that ought to be exposed. Hid and deprecated the single-arg public
constructor for NetworkInfo, and modified a CTS test that was testing it.
Ran the android.net test package to make sure it still works.
Original author: ers
Merged from: //branches/cupcake/...

Automated import of CL 145980
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/wifi/java/android/net/wifi/WifiManager.java