217614 Commits

Author SHA1 Message Date
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
Jack Yu
090dd72999 Data call retry refactoring
Moved retry manager from DataConnection to ApnContext. Moved the
configuration from system properties to carrier config.

bug: 22208242
Change-Id: I224d4b0fd0115b964e85a07e2c1b5061726ca91b
2016-01-15 10:26:51 -08:00
Vinit Deshpande
19ec617fd5 Allow turning off Wi-Fi when emergency call is made
Bug: 24147407
Change-Id: Ia07b8bc4ccbdaeea18ed22fbfcf813f71ddfa7dc
2016-01-14 17:24:39 -08:00
Etan Cohen
e540b64aaf Merge "NAN: baseline NAN manager for discovery." into mm-wireless-dev 2016-01-15 01:17:08 +00:00
Amit Mahajan
49442a1dd7 Merge "Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mm-wireless-dev 2016-01-14 23:54:14 +00:00
Amit Mahajan
0c0814839f Adding new intent for EMERGENCY_CALL_STATE_CHANGE
Bug: 24147407
Change-Id: Ida957b9cc6b9c3e13bc8660213ce5cf979c886d5
2016-01-14 11:42:31 -08:00
Etan Cohen
20d329b08d NAN: baseline NAN manager for discovery.
Initial framework for user API (all @hide for now). Supports:
- NAN configuration
- Publish/Subscribe = Discovery
- Message passing
- Notifications

Bug: 26216681
Change-Id: I72e467756a02f7b80c52fae916b9a47c8174af42
2016-01-14 11:34:07 -08:00
Bartosz Fabianowski
6fb0756d2f Add WifiConfiguration.shared flag
* Add boolean WifiConfiguration.shared, which indicates whether a network
  is shared (visible to and usable by all users) or private (visible to
  and usable only by the user who created it)
* Extend WifiConfiguration.configKey(...) so that when two users create
  private configurations for the same network, their configurationKeys
  will be different.
* Make AccessPoint.matches(...) take into account the shared flag

BUG=25600871

Change-Id: I4a4335fa3b4b4f850e16748583a29ab66992ddc8
2016-01-14 17:18:45 +01:00
Pavel Zhamaitsiak
4a4345b681 Merge "Add ITelephonyDebug.aidl" into mm-wireless-dev 2016-01-13 21:40:38 +00:00
xin He
5961142109 Merge "Initial codes for Quality network selection [DO NOT MERGE]" into mm-wireless-dev 2016-01-13 20:03:50 +00:00
xinhe
8d106780b6 Initial codes for Quality network selection [DO NOT MERGE]
In this change list, the old WifiAutojoin module is
    refactored initially. The old WifiAutojoinController is
    replaced with a new WifiQualifiedNetworkSelector.
    WifiConfiguration, WifiConfigureStore and
    WifiStateMachine have been modified accordingly. The new
    network selection logic is refactored with a more clear
    and deterministci one. To refer to thedescribed in
    details, in "Quality Network Selection and Connectivity
    Scan Management in N". The link of the document is:
    https://docs.google.com/document/d
    /1JPTa2NEk-PgjCJ16fIrR6ohV-kDKveDlYDOeiMCB2_c

Bug:26012244

Change-Id: I3df124c110e458e3b6bc29466b9046748d79582a
2016-01-12 16:29:43 -08:00
Amit Mahajan
831e401c05 Added constructor with looper param for OnSubscriptionsChangedListener
This is needed for tests as subclasses may need to specify which
looper to use.

Bug: 25691379
Change-Id: Ia6eb2d34c439b420ef81622e3c8ff50a0290da22
2016-01-12 16:14:22 -08:00
Tyler Gunn
ae85bc3c65 [DO NOT MERGE] Add "acceptRingingCall()" API which accepts a videoState.
- Added acceptRingingCall API which accepts a videostate to complement the
existing API.

