OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Callback elision for HIDL interfaces." am: 33bd8a97b3 am: 4369507dcb
Martijn Coenen [Thu, 5 Jan 2017 09:58:33 +0000 (09:58 +0000)]
Merge "Callback elision for HIDL interfaces." am: 33bd8a97b3 am: 4369507dcb
am: e358f83640

Change-Id: Ia4345bfb09b2ab05d434951cd4acd9a7fa81bd49

7 years agoMerge "Callback elision for HIDL interfaces." am: 33bd8a97b3
Martijn Coenen [Thu, 5 Jan 2017 09:52:32 +0000 (09:52 +0000)]
Merge "Callback elision for HIDL interfaces." am: 33bd8a97b3
am: 4369507dcb

Change-Id: Ic9ea53f3b7cff0d656b6147ca6d159b75df0bdda

7 years agoMerge "Callback elision for HIDL interfaces."
Martijn Coenen [Thu, 5 Jan 2017 09:47:45 +0000 (09:47 +0000)]
Merge "Callback elision for HIDL interfaces."
am: 33bd8a97b3

Change-Id: Ic001e0d9a9c946cf9be38a55b2e0ec61b4931cf4

7 years agoMerge "Synchronize access to WebViewZygote." am: fd6f631de5 am: c8111e07d0
Robert Sesek [Thu, 5 Jan 2017 09:43:53 +0000 (09:43 +0000)]
Merge "Synchronize access to WebViewZygote." am: fd6f631de5 am: c8111e07d0
am: 2c3818158a

Change-Id: Ib6afc79a3905a68fa92d5ff9389752724a77d305

7 years agoMerge "Callback elision for HIDL interfaces."
Martijn Coenen [Thu, 5 Jan 2017 09:40:55 +0000 (09:40 +0000)]
Merge "Callback elision for HIDL interfaces."

7 years agoMerge "Synchronize access to WebViewZygote." am: fd6f631de5
Robert Sesek [Thu, 5 Jan 2017 09:37:32 +0000 (09:37 +0000)]
Merge "Synchronize access to WebViewZygote." am: fd6f631de5
am: c8111e07d0

Change-Id: I8c389a9c06bd0b8d1964756323e6c7e010901f89

7 years agoMerge "Synchronize access to WebViewZygote."
Robert Sesek [Thu, 5 Jan 2017 09:31:24 +0000 (09:31 +0000)]
Merge "Synchronize access to WebViewZygote."
am: fd6f631de5

Change-Id: I20eaaf40b2ed060caf3685f229005c3e78f29d19

7 years agoMerge "Synchronize access to WebViewZygote."
Treehugger Robot [Thu, 5 Jan 2017 09:20:59 +0000 (09:20 +0000)]
Merge "Synchronize access to WebViewZygote."

7 years agoMerge "Integration of the LDAC codec for A2DP source" am: 3c050268f0 am: bb8f1cd92b
Pavlin Radoslavov [Thu, 5 Jan 2017 07:59:59 +0000 (07:59 +0000)]
Merge "Integration of the LDAC codec for A2DP source" am: 3c050268f0 am: bb8f1cd92b
am: 7d14914239

Change-Id: I01686a6a4c493dc1dce90c82f2215e955c2ce61f

7 years agoMerge "Integration of the LDAC codec for A2DP source" am: 3c050268f0
Pavlin Radoslavov [Thu, 5 Jan 2017 07:55:27 +0000 (07:55 +0000)]
Merge "Integration of the LDAC codec for A2DP source" am: 3c050268f0
am: bb8f1cd92b

Change-Id: I62f8462330d7661b8008abf862c4d4bb47c129dc

7 years agoMerge "Integration of the LDAC codec for A2DP source"
Pavlin Radoslavov [Thu, 5 Jan 2017 07:49:49 +0000 (07:49 +0000)]
Merge "Integration of the LDAC codec for A2DP source"
am: 3c050268f0

Change-Id: I79092dfa7a6918bf359b266bec7a7bbc736f08ce

7 years agoCallback elision for HIDL interfaces.
Martijn Coenen [Mon, 2 Jan 2017 14:16:24 +0000 (15:16 +0100)]
Callback elision for HIDL interfaces.

Test: mma, hidl_test_java
Bug: 31380743
Change-Id: I9a5c8ef0cc6ac3150395a867690ca82ec2bc419f

7 years agoMerge "Integration of the LDAC codec for A2DP source"
Treehugger Robot [Thu, 5 Jan 2017 07:43:49 +0000 (07:43 +0000)]
Merge "Integration of the LDAC codec for A2DP source"

7 years agoMerge changes from topics 'thermal-notif-3', 'thermal-notif' into nyc-mr2-dev
Andrew Sapperstein [Thu, 5 Jan 2017 03:07:54 +0000 (03:07 +0000)]
Merge changes from topics 'thermal-notif-3', 'thermal-notif' into nyc-mr2-dev
am: 0c7631f8b0

Change-Id: Ia9a3f2789fd4ec13578790e8afd557198b393809

