History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
88c9369cb6b94c30324893337aa25b1e37a15ff6 08-Dec-2014 Jason Monk <jmonk@google.com> Merge "Allow interact-users-full access to scan results" into lmp-mr1-dev
f8704c368e0fee0c7cf7e294d109dece6b72e832 05-Dec-2014 Jason Monk <jmonk@google.com> Allow interact-users-full access to scan results

Allow callers that hold INTERACT_ACROSS_USERS_FULL access to scan
results even if they aren't on the current user.

Bug: 16559573
Change-Id: I27fae71b3cdc1c084777242f21fe4bb692ab7135
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
2ce99b40c36ed0352b31aa85d5f9383d5f0506f5 04-Dec-2014 vandwalle <vandwalle@google.com> - keep track of ephemeral configurations that are deleted by user
- make sure we cleaned up prior ephemeral WiFiconfiguration from wpa_supplicant.conf
Bug:18525241

Change-Id: I773cb9b28fe139d1cd5df622619b4a9cf866d6ce
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
9086afccf6938a49eb9a2cd248917c1cb0943942 22-Nov-2014 vandwalle <vandwalle@google.com> remove dfs channel from location restricted scans

Change-Id: I387816c8682e9f595229ecbb20c35711ea1f069b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a0708b09ad17b086c008ab100aec7143d7613c80 07-Oct-2014 vandwalle <vandwalle@google.com> various fixes:
- adding debug information to bug report for Bug:16751877
- reenable networks when entering DisconnectedState
- dont force MSG_INFO log level at supplicant
Bug:16751877
Bug:17811889
Bug:17881399

Change-Id: I89b4f5c05a1f64f9d1e8c407f62036efa0265043
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
328fc5407927799843c11f2b767a8cf47b89f366 19-Sep-2014 Robert Greenwalt <rgreenwalt@google.com> Re-add wifi change permission check.

Recent change switched to impose the Connectivity permissions
(which were intended but being circumvented) but that removed
the wifi change permission.

bug:17435527
Change-Id: Ibc58605dee767d6a749b1fae867855fd1cb25def
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
34f173a54307c39ffe5dfab52e7ef8166a00539e 17-Sep-2014 Robert Greenwalt <rgreenwalt@google.com> Use unified Tethering Permission Check

The BT and Wifi mechanisms for enabling Tethering did their own
permission checks. This set of changes unifies the check into
a ConnectivityManager function so they can be kept in sync.

bug:17435527
Change-Id: I8c157a5acf56ffbddd349cb6a45160ae7be8541b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
ebb7e0cb4572f73325a749539d589ebdefb8635c 04-Sep-2014 vandwalle <vandwalle@google.com> adding debug logs

- add debug status to WifiStatemachine message handling
- tracking scan requests: add scan request counter and addl debug information
- clean wifi packet stats when we disable RSSI polling
- count home network as >=6 BSSID for the purpose of calculating wifi score

Change-Id: Ic13ef303fdcfe60c0e27f225af4e233b9a2cffaa
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
82199a285f4a45a46b44eb8253999aa918534753 03-Sep-2014 vandwalle <vandwalle@google.com> help debugging scan issues:
- adding additional logs
- make handleSCreenStateChanged a message
- track sender of the CMD_GET_CONFIGURED_NETWORKS message

Change-Id: I5717d07850ed563193b694a74d236bb8795fbd38
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
048dc8df2bd9394979dbb090b0cfe8d6627d23e3 29-Aug-2014 Vinit Deshpande <vinitd@google.com> Address API Council feedback for WifiAdapter/WPS APIs

This change addresses concerns from the API review. Things that
are fixed are -

1. WifiAdapter is removed, until we have 'real' support for it
2. All the methods from WifiAdapter are moved to WifiManager
3. Changed WPSListener API names to be onFailed/onSucceeded et al

Bug: 16403303
Bug: 17115004
Change-Id: Ie886334f9381b678deb5f0248b9a5ec21f446949
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
200e8ee5097134010a6edee8d031bb02ff7eeb5a 19-Jul-2014 vandwalle <vandwalle@google.com> add radio stats to link layer

This CL is dependent on I3d2a230b0362520b9f1b2bc3792260116971e106

Change-Id: If7e73ae9813ea79a98744d7f0096316d241998fd

