Commit Graph

248231 Commits

Author SHA1 Message Date
Jason Monk
705a4bc623 SysUI: Mantain non-weak reference to listener
Change-Id: Ie11dfac0af90d65baed40f593eb4ffe7ab0cc0e3
Fixes: 29778623
2016-06-30 15:04:11 -04:00
Alan Viverette
650cc68f10 Merge \"Exclude children from excess space distribution when using largest child\" into nyc-dev
am: 7705d5fd6e

Change-Id: I747b4dab5bfc31b2461b445d1d983ac95a05693d
2016-06-30 17:19:41 +00:00
TreeHugger Robot
7705d5fd6e Merge "Exclude children from excess space distribution when using largest child" into nyc-dev 2016-06-30 17:07:07 +00:00
Alan Viverette
070b22bdee Exclude children from excess space distribution when using largest child
Preserves API 23 behavior.

Bug: 29872769
Change-Id: I514cde81dcca4d78238f407251805cced4c0bea1
2016-06-30 11:15:36 -04:00
TreeHugger Robot
74f7f2ec0d Merge changes I65784f35,Ib6937335 into nyc-mr1-dev
* changes:
  Add detailed test coverage for lingering.
  Add more test coverage for requests and callbacks.
2016-06-30 14:28:38 +00:00
TreeHugger Robot
f5e3481951 Merge changes Ia28652e0,Id2eaafdc,I9c4c8286 into nyc-mr1-dev
* changes:
  Record events for RA option lifetimes
  Log RA listening statistics
  Log events at APF program generation
2016-06-30 14:03:22 +00:00
Lorenzo Colitti
7369d8d1b6 Add detailed test coverage for lingering.
Bug: 23113288
Change-Id: I65784f3589378d97f3c824e600f21f361be8741e
2016-06-30 21:42:17 +09:00
Hugo Benichi
cfbf7414a1 Record events for RA option lifetimes
This patch defines a new android.net.metrics.RaEvent class carrying
lifetime values contained in RA packets. RaEvent are recorded when
ApfFilter processes a new RA for which there is no match.

Example:
ConnectivityMetricsEvent(15:39:39.808, 0, 0): RaEvent(lifetimes: router=3600s, prefix_valid=2592000s, prefix_preferred=604800s, route_info=-1s, dnssl=-1s, rdnss=3600s)

Change-Id: Ia28652e03ed442d5f2a686ef5b3fafbcb77c503a
2016-06-30 18:26:39 +09:00
Hugo Benichi
647c86d70a Log RA listening statistics
This patch adds a new ApfStats event class that counts RA packet
reception statistics on the RA listener thread of ApfFilter and reports
the maximum program size advertised by hardware.

Statistics are gathered for the lifetime of a network with APF
capabilities and uploaded at network teardown when the listener thread
exits.

Example event:
ConnectivityMetricsEvent(15:44:23.741, 0, 0): ApfStats(284945ms 2048B RA: 2 received, 0 matching, 0 ignored, 0 expired, 0 parse errors, 2 program updates)

Bug: 28204408
Change-Id: Id2eaafdca97f61152a4b66d06061c971bc0aba4c
2016-06-30 18:26:33 +09:00
Hugo Benichi
4fc3ee5be2 Log events at APF program generation
Example:
ConnectivityMetricsEvent(15:24:52.018, 0, 0): ApfProgramEvent(0/0 RAs 121B forever FLAG_MULTICAST_FILTER_ON)
ConnectivityMetricsEvent(15:24:53.036, 0, 0): ApfProgramEvent(1/1 RAs 334B 600s)
ConnectivityMetricsEvent(15:24:53.590, 0, 0): ApfProgramEvent(1/1 RAs 360B 600s FLAG_MULTICAST_FILTER_ON, FLAG_HAS_IPV4_ADDRESS)
ConnectivityMetricsEvent(15:24:58.157, 0, 0): ApfProgramEvent(1/1 RAs 294B 599s FLAG_HAS_IPV4_ADDRESS)

Bug: 28204408
Change-Id: I9c4c82861cf42eb2c7e7bf5471f05e8ff2fc560c
2016-06-30 18:21:09 +09:00
Tyler Gunn
089e99ee4d Merge "Add missing setPulling() method in Connection." into nyc-mr1-dev 2016-06-30 06:20:42 +00:00
TreeHugger Robot
ce7ff88bc2 Merge "Make provisioning timeout apply to both IPv4 and IPv6" into nyc-mr1-dev 2016-06-30 05:41:53 +00:00
Tyler Gunn
c242ceb406 Add missing setPulling() method in Connection.
Change-Id: I89c720b2fa3d3e1304766ba3779410b233a04c6a
2016-06-29 22:35:45 -07:00
Jaewan Kim
7f4f52cb4c Merge "MediaResourceMonitor: Send broadcast to current users" into nyc-mr1-dev 2016-06-30 05:21:27 +00:00
Lorenzo Colitti
6ee0a92ca0 Add more test coverage for requests and callbacks.
1. Support multiple callbacks in TestNetworkCallback. This is
   necessary to test situations where multiple callbacks are
   generated by the same event (e.g., CALLBACK_LOSING on cell
   with CALLBACK_AVAILABLE on wifi when wifi connects), which is
   necessary to test callback order. So far this has not been
   covered because all callback testing was using per-network
   callbacks.
