217602 Commits

Author SHA1 Message Date
Wei Wang
564527dc5a Enable RTT Responder Role (1/4).
Change-Id: Ic1cd9056b3ebc67759d628a45b34287e5b0320b6
2016-02-03 11:32:50 -08:00
Vinit Deshpande
a772f0cf34 New System APIs for Passpoint r2 app.
Change-Id: I09428e9a393999f43aefe5efd77cffe4b1b17da5
2016-02-03 11:28:21 -08:00
Paul Jensen
44307adcf3 Merge "Android packet filtering program interpreter test & program generator" into mm-wireless-dev 2016-02-03 16:48:43 +00:00
Paul Jensen
d38fb7662d Android packet filtering program interpreter test & program generator
Change-Id: I17951bd6320b9eb3b6c43f2ae37f62c2025705c1
2016-02-03 10:19:13 -05:00
Erik Kline
6076cb0b85 Ignore link properties updates when nothing actually changed.
Change-Id: Ia3c0a652cb3b67707a5c5a0bb40f991ef1e6f777
2016-02-03 22:42:54 +09:00
Erik Kline
8deac7793c Partial unification of DHCPv4 and static IPv4 configuration codepaths
Change-Id: Ic796f9b7bb853a332175c34e0f557588efb6247a
2016-02-03 22:42:53 +09:00
Erik Kline
8afa558c52 Move DHCPv4 mechanics into IpManager
Bug: 17345682
Change-Id: I2c3d9d665ff3c38f02084c0cf86cd76035e7b0aa
2016-02-03 17:23:45 +09:00
Etan Cohen
8340beca62 NAN: for failed configurations - added configuration which failed.
Bug: 26880665
Change-Id: I3c43edfc1a6ba43d7cc393a00c4f41fd2e245f2d
2016-02-02 16:30:16 -08:00
Samuel Tan
c136cf9539 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
2016-02-02 15:57:31 -08:00
Nathan Harold
c0e87a55f2 Update RILConstants errors to match ril.h
-Mirror changes from I997da9a15225716786c53b7457b498d4628e76be
-Add an error code for rate-limited requests

Bug: 26767732
Change-Id: Ic094fdf39d33a702e1799e099c86af5238deb226
2016-02-02 13:37:59 -08:00
Tyler Gunn
8562fb281c Merge "Add new telephony disconnect cause for video calls when tty enabled." into mm-wireless-dev 2016-02-02 17:42:39 +00:00
Erik Kline
1e91e4ebb6 Support static IP configuration internally
Also, stop passing around "reason" for IPv4 provision success
or failure.

Bug: 17345682
Change-Id: I4c4b22977a93048e0b291206721d0ccc77cfaaf2
2016-02-01 22:32:21 +09:00
Erik Kline
a636761bd6 Initial refactoring to group IP-related elements into an IpManager
Bug: 17345682
Change-Id: I88f3f4bd32d18cd8d4f1404493648c8bcc1deeec
2016-02-01 17:59:47 +09:00
Mitchell Wills
934b3b9c6c Merge "Add a hidden anqp field to ScanResult" into mm-wireless-dev 2016-01-29 23:33:50 +00:00
Tyler Gunn
0384c53c4e 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
2016-01-29 08:52:29 -08:00
Mitchell Wills
9eeba37851 Add a hidden anqp field to ScanResult
This allows ScanResults from WifiScanner to contain anqp data

Bug: 26525037
Change-Id: I54beb3c4e0b8bff06a8255d2dc53439941be3c66
2016-01-28 23:10:30 -08:00
Amit Mahajan
ff62707130 Merge "Add a null check before accessing int[] parameter in ModemActivityInfo" into mm-wireless-dev 2016-01-28 23:56:15 +00:00
Pavel Zhamaitsiak
8a688b2f36 Merge "Add ITelephonyDebugSubscriber.aidl" into mm-wireless-dev 2016-01-28 23:42:26 +00:00
Amit Mahajan
938dcc88fd Add a null check before accessing int[] parameter in ModemActivityInfo
Bug: 26842468
Change-Id: I3a5f7c8e454e7b9ace20f8082ee3fd1d0a24eb64
2016-01-28 15:30:39 -08:00
Etan Cohen
638856c621 Merge "NAN: add message ID to correlate message callbacks to original message" into mm-wireless-dev 2016-01-28 18:36:29 +00:00
Etan Cohen
bd0858ba67 Merge "Allow NetworkFactories to match any network specifier on a request" into mm-wireless-dev 2016-01-28 18:20:09 +00:00
Tyler Gunn
a3fc54f0d8 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
2016-01-27 19:45:23 -08:00
xin He
2fdee90b68 Merge "Remodel Network Selection" into mm-wireless-dev 2016-01-28 02:08:23 +00:00
Pavel Zhamaitsiak
ed0eecf7a2 Add ITelephonyDebugSubscriber.aidl
It can be used to subscribe for telephony debug events.