7 years agoAdded alert icon to high temp dialog.
Andrew Sapperstein [Thu, 5 Jan 2017 03:07:47 +0000 (03:07 +0000)]
Added alert icon to high temp dialog.
am: bd4eeb7259

Change-Id: I8f6d4a0c9ba5c15478010714995243c305982707

7 years agoAdd VR mode check for thermal notification
Andrew Sapperstein [Thu, 5 Jan 2017 03:07:01 +0000 (03:07 +0000)]
Add VR mode check for thermal notification
am: d51ac7322e

Change-Id: I056136375b74a38a4973951fb33f795e784bab1e

7 years agoShow notif when device reaches throttling temp
Andrew Sapperstein [Thu, 5 Jan 2017 03:05:59 +0000 (03:05 +0000)]
Show notif when device reaches throttling temp
am: 67e97053c5

Change-Id: I44639cb19b7fa9547dc1e579a5beb34f923da2a7

7 years agoMerge changes from topics 'thermal-notif-3', 'thermal-notif' into nyc-mr2-dev
TreeHugger Robot [Thu, 5 Jan 2017 03:00:56 +0000 (03:00 +0000)]
Merge changes from topics 'thermal-notif-3', 'thermal-notif' into nyc-mr2-dev

* changes:
  Added alert icon to high temp dialog.
  Add VR mode check for thermal notification
  Show notif when device reaches throttling temp

7 years agoMerge "Integration of the aptX and aptX-HD codecs for A2DP source" am: 5242acbd0b...
Pavlin Radoslavov [Thu, 5 Jan 2017 02:12:04 +0000 (02:12 +0000)]
Merge "Integration of the aptX and aptX-HD codecs for A2DP source" am: 5242acbd0b am: a750c90ac1
am: 5aaa985e97

Change-Id: I1ef73d7f11e244d77293a9b8b9c747ee79498819

7 years agoIntegration of the LDAC codec for A2DP source
Pavlin Radoslavov [Thu, 5 Jan 2017 00:47:02 +0000 (16:47 -0800)]
Integration of the LDAC codec for A2DP source

The codec can be used if the encoding shared library is installed
on the device:
 libldacBT_enc.so

Test: A2DP streaming to LDAC headsets
Bug: 30958229

Change-Id: I524805fd308b5181427515617eda05625a7c4ae5

7 years agoMerge "Integration of the aptX and aptX-HD codecs for A2DP source" am: 5242acbd0b
Pavlin Radoslavov [Thu, 5 Jan 2017 02:07:05 +0000 (02:07 +0000)]
Merge "Integration of the aptX and aptX-HD codecs for A2DP source" am: 5242acbd0b
am: a750c90ac1

Change-Id: I7957fb151bb113485240fdc2bae1cdd380930f27

7 years agoMerge "Integration of the aptX and aptX-HD codecs for A2DP source"
Pavlin Radoslavov [Thu, 5 Jan 2017 02:02:01 +0000 (02:02 +0000)]
Merge "Integration of the aptX and aptX-HD codecs for A2DP source"
am: 5242acbd0b

Change-Id: I4007f4e68e889ed0a41ac5fc035f175e3709bb0d

7 years agoMerge "Integration of the aptX and aptX-HD codecs for A2DP source"
Treehugger Robot [Thu, 5 Jan 2017 01:56:34 +0000 (01:56 +0000)]
Merge "Integration of the aptX and aptX-HD codecs for A2DP source"

7 years agoAdded alert icon to high temp dialog.
Andrew Sapperstein [Wed, 4 Jan 2017 19:25:20 +0000 (11:25 -0800)]
Added alert icon to high temp dialog.

Test: manual
Bug: 30995038
Change-Id: I966294c5fb0b8297b2f336102996291f66c08d2c
(cherry picked from commit e26dc3d194f87ab3fbfdd5a843109b2f4b248383)

7 years agoAdd VR mode check for thermal notification
Andrew Sapperstein [Mon, 19 Dec 2016 22:36:33 +0000 (14:36 -0800)]
Add VR mode check for thermal notification

When in VR mode, don't show the high temp notification
since VR shows its own notification.

Test: manual
Bug: 30995038
Change-Id: I845480d968a9b0da9997f035875885bc261c577a
(cherry picked from commit 65d8a5fc73aac05633d42d7161ca38151aa5f675)

7 years agoShow notif when device reaches throttling temp
Andrew Sapperstein [Wed, 14 Dec 2016 23:39:20 +0000 (15:39 -0800)]
Show notif when device reaches throttling temp

Adds logic to SystemUI that shows a notification alerting the user
that their phone has reached a certain temperature and has throttled
itself in order to cool down.

The logic is controlled by a configuration resource:
R.bool.config_showTemperatureWarning. If false, no action is taken.

When true, PowerUI checks every 30 seconds if the current temp of
HardwarePropertiesManager.DEVICE_TEMPERATURE_SKIN is greater than
the throttling temp of HardwarePropertiesManager.DEVICE_TEMPERATURE_SKIN.
If any one of the temperatures returned is greater, a notification is shown.

Clicking on the notification will show a dialog explaining more details
about what the device is doing in response to the high temperature.

The notification will disappear once the temperature drops below
the throttling temperature.

