217487 Commits

Author SHA1 Message Date
Mitchell Wills
934b3b9c6c Merge "Add a hidden anqp field to ScanResult" into mm-wireless-dev 2016-01-29 23:33:50 +00: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
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