1039 Commits

Author SHA1 Message Date
Lorenzo Colitti
56d4c18e2f am 45b565ff: am 14152c79: Merge "Stop using LinkProperties for static configuration." into lmp-dev
* commit '45b565ffdbd2962c336f385d80d6516cd1cc489a':
  Stop using LinkProperties for static configuration.
2014-08-19 19:37:53 +00:00
Wenchao Tong
4d11492071 Annotate @SystemApi on some WifiManager methods.
Bug: 17112931
Change-Id: I5980bc46bc1f16316caecd7fcc6cd771b8ca6cdf
2014-08-19 09:42:41 -07:00
Wenchao Tong
36ecb30b87 Merge "Annotate @SystemApi on some WifiManager methods." into lmp-dev 2014-08-19 02:43:23 +00:00
vandwalle
1575d90605 remove passpoint, except ANQP - DO NOT MERGE
This CL is dependend on Ic3ae7269f0ca11cec6b7aea5143499e88ecc7149

Change-Id: Ic533d1820c470bf2370a92452b37515ef7458f45
2014-08-19 01:54:41 +00:00
Elliott Hughes
74eea2aa38 am 61520b2e: am 400ec1b9: am 085889e3: Merge "WifiP2pWfdInfo set device type bugfix"
* commit '61520b2ef9c766a75bced02b4cc65dc66414d234':
  WifiP2pWfdInfo set device type bugfix
2014-08-18 19:58:38 +00:00
Elliott Hughes
c97de79ad2 am 400ec1b9: am 085889e3: Merge "WifiP2pWfdInfo set device type bugfix"
* commit '400ec1b938ddc8da367c594105bfaa7485c80564':
  WifiP2pWfdInfo set device type bugfix
2014-08-18 19:48:26 +00:00
Elliott Hughes
400ec1b938 am 085889e3: Merge "WifiP2pWfdInfo set device type bugfix"
* commit '085889e37f5798dd50ec8c66cd0e2cd2ec37c6bd':
  WifiP2pWfdInfo set device type bugfix
2014-08-18 19:38:36 +00:00
Lorenzo Colitti
0a82e80073 Stop using LinkProperties for static configuration.
LinkProperties can represent way more complicated configurations
than what we can actually apply to interfaces. This makes it
error-prone to use it to represent static configuration, both
when trying to apply configuration coming from LinkProperties
and when trying to save configuration from current
LinkProperties.

Instead, move static configuration (IPv4 only, since we don't
support static IPv6 configuration) into a separate
StaticIpConfiguration class.

Bug: 16114392
Bug: 16893413
Change-Id: Ib33f35c004e30b6067bb20235ffa43c247d174df
2014-08-19 11:59:43 -07:00
Grigoriy Kraynov
8b3b81000c WifiP2pWfdInfo set device type bugfix
Change-Id: I37a53aed80574e78c80dc4a4192bd8cc4320de9d
Signed-off-by: Grigoriy Kraynov <kraynov@mgpro.ru>
2014-08-18 01:18:34 +04:00
Zoltan Szatmary-Ban
d7d06fed40 am bcdd58c5: am e21dd346: am 3e941c33: Merge "Revert "Revert "Revert "Revert "Revert "Update Trusted Credentials screen in settings"""""" into lmp-dev
* commit 'bcdd58c572a81477a14c8a670739066783492bc3':
  Revert "Revert "Revert "Revert "Revert "Update Trusted Credentials screen in settings"""""
2014-08-15 14:44:23 +00:00
Zoltan Szatmary-Ban
7db442e2bd am 08390bf9: am 1d128a5a: am 856e0928: Merge "Revert "Revert "Revert "Revert "Update Trusted Credentials screen in settings""""" into lmp-dev
* commit '08390bf9cb75bfb2987a480166d02f672afa8ba1':
  Revert "Revert "Revert "Revert "Update Trusted Credentials screen in settings""""
2014-08-15 13:40:33 +00:00
Narayan Kamath
a93fb72f85 am 2b83dc1a: am 09f669f0: am a7d930a0: Merge "Revert "Revert "Revert "Update Trusted Credentials screen in settings"""" into lmp-dev
* commit '2b83dc1a695cec37f372945e6440fa6d9fd598c3':
  Revert "Revert "Revert "Update Trusted Credentials screen in settings"""
