OSDN Git Service

android-x86/frameworks-base.git
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 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 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

8 years agoRevert "Added constructor with looper param for OnSubscriptionsChangedListener"
Amit Mahajan [Tue, 19 Jan 2016 22:44:40 +0000 (22:44 +0000)]
Revert "Added constructor with looper param for OnSubscriptionsChangedListener"

This reverts commit 831e401c055391745691a58d0c87c48b49139f50.

Not needed now since tests create HandlerThread

BUG=25691379
Change-Id: Ic0ac3e3ef3c717fd31acb5fc8d6d81cc9995a2f7

8 years agoData call retry refactoring
Jack Yu [Fri, 18 Dec 2015 23:16:24 +0000 (15:16 -0800)]
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

8 years agoAllow turning off Wi-Fi when emergency call is made
Vinit Deshpande [Thu, 14 Jan 2016 00:58:30 +0000 (16:58 -0800)]
Allow turning off Wi-Fi when emergency call is made

Bug: 24147407
Change-Id: Ia07b8bc4ccbdaeea18ed22fbfcf813f71ddfa7dc

8 years agoMerge "NAN: baseline NAN manager for discovery." into mm-wireless-dev
Etan Cohen [Fri, 15 Jan 2016 01:17:08 +0000 (01:17 +0000)]
Merge "NAN: baseline NAN manager for discovery." into mm-wireless-dev

8 years agoMerge "Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mm-wireless-dev
Amit Mahajan [Thu, 14 Jan 2016 23:54:14 +0000 (23:54 +0000)]
Merge "Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mm-wireless-dev

8 years agoAdding new intent for EMERGENCY_CALL_STATE_CHANGE
Amit Mahajan [Wed, 13 Jan 2016 02:25:33 +0000 (18:25 -0800)]
Adding new intent for EMERGENCY_CALL_STATE_CHANGE

Bug: 24147407
Change-Id: Ida957b9cc6b9c3e13bc8660213ce5cf979c886d5

8 years agoNAN: baseline NAN manager for discovery.
Etan Cohen [Tue, 29 Sep 2015 20:49:02 +0000 (13:49 -0700)]
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

8 years agoAdd WifiConfiguration.shared flag
Bartosz Fabianowski [Tue, 12 Jan 2016 14:43:19 +0000 (15:43 +0100)]
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

8 years agoMerge "Add ITelephonyDebug.aidl" into mm-wireless-dev
Pavel Zhamaitsiak [Wed, 13 Jan 2016 21:40:38 +0000 (21:40 +0000)]
Merge "Add ITelephonyDebug.aidl" into mm-wireless-dev

8 years agoMerge "Initial codes for Quality network selection [DO NOT MERGE]" into mm-wireless-dev
xin He [Wed, 13 Jan 2016 20:03:50 +0000 (20:03 +0000)]
Merge "Initial codes for Quality network selection [DO NOT MERGE]" into mm-wireless-dev

8 years agoInitial codes for Quality network selection [DO NOT MERGE]
xinhe [Tue, 1 Dec 2015 22:44:37 +0000 (14:44 -0800)]
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

8 years agoAdded constructor with looper param for OnSubscriptionsChangedListener
Amit Mahajan [Tue, 12 Jan 2016 23:43:36 +0000 (15:43 -0800)]
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

8 years ago[DO NOT MERGE] Add "acceptRingingCall()" API which accepts a videoState.
Tyler Gunn [Fri, 23 Oct 2015 21:39:49 +0000 (14:39 -0700)]
[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

8 years agoAdd ITelephonyDebug.aidl
Pavel Zhamaitsiak [Mon, 4 Jan 2016 23:54:31 +0000 (15:54 -0800)]
Add ITelephonyDebug.aidl

Change-Id: I0f111a56b471bd8c8092d30e7157bc06b5da3769

8 years agoFixed the incorrect cdma RAT detection logic.
Jack Yu [Mon, 4 Jan 2016 18:04:34 +0000 (10:04 -0800)]
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

8 years agoReduced the radio log
Jack Yu [Wed, 30 Dec 2015 20:06:01 +0000 (12:06 -0800)]
Reduced the radio log

Reduced the radio log by moving some to VDBG or merging few lines
into one.

bug: 25956251
Change-Id: I290d894e95c9fdd664db35fd0cee3536c37dbd20

8 years agoCorrect WiFi exponential back off scan
Randy Pan [Thu, 17 Dec 2015 21:07:07 +0000 (13:07 -0800)]
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

8 years agoCheck permissions on getDeviceId. DO NOT MERGE
Robert Greenwalt [Fri, 4 Dec 2015 19:51:49 +0000 (11:51 -0800)]
Check permissions on getDeviceId. DO NOT MERGE

This needs the package name passed in, so the aidl changes.

bug:25778215
Change-Id: I69ee88f1d2db614bad51e6de908d3f16881a0231

8 years agoDO NOT MERGE Add PhoneAccount capability to indicate if VT uses presence.
Tyler Gunn [Wed, 9 Dec 2015 23:00:18 +0000 (15:00 -0800)]
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

8 years agoWLAN wake reason accounting from driver.
Prerepa Viswanadham [Thu, 10 Dec 2015 00:12:08 +0000 (16:12 -0800)]
WLAN wake reason accounting from driver.

Change-Id: I58e0594682bf0f1d5746e9a2d8ec3091a5bf550f

8 years agoAllow NetworkFactories to match any network specifier on a request
Etan Cohen [Wed, 18 Nov 2015 18:56:15 +0000 (10:56 -0800)]
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

8 years agoempty commit to trigger build
Baligh Uddin [Sun, 13 Dec 2015 18:01:17 +0000 (18:01 +0000)]
empty commit to trigger build

Change-Id: I3ec926126a0d9ee7d64ffc70ca7aa7c6c9e2a9c6