2. Add a benchmark test for registering NetworkRequests and for
   sending onAvailable and onLosing callbacks.

Bug: 23113288
Change-Id: Ib69373358ad766ab1bd989e864a5a51ef762c73c
2016-06-30 13:18:12 +09:00
Erik Kline
feadfda8a0 Make provisioning timeout apply to both IPv4 and IPv6
Bug: 29449295
Change-Id: I743533ca61914c11163ba5c5767a365def3a5461
2016-06-30 13:00:01 +09:00
Bill Yi
847dcc9f4e Merge \"Import translations. DO NOT MERGE\" into nyc-dev
am: bb07b0b372  -s ours

Change-Id: I3b4ad7bc8c424e58daddb1d5f16d338f35636eb6
2016-06-30 03:23:51 +00:00
TreeHugger Robot
c4376b5fae Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-06-30 03:17:18 +00:00
TreeHugger Robot
285c920428 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-06-30 03:17:00 +00:00
TreeHugger Robot
bb07b0b372 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-30 03:14:09 +00:00
TreeHugger Robot
8c9d0dbeda Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-06-30 03:10:09 +00:00
Tyler Gunn
9e0450a4e3 Merge "Add conference call label." into nyc-mr1-dev 2016-06-30 02:36:09 +00:00
Dan Albert
0ca5ae5208 Merge \"Fix Windows NDK labeling.\" into nyc-dev
am: d1364cf0f1

Change-Id: I7d3b6ec3ee5580a06a04928218512d030e033d26
2016-06-30 02:08:07 +00:00
TreeHugger Robot
d1364cf0f1 Merge "Fix Windows NDK labeling." into nyc-dev 2016-06-30 01:59:34 +00:00
Bill Yi
fc1822bf6d Import translations. DO NOT MERGE
Change-Id: Ic2eaafc229acdeea507de300797046cd1b5d6bae
Auto-generated-cl: translation import
2016-06-29 18:29:55 -07:00
Chris Craik
a6b011e9b0 Merge "Handle post-record-time clipPath scaling" into nyc-mr1-dev 2016-06-30 01:14:36 +00:00
TreeHugger Robot
7519df9eaf Merge "Fix NativeDaemonConnectorException issue accessing null object" into nyc-mr1-dev 2016-06-30 00:20:51 +00:00
TreeHugger Robot
7f44cdd34e Merge "PBAP: Allow wearable handsfree device for PBAP Access" into nyc-mr1-dev 2016-06-29 23:59:09 +00:00
Makoto Onuki
bc8e0052fd Merge "Fix updateShortcuts() with icons" into nyc-mr1-dev 2016-06-29 23:55:03 +00:00
Android Build Merger (Role)
9f22e79625 Merge "Move getRecentTasks() to ParceledListSlice. am: 479212cf50" into nyc-mr1-dev 2016-06-29 23:54:27 +00:00
Jeff Sharkey
3362400aa5 Move getRecentTasks() to ParceledListSlice.
am: 479212cf50

Change-Id: Ic76f624396117d922aac60eac9c2caae4f1d7e27
2016-06-29 23:53:58 +00:00
Makoto Onuki
01e51e59dd Merge "Address API council feedback (continued)" into nyc-mr1-dev 2016-06-29 23:53:51 +00:00
Tyler Gunn
138a3f3ad4 Merge "API cleanups per API review." into nyc-mr1-dev 2016-06-29 23:42:10 +00:00
Chong Zhang
8f54d32b99 Merge "Apply animation in relayout invisible the old way" into nyc-mr1-dev 2016-06-29 23:25:15 +00:00
Chris Craik
82457c5117 Handle post-record-time clipPath scaling
bug:29547149

Change-Id: I268210b240d2d8e08638114715f9622840fc02f7
2016-06-29 16:22:28 -07:00
Chong Zhang
39b80e5c41 Apply animation in relayout invisible the old way
We skipped the applyAnimationLocked to work around a problem with
cached animation loading, however app could be animating without
window animator (only app animator) in which case we shouldn't do
the relayout for potential focus change.

Revert to the old behavior and let applyAnimationLocked decide if
we want to relayout for focus change.