2014-08-15 13:40:22 +00:00
Zoltan Szatmary-Ban
55083f240b am a6e86ddf: am fe2114b4: am 19c8ce29: Revert "Revert "Update Trusted Credentials screen in settings""
* commit 'a6e86ddfd0e5eccd8657c18554cfd6ccd86608f3':
  Revert "Revert "Update Trusted Credentials screen in settings""
2014-08-15 13:39:57 +00:00
Zoltan Szatmary-Ban
1e7bc0def8 Revert "Revert "Update Trusted Credentials screen in settings""
This reverts commit 0f0de0bdd021bad5f85fdb0399a4ea91a1611e25.

Change-Id: Ia3d0907e3d7c2ec42d64e45f60e3dfaffb932c3d
2014-08-15 12:55:35 +01:00
Zoltan Szatmary-Ban
f8d72cc14f Revert "Revert "Revert "Revert "Update Trusted Credentials screen in settings""""
This reverts commit 87efe74e092236c372d3b6909009641123aa416a.

This should be fine now with all the dependency CLs +2-ed


Change-Id: I96ad14ad5ff81e6b5391035cb6c5a62339c6cc40
2014-08-15 12:58:37 +00:00
Narayan Kamath
f75aadc028 Revert "Revert "Revert "Update Trusted Credentials screen in settings"""
This reverts commit 19c8ce291e89a9ef1442a20e1feab421b11536d7.

