OSDN Git Service

android-x86/frameworks-base.git
8 years agoAdd a MessageUtils class to convert int constants to strings.
Lorenzo Colitti [Wed, 17 Feb 2016 15:32:44 +0000 (00:32 +0900)]
Add a MessageUtils class to convert int constants to strings.

This class uses reflection to find accessible static integer
members in a specified list of classes and returns a SparseArray
mapping the integers to their names. This will allow us to
replace various 400-line switch statements with a simple
array access.

Change-Id: I3607e6389a423cde0bd83270c00b3c863ae1bb29

8 years ago[NAN] Renamed listeners to callback per API guidelines [DO NOT MERGE]
Etan Cohen [Thu, 18 Feb 2016 00:01:49 +0000 (16:01 -0800)]
[NAN] Renamed listeners to callback per API guidelines [DO NOT MERGE]

The interfaces had multiple functions and are hence callback
and not a listener.

Note: purely a rename operation.

Bug: 27122760
Change-Id: Ib12711f56a64052455843859125d72268c465fc0

8 years ago[NAN]: API update - consolidate Puslish|Subscribe Data+Subscribe -> Config [DO NOT...
Etan Cohen [Wed, 17 Feb 2016 22:25:41 +0000 (14:25 -0800)]
[NAN]: API update - consolidate Puslish|Subscribe Data+Subscribe -> Config [DO NOT MERGE]

Simplify configuration and consolidate structures whose difference
wasn't very clear.

Bug: 27122760
Change-Id: I0651cade71eb146d9ea9219baf6d2253588db3de

8 years agoNAN: Support multiple instantiation per UID - introduce a client ID. [DO NOT MERGE]
Etan Cohen [Tue, 16 Feb 2016 23:50:21 +0000 (15:50 -0800)]
NAN: Support multiple instantiation per UID - introduce a client ID. [DO NOT MERGE]

Add the concept of a client ID which is used to identify a specific
(one of several) clients in all API calls.

Bug: 26962024
Change-Id: I43f13d51bee8b57c6d0ba1174168288b8d6c21c5

8 years agoAdd Protocol.BASE_ETHERNET
Erik Kline [Thu, 18 Feb 2016 09:15:26 +0000 (18:15 +0900)]
Add Protocol.BASE_ETHERNET

Change-Id: I4e51370c0b53d9902eea8aae409f9f7cffaf28ad

8 years ago{,Base}DhcpStateMachine is no more
Erik Kline [Thu, 18 Feb 2016 03:40:11 +0000 (12:40 +0900)]
{,Base}DhcpStateMachine is no more

Bug: 26991160
Change-Id: I21f8c30627bf2a7fbcd5b4d5f1f1ad1a2dda759b

8 years agoMerge "Remove REPORT_EVENT_CONTEXT_HUB gscan option" into mm-wireless-dev
Mitchell Wills [Wed, 17 Feb 2016 20:30:55 +0000 (20:30 +0000)]
Merge "Remove REPORT_EVENT_CONTEXT_HUB gscan option" into mm-wireless-dev

8 years agoRemove references to BaseDhcpStateMachine and DhcpStateMachine
Erik Kline [Wed, 17 Feb 2016 12:44:25 +0000 (21:44 +0900)]
Remove references to BaseDhcpStateMachine and DhcpStateMachine

Bug: 26991160
Change-Id: I3742780a4e5121c163d9d1380951e25edaba19f3

8 years agoAdd IpManager#shutdown() to terminate the state machine.
Erik Kline [Wed, 17 Feb 2016 09:02:51 +0000 (18:02 +0900)]
Add IpManager#shutdown() to terminate the state machine.

Additionally, remove IpManager.Callback#usingIpReachabilityMonitor()
now that this is now longer used.

Bug: 26991160
Change-Id: I9a17497c82238a9fb37a20d01aeca7bc4913ae2c

8 years agoMerge "Create BandMode Constants" into mm-wireless-dev
Nathan Harold [Wed, 17 Feb 2016 00:44:12 +0000 (00:44 +0000)]
Merge "Create BandMode Constants" into mm-wireless-dev

8 years agoMerge "WifiConfiguration: add constants for radio band" into mm-wireless-dev
Peter Qiu [Tue, 16 Feb 2016 18:04:13 +0000 (18:04 +0000)]
Merge "WifiConfiguration: add constants for radio band" into mm-wireless-dev

8 years agoAdd IpManager.ProvisioningRequest class
Erik Kline [Thu, 11 Feb 2016 11:36:41 +0000 (20:36 +0900)]
Add IpManager.ProvisioningRequest class

This class captures provisioning request parameters to be passed to
IpManager#startProvisioning().

Bug: 26991160
Change-Id: I56652bbc4b9ae6cfca3f225a8d99cdfc01bb54d9

8 years agoMerge "Remove wifiConfiguration.isVisibleToUser()" into mm-wireless-dev
Bartosz Fabianowski [Mon, 15 Feb 2016 09:56:52 +0000 (09:56 +0000)]
Merge "Remove wifiConfiguration.isVisibleToUser()" into mm-wireless-dev

8 years agoCreate BandMode Constants
Nathan Harold [Fri, 12 Feb 2016 18:02:04 +0000 (10:02 -0800)]
Create BandMode Constants

Bug: 27145805
Change-Id: I733026268600f504325bc92061ee830d1448bbf5

8 years agoWifiConfiguration: add constants for radio band
Peter Qiu [Fri, 12 Feb 2016 00:45:44 +0000 (16:45 -0800)]
WifiConfiguration: add constants for radio band

Change-Id: I2287ffb3d93351d73659327cef37a6d3ecd588b3

8 years agoMerge "Revert "Properly map EAP-GTC for TTLS"" into mm-wireless-dev
Paul Stewart [Fri, 12 Feb 2016 16:23:43 +0000 (16:23 +0000)]
Merge "Revert "Properly map EAP-GTC for TTLS"" into mm-wireless-dev

8 years agoRevert "Properly map EAP-GTC for TTLS"
Paul Stewart [Fri, 12 Feb 2016 16:21:01 +0000 (16:21 +0000)]
Revert "Properly map EAP-GTC for TTLS"

This reverts commit be5084b87aa6a5e97becac6a43b448fee34196c2.

Reverting to re-land after test team does their thing

Change-Id: Ia236b77f08d15f47efb5469478000ded3b0d7954

8 years agoMerge "Properly map EAP-GTC for TTLS" into mm-wireless-dev
Paul Stewart [Fri, 12 Feb 2016 16:07:18 +0000 (16:07 +0000)]
Merge "Properly map EAP-GTC for TTLS" into mm-wireless-dev

8 years agoRemove wifiConfiguration.isVisibleToUser()
Bartosz Fabianowski [Thu, 11 Feb 2016 10:13:55 +0000 (11:13 +0100)]
Remove wifiConfiguration.isVisibleToUser()

This method seemed like a good idea at the time (quickly check whether a
network configuration is visible to a given user). However, once managed
profiles come into play, this simple method is no longer appropriate.
There is a more comprehensive replacement at
com.android.server.wifi.WifiConfigurationUtil.isVisibleToAnyProfile()
now and this method here can go.

BUG:26867426

Change-Id: Ia66aa6f74003a16eca24c5088d3aba8e0c9f8140

8 years agoDuplicate DhcpStateMachine public constants into DhcpClient
Erik Kline [Thu, 11 Feb 2016 15:17:02 +0000 (00:17 +0900)]
Duplicate DhcpStateMachine public constants into DhcpClient

This is so we can ultimately delete DhcpStateMachine altogether.

Bug: 24837343
Bug: 26991160
Change-Id: If116639e5f72c97cfc67f748dc5f6433dccd9cf0

8 years agoMerge "IMS RAT Reporting in Registration Unsol" into mm-wireless-dev
Tyler Gunn [Fri, 12 Feb 2016 03:40:08 +0000 (03:40 +0000)]
Merge "IMS RAT Reporting in Registration Unsol" into mm-wireless-dev

8 years agoIMS RAT Reporting in Registration Unsol
Omkar Kolangade [Tue, 5 May 2015 00:49:14 +0000 (17:49 -0700)]
IMS RAT Reporting in Registration Unsol

Adding a parameter to the IMS registration complete
and progressing callbacks, allowing frameworks to be
notified of the radio access technology over which
IMS is registered.

Bug: 21902225
Change-Id: I271f2fca299585302a67d0f5476f6fac3e7099dd

8 years agoNAN: Disable all DBG flags.
Etan Cohen [Thu, 11 Feb 2016 22:57:00 +0000 (14:57 -0800)]
NAN: Disable all DBG flags.

Change-Id: Ib60cf3c9fd4c8dbf973e118d94340fbfd890a738

8 years agoProperly map EAP-GTC for TTLS
Paul Stewart [Sat, 16 Jan 2016 02:56:52 +0000 (18:56 -0800)]
Properly map EAP-GTC for TTLS

The "auth=GTC" method was never valid for the TTLS outer
authentication for wpa_supplicant.  Instead, to perform
GTC authentication within TTLS, we should use EAP-GTC.

This CL performs this mapping within WifiEnterpriseConfig.
It accomplishes this by making the EAP Method and Phase 2
Method parameters a part of the internal object state
instead of maintaining this value within the mFields
hashmap.

Further, the problematic "getFields" method is removed
since as this actually provided read/write access to the
entirety of the WifiEnterpriseConfig's internal state.
This was understandably suboptimal.  All callers have
been updated to either use getFieldValue() or to call
a newly added getSupplicantFields() / setSupplicantFields()
methods which make the WifiEnterpriseConfig object a sole
arbiter for the mapping between its internal state and
wpa_supplicant.

In the future it might be good to change this logic to
strip WifiEnterpriseConfig of all of the string hashmap
entirely, leaving WifiEnterpriseConfig as a "struct"
and move supplicant mappings to WifiConfigStore.

Bug:26400915
Test:runtest frameworks-wifi # New unit test in the same topic
Test:cts-tradefed run cts -d --class android.net.wifi.cts.WifiEnterpriseConfigTest
Change-Id: I1e09fb3f1f27b2ba844acbed14ec0f570e915b80

8 years agoMerge "WifiManager: Return empty scan list on remote exception" into mm-wireless-dev
Paul Stewart [Thu, 11 Feb 2016 20:01:18 +0000 (20:01 +0000)]
Merge "WifiManager: Return empty scan list on remote exception" into mm-wireless-dev

8 years agoWifiManager: Return empty scan list on remote exception
Paul Stewart [Thu, 11 Feb 2016 19:08:24 +0000 (11:08 -0800)]
WifiManager: Return empty scan list on remote exception

In the (hopefully rare) situation where there is a remote exception
from a call to getScanResults(), do not pass null back to callers.
Nobody expects this, and failures that occur as a result can distract
from the real problem (e.g., the system server crashing).  This CL
now returns an empty list.

BUG=27139097
TEST=None

Change-Id: I637eae1fa8ac1a1bc2b76dea8628359b5dec06e1

8 years agoMerge "New systemapi to mark a wifi network as metered." into mm-wireless-dev
Jeremy Joslin [Thu, 11 Feb 2016 15:03:52 +0000 (15:03 +0000)]
Merge "New systemapi to mark a wifi network as metered." into mm-wireless-dev

8 years agoUse IpManager.ifname as the tag in log messages.
Erik Kline [Thu, 11 Feb 2016 08:47:39 +0000 (17:47 +0900)]
Use IpManager.ifname as the tag in log messages.

Bug: 26991160
Change-Id: Idc9231819298b65da3cc3baa88f1f0cd18ab6df7

8 years agoNew systemapi to mark a wifi network as metered.
Jeremy Joslin [Wed, 10 Feb 2016 18:09:29 +0000 (10:09 -0800)]
New systemapi to mark a wifi network as metered.

The implementation will come after the wifi code base has stablized.

BUG:27120794
Change-Id: I6a8140dae45dcd7ec70ac0c51b9513b907a41b63

8 years agoMerge "Add OEM specific error code space which can by used to replace Generic errors...
Sanket Padawe [Thu, 11 Feb 2016 00:04:00 +0000 (00:04 +0000)]
Merge "Add OEM specific error code space which can by used to replace Generic errors." into mm-wireless-dev

8 years agoRemove REPORT_EVENT_CONTEXT_HUB gscan option
Mitchell Wills [Wed, 10 Feb 2016 21:35:04 +0000 (13:35 -0800)]
Remove REPORT_EVENT_CONTEXT_HUB gscan option

Since all scan results will now be reported to the context hub this flag
is no longer needed.

Change-Id: I21c157a31fe26169606f6f53e8e0ce44d57c5ca5

8 years agoMerge "Incorporate historical WifiStateMachine notions of provisioning." into mm...
Erik Kline [Wed, 10 Feb 2016 21:15:11 +0000 (21:15 +0000)]
Merge "Incorporate historical WifiStateMachine notions of provisioning." into mm-wireless-dev

8 years agoMerge "Enabled Network Policy Backup/Restore." into mm-wireless-dev
Ritesh Reddy [Wed, 10 Feb 2016 19:37:17 +0000 (19:37 +0000)]
Merge "Enabled Network Policy Backup/Restore." into mm-wireless-dev

8 years agoIncorporate historical WifiStateMachine notions of provisioning.
Erik Kline [Wed, 3 Feb 2016 12:47:34 +0000 (21:47 +0900)]
Incorporate historical WifiStateMachine notions of provisioning.

Also: considerably expand logging capabilities.

Bug: 26991160
Change-Id: I36c3c1d2158ffd178e8ce163b8799d62938f39c7

8 years agoMerge "Enabling SoftAP Configuration Backup." into mm-wireless-dev
Ritesh Reddy [Wed, 10 Feb 2016 17:48:31 +0000 (17:48 +0000)]
Merge "Enabling SoftAP Configuration Backup." into mm-wireless-dev

8 years agoExpose measurement results to interested callers.
Erik Kline [Wed, 3 Feb 2016 05:12:23 +0000 (14:12 +0900)]
Expose measurement results to interested callers.

With this it's possible for callers to:

    Network network = ...
    LinkProperties lp = ...

    NetworkDiagnostics netdiag = new NetworkDiagnostics(network, lp, 5000);
    netdiag.startMeasurements();
    netdiag.waitForMeasurements();

    boolean result = true;
    for (Measurement m : netdiag.getMeasurements()) {
        if (!m.checkSucceeded()) {
            result = false;
            // Additional error handling here.
        }
    }

    return result;

Bug: 21832299
Bug: 26780890
Change-Id: Iaf7ff029e2c6a998b574c23d0dcde8d57a467a22

8 years agoMerge "Add RSN Information Element ID" into mm-wireless-dev
Randy Pan [Tue, 9 Feb 2016 19:13:32 +0000 (19:13 +0000)]
Merge "Add RSN Information Element ID" into mm-wireless-dev

8 years agoMerge "WifiEnterpriseConfig: allow getting and setting of ca_path" into mm-wireless-dev
Samuel Tan [Tue, 9 Feb 2016 18:18:04 +0000 (18:18 +0000)]
Merge "WifiEnterpriseConfig: allow getting and setting of ca_path" into mm-wireless-dev

8 years agoAdd OEM specific error code space which can by used to replace Generic errors.
Sanket Padawe [Tue, 9 Feb 2016 18:02:02 +0000 (10:02 -0800)]
Add OEM specific error code space which can by used to replace Generic errors.

BUG=27038563

Change-Id: I125e083e0a3145ac09806a84ea8b53864c04dc22

8 years agoMerge "Fixed bad auto-generated method name." into mm-wireless-dev
Jan Nordqvist [Tue, 9 Feb 2016 17:24:20 +0000 (17:24 +0000)]
Merge "Fixed bad auto-generated method name." into mm-wireless-dev

8 years agoMerge "Enable RTT Responder Role (1/4)." into mm-wireless-dev
Wei Wang [Tue, 9 Feb 2016 01:07:33 +0000 (01:07 +0000)]
Merge "Enable RTT Responder Role (1/4)." into mm-wireless-dev

8 years agoEnabled Network Policy Backup/Restore.
Ritesh Reddy [Thu, 4 Feb 2016 18:33:30 +0000 (18:33 +0000)]
Enabled Network Policy Backup/Restore.

Added Backup Restore specific NetworkPolicySerializer
to NetworkPolicy Class and related classes.

Change-Id: I2a11e2afae8dd9e0ee0c3356e669a73f6a1361af

8 years agoEnabling SoftAP Configuration Backup.
Ritesh Reddy [Tue, 26 Jan 2016 19:40:48 +0000 (19:40 +0000)]
Enabling SoftAP Configuration Backup.

SoftAp Conf is backed up as a serialized WifiConfiguration
object.

Change-Id: Ib7f4d130600313a67b710b45df274e15f0baad24

8 years agoFix FrameworksServicesTests.apk to include libc++.so
Paul Jensen [Mon, 8 Feb 2016 02:55:45 +0000 (21:55 -0500)]
Fix FrameworksServicesTests.apk to include libc++.so

libc++.so is no longer accessible to the app, so it must be
bundled in the app. This should get ApfTest passing again.

Change-Id: Ide004cb84f7f50feffb8f5acb46b7001dcffd208

8 years agoMerge "IMS: Constants For Audio Quality, Supp. Services" into mm-wireless-dev
Tyler Gunn [Fri, 5 Feb 2016 22:13:32 +0000 (22:13 +0000)]
Merge "IMS: Constants For Audio Quality, Supp. Services" into mm-wireless-dev

8 years agoMerge "NAN: for failed configurations - added configuration which failed." into mm...
Etan Cohen [Fri, 5 Feb 2016 18:27:08 +0000 (18:27 +0000)]
Merge "NAN: for failed configurations - added configuration which failed." into mm-wireless-dev

8 years agoFixed bad auto-generated method name.
Jan Nordqvist [Thu, 4 Feb 2016 23:41:53 +0000 (15:41 -0800)]
Fixed bad auto-generated method name.

Change-Id: Ic60b0658f0b6a6e06dc9cf82299fe95bbd308972

8 years agoAdd RSN Information Element ID
Randy Pan [Thu, 4 Feb 2016 22:54:03 +0000 (14:54 -0800)]
Add RSN Information Element ID

Bug: 26908033
Change-Id: I9d7aa7642c51ea59a58e8facc8ad7af681c32b23

8 years agoFix FrameworksServicesTests.apk to include libnativehelper.so
Paul Jensen [Thu, 4 Feb 2016 14:11:40 +0000 (09:11 -0500)]
Fix FrameworksServicesTests.apk to include libnativehelper.so

libnativehelper.so is no longer accessible to the app, so it must be
bundled in the app. This should get ApfTest passing again.

Change-Id: Ie4fe66e44d46ddb12b3c7ac5c91118a69a8ebe2e

8 years agoFixed bad serialization code in ScanResult.
Jan Nordqvist [Wed, 3 Feb 2016 22:26:21 +0000 (14:26 -0800)]
Fixed bad serialization code in ScanResult.

Bug: 26964162
Change-Id: Ie9ad65936ab5173533773e5a711bcb81799acfb5

8 years agoIMS: Constants For Audio Quality, Supp. Services
Omkar Kolangade [Fri, 29 Jan 2016 00:52:47 +0000 (16:52 -0800)]
IMS: Constants For Audio Quality, Supp. Services

Adding:
1. Constants for audio quality (EVS standard).
2. Service class memeber to CallForwardInfo.
3. Call Fail Cause for emergency call and handover
   scenarios, and supplementary services.

Change-Id: I7cc23acd01144def0bb725c4f6312318421027c8

8 years agoMerge "New System APIs for Passpoint r2 app." into mm-wireless-dev
Jan Nordqvist [Wed, 3 Feb 2016 19:57:00 +0000 (19:57 +0000)]
Merge "New System APIs for Passpoint r2 app." into mm-wireless-dev

8 years agoEnable RTT Responder Role (1/4).
Wei Wang [Wed, 20 Jan 2016 23:14:14 +0000 (15:14 -0800)]
Enable RTT Responder Role (1/4).

Change-Id: Ic1cd9056b3ebc67759d628a45b34287e5b0320b6

8 years agoNew System APIs for Passpoint r2 app.
Vinit Deshpande [Thu, 28 Jan 2016 03:05:24 +0000 (19:05 -0800)]
New System APIs for Passpoint r2 app.

Change-Id: I09428e9a393999f43aefe5efd77cffe4b1b17da5

8 years agoMerge "Android packet filtering program interpreter test & program generator" into...
Paul Jensen [Wed, 3 Feb 2016 16:48:43 +0000 (16:48 +0000)]
Merge "Android packet filtering program interpreter test & program generator" into mm-wireless-dev

8 years agoAndroid packet filtering program interpreter test & program generator
Paul Jensen [Fri, 8 Jan 2016 04:13:19 +0000 (23:13 -0500)]
Android packet filtering program interpreter test & program generator

Change-Id: I17951bd6320b9eb3b6c43f2ae37f62c2025705c1

8 years agoIgnore link properties updates when nothing actually changed.
Erik Kline [Wed, 3 Feb 2016 10:39:01 +0000 (19:39 +0900)]
Ignore link properties updates when nothing actually changed.

Change-Id: Ia3c0a652cb3b67707a5c5a0bb40f991ef1e6f777

8 years agoPartial unification of DHCPv4 and static IPv4 configuration codepaths
Erik Kline [Wed, 3 Feb 2016 10:34:47 +0000 (19:34 +0900)]
Partial unification of DHCPv4 and static IPv4 configuration codepaths

Change-Id: Ic796f9b7bb853a332175c34e0f557588efb6247a

8 years agoMove DHCPv4 mechanics into IpManager
Erik Kline [Tue, 2 Feb 2016 04:06:21 +0000 (13:06 +0900)]
Move DHCPv4 mechanics into IpManager

Bug: 17345682
Change-Id: I2c3d9d665ff3c38f02084c0cf86cd76035e7b0aa

8 years agoNAN: for failed configurations - added configuration which failed.
Etan Cohen [Thu, 28 Jan 2016 19:37:50 +0000 (11:37 -0800)]
NAN: for failed configurations - added configuration which failed.

Bug: 26880665
Change-Id: I3c43edfc1a6ba43d7cc393a00c4f41fd2e245f2d

8 years agoWifiEnterpriseConfig: allow getting and setting of ca_path
Samuel Tan [Fri, 29 Jan 2016 23:22:48 +0000 (15:22 -0800)]
WifiEnterpriseConfig: allow getting and setting of ca_path

Add getters and setters for WPA supplicant's ca_path directive.

BUG: 26879191
Change-Id: Iad2857ddf7f09dd918637f99f740932e1fb7187c
TEST: WifiEnterpriseConfigTest CTS test

8 years agoUpdate RILConstants errors to match ril.h
Nathan Harold [Tue, 2 Feb 2016 21:22:19 +0000 (13:22 -0800)]
Update RILConstants errors to match ril.h

-Mirror changes from I997da9a15225716786c53b7457b498d4628e76be
-Add an error code for rate-limited requests

Bug: 26767732
Change-Id: Ic094fdf39d33a702e1799e099c86af5238deb226

8 years agoMerge "Add new telephony disconnect cause for video calls when tty enabled." into...
Tyler Gunn [Tue, 2 Feb 2016 17:42:39 +0000 (17:42 +0000)]
Merge "Add new telephony disconnect cause for video calls when tty enabled." into mm-wireless-dev

8 years agoSupport static IP configuration internally
Erik Kline [Mon, 1 Feb 2016 13:25:06 +0000 (22:25 +0900)]
Support static IP configuration internally

Also, stop passing around "reason" for IPv4 provision success
or failure.

Bug: 17345682
Change-Id: I4c4b22977a93048e0b291206721d0ccc77cfaaf2

8 years agoInitial refactoring to group IP-related elements into an IpManager
Erik Kline [Wed, 13 Jan 2016 08:36:08 +0000 (17:36 +0900)]
Initial refactoring to group IP-related elements into an IpManager

Bug: 17345682
Change-Id: I88f3f4bd32d18cd8d4f1404493648c8bcc1deeec

8 years agoMerge "Add a hidden anqp field to ScanResult" into mm-wireless-dev
Mitchell Wills [Fri, 29 Jan 2016 23:33:50 +0000 (23:33 +0000)]
Merge "Add a hidden anqp field to ScanResult" into mm-wireless-dev

8 years agoAdd new telephony disconnect cause for video calls when tty enabled.
Tyler Gunn [Fri, 29 Jan 2016 16:52:29 +0000 (08:52 -0800)]
Add new telephony disconnect cause for video calls when tty enabled.

Due to the way the radio works, it isn't possible to make a video call
when tty is enabled.  Adding a new telephony disconnect cause to handle
this case.
Note: This was previously handled directly in Telecom which is not
correct.

Bug: 20090652
Change-Id: I90b7d6486fe00c84efe7bb1c0f30edf33a1502bc

8 years agoAdd a hidden anqp field to ScanResult
Mitchell Wills [Thu, 28 Jan 2016 06:58:16 +0000 (22:58 -0800)]
Add a hidden anqp field to ScanResult

This allows ScanResults from WifiScanner to contain anqp data

Bug: 26525037
Change-Id: I54beb3c4e0b8bff06a8255d2dc53439941be3c66

8 years agoMerge "Add a null check before accessing int[] parameter in ModemActivityInfo" into...
Amit Mahajan [Thu, 28 Jan 2016 23:56:15 +0000 (23:56 +0000)]
Merge "Add a null check before accessing int[] parameter in ModemActivityInfo" into mm-wireless-dev

8 years agoMerge "Add ITelephonyDebugSubscriber.aidl" into mm-wireless-dev
Pavel Zhamaitsiak [Thu, 28 Jan 2016 23:42:26 +0000 (23:42 +0000)]
Merge "Add ITelephonyDebugSubscriber.aidl" into mm-wireless-dev

8 years agoAdd a null check before accessing int[] parameter in ModemActivityInfo
Amit Mahajan [Thu, 28 Jan 2016 23:30:39 +0000 (15:30 -0800)]
Add a null check before accessing int[] parameter in ModemActivityInfo

Bug: 26842468
Change-Id: I3a5f7c8e454e7b9ace20f8082ee3fd1d0a24eb64

8 years agoMerge "NAN: add message ID to correlate message callbacks to original message" into...
Etan Cohen [Thu, 28 Jan 2016 18:36:29 +0000 (18:36 +0000)]
Merge "NAN: add message ID to correlate message callbacks to original message" into mm-wireless-dev

8 years agoMerge "Allow NetworkFactories to match any network specifier on a request" into mm...
Etan Cohen [Thu, 28 Jan 2016 18:20:09 +0000 (18:20 +0000)]
Merge "Allow NetworkFactories to match any network specifier on a request" into mm-wireless-dev

8 years agoDO NOT MERGE Add capability to determine if downgrade to audio is denied.
Tyler Gunn [Tue, 19 Jan 2016 23:59:34 +0000 (15:59 -0800)]
DO NOT MERGE Add capability to determine if downgrade to audio is denied.

By default we assume downgrade to audio is permitted; this capability
probides a means for a carrier to specifically deny that.

Bug: 22728624

Change-Id: I75e0a5b9e5ad2d970003a4691b6fc0ac0dcfe9e0

8 years agoMerge "Remodel Network Selection" into mm-wireless-dev
xin He [Thu, 28 Jan 2016 02:08:23 +0000 (02:08 +0000)]
Merge "Remodel Network Selection" into mm-wireless-dev

8 years agoAdd ITelephonyDebugSubscriber.aidl
Pavel Zhamaitsiak [Thu, 28 Jan 2016 02:00:17 +0000 (18:00 -0800)]
Add ITelephonyDebugSubscriber.aidl

It can be used to subscribe for telephony debug events.

Change-Id: I6f17b0409f1117abd2d4caac99d3301c43134c75

8 years agoMerge "Reduced more radio log spam" into mm-wireless-dev
Jack Yu [Thu, 28 Jan 2016 00:00:04 +0000 (00:00 +0000)]
Merge "Reduced more radio log spam" into mm-wireless-dev

8 years agoMerge "Add new RIL command for sending ack to solicited async and unsolicited msg...
Sanket Padawe [Wed, 27 Jan 2016 23:25:09 +0000 (23:25 +0000)]
Merge "Add new RIL command for sending ack to solicited async and unsolicited msg." into mm-wireless-dev

8 years agoRemodel Network Selection
xinhe [Tue, 26 Jan 2016 18:32:03 +0000 (10:32 -0800)]
Remodel Network Selection

    There are two main changes in this CL:
    (1) Add user selection preference support. If user
    explicitly chooses a network, framework will remember
    it and consider user has a higher preference of this
    network over all other visible networks.

    (2) Seperate user set BSSID and framework chosen BSSID.
    The BSSID under WifiConfiguration is set by user and is
    not allowed to be overrided. The BSSID under Network
    selection status is the best BSSID chosen by the
    framework to associate with.

BUG=26012244
BUG=26721725

Change-Id: Iece91d20b139ef1c6aec05828c734d1706d81007

8 years ago[DO NOT MERGE] Cellinfo: Update to version 12
Sanket Padawe [Wed, 27 Jan 2016 17:59:59 +0000 (09:59 -0800)]
[DO NOT MERGE] Cellinfo: Update to version 12

Add support for:
GSM: arfcn, bsic, ta
WCDMA: uarfcn
LTE: earfcn
Updated public APIs for getting above fields.

Bug: 23528586
Change-Id: I1e741ec73f2f683a796d430898b62921fe6e75e9

8 years agoAdd new RIL command for sending ack to solicited async and unsolicited msg.
Sanket Padawe [Wed, 27 Jan 2016 03:29:32 +0000 (19:29 -0800)]
Add new RIL command for sending ack to solicited async and unsolicited msg.

Bug: 22127517
Change-Id: I371aae330f96e5767850b8c7fabbb36984334a98

8 years agoMerge "API to set multiple CA certificates for WifiEnterpriseConfig" into mm-wireless-dev
Rubin Xu [Wed, 27 Jan 2016 00:26:58 +0000 (00:26 +0000)]
Merge "API to set multiple CA certificates for WifiEnterpriseConfig" into mm-wireless-dev

8 years agoMerge "Make DcRtInfo Power State Constants Final" into mm-wireless-dev
Nathan Harold [Tue, 26 Jan 2016 23:19:38 +0000 (23:19 +0000)]
Merge "Make DcRtInfo Power State Constants Final" into mm-wireless-dev

8 years agoMerge "Remove older passpoint code that we never made to work" into mm-wireless-dev
Vinit Deshpande [Tue, 26 Jan 2016 22:37:06 +0000 (22:37 +0000)]
Merge "Remove older passpoint code that we never made to work" into mm-wireless-dev

8 years agoReduced more radio log spam
Jack Yu [Tue, 5 Jan 2016 23:50:40 +0000 (15:50 -0800)]
Reduced more radio log spam

Reduced more radio log spam

bug: 25956251
Change-Id: Ib870bb508c55ab009197fd7fcfa48e62fe3f7b6b

8 years agoMerge "DO NOT MERGE : Unhiding MSIM APIs." into mm-wireless-dev
Shishir Agrawal [Tue, 26 Jan 2016 18:00:11 +0000 (18:00 +0000)]
Merge "DO NOT MERGE : Unhiding MSIM APIs." into mm-wireless-dev

8 years agoDO NOT MERGE : Unhiding MSIM APIs.
Shishir Agrawal [Mon, 25 Jan 2016 21:03:07 +0000 (13:03 -0800)]
DO NOT MERGE : Unhiding MSIM APIs.

1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent
   APIs public.
2. Make MSIM API naming consistent (overloaded, no suffix).
3. Unhide APIs in SubscriptionManager that are necessary for MSIM.

Bug: 26772894
Change-Id: Ibebab7379ea79c8e4812bbd190342827048e30e2

8 years agoNAN: add message ID to correlate message callbacks to original message
Etan Cohen [Tue, 26 Jan 2016 16:51:02 +0000 (08:51 -0800)]
NAN: add message ID to correlate message callbacks to original message

Add message ID to be specified by caller to each message. Same message ID
is provided back in callbacks indicating message send success or failure.

Bug: 26769293
Change-Id: I83958d5d219b02c153b0b93d707eaadfdacbf0dc

8 years agoMerge "Revert "Cellinfo: Update to version 12"" into mm-wireless-dev
Narayan Kamath [Tue, 26 Jan 2016 09:46:14 +0000 (09:46 +0000)]
Merge "Revert "Cellinfo: Update to version 12"" into mm-wireless-dev

8 years agoRevert "Cellinfo: Update to version 12"
Narayan Kamath [Tue, 26 Jan 2016 09:44:54 +0000 (09:44 +0000)]
Revert "Cellinfo: Update to version 12"

This reverts commit aa2be45a560b37c5249600667ee36a9f156515c2.

Change-Id: I5cc76b15b311e47bc5a892704930d218c9f72b0d

8 years agoRemove older passpoint code that we never made to work
Vinit Deshpande [Tue, 26 Jan 2016 03:33:46 +0000 (19:33 -0800)]
Remove older passpoint code that we never made to work

Since we are hiding MO trees et al; there is no reason to
keep this code anymore.

Change-Id: Ic92131b5949c3b97b7a55fa7d3e0cd8f9e933aa0

8 years agoMake DcRtInfo Power State Constants Final
Nathan Harold [Tue, 26 Jan 2016 01:04:04 +0000 (17:04 -0800)]
Make DcRtInfo Power State Constants Final

Bug: 26779884
Change-Id: Ia035b67fd682adb6542d6569d7634678f68a1e30

8 years agoMerge "Cellinfo: Update to version 12" into mm-wireless-dev
Sanket Padawe [Mon, 25 Jan 2016 23:54:37 +0000 (23:54 +0000)]
Merge "Cellinfo: Update to version 12" into mm-wireless-dev

8 years agoCellinfo: Update to version 12
Sanket Padawe [Mon, 25 Jan 2016 22:14:30 +0000 (14:14 -0800)]
Cellinfo: Update to version 12

Add support for:
GSM: arfcn, bsic, ta
WCDMA: uarfcn
LTE: earfcn
Updated public APIs for getting above fields.

Bug: 23528586

Change-Id: I538a9f392550716d8a9a90e01fc88bc082ef7b81

8 years agoAPI to set multiple CA certificates for WifiEnterpriseConfig
Rubin Xu [Thu, 14 Jan 2016 15:05:08 +0000 (15:05 +0000)]
API to set multiple CA certificates for WifiEnterpriseConfig

Support multiple CA certificates as trust anchors for server certs
when connecting to EAP networks. For the full feature, also requries
wpa_supplicant support, Wifi stack change to set up certificates and
aliases, and Wifi Setting UI tweak.

Bug: 22547958
Change-Id: I3c9f0e184632b79044a9e623ce0e7d9aaddd2ae3

8 years agoUpdates for gscan HAL updates in N
Mitchell Wills [Fri, 18 Dec 2015 23:36:48 +0000 (15:36 -0800)]
Updates for gscan HAL updates in N

This will compile, but all new functionality may not work

Change-Id: I88f27f375121c6b27377b075e9fd6bfad7b05aa4

8 years agoMerge "Data call retry refactoring" into mm-wireless-dev
Jack Yu [Thu, 21 Jan 2016 17:43:19 +0000 (17:43 +0000)]
Merge "Data call retry refactoring" into mm-wireless-dev

8 years agoMerge "Phone reboots after connect-disconnect-reconnect to GoPro" into mm-wireless-dev
xin He [Wed, 20 Jan 2016 19:27:12 +0000 (19:27 +0000)]
Merge "Phone reboots after connect-disconnect-reconnect to GoPro" into mm-wireless-dev

8 years agoPhone reboots after connect-disconnect-reconnect to GoPro
xinhe [Wed, 20 Jan 2016 18:52:50 +0000 (10:52 -0800)]
Phone reboots after connect-disconnect-reconnect to GoPro

     Error is due to the wrong initialization on Disable
     Reason String

BUG=26664811

Change-Id: Ie4ede26eb5654ef369d2d07cb393765ad1edac61

8 years agoMerge "Revert "Added constructor with looper param for OnSubscriptionsChangedListener...
Amit Mahajan [Wed, 20 Jan 2016 19:15:45 +0000 (19:15 +0000)]
Merge "Revert "Added constructor with looper param for OnSubscriptionsChangedListener"" into mm-wireless-dev