Bug: 20159300
Change-Id: I2a9d53fd4dbbb0be49d95416f7e26d3ec61774cd
2016-01-05 16:33:07 -08:00
Pavel Zhamaitsiak
f91818ca34 Add ITelephonyDebug.aidl
Change-Id: I0f111a56b471bd8c8092d30e7157bc06b5da3769
2016-01-04 15:54:31 -08:00
Jack Yu
fa530b4a10 Fixed the incorrect cdma RAT detection logic.
Used the correct CDMA bitmask to determine if the bearer services
are based on 3GPP2 radio technologies.

bug: 26318528
Change-Id: Ic30c25aa7b67372898a041dd1f3a08a3abede394
2016-01-04 11:58:48 -08:00
Jack Yu
d2cf0ce9c1 Reduced the radio log
Reduced the radio log by moving some to VDBG or merging few lines
into one.

bug: 25956251
Change-Id: I290d894e95c9fdd664db35fd0cee3536c37dbd20
2015-12-30 12:06:01 -08:00
Randy Pan
8c79fe5dc4 Correct WiFi exponential back off scan
Correct the comments for exponential back off scan. Only binary
exponential back off scan is supported.

Updated the API doc. A couple of un-related fields which were
not updated get updated as well.

Bug: 26236392
Change-Id: I5668092f393b564aa40904ed609a51aa16890614
2015-12-29 11:28:43 -08:00
Robert Greenwalt
a2590b5e7f Check permissions on getDeviceId. DO NOT MERGE
This needs the package name passed in, so the aidl changes.

bug:25778215
Change-Id: I69ee88f1d2db614bad51e6de908d3f16881a0231
2015-12-22 15:29:42 -08:00
Tyler Gunn
9e4d4143cf DO NOT MERGE Add PhoneAccount capability to indicate if VT uses presence.
Added new PhoneAccount capability used to indicate whether the dialer
should use the presence bit in the contacts provider to determine when
the video call icon is shown or not.

Bug: 20257833
Change-Id: Ifb3cc5b7ff1090d539dfb925dce9f6327de15c46
2015-12-16 13:36:14 -08:00
Prerepa Viswanadham
46f5f53d28 WLAN wake reason accounting from driver.
Change-Id: I58e0594682bf0f1d5746e9a2d8ec3091a5bf550f
2015-12-16 17:54:39 +00:00
Etan Cohen
ddb9ef0357 Allow NetworkFactories to match any network specifier on a request
Current usage of NetworkSpecifier: network factory will match a request
if the request has either a (1) empty network specifier, or (2) a
network specifier which is identical to that of the network factory.
Note: 'matching' w.r.t. network specifier - all other matching rules
are still in effect.