In order to check the temperature in SystemUI, HardwarePropertiesManager
has been updated to also allow any calls made by callers holding the
signature-level DEVICE_POWER permission.

Test: runtest systemui
Bug: 30995038

Change-Id: I1b3f122341911c68e90c8a49ad35267ac382b356
(cherry picked from commit b7caf1d06d5e4ef21cadcc6a68d4b4c4552fb7bc)

7 years agoIntegration of the aptX and aptX-HD codecs for A2DP source
Pavlin Radoslavov [Thu, 5 Jan 2017 00:10:09 +0000 (16:10 -0800)]
Integration of the aptX and aptX-HD codecs for A2DP source

Each of the codecs can be used if the corresponding encoding
shared library is installed on the device:
 - aptX: libaptX.so
 - aptX-HD: libaptXHD.so

Test: A2DP streaming to aptX and aptX-HD headsets
Bug: 30958229
Change-Id: I24faddc8cd88ae3e1370922c633f30e13124a867

7 years agoMerge "Defining a new REQUEST_NETWORK_SCORES permission." am: a54d76a81f am: 84fd1e1120
Jeremy Joslin [Wed, 4 Jan 2017 23:20:17 +0000 (23:20 +0000)]
Merge "Defining a new REQUEST_NETWORK_SCORES permission." am: a54d76a81f am: 84fd1e1120
am: 195ac87578

Change-Id: I1f6de46c521a232c1a218e3e6b50883ea6e150b0

7 years agoMerge "Defining a new REQUEST_NETWORK_SCORES permission." am: a54d76a81f
Jeremy Joslin [Wed, 4 Jan 2017 23:16:38 +0000 (23:16 +0000)]
Merge "Defining a new REQUEST_NETWORK_SCORES permission." am: a54d76a81f
am: 84fd1e1120

Change-Id: I85279a0185d9191bf81e1088d68f86827fe2d103

7 years agoMerge "Merge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode...
Android Build Merger (Role) [Wed, 4 Jan 2017 23:13:29 +0000 (23:13 +0000)]
Merge "Merge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode." into cw-f-dev am: b60eb1a854 am: d559cb8124" into nyc-mr2-dev-plus-aosp

7 years agoMerge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode." into...
Julius D'souza [Wed, 4 Jan 2017 23:12:50 +0000 (23:12 +0000)]
Merge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode." into cw-f-dev am: b60eb1a854
am: d559cb8124

Change-Id: Ia17370de250385171f6ff6b93eb3a59a4347f5a0

7 years agoMerge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode. am...
Android Build Merger (Role) [Wed, 4 Jan 2017 23:12:30 +0000 (23:12 +0000)]
Merge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode. am: bbfdf7ad23 am: 54a0faa37b" into nyc-mr2-dev-plus-aosp

7 years agoDO NOT MERGE: Allow regular ambient light sensor sampling in doze mode. am: bbfdf7ad23
Julius D'souza [Wed, 4 Jan 2017 23:11:51 +0000 (23:11 +0000)]
DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode. am: bbfdf7ad23
am: 54a0faa37b

Change-Id: I30a13868896713fe71697608f200dad264b5d4c4

7 years agoMerge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode." into...
Julius D'souza [Wed, 4 Jan 2017 23:11:46 +0000 (23:11 +0000)]
Merge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode." into cw-f-dev am: b60eb1a854
am: da8462aa5b

Change-Id: I537e98e43c61868d156439383ee21a06b3dc2b41

7 years agoDO NOT MERGE: Allow regular ambient light sensor sampling in doze mode. am: bbfdf7ad23
Julius D'souza [Wed, 4 Jan 2017 23:10:46 +0000 (23:10 +0000)]
DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode. am: bbfdf7ad23
am: 8366e50043

Change-Id: I40341da2fe7c3e8e5129e647666eaf1860a2e522

7 years agoMerge "Defining a new REQUEST_NETWORK_SCORES permission."
Jeremy Joslin [Wed, 4 Jan 2017 23:10:42 +0000 (23:10 +0000)]
Merge "Defining a new REQUEST_NETWORK_SCORES permission."
am: a54d76a81f

Change-Id: I4fc03585c4943712f5c1309a5bfa2995dac1bbe0

7 years agoMerge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode." into...
Julius D'souza [Wed, 4 Jan 2017 23:05:48 +0000 (23:05 +0000)]
Merge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode." into cw-f-dev
am: b60eb1a854

Change-Id: I09803955b09d3dec66bca8e4fed6f21fe18aa7d6

7 years agoMerge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode." into...
Julius D'souza [Wed, 4 Jan 2017 23:05:45 +0000 (23:05 +0000)]
Merge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode." into cw-f-dev
am: b60eb1a854

Change-Id: I86ef53eec2bbeff07c52e079e925719c3923941c

7 years agoDO NOT MERGE: Allow regular ambient light sensor sampling in doze mode.
Julius D'souza [Wed, 4 Jan 2017 23:05:42 +0000 (23:05 +0000)]
DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode.
am: bbfdf7ad23

