OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Fix NetworkScorerAppManager#isCallerActiveScorer." am: 48eecdcbc4
Amin Shaikh [Fri, 6 Jan 2017 00:15:01 +0000 (00:15 +0000)]
Merge "Fix NetworkScorerAppManager#isCallerActiveScorer." am: 48eecdcbc4
am: 7495cf633c

Change-Id: Ie6913526fbc1b0ae63eb7c0c7be7d9eac5772f50

7 years agoMerge "Fix NetworkScorerAppManager#isCallerActiveScorer."
Amin Shaikh [Fri, 6 Jan 2017 00:08:19 +0000 (00:08 +0000)]
Merge "Fix NetworkScorerAppManager#isCallerActiveScorer."
am: 48eecdcbc4

Change-Id: I6b9ecd35dbc0758cd45b804dc9586287428af293

7 years agoMerge "Fix NetworkScorerAppManager#isCallerActiveScorer."
Treehugger Robot [Thu, 5 Jan 2017 23:57:53 +0000 (23:57 +0000)]
Merge "Fix NetworkScorerAppManager#isCallerActiveScorer."

7 years agoFix NetworkScorerAppManager#isCallerActiveScorer.
Amin Shaikh [Thu, 5 Jan 2017 22:28:47 +0000 (14:28 -0800)]
Fix NetworkScorerAppManager#isCallerActiveScorer.

The current implementation checks whether the caller's uid has the
SCORE_NETWORKS permission instead of checking the passed in callingUid. I
removed this check entirely because the getActiveScorer method already checks
whether the scorer's package has the SCORE_NETWORKS permission. There is no way
callingUid can equal the active scoring package's uid without also having the
SCORE_NETWORKS permission.

Bug: 34107721
Test: runtest --path core/tests/coretests/src/android/net/NetworkScorerAppManagerTest.java
Change-Id: Ifd427792169837c84a10a76b208c76137db06ae9

7 years agoMerge "Use half-width quotes in code example." am: 1fe99a819c
Xin Li [Thu, 5 Jan 2017 21:57:48 +0000 (21:57 +0000)]
Merge "Use half-width quotes in code example." am: 1fe99a819c
am: 161d1487ba

Change-Id: Ia4814baf438c72d4ceed3be864e391513ed1c78e

7 years agoMerge "Use half-width quotes in code example."
Xin Li [Thu, 5 Jan 2017 21:51:13 +0000 (21:51 +0000)]
Merge "Use half-width quotes in code example."
am: 1fe99a819c

Change-Id: I28a34f7813268d7a9303029d257996d6ceb53269

7 years agoMerge "Use half-width quotes in code example."
Treehugger Robot [Thu, 5 Jan 2017 21:39:05 +0000 (21:39 +0000)]
Merge "Use half-width quotes in code example."

7 years agoUse half-width quotes in code example.
Xin Li [Thu, 5 Jan 2017 19:43:09 +0000 (11:43 -0800)]
Use half-width quotes in code example.

Test: m -j49 -k docs
BUG: 34106216
Change-Id: I366b0bf085ad3fd166b7961301bb8c35da6a7630

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 "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
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 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 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
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 "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 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 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 "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
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
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
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 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
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 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: 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
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
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
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 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:41:25 +0000 (01:41 +0000)]
docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am: 4418907d50 am: c32df53fc7 am: d7c1e9bcd0
am: fb99d1450d

Change-Id: Ibe527fb777ca3975fed67a951f2ddb8f2b81a833

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

Change-Id: I7f9ce1b661f8defca2918eece234a9c26d5f08a3

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

Change-Id: I62cf43c6bb6e7ddbd9464243362f1c62fc79589f

7 years agodocs: Added note - test subscriptions cannot use reserved IDs am: 98a11580ef am:...
Kevin Hufnagle [Wed, 4 Jan 2017 01:32:55 +0000 (01:32 +0000)]
docs: Added note - test subscriptions cannot use reserved IDs am: 98a11580ef am: c8ccc66e85 am: 1c85b504e2
am: 01e3564a0d

Change-Id: Iaed661507e97025f1b0c12aa9e808c006c184cac

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

Change-Id: Ib2ac681a13b8d3b80feba803f25fdc8dbdcfe4f9

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

Change-Id: I8c06b2b162ca5837ba9157ef91bb5a8d1489e36a

7 years agodocs: Added descriptions of IAB subscription-specific settings. am: 145b377b38
Kevin Hufnagle [Wed, 4 Jan 2017 01:28:19 +0000 (01:28 +0000)]
docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38
am: 4418907d50

Change-Id: I486f53410a427f373daec719bac522289d812e7a

7 years agodocs: Added note - test subscriptions cannot use reserved IDs am: 98a11580ef am:...
Kevin Hufnagle [Wed, 4 Jan 2017 01:28:17 +0000 (01:28 +0000)]
docs: Added note - test subscriptions cannot use reserved IDs am: 98a11580ef am: c8ccc66e85
am: 1c85b504e2