Change-Id: Ie5a5571127311e0a29f314c0566e779cfe940b53
2014-08-15 12:25:52 +00:00
Zoltan Szatmary-Ban
3291de8f6c Revert "Revert "Revert "Revert "Revert "Update Trusted Credentials screen in settings"""""
This reverts commit c9249c69813c6fb889d71d84583c67ae2942e6de.

Change-Id: I5504fddaf7b18efb73cd6c76678b3b39ce9b0229
2014-08-15 14:01:14 +00:00
Jeff Davidson
e4ce619880 Improve documentation of ScanResult and WifiInfo.
Valid dBm ranges should *not* be mentioned in the documentation.
Manufacturers should be able to produce devices which can detect
signal strengths with arbitrary sensitivity rather than being forced
to restrict strengths to a certain range.

Adds a reference to WifiManager.calculateSignalLevel(), an
often-useful method to convert these RSSI values into an absolute
signal level that can be displayed to a user as the signal strength.

Bug: 13731529
Change-Id: I0aae85a6d8bc48ffddd1927d816a1dfbf5230f7e
2014-08-12 18:46:42 -07:00
Chelsea Derrick
c216c473eb Revert "Changes in framework for WIFI_CREDENTIAL_CHANGE broadcast. [DO NOT MERGE]"
This reverts commit 41158d90a69cae2a9c4ced0e04f235e8cfef5259.

Bug: 16871063
Change-Id: I93623be92f2de41789b16827867f3f95bf0480c5
2014-08-11 12:51:18 -07:00
Vinit Deshpande
88992bc90c Merge "Unhide WifiPasspointManager for ANQP APIs - DO NOT MERGE" into lmp-dev 2014-08-09 00:40:15 +00:00
Vinit Deshpande
894651bab5 Unhide WifiPasspointManager for ANQP APIs - DO NOT MERGE
This is unhiding some unwanted changes too; but we'll fix that later.

Change-Id: I35343815e99aafbec8e4ef4d0707499fb6219457
2014-08-10 19:30:00 +00:00
Vinit Deshpande
c850593142 Support EAP-SIM and EAP-AKA
This change un-hides constants for these two methods and
also un-hides RADIUS/AAA FQDN field to allow creating
Passpoint release 1 credentials.

Change-Id: Ia3501017dc1f5c0b4932bb45e1e9c5bf7262d7fe
2014-08-08 21:06:12 -07:00
Chelsea Derrick
75e3ad631c Merge "Unhide broadcasts for WiFi network changes." into lmp-dev 2014-08-07 15:00:45 +00:00
Chelsea Derrick
e75c0b8e3b Unhide broadcasts for WiFi network changes.
This change will fulfill the same role as ag/487624, which unhid other broadcast
constants (and is being rolled back).  We can leverage the existing broadcasts
in this CL rather than introducing new ones.  They just need to be exposed.

Bug: 16871063
Change-Id: I91462851c8016ed962cdafa54e9ec938d52c84b6
2014-08-07 14:43:40 -07:00
Vinit Deshpande
db0c15dd67 Read/Write numBssidsPerScan in ParcelableScanResults
Setting the value has no effect because it was lost in marshalling
across binder interface.

Bug: 16826305
Change-Id: I5b308441608e0b7fc159fc249a16aec3728bac82
2014-08-07 16:52:37 -07:00
Zoltan Szatmary-Ban
138b324d5d Merge "Revert "Update Trusted Credentials screen in settings"" into lmp-dev 2014-08-07 12:44:12 +00:00
Zoltan Szatmary-Ban
678e3ecc93 Revert "Update Trusted Credentials screen in settings"
This reverts commit 4fde5aa9fab931d9becfc49f7d7b8526ad5640d9.

Change-Id: I581c38d64e9829b0079bafa42615f2aa0bf64763
2014-08-07 13:41:08 +00:00
Zoltan Szatmary-Ban
0f5efe0b44 Merge "Update Trusted Credentials screen in settings" into lmp-dev 2014-08-05 00:19:02 +00:00
Zoltan Szatmary-Ban
1386627335 Update Trusted Credentials screen in settings
Trusted credentials for both the primary user and its managed profiles are shown
on the Trusted Credentials fragment. All functionalities (e.g. disabling/enabling
of certificates) remain available.

Bug: 16029580

Change-Id: Ia92ae02d8c572bf4a3be172f6c255726cefc0fa1
2014-07-29 16:43:37 +01:00
Vinit Deshpande
ea676a0e51 Rename HotspotListener to BssidListener
And other usage of term Hotspot. This is to be technically correct
with the name usage, should the API become public later.

This change also fixes few outstanding requests from GScan API.These
include

a. An event with scan results when REPORT_AFTER_EACH_SCAN is set.
b. ScanSettings now takes in number of APs as an argument.
c. Removed single shot scan API (since it is not implemented anyway)

Change-Id: Id160f9f14193a37cce5f3ab8d6ea528344b788a0
2014-07-30 08:54:41 -07:00
vandwalle
f7d3700ea1 record join attempts
Change-Id: I82ef09ec46d7ac7cc8bbe2939873a5f966ee0df7

 On branch scorer-logs
 Changes to be committed:
	modified:   java/android/net/wifi/WifiConnectionStatistics.java

 On branch scorer-logs
 Changes to be committed:
	modified:   java/android/net/wifi/WifiConnectionStatistics.java
2014-07-29 12:33:12 -07:00
vandwalle
0ae4e5da22 Merge "fix typo in scanresult" into lmp-dev 2014-07-25 21:16:23 +00:00
vandwalle
ec5a901ea8 fix typo in scanresult
Change-Id: I4a7998097419bebeb94b23785567865b19205642
2014-07-28 20:48:33 -07:00
vandwalle
16a40cc7b5 add debug info to wificonfiguration dump
Change-Id: I4887afa21d6e1d9463fa4a5cd0aa7ae22973239f
2014-07-28 20:35:44 -07:00
vandwalle
57188b8908 Merge "introduce WifiConnectionstatistics" into lmp-dev 2014-07-28 18:28:56 +00:00
vandwalle
4eeecb2550 introduce WifiConnectionstatistics
This CL is dependent on I10584a447fecd977df3eefd8e2cc028bd26ec0e3

Change-Id: I51fbbf062feb22c5f16b438675519064cc43e160
2014-07-28 21:20:55 +00:00
Vinit Deshpande
c4272f32ae Enable RTT End-to-end
This change includes various fixes to first RTT implementation and
enables RTT APIs end-to-end. Fixes include proper marshalling of
objects across API and service and JNI fixes.

Change-Id: Ie4ba1ffc6c5b42593e931438b3f03e201ff6be71
2014-07-28 09:00:10 -07:00
Chelsea Derrick
eb8f329a5e Also unhide WifiConfiguration.lastUpdatedUid.
Bug: 16153258
Change-Id: I69c2666a63c3e56787c4aa2699c2cfd22c053353
2014-07-24 14:50:06 -07:00
vandwalle
154b2cf6bb autojoin fixes:
- make use of network scorer for autojoin
- Bug:16484607

Change-Id: Ib26cfe31aa5646facf781a2345981e06a6fc36e3
2014-07-23 18:11:26 -07:00
Chelsea Derrick
adae06be9b Unhide WifiConfiguration.creatorUid. [DO NOT MERGE]
Bug: 16153258
Change-Id: Ic4fcf1d5454b9bf5ae31cefb48322dae187338bc
(cherry picked from commit 761f6cb69d3ac20dfc274eed2246f50da942b0c0)
2014-07-18 12:40:10 -07:00
Vinit Deshpande
7effa118e0 Merge "Introduce RTT Manager" into lmp-dev 2014-07-16 23:37:00 +00:00
Vinit Deshpande
7686c061b7 Introduce RTT Manager
Change-Id: Ic9a16d587897b272f85cdb2b8c52b51bca060d18
2014-07-17 00:45:20 +00:00
Wenchao Tong
758bdf4a91 Add a new SystemApi, getPrivilegedConfiguredNetworks(). Part 1 [DO NOT MERGE]
This is very similar to the existing
WifiManger.getConfiguredNetworks(), but it returns real preSharedKey.
This API is only used by system application.

Bug: 15703353
Change-Id: If3eaca3286e77b780272f42a28772d1d8d39db65
(cherry picked from commit 775bf6ae5d052948bcb60eaf89defa9105d7077c)
2014-07-16 17:43:43 -07:00
Wenchao Tong
cdd5858e48 Changes in framework for WIFI_CREDENTIAL_CHANGE broadcast. [DO NOT MERGE]
* Only allow system app to send/receive
  WIFI_CREDENTIAL_CHANGE.
* Define constants in WifiManager.

Bug: 15703353
Change-Id: I4bcc6bc82ec01952500eef3965cf81116bba693d
(cherry picked from commit f4a43f196e1132968a8add60efa4ae4558f8b010)
2014-07-16 22:16:56 +00:00
Vinit Deshpande
81e32da98f Unhide WifiAdapter APIs
Change-Id: Ia19ab4cfddddd3285ae9e0c5804f2cceda4cf063
2014-07-11 21:12:36 +00:00
Vinit Deshpande
ebb5306195 Fix name mismatch in WifiAdapter
Change-Id: I895a2b7a8aa07a14f54543d0f86ad4a8e7660051
2014-07-10 13:45:01 -07:00
Vinit Deshpande
c7cc37b3cd Introduce Wifi Adapters
This change extracts all the wifi interfaces on the device; and provides
its supported features.

Change-Id: I7fbdbec684d653a6e4bf851797e3065ce222e873
2014-07-10 13:45:01 -07:00
Vinit Deshpande
19024b6d82 Lower minimum scanning period in WifiScanner
Change-Id: I4af8200a23c2b61b2505424a3832ca47d390fd80
2014-07-10 13:45:01 -07:00
Wei Wang
35d552f7ad Make WifiScanner System API
Change-Id: I0e2ebae998165abbb48a8cee0a3723ace2ca99e5
2014-07-10 11:29:21 -07:00
vandwalle
f5af4a9725 add BSSID blacklist indicator
Change-Id: I6f5f437327de9516468386628095eb4cbee68472
2014-07-08 19:33:07 -07:00