Change-Id: Iafc7d24b276db9b145709e7af80e03292c1ce735

7 years agoDO NOT MERGE: Allow regular ambient light sensor sampling in doze mode.
Julius D'souza [Wed, 4 Jan 2017 23:05:41 +0000 (23:05 +0000)]
DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode.
am: bbfdf7ad23

Change-Id: Ic6b72d6b72df516d4cec3b7a38e12366f7e334a1

7 years agoMerge "Defining a new REQUEST_NETWORK_SCORES permission."
Treehugger Robot [Wed, 4 Jan 2017 23:04:46 +0000 (23:04 +0000)]
Merge "Defining a new REQUEST_NETWORK_SCORES permission."

7 years agoMerge "Fix NetworkScoreServiceTest.testSystemRunning." am: 5b4aec1dc6 am: 01828eb244
Jeremy Joslin [Wed, 4 Jan 2017 23:02:45 +0000 (23:02 +0000)]
Merge "Fix NetworkScoreServiceTest.testSystemRunning." am: 5b4aec1dc6 am: 01828eb244
am: b68823cab8

Change-Id: I19f5c7179a489e992356f141314582abc803ad2e

7 years agoMerge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode." into...
Julius D'souza [Wed, 4 Jan 2017 22:59:57 +0000 (22:59 +0000)]
Merge "DO NOT MERGE: Allow regular ambient light sensor sampling in doze mode." into cw-f-dev

7 years agoMerge "Fix NetworkScoreServiceTest.testSystemRunning." am: 5b4aec1dc6
Jeremy Joslin [Wed, 4 Jan 2017 22:58:52 +0000 (22:58 +0000)]
Merge "Fix NetworkScoreServiceTest.testSystemRunning." am: 5b4aec1dc6
am: 01828eb244

Change-Id: I094906527e9baf20f6bcb844f261d0fdcb8f6aa6

7 years agoMerge "Fix NetworkScoreServiceTest.testSystemRunning."
Jeremy Joslin [Wed, 4 Jan 2017 22:53:12 +0000 (22:53 +0000)]
Merge "Fix NetworkScoreServiceTest.testSystemRunning."
am: 5b4aec1dc6

Change-Id: Ic80d796221d94a092ed210dde3d1e3886d950265

7 years agoMerge "Fix NetworkScoreServiceTest.testSystemRunning."
Treehugger Robot [Wed, 4 Jan 2017 22:43:34 +0000 (22:43 +0000)]
Merge "Fix NetworkScoreServiceTest.testSystemRunning."

7 years agoMerge "Use the new BIND_NETWORK_RECOMMENDATION_SERVICE." am: 34d46ca94c am: acbf592683
Jeremy Joslin [Wed, 4 Jan 2017 21:52:11 +0000 (21:52 +0000)]
Merge "Use the new BIND_NETWORK_RECOMMENDATION_SERVICE." am: 34d46ca94c am: acbf592683
am: cb3f75cca7

Change-Id: I0da58029bb854a7df7bc286a0bd6a22c61d5daee

7 years agoMerge "Use the new BIND_NETWORK_RECOMMENDATION_SERVICE." am: 34d46ca94c
Jeremy Joslin [Wed, 4 Jan 2017 21:47:42 +0000 (21:47 +0000)]
Merge "Use the new BIND_NETWORK_RECOMMENDATION_SERVICE." am: 34d46ca94c
am: acbf592683

Change-Id: Ic488962a47eecea4c2ed522596549ef088bfbfc3

7 years agoMerge "Use the new BIND_NETWORK_RECOMMENDATION_SERVICE."
Jeremy Joslin [Wed, 4 Jan 2017 21:42:41 +0000 (21:42 +0000)]
Merge "Use the new BIND_NETWORK_RECOMMENDATION_SERVICE."
am: 34d46ca94c

Change-Id: I1e6f1751cf3ce690e09e8681c86f744a38c550d6

7 years agoMerge "Use the new BIND_NETWORK_RECOMMENDATION_SERVICE."
Treehugger Robot [Wed, 4 Jan 2017 21:35:03 +0000 (21:35 +0000)]
Merge "Use the new BIND_NETWORK_RECOMMENDATION_SERVICE."

7 years agoDefining a new REQUEST_NETWORK_SCORES permission.
Jeremy Joslin [Wed, 21 Dec 2016 22:16:19 +0000 (14:16 -0800)]
Defining a new REQUEST_NETWORK_SCORES permission.

This is intended to be a drop-in replacement for the existing
BROADCAST_NETWORK_PRIVILEGED with a more appropriate name.

Test: Built, ran.
BUG: 33752149
Change-Id: Iebe9d1c12f159bd91953ef094d9866eba9ff925a
Merged-In: I12bdba9694fdf2a2e39990736265919edafd865e

7 years agoFix NetworkScoreServiceTest.testSystemRunning.
Jeremy Joslin [Thu, 29 Dec 2016 23:00:23 +0000 (15:00 -0800)]
Fix NetworkScoreServiceTest.testSystemRunning.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
BUG: 33905890
Change-Id: Icc1db79cde26f1445ca925780ff760b7aa0515b1
Merged-In: Idc92fe3669b0efdb20d3899ce4ce7bae70033aff

