Commit Graph

470 Commits

Author SHA1 Message Date
Russell Brenner
1c0a8f953b Merge "Wifi select screen redlines" into jb-dev 2012-05-17 12:49:15 -07:00
Irfan Sheriff
4837a691ce Use icons in wifi settings
Bug: 6469022
Change-Id: I1bbd7681f3800db9387eb998da78cf0a42109600
2012-05-16 14:12:35 -07:00
Russell Brenner
fc86669031 Wifi select screen redlines
Bug: 6458336

Use proportional layout when wifi settings is used
by setup wizard

Change-Id: I91f50df29b23b1bece9cbd65a1426f8bc8d7c7f7
2012-05-16 11:11:15 -07:00
Russell Brenner
e99006f75b Merge "Add wps icon to wifi panel" into jb-dev 2012-05-15 20:28:38 -07:00
Russell Brenner
fc1281e6a8 Add wps icon to wifi panel
Bug: 6449333
Change-Id: Iba74e895105253594bcfe8f0d98353714a816065
2012-05-15 16:16:43 -07:00
Irfan Sheriff
53fa78fcb2 Merge "Push wifi direct to overflow menu" into jb-dev 2012-05-15 11:39:02 -07:00
Irfan Sheriff
0c925dc715 Push wifi direct to overflow menu
Bug: 6469022
Change-Id: I62e4b4372416a5fbaf43a52be71f7291b761997b
2012-05-15 11:32:21 -07:00
Kenny Root
72a84b78d0 Merge "WiFi: only send engine setting when key_id is set" into jb-dev 2012-05-11 15:49:31 -07:00
Kenny Root
6a6656641c Strip off phase2 prefix when setting spinner
The writing and reading code for phase2 settings were asymmetric so the
phase2 spinner would always be set as "None". This change strips off the
prefix to set the spinner.

Bug: 6482316
Change-Id: Iaaa1088ec22625f1b8e3974c8a9610cccf0dda90
2012-05-11 12:18:55 -07:00
Kenny Root
f543a71e7a WiFi: only send engine setting when key_id is set
For EAP methods that don't need a key, don't set the engine settings or
else wpa_supplicant will have an error. Instead, look to see whether
key_id is set and use that to indicate when the engine should be
set.

Additionally, don't require keystore when key_id is not null but is
still an empty string.

Bug: 6480500
Change-Id: I137de47dfcbbd3da24d693701e249e15d7528228
2012-05-11 10:02:19 -07:00
Russell Brenner
44a49ed67e Include Add Network button for Setup Wizard
To allow first-time users to set up on networks with hidden SSID,
include this button on the action bar. Temporarily using
placeholder text until artwork is available.

Bug: 6446220
Change-Id: I437ad3f37b42b93f7a0c6838cbb0c5090073e32d
2012-05-09 22:34:39 -07:00
Andrew Flynn
0575736cdc Allow WiFi picker to exit after a valid connection is made
Choice is passed in via boolean extra and has two effects:
* A valid network connection exits the picker.
* The next button (if there is one) is hidden.

This functionality will be used for SetupWizard initially.

Bug: 6428046
Change-Id: Ieeed3a9f1013cccd76bd4762131747a57a38ce9c
2012-05-08 15:50:45 -07:00
Andrew Flynn
bfff317559 Hide Back button when requesting intent says to
Change-Id: I79ed35843500f20367568510ea8df3afe543ede8
2012-05-08 13:50:53 -07:00
Irfan Sheriff
63f7f5cda5 Merge "Remove poor connection UI with watchdog disabled" into jb-dev 2012-05-07 17:15:21 -07:00
Irfan Sheriff
8f5463dd17 Remove poor connection UI with watchdog disabled
Bug: 6449324
Change-Id: I8ddd486ce433b30dd76d385680fdb79d2b90e8eb
2012-05-07 16:53:20 -07:00
Russell Brenner
cfadc35af8 Add WPS Push Button back into Setup Wizard Wi-Fi
This isn't yet the image button shown in the UX flows, but pending
artwork and some potential tricky Preference layout changes, this
will give access to the WPS functionality.

Bug: 6449333
Change-Id: Ibda0e48cf972dad10c7e92a7482fca9b3c104559
2012-05-06 16:04:08 -07:00
Vishal Mahaveer
9fc89cc8a8 wifi: update text displayed during hotspot on/off
Update the string used during hotspot on/off

