OSDN Git Service
Jan Nordqvist [Tue, 9 Feb 2016 17:24:20 +0000 (17:24 +0000)]
Merge "Fixed bad auto-generated method name." 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
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
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
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
Jan Nordqvist [Thu, 4 Feb 2016 23:41:53 +0000 (15:41 -0800)]
Fixed bad auto-generated method name.
Change-Id: Ic60b0658f0b6a6e06dc9cf82299fe95bbd308972
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
Jan Nordqvist [Wed, 3 Feb 2016 22:26:21 +0000 (14:26 -0800)]
Fixed bad serialization code in ScanResult.
Bug:
26964162
Change-Id: Ie9ad65936ab5173533773e5a711bcb81799acfb5
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
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
Wei Wang [Wed, 20 Jan 2016 23:14:14 +0000 (15:14 -0800)]
Enable RTT Responder Role (1/4).
Change-Id: Ic1cd9056b3ebc67759d628a45b34287e5b0320b6
Vinit Deshpande [Thu, 28 Jan 2016 03:05:24 +0000 (19:05 -0800)]
New System APIs for Passpoint r2 app.
Change-Id: I09428e9a393999f43aefe5efd77cffe4b1b17da5
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
Paul Jensen [Fri, 8 Jan 2016 04:13:19 +0000 (23:13 -0500)]
Android packet filtering program interpreter test & program generator
Change-Id: I17951bd6320b9eb3b6c43f2ae37f62c2025705c1
Erik Kline [Wed, 3 Feb 2016 10:39:01 +0000 (19:39 +0900)]
Ignore link properties updates when nothing actually changed.
Change-Id: Ia3c0a652cb3b67707a5c5a0bb40f991ef1e6f777
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
Erik Kline [Tue, 2 Feb 2016 04:06:21 +0000 (13:06 +0900)]
Move DHCPv4 mechanics into IpManager
Bug:
17345682
Change-Id: I2c3d9d665ff3c38f02084c0cf86cd76035e7b0aa
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
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
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
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
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
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
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
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
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
Pavel Zhamaitsiak [Thu, 28 Jan 2016 23:42:26 +0000 (23:42 +0000)]
Merge "Add ITelephonyDebugSubscriber.aidl" into mm-wireless-dev
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
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
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
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
xin He [Thu, 28 Jan 2016 02:08:23 +0000 (02:08 +0000)]
Merge "Remodel Network Selection" into mm-wireless-dev
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
Jack Yu [Thu, 28 Jan 2016 00:00:04 +0000 (00:00 +0000)]
Merge "Reduced more radio log spam" into mm-wireless-dev
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
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
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
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
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
Nathan Harold [Tue, 26 Jan 2016 23:19:38 +0000 (23:19 +0000)]
Merge "Make DcRtInfo Power State Constants Final" 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
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
Shishir Agrawal [Tue, 26 Jan 2016 18:00:11 +0000 (18:00 +0000)]
Merge "DO NOT MERGE : Unhiding MSIM APIs." into mm-wireless-dev
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
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
Narayan Kamath [Tue, 26 Jan 2016 09:46:14 +0000 (09:46 +0000)]
Merge "Revert "Cellinfo: Update to version 12"" into mm-wireless-dev
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
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
Nathan Harold [Tue, 26 Jan 2016 01:04:04 +0000 (17:04 -0800)]
Make DcRtInfo Power State Constants Final
Bug:
26779884
Change-Id: Ia035b67fd682adb6542d6569d7634678f68a1e30
Sanket Padawe [Mon, 25 Jan 2016 23:54:37 +0000 (23:54 +0000)]
Merge "Cellinfo: Update to version 12" into mm-wireless-dev
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
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
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
Jack Yu [Thu, 21 Jan 2016 17:43:19 +0000 (17:43 +0000)]
Merge "Data call retry refactoring" 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
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
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
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
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
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
Etan Cohen [Fri, 15 Jan 2016 01:17:08 +0000 (01:17 +0000)]
Merge "NAN: baseline NAN manager for discovery." 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
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
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
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
Pavel Zhamaitsiak [Wed, 13 Jan 2016 21:40:38 +0000 (21:40 +0000)]
Merge "Add ITelephonyDebug.aidl" 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
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
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
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
Pavel Zhamaitsiak [Mon, 4 Jan 2016 23:54:31 +0000 (15:54 -0800)]
Add ITelephonyDebug.aidl
Change-Id: I0f111a56b471bd8c8092d30e7157bc06b5da3769
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
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
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
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
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
Prerepa Viswanadham [Thu, 10 Dec 2015 00:12:08 +0000 (16:12 -0800)]
WLAN wake reason accounting from driver.
Change-Id: I58e0594682bf0f1d5746e9a2d8ec3091a5bf550f
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
Baligh Uddin [Sun, 13 Dec 2015 18:01:17 +0000 (18:01 +0000)]
empty commit to trigger build
Change-Id: I3ec926126a0d9ee7d64ffc70ca7aa7c6c9e2a9c6
Tyler Gunn [Fri, 11 Dec 2015 04:05:46 +0000 (20:05 -0800)]
Merge commit '
da131290ae5e476691e05e5eb4ac6d507012a0ac' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Tyler Gunn [Fri, 11 Dec 2015 04:04:25 +0000 (20:04 -0800)]
Merge commit '
9aadad47a0085c4298307781a423064207933f0b' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Tyler Gunn [Fri, 11 Dec 2015 04:04:17 +0000 (20:04 -0800)]
Merge commit '
70da83381f77e0ee9ada47eafaae395038ff77ad' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Tyler Gunn [Fri, 11 Dec 2015 04:03:24 +0000 (20:03 -0800)]
Merge commit '
bc4da97ce0fcd0ddef228048bc663e383776c323' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Tyler Gunn [Fri, 11 Dec 2015 04:03:15 +0000 (20:03 -0800)]
Merge commit '
5e42c1cf1c7786a550df351622865ba1710a0ea6' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Tyler Gunn [Fri, 11 Dec 2015 04:03:00 +0000 (20:03 -0800)]
Merge commit '
d40a83543a67a911b5dcfbb8d164cea0c5285a78' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Tyler Gunn [Fri, 11 Dec 2015 04:02:51 +0000 (20:02 -0800)]
Merge commit '
3132d0c9f894707043c07622fae7b33c85ea0013' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Tyler Gunn [Fri, 11 Dec 2015 04:02:38 +0000 (20:02 -0800)]
Merge commit '
73831680cd7e47df103cf60a2230ed411e5d3b93' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Tyler Gunn [Fri, 11 Dec 2015 04:02:29 +0000 (20:02 -0800)]
Merge commit '
c956f0dcb3d93dd0f3ee0a3daafaf2da8212402e' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Tyler Gunn [Fri, 11 Dec 2015 04:02:16 +0000 (20:02 -0800)]
Merge commit '
024557b2afdbe2e946d2cc557cb71492d87b0f62' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Change-Id: I44853f0e2f56d33c8126de0799bd5129799592bd
Tyler Gunn [Fri, 11 Dec 2015 03:59:27 +0000 (19:59 -0800)]
Merge commit '
98bd72181e176cdc5536b9709127a71cca082bbf' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Tyler Gunn [Fri, 11 Dec 2015 03:57:22 +0000 (19:57 -0800)]
Merge commit '
109e9c449d5a0070df793c63383e474a03242ba5' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Tyler Gunn [Fri, 11 Dec 2015 03:56:01 +0000 (19:56 -0800)]
Merge commit '
f231ca1c67f3925d018265f99f5b8a691d190d68' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Tyler Gunn [Fri, 11 Dec 2015 03:55:50 +0000 (19:55 -0800)]
Merge commit '
6cb5fcaad143227002bd4d00b1974e126d9a8090' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Tyler Gunn [Fri, 11 Dec 2015 03:55:41 +0000 (19:55 -0800)]
Merge commit '
b19c0041914019e6d9d96fce67ec0e7a6820bf3c' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Jack Yu [Fri, 11 Dec 2015 01:07:24 +0000 (01:07 +0000)]
Merge "merge from master" into mm-wireless-dev
Lorenzo Colitti [Sun, 22 Nov 2015 13:00:08 +0000 (22:00 +0900)]
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
Christopher Tate [Thu, 1 Oct 2015 17:24:31 +0000 (10:24 -0700)]
DO NOT MERGE Introduce direct listener API for alarm delivery
The Alarm Manager now supports a set() variant that takes a listener
callback to invoke at alarm trigger time rather than a PendingIntent.
This is much lower overhead and has guaranteed low delivery latency
from the trigger time. The tradeoff is that the app must be running
*continuously* from the time the alarm is set to the time it is
delivered. If the app exits for any reason before the alarm fires,
the listener becomes invalid and the alarm will be dropped. This is
more or less equivalent to setting an alarm with a broadcast
PendingIntent that matches only a runtime-registered receiver.
The app's alarm listener can be any object that implements the new
AlarmManager.OnAlarmListener interface and implements its onAlarm()
method. There is no data delivered at alarm trigger time: whatever
state needs to be associated with the specific alarm instance should
simply be packaged inside the OnAlarmListener instance.
An alarm using OnAlarmListener can request that the onAlarm() method
be called on an arbitrary handler. If the program passes 'null' for
this parameter when setting the alarm, the callback occurs on the
application's main Looper thread.
Cherry-picked from
14a7bb0d370fffdf902a4e2345f46754ed2d7684
Bug
20157436
Change-Id: I2eb030a24efdd466a2eee1666c5231201b43684b
Dianne Hackborn [Mon, 26 Oct 2015 20:33:20 +0000 (13:33 -0700)]
DO NOT MERGE Add some debugging for device idle alarms.
Cherry-picked from
ae78bf8552d0a3ff83b8300630d47188434173ea
Change-Id: I6792f0ffc5cc40af5ec35cb03ab78b52c17678fd
Erik Kline [Mon, 10 Aug 2015 04:28:50 +0000 (13:28 +0900)]
DO NOT MERGE Refactor netlink and IpReachabilityMonitor into services/net
- netlink from core to services/net/netlink
- IpReachabilityMonitor from core to services/net/ip
Cherry-picked from
02cc5a030a6f132e776b754dd5684ae632009f76
Change-Id: I45ac3f591bade45dd5ec441111b02b621234c0e4
Chad Brubaker [Wed, 9 Sep 2015 21:53:52 +0000 (14:53 -0700)]
DO NOT MERGE Allow uid to be passed for more operations
This expands get, getmtime, exportKey, getKeyCharacteristcs and begin to
accept a uid to run as. This is only for system to use keys owned by
Wifi and VPN, and not something that can be used to do operations as
another arbitrary application.
Cherry-picked from
5bbf04803f050296a6deab10a3c7104743c4e38c
Bug:
23978113
Change-Id: I06aa089859edc934a5415e3b184b917d6d171ae2