7 years agoMerge "Expose RecommendationRequest.Builder as SystemApi." am: 944b017031 am: 1c4cfe1af9
Joe LaPenna [Wed, 4 Jan 2017 19:58:56 +0000 (19:58 +0000)]
Merge "Expose RecommendationRequest.Builder as SystemApi." am: 944b017031 am: 1c4cfe1af9
am: 303b853671

Change-Id: Ic35415f7d7b721faf09f9968cb2fd8e9ba6749b0

7 years agoMerge "Expose RecommendationRequest.Builder as SystemApi." am: 944b017031
Joe LaPenna [Wed, 4 Jan 2017 19:54:32 +0000 (19:54 +0000)]
Merge "Expose RecommendationRequest.Builder as SystemApi." am: 944b017031
am: 1c4cfe1af9

Change-Id: I094905e8fa7f54f4f5f0be80fa833ca44654f334

7 years agoMerge "Expose RecommendationRequest.Builder as SystemApi."
Joe LaPenna [Wed, 4 Jan 2017 19:49:35 +0000 (19:49 +0000)]
Merge "Expose RecommendationRequest.Builder as SystemApi."
am: 944b017031

Change-Id: If63881b8b33ced7950ebb7e83fb8994e454b8642

7 years agoUse the new BIND_NETWORK_RECOMMENDATION_SERVICE.
Jeremy Joslin [Thu, 29 Dec 2016 18:18:48 +0000 (10:18 -0800)]
Use the new BIND_NETWORK_RECOMMENDATION_SERVICE.

Declare that the system uses the new
BIND_NETWORK_RECOMMENDATION_SERVICE permission.

Test: Built & ran
BUG: 33897544
Change-Id: I43424642a631f58da3a065f8221e351180f4f221
Merged-In: I41c7550adf0d1f81ed9a12068ba569e6a57f3b42

7 years agoMerge "Expose RecommendationRequest.Builder as SystemApi."
Treehugger Robot [Wed, 4 Jan 2017 19:42:16 +0000 (19:42 +0000)]
Merge "Expose RecommendationRequest.Builder as SystemApi."

7 years agoMerge "Bluetooth: don't output dumpsys info twice" am: c77074300b am: fde6c2a4af
Marie Janssen [Wed, 4 Jan 2017 19:23:24 +0000 (19:23 +0000)]
Merge "Bluetooth: don't output dumpsys info twice" am: c77074300b am: fde6c2a4af
am: fd853576c5

Change-Id: Ibd7eb23ffd10afc749dceb977683c02a5b5344fc

7 years agoMerge "Bluetooth: don't output dumpsys info twice" am: c77074300b
Marie Janssen [Wed, 4 Jan 2017 19:18:31 +0000 (19:18 +0000)]
Merge "Bluetooth: don't output dumpsys info twice" am: c77074300b
am: fde6c2a4af

Change-Id: I53c6c777cac8eb129ba1a4a08e81a496deb31c44

7 years agoMerge "Bluetooth: don't output dumpsys info twice"
Marie Janssen [Wed, 4 Jan 2017 19:13:57 +0000 (19:13 +0000)]
Merge "Bluetooth: don't output dumpsys info twice"
am: c77074300b

Change-Id: I727ed233944a18565e7286bfe0a8d7832a2be962

7 years agoMerge "Bluetooth: don't output dumpsys info twice"
Marie Janssen [Wed, 4 Jan 2017 19:07:18 +0000 (19:07 +0000)]
Merge "Bluetooth: don't output dumpsys info twice"

7 years agoBluetooth: don't output dumpsys info twice
Marie Janssen [Tue, 3 Jan 2017 19:37:38 +0000 (11:37 -0800)]
Bluetooth: don't output dumpsys info twice

Dumpsys info was printed in the "Application Services" section as well
as the bluetooth_manager section.  Add an argument to print so it prints
from here, and doesn't in the other section.

Test: run a bugreport, check in "APP SERVICES" section
Bug: 29356402
Change-Id: I8adedaeac54c9a538c581459654dbdf96361e046

7 years agoMerge "Get account features before taking lock (cherry-pick from master)" into nyc...
Makoto Onuki [Wed, 4 Jan 2017 19:00:06 +0000 (19:00 +0000)]
Merge "Get account features before taking lock (cherry-pick from master)" into nyc-mr2-dev
am: 2258e5fdb9

Change-Id: Ieb15cc47f1db3ff805a91615d64bbe2c23d914ea

7 years agoGet account features before taking lock (cherry-pick from master)
Makoto Onuki [Wed, 4 Jan 2017 18:59:55 +0000 (18:59 +0000)]
Get account features before taking lock (cherry-pick from master)
am: fd24353d75

Change-Id: I4d89f492d4186f14516f93be800a6548127be921

7 years agoMerge "Get account features before taking lock (cherry-pick from master)" into nyc...
TreeHugger Robot [Wed, 4 Jan 2017 18:54:05 +0000 (18:54 +0000)]
Merge "Get account features before taking lock (cherry-pick from master)" into nyc-mr2-dev