halutil updates for link layer statistics

Change-Id: I00ea13b1a932f40891a0d65026a1c87f01f09587
Signed-off-by: Chilam Ng <chilam@broadcom.com>
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
3b26801d62a06475b722bbf29cba7f48f376654e 31-Jul-2014 Lorenzo Colitti <lorenzo@google.com> Stop using LinkProperties for static configuration.

Bug: 16114392
Bug: 16893413
Change-Id: Ib33f35c004e30b6067bb20235ffa43c247d174df
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
2a325cd07d40941adb93c1284abb263ba650c213 12-Aug-2014 Sky Faber <skyf@google.com> removeNetwork needs to perform owner check against userId not uid.

Bug: 16952565
Change-Id: I78666c34fc919bbc96ef92b02445b93b0948f743
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
8e6144b4059fc2117be23d7222893bc57a33f64d 20-Jun-2014 Jon Larimer <jlarimer@google.com> Fix null dereference in enableTdls() and enableTdlsWithMacAddress()

Change-Id: I37acf88c9adefba240fb8bc8a9e633ddcd823d21
Bug: 15775601
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
c298087de50ea56c31a4ade7ee1e83b313bb63c7 26-Jul-2014 vandwalle <vandwalle@google.com> introduce WifiConnectionstatistics

This CL is dependent on I51fbbf062feb22c5f16b438675519064cc43e160

Change-Id: I10584a447fecd977df3eefd8e2cc028bd26ec0e3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
9878c61bbd81176561991be025af44efc67332fe 17-Jun-2014 Wenchao Tong <tongwenchao@google.com> Add a new SystemApi, getPrivilegedConfiguredNetworks(). Part 2 [DO NOT MERGE]

Implements the getPrivilegedConfiguredNetworks() in WifiServiceImpl.

Bug: 15703353
Change-Id: If3eaca3286e77b780272f42a28772d1d8d39db65
(cherry picked from commit 76ddde4965b1460248eb21d0ccebed687c2b3fb3)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
002ea67f42b0f69a8c9fa4719391f9476567b762 11-Jul-2014 Sky Faber <skyf@google.com> Disallow forget/remove network for secondary users.

Change-Id: I07be23c26f45a77f5998f200bc9682dedbfa7916
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
1ecb0083490436303cdb89bc4c46b6743ea0afa8 10-Jul-2014 Sky Faber <skyf@google.com> Re-disable scan for background users.
Temporarily allow FORGET_NETWORK as secondary user.

Bug: 16190728
Bug: 15437477
Change-Id: Ib4241421bcb9d15f6aab30099f4f36aeb9dfcf72
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a632d8a6edd350c7644b593b18eceaa5b368505b 01-Jul-2014 Vinit Deshpande <vinitd@google.com> Introduce Wifi Adapters

This change extracts all the wifi interfaces on the device; and provides
its supported features.

Change-Id: I7fbdbec684d653a6e4bf851797e3065ce222e873
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
c35d728a15e9270f5642ef79f5245c89d749285f 03-Jul-2014 Sky Faber <skyf@google.com> Enable ability for secondary users to scan for networks, but not forget.

Bug: 15437477
Bug: 14676589
Change-Id: I3f1956265f4877b8c3cba138628b7393c393d175
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
13cddb5337418359eb5f9bebd0504fbc5c47fc41 01-Jul-2014 Julia Reynolds <juliacr@google.com> Apply DISALLOW_CONFIG_TETHERING to wireless access points.

Bug: 15852213
Change-Id: I1f1adb8762bf7b694aa92f4b0a393d8e06c610bf
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
c6f06c628ee3583b60ff31a7da442e0ac7b26d97 19-Jun-2014 vandwalle <vandwalle@google.com> autojoin tuning, making LTE handover less aggressive

Bug: 15700122

Change-Id: I2836abf791f8c71c63a901170f247c4030e8e8f9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
211737ce4cabcab0552e3453ac6e3c5a4748c158 11-Jun-2014 Sreeram Ramachandran <sreeram@google.com> Merge "Use the updated RouteInfo API."
82d1c6aeadfa24797b314ae2b2a55717df064b57 08-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Apply LinkProperties API change.