Change-Id: I89f54f6c02ae26dd39b3cfdcd7587cf59ba81ca1
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
2012-05-02 15:21:44 -05:00
Irfan Sheriff
a90015c2c9 Merge "Add wifi direct menu only for supported devices" into jb-dev 2012-04-30 17:12:33 -07:00
Irfan Sheriff
e8d79cf188 Add wifi direct menu only for supported devices
Bug: 6421096
Change-Id: Iaf0ad85e97be8d750dd74808f840c6731d8130fd
2012-04-30 16:30:35 -07:00
Irfan Sheriff
3ab5c6838f Ignore invalid network forget
Bug: 6397063
Change-Id: I066bd45e95b7e8671bc7dfcb83e46246f110b3a9
2012-04-27 15:36:30 -07:00
Irfan Sheriff
68389e75a5 Merge "Allow p2p device rename" into jb-dev 2012-04-27 09:55:45 -07:00
Irfan Sheriff
97617ce89e Allow p2p device rename
Change-Id: Ib61425da344f955b0a583716516181bdfbd4b504
2012-04-26 16:39:10 -07:00
Russell Brenner
fc5dd2cbf0 Restore look of Wi-Fi panel for Setup Wizard
As part of the Wi-Fi refresh, this CL hides the action bar, menu, and
Settings icon in the context of the Setup Wizard. Dead code related
to WifiSettingsForSetupWizardXL has also been removed.

Bug: 5364589
Change-Id: Ib6716500153879b939a18a7007f1f6521b73890b
2012-04-25 16:31:23 -07:00
Amith Yamasani
9da80a90be Fix NPE due to delayed event handling.
a.k.a., annoying monkeys.

Bug: 6336430
Change-Id: Ie038a71d0ae66b3f30ccd704529f767fa2058542
2012-04-24 11:35:38 -07:00
Amith Yamasani
b0b37ae21c Help menus for several screens.
Bug: 5144896
Change-Id: Ib2f5146f6f62f2a33261bb165c3bf1bf13b22f38
2012-04-23 15:35:36 -07:00
Vishal Mahaveer
6243e8e466 Wifi: Update message when scan result is empty
Handle case when Wi-Fi scan result is empty

Change-Id: I03ccbf2603367efa3c6dfe20514e8c7c5a68b5d9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
2012-04-13 21:45:38 -07:00
Vishal Mahaveer
df7627d0dd Wifi: Update message when scan result is empty
Handle case when Wi-Fi scan result is empty

Change-Id: Ib09f030dbc0b71055a7aacf0848b97bd6c33af70
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
2012-04-09 11:40:40 -05:00
Irfan Sheriff
c08caf7a33 Add support for cancelling connection
Change-Id: Iba4a002ab86e62d87ae1175b75c203d3a86ad7c6
2012-04-06 15:28:57 -07:00
Irfan Sheriff
93345aefa8 Merge "Fix discovery state tracking" 2012-03-29 08:41:25 -07:00
Irfan Sheriff
3a14bafcf6 Fix discovery state tracking
Use the new intent to track if we are in discovery state

Change-Id: I9e07c3ccfcf62c3c33195d23c94de60d4248670c
2012-03-28 15:55:20 -07:00
Kenny Root
66ada107ef Merge "Update Wifi to use new keystore function" 2012-03-27 20:41:40 -07:00
Kenny Root
4786b261d3 Update Wifi to use new keystore function
The old wpa_supplicant.conf format used a special URI prefix
"keystore://" for the private_key value to indicate when to load things
from keystore.

The new format uses an OpenSSL ENGINE to perform operations with the
private key, so we don't need the special URI prefix.

Change-Id: I04751846f72b22eb5fc947bd7a32f47713e9fc82
2012-03-21 14:52:16 -07:00
Irfan Sheriff
d61f7cd3aa Add static ip/proxy support for hidden networks
Add support for static ip and proxy. In the process, clean up the issues
that showed up during testing.

Bug: 5459872
Change-Id: I96c8fff816b6cbb485d2bb215349193e49f3d0b2
2012-03-19 16:05:49 -07:00
Irfan Sheriff
db529dd66b Enhance static IP UI
Based on the IP address provided, choose a default gateway, network prefix
and DNS to reduce typing for common scenarios