7 years agoExpose RecommendationRequest.Builder as SystemApi.
Joe LaPenna [Wed, 4 Jan 2017 08:44:22 +0000 (00:44 -0800)]
Expose RecommendationRequest.Builder as SystemApi.

In order to test our recommender, we need to be able to create
network recommendation requests.

Test: make update-api
Change-Id: I68df0d3e684bcdb90709a34478d2aa669ee23547
Merged-In: I68df0d3e684bcdb90709a34478d2aa669ee23547

7 years agoMerge "Fix NullPointerException in MediaPlayer" am: c7c899bbe2 am: 15c9c1f8d1
qinzhichao [Wed, 4 Jan 2017 17:37:17 +0000 (17:37 +0000)]
Merge "Fix NullPointerException in MediaPlayer" am: c7c899bbe2 am: 15c9c1f8d1
am: 80713e98f7

Change-Id: Idbc93cea10adc0077341015ecd479baa76ae2c76

7 years agoMerge "Fix NullPointerException in MediaPlayer" am: c7c899bbe2
qinzhichao [Wed, 4 Jan 2017 17:32:20 +0000 (17:32 +0000)]
Merge "Fix NullPointerException in MediaPlayer" am: c7c899bbe2
am: 15c9c1f8d1

Change-Id: I313f483e69e098252cf1b753aa5f6b38945d9669

7 years agoMerge "Fix NullPointerException in MediaPlayer"
qinzhichao [Wed, 4 Jan 2017 17:27:48 +0000 (17:27 +0000)]
Merge "Fix NullPointerException in MediaPlayer"
am: c7c899bbe2

Change-Id: Iff261e6bd78c4f757ee0f7ae199710c9f92f0778

7 years agoMerge "Fix NullPointerException in MediaPlayer"
Treehugger Robot [Wed, 4 Jan 2017 17:23:06 +0000 (17:23 +0000)]
Merge "Fix NullPointerException in MediaPlayer"

7 years agoGet account features before taking lock (cherry-pick from master)
Makoto Onuki [Thu, 15 Dec 2016 22:26:55 +0000 (14:26 -0800)]
Get account features before taking lock (cherry-pick from master)

Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.AccountCheckHostSideTest
* without having Id49f2bd5dfa80ecf35b3a23c789100ade38c2656 *

Test: adb shell am instrument -e class com.android.server.devicepolicy.DevicePolicyManagerTest -w com.android.frameworks.servicestests

Bug: 33481725
Change-Id: Ie2fe9aea87d1a7167581f4cd74ae063ef24a4567
Merged-in: I1e4dd9701a76ca366f86fdaf2fc6c282e9dbe5c1

7 years agoMerge "New permission - BIND_NETWORK_RECOMMENDATION_SERVICE." am: 871beedc6d am:...
Jeremy Joslin [Wed, 4 Jan 2017 15:38:43 +0000 (15:38 +0000)]
Merge "New permission - BIND_NETWORK_RECOMMENDATION_SERVICE." am: 871beedc6d am: a169fc3494
am: 8be80273b8

Change-Id: I4930b2d6145e5d7f4e08d267629f40517cbeae34

7 years agoMerge "New permission - BIND_NETWORK_RECOMMENDATION_SERVICE." am: 871beedc6d
Jeremy Joslin [Wed, 4 Jan 2017 15:34:16 +0000 (15:34 +0000)]
Merge "New permission - BIND_NETWORK_RECOMMENDATION_SERVICE." am: 871beedc6d
am: a169fc3494

Change-Id: I25f816c0ee3df784a02be58a042c505f2c839394

7 years agoMerge "New permission - BIND_NETWORK_RECOMMENDATION_SERVICE."
Jeremy Joslin [Wed, 4 Jan 2017 15:29:57 +0000 (15:29 +0000)]
Merge "New permission - BIND_NETWORK_RECOMMENDATION_SERVICE."
am: 871beedc6d

Change-Id: I2554ede84b313e66af57e05c59046747c16ec23e

7 years agoMerge "New permission - BIND_NETWORK_RECOMMENDATION_SERVICE."
Treehugger Robot [Wed, 4 Jan 2017 15:24:30 +0000 (15:24 +0000)]
Merge "New permission - BIND_NETWORK_RECOMMENDATION_SERVICE."

7 years agoMerge "Set isConnected, isBound, implCreated on server-side LocalSockets" am: 75ba827...
Neil Fuller [Wed, 4 Jan 2017 12:45:11 +0000 (12:45 +0000)]
Merge "Set isConnected, isBound, implCreated on server-side LocalSockets" am: 75ba827a4e am: 6a29676687
am: df49ab5576

Change-Id: I6aac69506e00ec9f0fdb431191a94b7b9b9fc0df

7 years agoMerge "Set isConnected, isBound, implCreated on server-side LocalSockets" am: 75ba827a4e
Neil Fuller [Wed, 4 Jan 2017 12:38:50 +0000 (12:38 +0000)]
Merge "Set isConnected, isBound, implCreated on server-side LocalSockets" am: 75ba827a4e
am: 6a29676687