bug: 29874980
Change-Id: I6fdfbe41cbafd7017477c0eda9b4fd26e66c517f
2016-06-29 16:13:22 -07:00
Michael Kwan
a7d4adaac7 Merge "Updated colour theme for watch devices." into nyc-mr1-dev 2016-06-29 23:11:32 +00:00
Erik Wolsheimer
136e649760 Merge "Handle invalid empty args to createAutoBrightnessSpline" into nyc-mr1-dev 2016-06-29 23:07:38 +00:00
Hemant Gupta
b8d267a4ed PBAP: Allow wearable handsfree device for PBAP Access
Allow wearable handsfree device for PBAP Access

Usecase:
1) Pair and connect with Jabra Stealth Headset.
2) Go out of range so that connection gets disconnected
3) Come back in range, so that reconnection happens.

Observation:
Headset fails to reconnect with DUT in some scenarios.

Root Cause:
Headset does not send page request to DUT in some scenarios
leading to reconnection issues. This propabaly happens because
Headset fails to connect PBAP in previous iteration so it goes
in bad state, and does not page after Link Supervision Timeout.

Current Settings code only allows Audio_video_Handsfree Class of
devices to have PBAP Access permission, and set Rejected Permission
for other Audio Device Class. This headset being Wearable Class (0x0404)
is set as PBAP Rejected, and all PBAP connection to DUT from this remote
device are rejected leading to issue of bad state in headset.

Fix:
Allow wearable class audio devices to also have PBAP access permission.

Bug: 29219133
Change-Id: I18d8412cbeb86c18610091898d1c79f26d3d808d
2016-06-29 22:23:24 +00:00
Makoto Onuki
d6880797f7 Address API council feedback (continued)
Got a second set of comments.

Bug 29757958

Change-Id: Ib3a3ffd28bc3e35eb0218b0819870eb5c6ebadb5
2016-06-29 15:22:56 -07:00
Jeff Sharkey
479212cf50 Move getRecentTasks() to ParceledListSlice.
In extreme cases the list of recent tasks can grow beyond the size
of a single Binder transaction.  This change moves over to
ParceledListSlice which handles chunking any large results.

Bug: 29635557
Change-Id: Iaf1227234f5f8c9451f73a6a5c1dc89f2067f05f
2016-06-29 22:17:41 +00:00
Bert McMeen
83485046a5 Docs: Links added to pages for permissions and configuration activity am: cdfe5e4f55 am: 7a6494aeaf
am: ae5a14bc99

Change-Id: I9b4cbe91c44194d764550b63ddd94b6e2e19f808
2016-06-29 22:08:37 +00:00
Bert McMeen
ae5a14bc99 Docs: Links added to pages for permissions and configuration activity am: cdfe5e4f55
am: 7a6494aeaf

Change-Id: I907cf418d0a53827a7448135b0d712f41d0024e8
2016-06-29 21:59:31 +00:00
Jack Yu
83e96c1957 Merge "Added a virtual interface for Video Telephony call usage counting" into nyc-mr1-dev 2016-06-29 21:57:38 +00:00
Bert McMeen
7a6494aeaf Docs: Links added to pages for permissions and configuration activity
am: cdfe5e4f55

Change-Id: I3e9cde3cb24c5c779059c4708b144a2376c9616c
2016-06-29 21:54:42 +00:00
Daniel Nishi
6401217532 Merge "Use the Deletion Helper when system storage is low." into nyc-mr1-dev 2016-06-29 21:37:07 +00:00
Erik Wolsheimer
ad82aca96b Handle invalid empty args to createAutoBrightnessSpline
BUG: 18572096
Change-Id: I9dfc2215994a4f7a70ef6bdd04b620917e4ec034
2016-06-29 14:30:26 -07:00
Bill Yi
b2cd422851 Import translations. DO NOT MERGE
Change-Id: I0766139e2f58cfcb8ffc6fb24b1400deaaf313c6
Auto-generated-cl: translation import
2016-06-29 14:20:30 -07:00
Bill Yi
ba79cd14cc Import translations. DO NOT MERGE
Change-Id: Ia7b82097692eb156683716b945de49f2fa2bd784
Auto-generated-cl: translation import
2016-06-29 14:01:12 -07:00
Daniel 2 Olofsson
878b45577a Fix NativeDaemonConnectorException issue accessing null object
When function getCode is called on
NativeDaemonConnectorException object it may throw exception
due to mEvent object not being set for certain constructors.
Fix is to return a default error code as expected if mEvent
object has not been set rather than trying to call
mEvent.getCode().

Change-Id: Ia8aa23deb8871bb4df73096cc489b685a1765f16
2016-06-29 14:53:28 -06:00