bug:15142362
Change-Id: I1457111da7d3bd09998f7e010febb8bb4c45c8bc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
d05472bb94ecc9b870463a843313f2d852bcf5b8 04-Jun-2014 Sreeram Ramachandran <sreeram@google.com> Use the updated RouteInfo API.

Bug: 15142362
Bug: 13885501
Change-Id: I97f1625e037c889b0cddd3db418c42c1d48b26b9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
511a412adce5a46c41e61f90c0df6de5fb4e491c 31-May-2014 Yuhao Zheng <yuhaozheng@google.com> WifiService and WifiPasspointService hook up

- add a reference to passpoint service in wifi state machine
- break dependency loop at boot phase

Change-Id: I0acdf02dcb4a62a4e27af8bb3640784ee2691e26
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a6b7a402041bd4bc0749331b92c3c1e5225927a0 31-May-2014 vandwalle <vandwalle@google.com> Merge "add debug info to wifi configure, check auth method for real before self-adding"
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/WifiServiceImpl.java
c6c2b4218d9f15b5de45a002bff7e84a7ebc99e0 29-May-2014 Andres Morales <anmorales@google.com> am f3f4029b: Change permission to acquire NFC config token

* commit 'f3f4029b3ac41da4cc6a1bc22bae47c750a47048':
Change permission to acquire NFC config token
f3f4029b3ac41da4cc6a1bc22bae47c750a47048 13-May-2014 Andres Morales <anmorales@google.com> Change permission to acquire NFC config token

The supplicant provides the configuration token
in the standard format for writing to an NFC
tag. Once this token is written to a tag,
tapping that tag will ask the user to confirm
and then connect them to the network referenced
on the tag.

Since this token contains the network
password, it should be accessible only through
the internal permission.

It is implemented via a "sync" call since it
does not depend on the current Wi-Fi state.
Let me know if you see a reason to add it into
the state machine flow and I will do so.

Change-Id: Id1b4624651d0d82cb48bf83fb40ea0cfe7569832
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
2390785d4104a6c20459c5e7143c1a7a5bb2481f 22-May-2014 Jason Monk <jmonk@google.com> Merge "No longer require CONNECTIVITY_INTERNAL to set PAC"
ed9938883ae2dade81c8be6cd6ceaef3febd5239 22-May-2014 vandwalle <vandwalle@google.com> make verbose logging a wifimanager hidden API

bug: 151386707

Change-Id: Ide885ce96621fe4bab6abf10291bc8441eecad4a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
64c98f4afda6c7970c5d563580165a308d5e7c15 20-May-2014 Jason Monk <jmonk@google.com> No longer require CONNECTIVITY_INTERNAL to set PAC

Since we are adding UI to control/monitor this, it does not need
to be guarded by CONNECTIVITY_INTERNAL anymore.

Bug: 14885470
Change-Id: I01fcc477899e94232e9863d4e46391ad831d249c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a3425a631c67eaa0af5d2d378f125ba22d99c3d7 21-May-2014 Lorenzo Colitti <lorenzo@google.com> Merge "Move IP config from WifiConfiguration to IpConfiguration."
3ecf5a032e94b6538a56f94a5b33e50cbc464007 19-Mar-2014 Jaewan Kim <jaewan@google.com> Move IP config from WifiConfiguration to IpConfiguration.

Change-Id: I5d1189682b13f1088848809604690648d8d9ecca
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
9ae6b45c038fa74a9e7285ef4834551dd93da332 20-May-2014 Yuhao Zheng <yuhaozheng@google.com> Fix a boot failure due to Wifi / Wifi Passpoint

Bug: 15060373
Change-Id: I8341a39c849d4135a0549c481cb3327cfca14567
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
569b093c4afd30787308032c8259af2680a2874f 10-Apr-2014 Navtej Singh Mann <navtejsingh@google.com> Fixed bypass of ConnectivityInternal permission

Removed public function 'getWifiStateMachineMessenger' of
WifiManager to fix bypass of ConnectivityInternal permission
by application, which is security concern

Bug: 13749822

Change-Id: I3ae73e33b77ee8ae0133ca9dc8cc03c504f09e40
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.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/WifiServiceImpl.java
0e8c82453d5a7f328ac1edc248457581368cd8c6 07-Apr-2014 Jaewan Kim <jaewan@google.com> Merge "Revert "Refactor IpConfiguration from WifiConfiguration""
b872cd1d58e1666a9066b136e28c49ed62f825ed 07-Apr-2014 Jaewan Kim <jaewan@google.com> Revert "Refactor IpConfiguration from WifiConfiguration"