Change-Id: Icb55f2b160f6bd2f6c12845613ea3b4ea834693d

7 years agoMerge "Set isConnected, isBound, implCreated on server-side LocalSockets"
Neil Fuller [Wed, 4 Jan 2017 12:32:29 +0000 (12:32 +0000)]
Merge "Set isConnected, isBound, implCreated on server-side LocalSockets"
am: 75ba827a4e

Change-Id: I08b809241b6e025c9a30377c09f616be3484d7af

7 years agoMerge "Set isConnected, isBound, implCreated on server-side LocalSockets"
Treehugger Robot [Wed, 4 Jan 2017 12:26:48 +0000 (12:26 +0000)]
Merge "Set isConnected, isBound, implCreated on server-side LocalSockets"

7 years agoMerge "HID Device role API fixes" am: f33a71d017 am: a7d58fecc6
Ivan Podogov [Wed, 4 Jan 2017 10:45:33 +0000 (10:45 +0000)]
Merge "HID Device role API fixes" am: f33a71d017 am: a7d58fecc6
am: 8e2e2b1381

Change-Id: I9e35c73f1a6094ddae892758d81955490aaa5f92

7 years agoMerge "HID Device role API fixes" am: f33a71d017
Ivan Podogov [Wed, 4 Jan 2017 10:41:26 +0000 (10:41 +0000)]
Merge "HID Device role API fixes" am: f33a71d017
am: a7d58fecc6

Change-Id: Iab0dc91a8e2d4066d5eb85ec4771d42642783671

7 years agoMerge "HID Device role API fixes"
Ivan Podogov [Wed, 4 Jan 2017 10:37:38 +0000 (10:37 +0000)]
Merge "HID Device role API fixes"
am: f33a71d017

Change-Id: Ib7f524b7ad0bf63b852f2ffd4039d8b47ef7fc01

7 years agoSet isConnected, isBound, implCreated on server-side LocalSockets
Neil Fuller [Wed, 4 Jan 2017 10:07:25 +0000 (10:07 +0000)]
Set isConnected, isBound, implCreated on server-side LocalSockets

Previously LocalServerSocket.accept() would return a LocalSocket
instance with isConnected, isBound and implCreated set to false.
[implCreated determines whether impl.create() needs to called].

A socket created via accept() in this way is implicitly bound
and connected. impl.create() does not need to be called because
impl.accept(LocalSocketImpl s) is called instead and has the same
effect (s.fd and s.mFdCreatedInternally set correctly).

This change modifies the behavior so that the flags are now all
set to true in this case and isBound() and isConnected() will
now return the correct answer.

Attempts to call bind() and connect() will still throw
IOException as before, but with a different exception message.

Correctly setting implCreated in LocalSocket means that
LocalSocketImpl.create() will no longer be called for accept()
created sockets and no longer needs to treat the "fd != null"
case as a no-op: we can now assert that there must be no fd set
when create() is called as we will no longer call it with sockets
created using accept().

Bug: https://code.google.com/p/android/issues/detail?id=35942
Test: Device boot
Test: vogar --mode app_process cts/tests/tests/net/src/android/net/cts/LocalServerSocketTest.java
Test: vogar --mode app_process cts/tests/tests/net/src/android/net/cts/LocalSocketTest.java
Change-Id: I3ac55439412e84501ae7c5ae6c9976e03b2d6fc5

7 years agoMerge "HID Device role API fixes"
Ivan Podogov [Wed, 4 Jan 2017 10:32:41 +0000 (10:32 +0000)]
Merge "HID Device role API fixes"

7 years agoFix NullPointerException in MediaPlayer
qinzhichao [Wed, 4 Jan 2017 06:51:33 +0000 (14:51 +0800)]
Fix NullPointerException in MediaPlayer

Issue detail:
https://code.google.com/p/android/issues/detail?id=231417

setSubtitleAnchor() is a synchronized method and has checked
mSubtitleController. So checking for null pointer is not
needed in scanInternalSubtitleTracks() method.

Signed-off-by: qinzhichao <qinzhichao@xiaomi.com>
7 years agoMerge "Add checked exceptions to HwBinder transact." am: 6c5cc261f8 am: ca5d560090
Steven Moreland [Wed, 4 Jan 2017 05:11:06 +0000 (05:11 +0000)]
Merge "Add checked exceptions to HwBinder transact." am: 6c5cc261f8 am: ca5d560090
am: d38478cb50

Change-Id: Ic0c6eb87c57aca798ff167a71929f1a0e3132a75

7 years agoMerge "Add checked exceptions to HwBinder transact." am: 6c5cc261f8
Steven Moreland [Wed, 4 Jan 2017 05:07:06 +0000 (05:07 +0000)]
Merge "Add checked exceptions to HwBinder transact." am: 6c5cc261f8
am: ca5d560090

Change-Id: I6d2dd373f83244e3fe61197cd704a3833a50329c

7 years agoMerge "Add checked exceptions to HwBinder transact."
Steven Moreland [Wed, 4 Jan 2017 05:03:28 +0000 (05:03 +0000)]
Merge "Add checked exceptions to HwBinder transact."
am: 6c5cc261f8