Change-Id: Iabd407dce1b3f01da5bbbd576536d0b77415d300

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

Change-Id: I930313b754635e07b190793c3b79de39b71b6b8a

7 years agodocs: Added descriptions of IAB subscription-specific settings.
Kevin Hufnagle [Wed, 4 Jan 2017 01:24:24 +0000 (01:24 +0000)]
docs: Added descriptions of IAB subscription-specific settings.
am: 145b377b38

Change-Id: I1b7a0885f613beb9b7baba8a6b35b59f00989ff3

7 years agodocs: Added note - test subscriptions cannot use reserved IDs am: 98a11580ef
Kevin Hufnagle [Wed, 4 Jan 2017 01:24:23 +0000 (01:24 +0000)]
docs: Added note - test subscriptions cannot use reserved IDs am: 98a11580ef
am: c8ccc66e85

Change-Id: Id17c38ec7f6b85bcbfaaf676bf3a2f1414fca893

7 years agoMerge "docs: Added note - test subscriptions cannot use reserved IDs" into nyc-dev
Kevin Hufnagle [Wed, 4 Jan 2017 01:18:51 +0000 (01:18 +0000)]
Merge "docs: Added note - test subscriptions cannot use reserved IDs" into nyc-dev
am: dbe9b81ef5

Change-Id: Ie08ac386f441b16451538e21dcc8d5e5052258b0

7 years agodocs: Added note - test subscriptions cannot use reserved IDs
Kevin Hufnagle [Wed, 4 Jan 2017 01:18:47 +0000 (01:18 +0000)]
docs: Added note - test subscriptions cannot use reserved IDs
am: 98a11580ef

Change-Id: I2c44d24b772d3df80dabab418875a1e9842aebbf

7 years agoMerge "docs: Added note - test subscriptions cannot use reserved IDs" into nyc-dev
Kevin Hufnagle [Wed, 4 Jan 2017 01:14:21 +0000 (01:14 +0000)]
Merge "docs: Added note - test subscriptions cannot use reserved IDs" into nyc-dev

7 years agoAdd checked exceptions to HwBinder transact.
Steven Moreland [Tue, 20 Dec 2016 23:55:48 +0000 (15:55 -0800)]
Add checked exceptions to HwBinder transact.

Bug: 33673120
Test: hidl_test_java
Merged-In: I7b62eb6b066fc24c44ef7e46aaa2a3208c053d11

Change-Id: I7b62eb6b066fc24c44ef7e46aaa2a3208c053d11

7 years agoSynchronize access to WebViewZygote.
Robert Sesek [Fri, 16 Dec 2016 17:06:44 +0000 (12:06 -0500)]
Synchronize access to WebViewZygote.

The onWebViewProviderChanged callback can be entered from a binder thread,
rather than the system_server main thread. This could lead to races when
managing the webview_zygote.

Test: m
Test: Turn on Multiprocess WebView, install a new WebView provider, then
      instantiate a new WebView. The new WebView should load (note that
      this is racy so may require multiple attempts to test).

Bug: 21643067
Change-Id: I28512906c38e073d4e3d39a2f2b30dcbb50c85ff

7 years agoHID Device role API fixes
Ivan Podogov [Fri, 30 Dec 2016 14:43:29 +0000 (14:43 +0000)]
HID Device role API fixes

This change makes HIDD API more like the other ones, i.e.
supporting multiple devices, and implements missing methods.

While the underlying implementation may still only support a
single device at a time, the "device" parameter can still be
useful for checking if the application is trying to send the
data to a correct device.

Test: make
Change-Id: I55fe04c0762a96fcddd6c6678e790361d648111a

7 years agoNew permission - BIND_NETWORK_RECOMMENDATION_SERVICE.
Jeremy Joslin [Wed, 28 Dec 2016 18:32:46 +0000 (10:32 -0800)]
New permission - BIND_NETWORK_RECOMMENDATION_SERVICE.

Used to protect exported network recommendation services.

Test: Built & ran
BUG:33897544
Change-Id: Icfc566275a8d832449f6358e576784199ab0f7b2
Merged-In: I4f163fb965be6a25201bc3ba5e0032e7652c8f20

7 years agoMerge "Offer to measure disk stats using quotas." am: f8720b95be
Jeff Sharkey [Tue, 3 Jan 2017 19:31:36 +0000 (19:31 +0000)]
Merge "Offer to measure disk stats using quotas." am: f8720b95be
am: 4b80a4a372

Change-Id: I2ab9a2bd2ff60cafea332998789ad947dda0140b

7 years agoMerge "Offer to measure disk stats using quotas."
Jeff Sharkey [Tue, 3 Jan 2017 19:24:00 +0000 (19:24 +0000)]
Merge "Offer to measure disk stats using quotas."
am: f8720b95be