Change: add rule (3) or the network specifier of the network factory
is the special string (which is defined as "*" and which user-facing
network requests aren't allowed to use).

Rationale: allows on-demand network creation.

Example:
- Can specify a Wi-Fi NetworkRequest with NetworkSpecifier="ssid"
- It will match a Wi-Fi network factory specifying NetworkSpecifier="*"
- That network factory will bring up a Wi-Fi network, connecting to the
  specified SSID.
- Once the network is created it will create a NetworkAgent which will
  now have a NetworkSpecifier matching that of the request (not the
  match-all special string!)

That final step of making sure that the NetworkAgent matches the request
and not the match-all is critical to delivering any subsequent callbacks
correctly. I.e. your network will only get callbacks which match it.

Bug: 26192833
Change-Id: I49e3b492e0bb48a3f6e9a34e3f94f0e1cf89741f
2015-12-15 08:06:54 -08:00
Baligh Uddin
9be302b47c empty commit to trigger build
Change-Id: I3ec926126a0d9ee7d64ffc70ca7aa7c6c9e2a9c6
2015-12-13 18:01:17 +00:00
Tyler Gunn
c6b2890e91 Merge commit 'da131290ae5e476691e05e5eb4ac6d507012a0ac' into mncvtdev-to-mmwirelessdev-merge-2015-12-10 2015-12-10 20:05:46 -08:00
Tyler Gunn
56f3d9098c Merge commit '9aadad47a0085c4298307781a423064207933f0b' into mncvtdev-to-mmwirelessdev-merge-2015-12-10 2015-12-10 20:04:25 -08:00
Tyler Gunn
c270029ca6 Merge commit '70da83381f77e0ee9ada47eafaae395038ff77ad' into mncvtdev-to-mmwirelessdev-merge-2015-12-10 2015-12-10 20:04:17 -08:00
Tyler Gunn
1c61043876 Merge commit 'bc4da97ce0fcd0ddef228048bc663e383776c323' into mncvtdev-to-mmwirelessdev-merge-2015-12-10 2015-12-10 20:03:24 -08:00
Tyler Gunn
abc571c640 Merge commit '5e42c1cf1c7786a550df351622865ba1710a0ea6' into mncvtdev-to-mmwirelessdev-merge-2015-12-10 2015-12-10 20:03:15 -08:00
Tyler Gunn
22a584906b Merge commit 'd40a83543a67a911b5dcfbb8d164cea0c5285a78' into mncvtdev-to-mmwirelessdev-merge-2015-12-10 2015-12-10 20:03:00 -08:00
Tyler Gunn
eac6923931 Merge commit '3132d0c9f894707043c07622fae7b33c85ea0013' into mncvtdev-to-mmwirelessdev-merge-2015-12-10 2015-12-10 20:02:51 -08:00
Tyler Gunn
cb663902c4 Merge commit '73831680cd7e47df103cf60a2230ed411e5d3b93' into mncvtdev-to-mmwirelessdev-merge-2015-12-10 2015-12-10 20:02:38 -08:00
Tyler Gunn
12112724b8 Merge commit 'c956f0dcb3d93dd0f3ee0a3daafaf2da8212402e' into mncvtdev-to-mmwirelessdev-merge-2015-12-10 2015-12-10 20:02:29 -08:00
Tyler Gunn
fb21fb73e9 Merge commit '024557b2afdbe2e946d2cc557cb71492d87b0f62' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Change-Id: I44853f0e2f56d33c8126de0799bd5129799592bd
2015-12-10 20:02:16 -08:00
Tyler Gunn
6c6f9e7a9a Merge commit '98bd72181e176cdc5536b9709127a71cca082bbf' into mncvtdev-to-mmwirelessdev-merge-2015-12-10 2015-12-10 19:59:27 -08:00
Tyler Gunn
54583d537d Merge commit '109e9c449d5a0070df793c63383e474a03242ba5' into mncvtdev-to-mmwirelessdev-merge-2015-12-10 2015-12-10 19:57:22 -08:00
Tyler Gunn
b17478667f Merge commit 'f231ca1c67f3925d018265f99f5b8a691d190d68' into mncvtdev-to-mmwirelessdev-merge-2015-12-10 2015-12-10 19:56:01 -08:00
Tyler Gunn
cc5d6dcccb Merge commit '6cb5fcaad143227002bd4d00b1974e126d9a8090' into mncvtdev-to-mmwirelessdev-merge-2015-12-10 2015-12-10 19:55:50 -08:00
Tyler Gunn
028235ab65 Merge commit 'b19c0041914019e6d9d96fce67ec0e7a6820bf3c' into mncvtdev-to-mmwirelessdev-merge-2015-12-10 2015-12-10 19:55:41 -08:00
Jack Yu
a11d3ac4c2 Merge "merge from master" into mm-wireless-dev 2015-12-11 01:07:24 +00:00
Lorenzo Colitti
6b212287d0 DO NOT MERGE Don't crash when canceling alarms if a direct listener is present
If a direct listener alarm attempts to match a regular
PendingIntent alarm, it will attempt to fetch the binder of the
regular alarm's direct listener, which is null, and crash the
system with an NPE.

Cherry-picked from 9b43ce0c98ce9f865d6db547529d098c8982cc
Bug: 25823676
Change-Id: I85fb98b43436930a2513274dc5ab408f7d41d97f
2015-12-10 16:06:50 -08:00