Change-Id: I3bcac03a745722acd983dc4e7bdc31ae806bdbd4

7 years agoMerge "Add checked exceptions to HwBinder transact."
Treehugger Robot [Wed, 4 Jan 2017 04:58:38 +0000 (04:58 +0000)]
Merge "Add checked exceptions to HwBinder transact."

7 years agoMerge "Add a mechanism for configuring the A2DP Source codecs" am: 63270f2b96 am...
Pavlin Radoslavov [Wed, 4 Jan 2017 03:49:09 +0000 (03:49 +0000)]
Merge "Add a mechanism for configuring the A2DP Source codecs" am: 63270f2b96 am: 8b46f87e7e
am: da3de76bdb

Change-Id: If62a29812dad856d262c38804f3d88a5406ef79e

7 years agoMerge "Add a mechanism for configuring the A2DP Source codecs" am: 63270f2b96
Pavlin Radoslavov [Wed, 4 Jan 2017 03:44:40 +0000 (03:44 +0000)]
Merge "Add a mechanism for configuring the A2DP Source codecs" am: 63270f2b96
am: 8b46f87e7e

Change-Id: I39e4b90491f646887200649954b652d9f5439925

7 years agoMerge "Add a mechanism for configuring the A2DP Source codecs"
Pavlin Radoslavov [Wed, 4 Jan 2017 03:39:50 +0000 (03:39 +0000)]
Merge "Add a mechanism for configuring the A2DP Source codecs"
am: 63270f2b96

Change-Id: I289d3b61e29b02bae208c656a6e963ff58248a15

7 years agoMerge "Add a mechanism for configuring the A2DP Source codecs"
Treehugger Robot [Wed, 4 Jan 2017 03:35:38 +0000 (03:35 +0000)]
Merge "Add a mechanism for configuring the A2DP Source codecs"

7 years agoAdd a mechanism for configuring the A2DP Source codecs
Pavlin Radoslavov [Wed, 21 Dec 2016 20:05:51 +0000 (12:05 -0800)]
Add a mechanism for configuring the A2DP Source codecs

* Added a new class BluetoothCodecConfig that contains codec-related
  configuration or capabilities: codec type, priority, sample rate,
  bits per sample, channel mode, and codec specific fields.

* Extended the Bluetooth A2DP AIDL interface to get/set the current
  codec configuration

* Added new call handleBluetoothA2dpDeviceConfigChange() to the Media
  Framework that is called when there are changes in the
  Bluetooth A2DP device configuration - e.g., the A2DP codec is changed.

Test: A2DP streaming to headsets, TestPlans/71390
Bug: 30958229
Change-Id: I9a82716cbc2a5efbe77352a031ac80c88f6a2459

7 years agoMerge "docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38...
Android Build Merger (Role) [Wed, 4 Jan 2017 01:50:02 +0000 (01:50 +0000)]
Merge "docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am: 4418907d50 am: c32df53fc7 am: d7c1e9bcd0 am: fb99d1450d am: 63d1963345 am: e102ea7b96" into nyc-mr2-dev-plus-aosp

7 years agodocs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am...
Kevin Hufnagle [Wed, 4 Jan 2017 01:49:24 +0000 (01:49 +0000)]
docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am: 4418907d50 am: c32df53fc7 am: d7c1e9bcd0 am: fb99d1450d am: 63d1963345
am: e102ea7b96

Change-Id: I02c5fb6d5540cb91d7014e28a45c7b005bbceab7

7 years agodocs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am...
Kevin Hufnagle [Wed, 4 Jan 2017 01:49:20 +0000 (01:49 +0000)]
docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am: 4418907d50 am: c32df53fc7 am: d7c1e9bcd0 am: fb99d1450d am: 63d1963345
am: c580c3401a

Change-Id: I66640153bd0dcaeca11f1e82fc0d721d995281ff

7 years agodocs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am...
Kevin Hufnagle [Wed, 4 Jan 2017 01:45:26 +0000 (01:45 +0000)]
docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am: 4418907d50 am: c32df53fc7 am: d7c1e9bcd0 am: fb99d1450d
am: 63d1963345

Change-Id: I586a41814eb4f0d15d411e03b80c02dfa782b5eb

7 years agodocs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am...
Kevin Hufnagle [Wed, 4 Jan 2017 01:45:22 +0000 (01:45 +0000)]
docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am: 4418907d50 am: c32df53fc7 am: d7c1e9bcd0 am: fb99d1450d
am: 63d1963345

Change-Id: Ie101eda01c3b772c0944c56cfede1514acadf1e1

7 years agoMerge "docs: Added note - test subscriptions cannot use reserved IDs" into nyc-dev...
Kevin Hufnagle [Wed, 4 Jan 2017 01:43:01 +0000 (01:43 +0000)]
Merge "docs: Added note - test subscriptions cannot use reserved IDs" into nyc-dev am: dbe9b81ef5 am: 2ff9c02bdc am: b7c9651555 am: d99f3b7214
am: c54a1a07da

Change-Id: I93e0e5d79a8e59ca09d1a642cfe0f690e044a6b9