This reverts commit 9790c81b2d0fb2b8c3790e4dbe6dd9fd5b93bd4d.

Change-Id: Idba522f04dd4a6a16e4829f68f70d3cc19016a81
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
c1580601011dad221059c89c8445370c4f5d9727 07-Apr-2014 Jaewan Kim <jaewan@google.com> Merge "Refactor IpConfiguration from WifiConfiguration"
b59f69faf9e3de740bbe1e55cef70e9e22858c2a 02-Apr-2014 Kenny Guy <kennyguy@google.com> Renaming related users to profiles.

Change-Id: Ia3cb7534e34b971b1996c7b81d2d160466962afe
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
9790c81b2d0fb2b8c3790e4dbe6dd9fd5b93bd4d 19-Mar-2014 Jaewan Kim <jaewan@google.com> Refactor IpConfiguration from WifiConfiguration

Bug: 7606609, Bug: 8687763
Change-Id: Iec5d3237c823c7893fbba3b3209fe2b03a27a583
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
531869afc345c1a4fb7cd3e8d1b62acdd0963947 11-Mar-2014 Alexandra Gherghina <alexgherghina@google.com> Merge "Modifying wifi service to return the list of wifi networks for related users"
fd5470391e5342daa38d00b68ccbccfeacbe6d33 10-Mar-2014 Alexandra Gherghina <alexgherghina@google.com> Modifying wifi service to return the list of wifi networks for related users

Change-Id: I66dd2625d2e3e9d135bad28c6209cf243648c7a6
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
9c22c8ea193360f50ad490368ca6a11af0684362 06-Mar-2014 Robert Greenwalt <rgreenwalt@google.com> Debounce wifi country code info

We're getting signals from the radio and it sometimes drops out for a while.
This change will delay applying an empty country code for 15sec but apply
non-empty country codes immeditately. It uses a sequence number so we only apply
the most recent change, even if it's delayed.

bug:11062898
Change-Id: I9d3a870f3b66296d4b3cbc10c730c9a043c0da96
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a0009d14075b5345b8f916c3fb3f2260c938cb9d 06-Feb-2014 Yuhao Zheng <yuhaozheng@google.com> Implement new API to scan a given channel set

Framework implementation for the new scan APIs. Besides implementing the API,
this CL does 2 additional changes:

1. Only count battery consumption if a scan request is accepted by supplicant,
i.e. it won't be counted if it's rejected due to another ongoing scan.

2. If a scan request is rejected, we may buffer the scan request and do it
later, to make sure the specified channels are eventually scanned. On the
other hand, we will try to combine scan requests to avoid repeated scans.
For example, a full scan serves all scan requests.

Bug: 12610436
Change-Id: Ia9edc58c7ddd7a535bfaa0f906f6faaaf5f5d439
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
3f7ef65ab71619040032aee96b5599849881d6fd 23-Jan-2014 Andres Morales <anmorales@google.com> piping supplicant commands for WPS token setup

Supplicant exposes a command for generating
NFC Wifi tokens as per the Wifi Simple Configuration
specification. This CL export this command to the
framework.

Change-Id: If34e6a71888bfb2b420048eed4fe373566835611
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
1c28bb29cb19367d5e3bdbe6d8558d0fd4b8f33e 17-Jan-2014 Vinit Deshapnde <vinitd@google.com> Fix a race in Wifi service startup

For wifi services to function, we currently require network management
and connectivity service to be created. But those in turn require
wifi service pointers. So to resolve the circular dependency, we create
objects first, and then start them. With the refactoring, I increased
the window between creation and starting which is exposing a bug that
already exists - WifiController starts the moment service is created.

This was hidden before because WifiController's thread wouldn't get far
in the short window that existed before; but now that the window is longer
it is dispatching messages trying to setup set without references to
network management and connectivity service. Hence the NPE.

I am delaying the call to start wifi service to fix this.

Bug: 12527004
Change-Id: Ie5842444988d8e6cbcceff50e4f014d410e36ec1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.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/WifiServiceImpl.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/WifiServiceImpl.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/WifiServiceImpl.java