Change-Id: I6f17b0409f1117abd2d4caac99d3301c43134c75
2016-01-27 18:00:17 -08:00
Jack Yu
24c5e7c4ce Merge "Reduced more radio log spam" into mm-wireless-dev 2016-01-28 00:00:04 +00:00
Sanket Padawe
2ed3add734 Merge "Add new RIL command for sending ack to solicited async and unsolicited msg." into mm-wireless-dev 2016-01-27 23:25:09 +00:00
xinhe
584dc6b8b9 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
2016-01-27 14:50:42 -08:00
Sanket Padawe
0491c46227 [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
2016-01-27 09:59:59 -08:00
Sanket Padawe
2f805530f4 Add new RIL command for sending ack to solicited async and unsolicited msg.
Bug: 22127517
Change-Id: I371aae330f96e5767850b8c7fabbb36984334a98
2016-01-26 19:29:32 -08:00
Rubin Xu
b84954cf92 Merge "API to set multiple CA certificates for WifiEnterpriseConfig" into mm-wireless-dev 2016-01-27 00:26:58 +00:00
Nathan Harold
4269239f86 Merge "Make DcRtInfo Power State Constants Final" into mm-wireless-dev 2016-01-26 23:19:38 +00:00
Vinit Deshpande
82c8b7edd0 Merge "Remove older passpoint code that we never made to work" into mm-wireless-dev 2016-01-26 22:37:06 +00:00
Jack Yu
87f47e9991 Reduced more radio log spam
Reduced more radio log spam

bug: 25956251
Change-Id: Ib870bb508c55ab009197fd7fcfa48e62fe3f7b6b
2016-01-26 10:24:56 -08:00
Shishir Agrawal
45836d13e5 Merge "DO NOT MERGE : Unhiding MSIM APIs." into mm-wireless-dev 2016-01-26 18:00:11 +00:00
Shishir Agrawal
3a86d3d534 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
2016-01-26 09:29:24 -08:00
Etan Cohen
b0fde5d79d 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
2016-01-26 08:51:02 -08:00
Narayan Kamath
c980eca638 Merge "Revert "Cellinfo: Update to version 12"" into mm-wireless-dev 2016-01-26 09:46:14 +00:00
Narayan Kamath
d44d16f700 Revert "Cellinfo: Update to version 12"
This reverts commit aa2be45a560b37c5249600667ee36a9f156515c2.

Change-Id: I5cc76b15b311e47bc5a892704930d218c9f72b0d
2016-01-26 09:44:54 +00:00
Vinit Deshpande
cb90cfbe16 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
2016-01-25 20:15:25 -08:00
Nathan Harold
ec1d600153 Make DcRtInfo Power State Constants Final
Bug: 26779884
Change-Id: Ia035b67fd682adb6542d6569d7634678f68a1e30
2016-01-25 17:29:10 -08:00
Sanket Padawe
480bd2b97a Merge "Cellinfo: Update to version 12" into mm-wireless-dev 2016-01-25 23:54:37 +00:00
Sanket Padawe
aa2be45a56 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
2016-01-25 14:14:30 -08:00
Omkar Kolangade
a0f46a9e7d IMS Connection Capabilities Update
IMS connection capabilities were not getting
propagated to the upper layers whenever a
capability was added or removed. Adding the
same.

Change-Id: Ic67d76df05c8b2a1b8abaf27f266fe9693764e52
2016-01-25 09:51:56 -08:00
Rubin Xu
a0e3d62162 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
2016-01-25 10:26:46 +00:00
Mitchell Wills
c90855d7a9 Updates for gscan HAL updates in N
This will compile, but all new functionality may not work

Change-Id: I88f27f375121c6b27377b075e9fd6bfad7b05aa4
2016-01-21 10:59:18 -08:00
Jack Yu
599f62562b Merge "Data call retry refactoring" into mm-wireless-dev 2016-01-21 17:43:19 +00:00
xin He
77eb57976e Merge "Phone reboots after connect-disconnect-reconnect to GoPro" into mm-wireless-dev 2016-01-20 19:27:12 +00:00
xinhe
90a3841994 Phone reboots after connect-disconnect-reconnect to GoPro
Error is due to the wrong initialization on Disable
     Reason String

BUG=26664811

Change-Id: Ie4ede26eb5654ef369d2d07cb393765ad1edac61
2016-01-20 11:17:20 -08:00
Amit Mahajan
e2b73804f3 Merge "Revert "Added constructor with looper param for OnSubscriptionsChangedListener"" into mm-wireless-dev 2016-01-20 19:15:45 +00:00
Amit Mahajan
ca1bdcfd70 Revert "Added constructor with looper param for OnSubscriptionsChangedListener"
This reverts commit 831e401c055391745691a58d0c87c48b49139f50.

Not needed now since tests create HandlerThread

BUG=25691379
Change-Id: Ic0ac3e3ef3c717fd31acb5fc8d6d81cc9995a2f7
2016-01-19 22:46:34 +00:00