Bug: 6006249
Change-Id: I27878ce7895386b744013f267d29b3309208ec07
2012-03-13 11:16:14 -07:00
Irfan Sheriff
a318d1e821 Fix p2p settings NPE
Bug: 6138959
Change-Id: I0c930686220ad8a77e3a998a108158b2467b5707
2012-03-09 15:18:42 -08:00
Irfan Sheriff
6ac5554d30 P2p UI fixes
- Move Wi-Fi direct as a setting in Wi-Fi
- Handle some UI refresh issues

Change-Id: Idc43a2ca98acc4b904ca1f5fe0b1447ee612f218
2012-03-07 10:54:06 -08:00
Irfan Sheriff
90380120e7 Enhance and fix WPS UI
- Fixes WPS usage for open network
- Exposes WPS on UI for easy access to push button and pin based techniques
- Adds support for cancelling WPS
- Adds a dialog that reports a progress since WPS can take quite a bit of time
to complete

The WpsDialog code is enhanced from contribution by yoshihiko.ikenaga@jp.sony.com
on partner source.

Change-Id: Ib0103507e0192e8195e7bfeb1c8e8855c20e23ca
2012-03-02 14:25:00 -08:00
Irfan Sheriff
6c9c305b28 am f91e52c9: am c4bf8cd9: am 2f76aaaf: Merge "Enable EAP-pwd configuration in WiFi Settings."
* commit 'f91e52c986f4e7f8094a794c471813ac05d5d59c':
  Enable EAP-pwd configuration in WiFi Settings.
2012-03-01 23:57:12 -08:00
Irfan Sheriff
8f2f08e0ee Use new WifiManager API
Change-Id: I9cc092e98412146a07c1829cacab47b8cea0bc9a
2012-03-01 13:53:37 -08:00
Irfan Sheriff
09a9b38fbc Add support for wifi verification before connect
Change-Id: Ie1fb9c2fad4f75985077236eab61c296314f4fe4
2012-02-29 19:32:40 -08:00
Partha N
ba7ee527d8 Enable EAP-pwd configuration in WiFi Settings.
EAP-pwd (RFC 5931) is an EAP method that uses a shared password
for authentication. It has the simplicity of setup as WPA2-PSK
(no certificates), but provides strong authenticaiton like 802.1x.

Modified the Settings screen so that the only visible fields
when choosing EAP-pwd are 'identity' and 'password'.

Change-Id: I9365d873b43c416ddfa4cae47b7419d902c212a7
Signed-off-by: Partha N <parthan@gmail.com>
2012-02-26 22:26:55 -08:00
Irfan Sheriff
15c0da1314 Merge "Fix cursor position for password" 2012-02-17 16:05:44 -08:00
Irfan Sheriff
bd3d66cac5 Fix cursor position for password
Bug: 5757292
Change-Id: Iad34b09ee56c24694ebf45350f0dbc398f2cfa06
2012-02-17 16:04:05 -08:00
Irfan Sheriff
8f046d6d6a Merge "Concurrency wifi p2p and client operation support" 2012-02-14 15:39:09 -08:00
Irfan Sheriff
81da488477 Fix NPE
Bug: 5953080
Change-Id: I1ff5b8a878f8f0d2fd9c6da549804aa454db444c
2012-02-13 22:28:13 -08:00
Irfan Sheriff
d37422a3a0 Concurrency wifi p2p and client operation support
Change-Id: I095b7e7ce143cc37ec454a8e43ed579258d72ea1
2012-01-18 15:33:31 -08:00
Irfan Sheriff
1e13143b3a Add debug support for P2P WPS
Use a system property to allow WPS selection for p2p
connection

Change-Id: I34af97eaa4c4d4ff2e7ed52ba8f9bfb21f7b1c45
2011-12-19 16:43:29 -08:00
Irfan Sheriff
0c0bd827a1 Fix button visibility on connect
Bug: 5750846
Change-Id: I1f31308a21f7f6876f12eb4f1ab45ecd1bc74092
2011-12-13 11:55:15 -08:00
Irfan Sheriff
83d31ad497 am 7d10591a: Fix NPE in advanced settings
* commit '7d10591a3b3c05019260d11f196a5ad742d3685d':
  Fix NPE in advanced settings
2011-12-07 12:12:59 -08:00
Irfan Sheriff
7d10591a3b Fix NPE in advanced settings
Bug: 5723974
Change-Id: I9904b6adb2b51f1511f932ef7cba8f6558417061
2011-12-07 11:40:49 -08:00