Change-Id: I56bab3ec4895c232ce8287623827c20f2dbfaaf6

7 years agoMerge "Offer to measure disk stats using quotas."
Jeff Sharkey [Tue, 3 Jan 2017 19:08:07 +0000 (19:08 +0000)]
Merge "Offer to measure disk stats using quotas."

7 years agoMerge "Add IMEI_NOT_ACCEPTED disconnect cause" am: 43ced5941e
Robert Greenwalt [Tue, 3 Jan 2017 17:40:27 +0000 (17:40 +0000)]
Merge "Add IMEI_NOT_ACCEPTED disconnect cause" am: 43ced5941e
am: 14a5b810b6

Change-Id: Ib7a87a5028975e8f55dd6ba311cde78a3c1c2460

7 years agoMerge "Add IMEI_NOT_ACCEPTED disconnect cause"
Robert Greenwalt [Tue, 3 Jan 2017 17:32:59 +0000 (17:32 +0000)]
Merge "Add IMEI_NOT_ACCEPTED disconnect cause"
am: 43ced5941e

Change-Id: I5457b80932f4bb155bf136fc4e05199f04ca7e7c

7 years agoMerge "Add IMEI_NOT_ACCEPTED disconnect cause"
Robert Greenwalt [Tue, 3 Jan 2017 17:26:58 +0000 (17:26 +0000)]
Merge "Add IMEI_NOT_ACCEPTED disconnect cause"

7 years agoOffer to measure disk stats using quotas.
Jeff Sharkey [Tue, 13 Dec 2016 15:44:51 +0000 (08:44 -0700)]
Offer to measure disk stats using quotas.

Now we're getting somewhere!  This CL starts measuring disk usage
using quotactl(), which is almost instant and has much lower impact
on flash memory lifetime.

We now grant the per-app cache GID to every launched app, and the
ContextImpl logic that creates cache directories matches the logic
down in installd.

Test: builds, boots, quota stats match manual stats
Bug: 27948817
Change-Id: Ie269a2958ce0e1c17cb74dbfecc791a5c12922cf

7 years agoMerge "QS: Fix QuickQS visibility at non-first page" am: fce04dc0be
dongwan0605.kim [Tue, 3 Jan 2017 16:17:28 +0000 (16:17 +0000)]
Merge "QS: Fix QuickQS visibility at non-first page" am: fce04dc0be
am: 56812a0146

Change-Id: If8d2963ed44e49e3b33b73a82378b2af32ba4676

7 years agoMerge "QS: Fix QuickQS visibility at non-first page"
dongwan0605.kim [Tue, 3 Jan 2017 16:09:21 +0000 (16:09 +0000)]
Merge "QS: Fix QuickQS visibility at non-first page"
am: fce04dc0be

Change-Id: I83100ac5c1f4d896d96d2ff12d0ad59eba8b533b

7 years agoMerge "QS: Fix QuickQS visibility at non-first page"
Treehugger Robot [Tue, 3 Jan 2017 15:54:21 +0000 (15:54 +0000)]
Merge "QS: Fix QuickQS visibility at non-first page"

7 years agoMerge "In permission review mode, always request user's consent to toggle BT." into...
Ivan Podogov [Tue, 3 Jan 2017 11:08:39 +0000 (11:08 +0000)]
Merge "In permission review mode, always request user's consent to toggle BT." into cw-f-dev
am: 34624a5d83

Change-Id: I43d92809b076e64ac0677303977c2950b556734b

7 years agoIn permission review mode, always request user's consent to toggle BT.
Ivan Podogov [Tue, 3 Jan 2017 11:08:32 +0000 (11:08 +0000)]
In permission review mode, always request user's consent to toggle BT.
am: d2d32b1f32

Change-Id: I85808eba60ad76b7492803c2cca643161521067a

7 years agoMerge "In permission review mode, always request user's consent to toggle BT." into...
Ivan Podogov [Tue, 3 Jan 2017 11:00:49 +0000 (11:00 +0000)]
Merge "In permission review mode, always request user's consent to toggle BT." into cw-f-dev

7 years agoQS: Fix QuickQS visibility at non-first page
dongwan0605.kim [Tue, 3 Jan 2017 06:40:07 +0000 (15:40 +0900)]
QS: Fix QuickQS visibility at non-first page

When user collapsed QSPanel at non-first page, QuickQS always remained
View.Visible. When user canceled collapsing, QQS remained clickable
although invisible to user(alpha = 0).
QQS must be non-clickable when user cancels collapsing at non-first page.

Test: QSPanel > 2nd page > Cancel collapsing while collapse QSPanel
      > Verify invisible QQS is non-clickable

Change-Id: I4c1f195a3faec8e89bb073443f6345f4faddf781