OSDN Git Service

android-x86/frameworks-native.git
8 years agoIncrease raft timeout to 10min so we get complete logs from older devices. am: 804339...
Sharvil Nanavati [Mon, 30 Nov 2015 21:18:15 +0000 (21:18 +0000)]
Increase raft timeout to 10min so we get complete logs from older devices. am: 804339a59e am: 7126caa17f am: c3ee5e8fb9
am: 47c010ce75

* commit '47c010ce750a1af707f6eee28cd5458fba6f1439':
  Increase raft timeout to 10min so we get complete logs from older devices.

8 years agoIncrease raft timeout to 10min so we get complete logs from older devices. am: 804339...
Sharvil Nanavati [Mon, 30 Nov 2015 21:15:51 +0000 (21:15 +0000)]
Increase raft timeout to 10min so we get complete logs from older devices. am: 804339a59e am: 7126caa17f
am: c3ee5e8fb9

* commit 'c3ee5e8fb94e1af7338e4217afb3365531ae0309':
  Increase raft timeout to 10min so we get complete logs from older devices.

8 years agoIncrease raft timeout to 10min so we get complete logs from older devices. am: 804339a59e
Sharvil Nanavati [Mon, 30 Nov 2015 21:11:38 +0000 (21:11 +0000)]
Increase raft timeout to 10min so we get complete logs from older devices. am: 804339a59e
am: 7126caa17f

* commit '7126caa17f4b76632335daa8090ba9e37db35102':
  Increase raft timeout to 10min so we get complete logs from older devices.

8 years agoIncrease raft timeout to 10min so we get complete logs from older devices.
Sharvil Nanavati [Mon, 30 Nov 2015 21:07:46 +0000 (21:07 +0000)]
Increase raft timeout to 10min so we get complete logs from older devices.
am: 804339a59e

* commit '804339a59e4abcbcf5a50a60ff0543e6b404e572':
  Increase raft timeout to 10min so we get complete logs from older devices.

8 years agoMerge "Adds a -P option so dumpstate can report its progress."
Felipe Leme [Mon, 30 Nov 2015 20:23:16 +0000 (20:23 +0000)]
Merge "Adds a -P option so dumpstate can report its progress."

8 years agoMerge "Atrace: support streaming data to stdout." am: 83a98b101c am: 78d4fb8e77
Martijn Coenen [Mon, 30 Nov 2015 19:02:05 +0000 (19:02 +0000)]
Merge "Atrace: support streaming data to stdout." am: 83a98b101c am: 78d4fb8e77
am: b134014110

* commit 'b1340141101a2528cb6680862aa9d88df491bc3d':
  Atrace: support streaming data to stdout.

8 years agoMerge "Atrace: support streaming data to stdout." am: 83a98b101c
Martijn Coenen [Mon, 30 Nov 2015 18:58:32 +0000 (18:58 +0000)]
Merge "Atrace: support streaming data to stdout." am: 83a98b101c
am: 78d4fb8e77

* commit '78d4fb8e771f85f6d7f04f6c0eb7aed1992b3a43':
  Atrace: support streaming data to stdout.

8 years agoMerge "Atrace: support streaming data to stdout."
Martijn Coenen [Mon, 30 Nov 2015 18:55:48 +0000 (18:55 +0000)]
Merge "Atrace: support streaming data to stdout."
am: 83a98b101c

* commit '83a98b101c2850a936c0e612e4eb16d815db025e':
  Atrace: support streaming data to stdout.

8 years agoMerge "Atrace: support streaming data to stdout."
Martijn Coenen [Mon, 30 Nov 2015 18:51:11 +0000 (18:51 +0000)]
Merge "Atrace: support streaming data to stdout."

8 years agoAtrace: support streaming data to stdout.
Martijn Coenen [Thu, 26 Nov 2015 09:00:55 +0000 (10:00 +0100)]
Atrace: support streaming data to stdout.

Change-Id: I8534a9c69f25ecdd82230a5d8b4b8d1c4d58439e

8 years agoIncrease raft timeout to 10min so we get complete logs from older devices.
Sharvil Nanavati [Sat, 28 Nov 2015 05:04:11 +0000 (21:04 -0800)]
Increase raft timeout to 10min so we get complete logs from older devices.

Devices like dory get slammed when bugreports are taken and can't
compress all the raft logs in the current 5min timeout. Our dogfooders
spend their precious time getting us bugreports and then we can't act
on them because we have broken raft logs. :(

This change bumps up the timeout in the hopes that we can get complete
logs from even our slowest devices.

Change-Id: I10741a6185b39544f4c0531f0ee74864d74a1aa4

8 years agodumpstate: call su before executing librank
Nick Kralevich [Sat, 28 Nov 2015 01:56:13 +0000 (17:56 -0800)]
dumpstate: call su before executing librank

librank uses /proc/PID/pagemap . Rather than granting dumpstate
CAP_SYS_ADMIN, have librank run from the SU domain.

Addresses the following denial:

  avc: denied { sys_admin } for pid=6442 comm="librank" capability=21 scontext=u:r:dumpstate:s0 tcontext=u:r:dumpstate:s0 tclass=capability permissive=0

This also allows us to remove the setuid bit from librank,
which will be done in a different commit.

Bug: 25739721
Change-Id: Ibf20d67dbe01b95e5cbb860a7e0eb767b8beb74a

8 years agoMerge "Add support for file descriptors and vectors thereof" am: 8f237272e0 am: 0ebbd...
Casey Dahlin [Thu, 26 Nov 2015 00:07:07 +0000 (00:07 +0000)]
Merge "Add support for file descriptors and vectors thereof" am: 8f237272e0 am: 0ebbd1ef19
am: 8c0dbf9121

* commit '8c0dbf91213ce1ac25df68b6efdc13fa7f89ca80':
  Add support for file descriptors and vectors thereof

8 years agoCar spec.
Sanket Agarwal [Fri, 14 Aug 2015 00:05:09 +0000 (17:05 -0700)]
Car spec.

Add a car spec from which car devices should inherit.

Change-Id: Ia8864784c2064528cfe37ca3250b22d2f1249e49
(cherry picked from commit 6d93826547c9258fbc2d972a5ab86251e5175256)

8 years agoAdds a -P option so dumpstate can report its progress.
Felipe Leme [Mon, 23 Nov 2015 22:14:51 +0000 (14:14 -0800)]
Adds a -P option so dumpstate can report its progress.

The old workflow was:

1. dumpstate starts.
2. When dumpstate finishes, it sends a BUGREPORT_FINISHED event.
3. Shell's BugreportReceiver receives the BUGREPORT_FINISHED and issues a
   system notification so user can share the bug report.

The new workflow is:

1. When dumpstate starts, it sends a BUGREPORT_STARTED with its pid and
  the estimated total effort.
2. When Shell's BugreportReceiver receives the BUGREPORT_STARTED, it:
  2.1 Issues a system notification so user can watch the
      progresss (which is 0% initially).
  2.2 Starts a service (BugreportProgressService) responsible for
      polling the dumpstate progress (using system properties and the
      pid) and updating the system notification.
3. As dumpstate progress, it updates the proper system property.
4. When dumpstate finishes, it sends a BUGREPORT_FINISHED event.
5. When Shell's BugreportReceiver receives the BUGREPORT_FINISHED, it:
  5.1 Finishes the service if necessary.
  5.2 Issues a system notification so user can share the bug report.

This CL handles the dumpstate changes only, the Shell changes will be
handled in a separate CL.

BUG: 25794470
Change-Id: I6e04203411802c88ab0d093420ccdfd26700d565

8 years agoMerge "Add support for file descriptors and vectors thereof" am: 8f237272e0
Casey Dahlin [Mon, 23 Nov 2015 22:37:27 +0000 (22:37 +0000)]
Merge "Add support for file descriptors and vectors thereof" am: 8f237272e0
am: 0ebbd1ef19

* commit '0ebbd1ef19a4a4f6b0dfcc8d8d7c625ab5211f9d':
  Add support for file descriptors and vectors thereof

8 years agoMerge "Add support for file descriptors and vectors thereof"
Casey Dahlin [Mon, 23 Nov 2015 22:33:15 +0000 (22:33 +0000)]
Merge "Add support for file descriptors and vectors thereof"
am: 8f237272e0

* commit '8f237272e0630b8f279db7f90aebfff73a1a9c00':
  Add support for file descriptors and vectors thereof

8 years agoMerge "Add support for file descriptors and vectors thereof"
Casey Dahlin [Mon, 23 Nov 2015 22:22:45 +0000 (22:22 +0000)]
Merge "Add support for file descriptors and vectors thereof"

8 years agoAdd support for file descriptors and vectors thereof
Casey Dahlin [Mon, 23 Nov 2015 21:24:23 +0000 (13:24 -0800)]
Add support for file descriptors and vectors thereof

We use ScopedFd from nativehelper to manage the lifetime.

Test: Passes AIDL unit and integration tests. Full build completes and
      runs.
Bug: 25242023
Signed-off-by: Casey Dahlin <sadmac@google.com>
Change-Id: I22c87ed1cb3bd4bf667b372ea4a2e9fcd4dd986a

8 years agoMerge "Don't generate EGL fence in single buffer mode"
Pablo Ceballos [Mon, 23 Nov 2015 21:00:43 +0000 (21:00 +0000)]
Merge "Don't generate EGL fence in single buffer mode"

8 years agoMerge "libbinder: Add support for C++ Parcelable" am: 49b5443a49 am: 6c31acd969
Christopher Wiley [Mon, 23 Nov 2015 18:27:03 +0000 (18:27 +0000)]
Merge "libbinder: Add support for C++ Parcelable" am: 49b5443a49 am: 6c31acd969
am: cf6d7d1925

* commit 'cf6d7d1925531b4a327294757fb8595387c170e7':
  libbinder: Add support for C++ Parcelable

8 years agoMerge "libbinder: Add support for C++ Parcelable" am: 49b5443a49
Christopher Wiley [Mon, 23 Nov 2015 18:23:09 +0000 (18:23 +0000)]
Merge "libbinder: Add support for C++ Parcelable" am: 49b5443a49
am: 6c31acd969

* commit '6c31acd969ffc754e514885fa7f4d0c25403f580':
  libbinder: Add support for C++ Parcelable

8 years agoMerge "libbinder: Add support for C++ Parcelable"
Christopher Wiley [Mon, 23 Nov 2015 18:19:16 +0000 (18:19 +0000)]
Merge "libbinder: Add support for C++ Parcelable"
am: 49b5443a49

* commit '49b5443a49d737d13c8d05dfd9b827b2c4198edc':
  libbinder: Add support for C++ Parcelable

8 years agoMerge "libbinder: Add support for C++ Parcelable"
Christopher Wiley [Mon, 23 Nov 2015 18:14:26 +0000 (18:14 +0000)]
Merge "libbinder: Add support for C++ Parcelable"

8 years agoMerge "libbinder: Move vector writing templates to header" am: e1aa1c7e13 am: 709ae9a0a5
Christopher Wiley [Sun, 22 Nov 2015 22:08:44 +0000 (22:08 +0000)]
Merge "libbinder: Move vector writing templates to header" am: e1aa1c7e13 am: 709ae9a0a5
am: 14b02baada

* commit '14b02baadaa7143c5e059ab0e58c48c1a39de14b':
  libbinder: Move vector writing templates to header

8 years agoMerge "Allow broadcasting of bug reports without a screenshot."
Felipe Leme [Sun, 22 Nov 2015 02:10:42 +0000 (02:10 +0000)]
Merge "Allow broadcasting of bug reports without a screenshot."

8 years agoDon't generate EGL fence in single buffer mode
Pablo Ceballos [Fri, 20 Nov 2015 23:44:51 +0000 (15:44 -0800)]
Don't generate EGL fence in single buffer mode

Don't do sync operations or generate an EGLFence in SurfaceFlinger's
GLConsumer if re-using the same slot for consecutive buffers.

Bug 24940410

Change-Id: I1d42c6e1ebb3be241d3e332e726c898e8671cc8d

8 years agoMerge "libbinder: Move vector writing templates to header" am: e1aa1c7e13
Christopher Wiley [Fri, 20 Nov 2015 22:33:00 +0000 (22:33 +0000)]
Merge "libbinder: Move vector writing templates to header" am: e1aa1c7e13
am: 709ae9a0a5

* commit '709ae9a0a5775c75b81d011ae9624f28787e5b15':
  libbinder: Move vector writing templates to header

8 years agoMerge "libbinder: Move vector writing templates to header"
Christopher Wiley [Fri, 20 Nov 2015 22:29:38 +0000 (22:29 +0000)]
Merge "libbinder: Move vector writing templates to header"
am: e1aa1c7e13

* commit 'e1aa1c7e136e7372c17b8db7a6d8b307ba4cd571':
  libbinder: Move vector writing templates to header

8 years agoMerge "libbinder: Move vector writing templates to header"
Christopher Wiley [Fri, 20 Nov 2015 22:25:48 +0000 (22:25 +0000)]
Merge "libbinder: Move vector writing templates to header"

8 years agoAllow broadcasting of bug reports without a screenshot.
Felipe Leme [Thu, 19 Nov 2015 23:41:04 +0000 (15:41 -0800)]
Allow broadcasting of bug reports without a screenshot.

BUG: 25751868
Change-Id: Ideaa6c549f639aa64b30225147b2fad6c5f2d556

8 years agodumpstate: add -v printable to logcat am: f83543ab9d
Mark Salyzyn [Fri, 20 Nov 2015 19:02:58 +0000 (19:02 +0000)]
dumpstate: add -v printable to logcat am: f83543ab9d
am: 18c2fdb191

* commit '18c2fdb19150f5c65aa8f6de02f3ce1ad2c99037':
  dumpstate: add -v printable to logcat

8 years agodumpstate: add -v printable to logcat
Mark Salyzyn [Fri, 20 Nov 2015 18:58:10 +0000 (18:58 +0000)]
dumpstate: add -v printable to logcat
am: f83543ab9d

* commit 'f83543ab9d466b5d5ccfa7546e4d752a1d18f3d5':
  dumpstate: add -v printable to logcat

8 years agodumpstate: add -v printable to logcat
Mark Salyzyn [Fri, 9 Oct 2015 21:02:07 +0000 (14:02 -0700)]
dumpstate: add -v printable to logcat

(cherry pick from commit 7831638e2a142cbb082d63a60ad5c04ff63933e8)

In the case where binary data lands in an utf-8 log buffer,
ensure that the content is made printable.

Bug: 23517551
Change-Id: I41696372d07228875d01a19f0c7ab2cb7494b7ef

8 years agoMerge commit \'6e361344fda22c98a36c596819470a699896dcac\' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Fri, 20 Nov 2015 03:49:22 +0000 (03:49 +0000)]
Merge commit \'6e361344fda22c98a36c596819470a699896dcac\' into mnc-dr2-dev-plus-aosp
am: 7eb143cbd2

* commit '7eb143cbd26c769bfe220c288091b88256c99379':
  libbinder: Add binder::Status type

8 years agoMerge commit \'ddfe7bd8b89673473f77f927c3464e7de0d83baf\' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Fri, 20 Nov 2015 03:49:17 +0000 (03:49 +0000)]
Merge commit \'ddfe7bd8b89673473f77f927c3464e7de0d83baf\' into mnc-dr2-dev-plus-aosp
am: 54a8670716

* commit '54a8670716e9ea862ac633ef55db457f255ccf33':
  Set cpuset from surfaceflinger.

8 years agoMerge commit \'32d29a534b0ed403230c2f213e9391d8ce76318c\' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Fri, 20 Nov 2015 03:49:12 +0000 (03:49 +0000)]
Merge commit \'32d29a534b0ed403230c2f213e9391d8ce76318c\' into mnc-dr2-dev-plus-aosp
am: 27cc9511e6

* commit '27cc9511e69337849ec00400a8f44342885b7aa4':
  Use templates for write*Vector methods

8 years agoMerge commit \'6264c4c194e0bbcd060409e0e8c0abfaae3bdf10\' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Fri, 20 Nov 2015 03:49:06 +0000 (03:49 +0000)]
Merge commit \'6264c4c194e0bbcd060409e0e8c0abfaae3bdf10\' into mnc-dr2-dev-plus-aosp
am: a10bd04544

* commit 'a10bd04544feab7a5bcc4fa4f6fb3f10513f1c31':
  libbinder: Return UNEXPECTED_NULL when appropriate

8 years agoMerge commit \'3e4b6d219f1f015cdf16a5ae750acd8050d7d9d9\' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Fri, 20 Nov 2015 03:49:01 +0000 (03:49 +0000)]
Merge commit \'3e4b6d219f1f015cdf16a5ae750acd8050d7d9d9\' into mnc-dr2-dev-plus-aosp
am: 623a41482c

* commit '623a41482c0d80ad659460fa741ebf366e6b43b8':
  Add support for reading/writing a vector of binders

8 years agoMerge commit \'714a3ab7ae00f768a92f213119181a7422342c8a\' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Fri, 20 Nov 2015 03:48:56 +0000 (03:48 +0000)]
Merge commit \'714a3ab7ae00f768a92f213119181a7422342c8a\' into mnc-dr2-dev-plus-aosp
am: 0c2bfcaa89

* commit '0c2bfcaa896c8acf9a4a9fc23d089a9525b12a7a':
  Fix bug in byte vector serialization

8 years agoMerge commit \'930a572ec310359844d2ab184de85b1ecf1d58be\' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Fri, 20 Nov 2015 03:48:51 +0000 (03:48 +0000)]
Merge commit \'930a572ec310359844d2ab184de85b1ecf1d58be\' into mnc-dr2-dev-plus-aosp
am: c54f2e8492

* commit 'c54f2e84929bea4d42ef7ca78b506587f1724394':
  Add readStrongBinder that takes an interface

8 years agoMerge commit \'489931b6ce22434b943bdf8381b376f429b58633\' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Fri, 20 Nov 2015 03:48:45 +0000 (03:48 +0000)]
Merge commit \'489931b6ce22434b943bdf8381b376f429b58633\' into mnc-dr2-dev-plus-aosp
am: 9a39a71ec4

* commit '9a39a71ec46936d1fb5862ae2114526342bc1442':
  libbinder: Fix out of bounds in readBoolVector

8 years agoMerge commit \'210648c40e7c2001cc2a52df532a6ae8f89ac029\' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Fri, 20 Nov 2015 03:48:40 +0000 (03:48 +0000)]
Merge commit \'210648c40e7c2001cc2a52df532a6ae8f89ac029\' into mnc-dr2-dev-plus-aosp
am: 516d8d99f2

* commit '516d8d99f226a848a56578215f6025b6fa33bae1':
  Fix benign integer overflow in printHexDump

8 years agoMerge commit \'a5bcc9590a76c2ec0be5a6e8d1db8d8a69d80753\' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Fri, 20 Nov 2015 03:48:35 +0000 (03:48 +0000)]
Merge commit \'a5bcc9590a76c2ec0be5a6e8d1db8d8a69d80753\' into mnc-dr2-dev-plus-aosp
am: 951dd8e487

* commit '951dd8e4876fe4cc6691d2aa62f9da9735766eda':
  Fix build breakage due to extraneous dereference

8 years agoMerge commit \'08bb145a3c82d86ee26d3c567a929a2db41d9101\' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Fri, 20 Nov 2015 03:48:30 +0000 (03:48 +0000)]
Merge commit \'08bb145a3c82d86ee26d3c567a929a2db41d9101\' into mnc-dr2-dev-plus-aosp
am: 94e7819141

* commit '94e7819141aa17d565a4d5e190609e03152eb257':
  Add read/write methods for vectors

8 years agoAdd methods to Parcel for bool and char and byte am: a377491405 -s ours
Casey Dahlin [Fri, 20 Nov 2015 03:48:25 +0000 (03:48 +0000)]
Add methods to Parcel for bool and char and byte am: a377491405  -s ours
am: e19e697986

* commit 'e19e69798620777aa88cd82330926640f024e083':
  Add methods to Parcel for bool and char and byte

8 years agohandle size_t > java max int size am: cfe27deac7
Nick Kralevich [Fri, 20 Nov 2015 03:48:20 +0000 (03:48 +0000)]
handle size_t > java max int size am: cfe27deac7
am: dfefb3c7c8

* commit 'dfefb3c7c87063783b0baeee9c6b534526f51658':
  handle size_t > java max int size

8 years agoBenign unsigned integer overflow in Parcel am: f28b295df9
Dan Austin [Fri, 20 Nov 2015 03:48:14 +0000 (03:48 +0000)]
Benign unsigned integer overflow in Parcel am: f28b295df9
am: d210ee62a8

* commit 'd210ee62a8e39abfb57bc272a3facec17118b05a':
  Benign unsigned integer overflow in Parcel

8 years agobinder: Change from C11 <stdatomic.h> to C++11 <atomic>. am: 2ab8014d78
Bailey Forrest [Fri, 20 Nov 2015 03:48:08 +0000 (03:48 +0000)]
binder: Change from C11 <stdatomic.h> to C++11 <atomic>. am: 2ab8014d78
am: 1bb0ca35a8

* commit '1bb0ca35a813876bfa65843219581bc9c37d1d91':
  binder: Change from C11 <stdatomic.h> to C++11 <atomic>.

8 years agoMerge "SF: Don't use pointer if promote() fails"
Pablo Ceballos [Fri, 20 Nov 2015 01:28:49 +0000 (01:28 +0000)]
Merge "SF: Don't use pointer if promote() fails"

8 years agoMerge commit '6e361344fda22c98a36c596819470a699896dcac' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Thu, 19 Nov 2015 23:41:56 +0000 (15:41 -0800)]
Merge commit '6e361344fda22c98a36c596819470a699896dcac' into mnc-dr2-dev-plus-aosp

8 years agoMerge commit 'ddfe7bd8b89673473f77f927c3464e7de0d83baf' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Thu, 19 Nov 2015 23:41:54 +0000 (15:41 -0800)]
Merge commit 'ddfe7bd8b89673473f77f927c3464e7de0d83baf' into mnc-dr2-dev-plus-aosp

8 years agoMerge commit '32d29a534b0ed403230c2f213e9391d8ce76318c' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Thu, 19 Nov 2015 23:41:52 +0000 (15:41 -0800)]
Merge commit '32d29a534b0ed403230c2f213e9391d8ce76318c' into mnc-dr2-dev-plus-aosp

8 years agoMerge commit '6264c4c194e0bbcd060409e0e8c0abfaae3bdf10' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Thu, 19 Nov 2015 23:41:48 +0000 (15:41 -0800)]
Merge commit '6264c4c194e0bbcd060409e0e8c0abfaae3bdf10' into mnc-dr2-dev-plus-aosp

8 years agoMerge commit '3e4b6d219f1f015cdf16a5ae750acd8050d7d9d9' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Thu, 19 Nov 2015 23:41:45 +0000 (15:41 -0800)]
Merge commit '3e4b6d219f1f015cdf16a5ae750acd8050d7d9d9' into mnc-dr2-dev-plus-aosp

8 years agoMerge commit '714a3ab7ae00f768a92f213119181a7422342c8a' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Thu, 19 Nov 2015 23:41:42 +0000 (15:41 -0800)]
Merge commit '714a3ab7ae00f768a92f213119181a7422342c8a' into mnc-dr2-dev-plus-aosp

8 years agoMerge commit '930a572ec310359844d2ab184de85b1ecf1d58be' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Thu, 19 Nov 2015 23:41:12 +0000 (15:41 -0800)]
Merge commit '930a572ec310359844d2ab184de85b1ecf1d58be' into mnc-dr2-dev-plus-aosp

8 years agoMerge commit '489931b6ce22434b943bdf8381b376f429b58633' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Thu, 19 Nov 2015 23:41:11 +0000 (15:41 -0800)]
Merge commit '489931b6ce22434b943bdf8381b376f429b58633' into mnc-dr2-dev-plus-aosp

8 years agoMerge commit '210648c40e7c2001cc2a52df532a6ae8f89ac029' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Thu, 19 Nov 2015 23:41:08 +0000 (15:41 -0800)]
Merge commit '210648c40e7c2001cc2a52df532a6ae8f89ac029' into mnc-dr2-dev-plus-aosp

8 years agoMerge commit 'a5bcc9590a76c2ec0be5a6e8d1db8d8a69d80753' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Thu, 19 Nov 2015 23:41:06 +0000 (15:41 -0800)]
Merge commit 'a5bcc9590a76c2ec0be5a6e8d1db8d8a69d80753' into mnc-dr2-dev-plus-aosp

8 years agoMerge commit '08bb145a3c82d86ee26d3c567a929a2db41d9101' into mnc-dr2-dev-plus-aosp
Qiwen Zhao [Thu, 19 Nov 2015 23:41:04 +0000 (15:41 -0800)]
Merge commit '08bb145a3c82d86ee26d3c567a929a2db41d9101' into mnc-dr2-dev-plus-aosp

8 years agoMerge "Fixed check if zip file was generated properly."
Felipe Leme [Thu, 19 Nov 2015 23:38:38 +0000 (23:38 +0000)]
Merge "Fixed check if zip file was generated properly."

8 years agoAdd methods to Parcel for bool and char and byte
Casey Dahlin [Thu, 19 Nov 2015 23:32:45 +0000 (23:32 +0000)]
Add methods to Parcel for bool and char and byte
am: a377491405  -s ours

* commit 'a37749140585cd76178a93faf3abd27cd2fc30dc':
  Add methods to Parcel for bool and char and byte

8 years agoFixed check if zip file was generated properly.
Felipe Leme [Thu, 19 Nov 2015 23:30:35 +0000 (15:30 -0800)]
Fixed check if zip file was generated properly.

During the earlier development stages, this function was returning an
int and later it was changed to boolean, but the check was not updated.

BUG: 25563823
Change-Id: I77f50bf2184d5dd4da2156a5eca4c8a555b567a4

8 years agohandle size_t > java max int size
Nick Kralevich [Thu, 19 Nov 2015 23:23:53 +0000 (23:23 +0000)]
handle size_t > java max int size
am: cfe27deac7

* commit 'cfe27deac7e0ede89a78b9f03fb4a4159d68be8e':
  handle size_t > java max int size

8 years agoBenign unsigned integer overflow in Parcel
Dan Austin [Thu, 19 Nov 2015 23:23:48 +0000 (23:23 +0000)]
Benign unsigned integer overflow in Parcel
am: f28b295df9

* commit 'f28b295df90da3b9610cc5d6100039e54d95f49a':
  Benign unsigned integer overflow in Parcel

8 years agobinder: Change from C11 <stdatomic.h> to C++11 <atomic>.
Bailey Forrest [Thu, 19 Nov 2015 23:23:43 +0000 (23:23 +0000)]
binder: Change from C11 <stdatomic.h> to C++11 <atomic>.
am: 2ab8014d78

* commit '2ab8014d78fe89b022cd8f69024112780fecdd30':
  binder: Change from C11 <stdatomic.h> to C++11 <atomic>.

8 years agoSF: Don't use pointer if promote() fails
Pablo Ceballos [Thu, 19 Nov 2015 22:39:14 +0000 (14:39 -0800)]
SF: Don't use pointer if promote() fails

Bug 25759725

Change-Id: I51f82154bf86ded24503c07f1932b115aa709cd4

8 years agoMerge "Temporarily relax device-encryption failures."
Jeff Sharkey [Thu, 19 Nov 2015 22:36:13 +0000 (22:36 +0000)]
Merge "Temporarily relax device-encryption failures."

8 years agoTemporarily relax device-encryption failures.
Jeff Sharkey [Thu, 19 Nov 2015 22:35:27 +0000 (15:35 -0700)]
Temporarily relax device-encryption failures.

Long-term fix is to get vold connected before doing initial package
scan, and prepare all user directories.

Bug: 25796509
Change-Id: Ibcfc44411e9921cf3fa3d0510d300808a2a62e7e

8 years agoMerge "Add support for new sched kernel tracepoint" am: 61c9506a09 am: 31a851cd75
Riley Andrews [Thu, 19 Nov 2015 22:18:01 +0000 (22:18 +0000)]
Merge "Add support for new sched kernel tracepoint" am: 61c9506a09 am: 31a851cd75
am: 3619cb2909

* commit '3619cb2909cbd21cfd080fb1142fd77207cee1d8':
  Add support for new sched kernel tracepoint

8 years agoMerge "Add support for new sched kernel tracepoint" am: 61c9506a09
Riley Andrews [Thu, 19 Nov 2015 22:12:12 +0000 (22:12 +0000)]
Merge "Add support for new sched kernel tracepoint" am: 61c9506a09
am: 31a851cd75

* commit '31a851cd7580d6babdc011b3f50da760e7e4274a':
  Add support for new sched kernel tracepoint

8 years agoMerge "Add support for new sched kernel tracepoint"
Riley Andrews [Thu, 19 Nov 2015 22:06:48 +0000 (22:06 +0000)]
Merge "Add support for new sched kernel tracepoint"
am: 61c9506a09

* commit '61c9506a09959ae07832cc019818f869403d3f2a':
  Add support for new sched kernel tracepoint

8 years agoMerge "Add support for new sched kernel tracepoint"
Riley Andrews [Thu, 19 Nov 2015 22:05:29 +0000 (22:05 +0000)]
Merge "Add support for new sched kernel tracepoint"

8 years agoAdd support for new sched kernel tracepoint
Riley Andrews [Thu, 19 Nov 2015 21:31:17 +0000 (13:31 -0800)]
Add support for new sched kernel tracepoint

This tracepoint gives systrace the means to display the reason
for uninterruptible sleep.

8 years agoAllow using the JIT am: 806313fe81 -s ours
Todd Kennedy [Thu, 19 Nov 2015 19:24:44 +0000 (19:24 +0000)]
Allow using the JIT am: 806313fe81  -s ours
am: bba52a6016

* commit 'bba52a60167a1b7d7f4f5f1b86aa7247373fc6e5':
  Allow using the JIT

8 years agoAllow using the JIT
Todd Kennedy [Thu, 19 Nov 2015 19:15:38 +0000 (19:15 +0000)]
Allow using the JIT
am: 806313fe81  -s ours

* commit '806313fe8168fe7e68c21a839966fd6c31ec8189':
  Allow using the JIT

8 years agoPass dexopt flags as integer am: 90907aca73 -s ours
Todd Kennedy [Thu, 19 Nov 2015 19:06:39 +0000 (19:06 +0000)]
Pass dexopt flags as integer am: 90907aca73  -s ours
am: d2da0be029

* commit 'd2da0be029aeeb4bf18616918cc435d3318534c7':
  Pass dexopt flags as integer

8 years agoPass dexopt flags as integer
Todd Kennedy [Thu, 19 Nov 2015 18:54:20 +0000 (18:54 +0000)]
Pass dexopt flags as integer
am: 90907aca73  -s ours

* commit '90907aca732cf5cbb80cc95993f2401857254069':
  Pass dexopt flags as integer

8 years agoMerge "More device-encrypted directory work."
Jeff Sharkey [Thu, 19 Nov 2015 18:45:41 +0000 (18:45 +0000)]
Merge "More device-encrypted directory work."

8 years agoMore device-encrypted directory work.
Jeff Sharkey [Wed, 18 Nov 2015 21:15:17 +0000 (14:15 -0700)]
More device-encrypted directory work.

Unify package directory creation logic, and always create user_de
directories to be ready for emulation mode.  Also clean up the new
user_de directories on user deletion, package uninstallation, and
data clearing.  Also run restorecon over the new user_de paths.

Bug: 22358539
Change-Id: I65ab1562db8455dae6e99dbd8965409b1bf3c6b0

8 years agobatteryservice: Add max charging voltage am: 4e5a5adda8
Badhri Jagan Sridharan [Thu, 19 Nov 2015 16:37:06 +0000 (16:37 +0000)]
batteryservice: Add max charging voltage am: 4e5a5adda8
am: e333d98885

* commit 'e333d98885b27fcd1da91ea549c6dfafb08ffd86':

8 years agobatteryservice: Add max charging voltage
Badhri Jagan Sridharan [Thu, 19 Nov 2015 16:30:45 +0000 (16:30 +0000)]
batteryservice: Add max charging voltage
am: 4e5a5adda8

* commit '4e5a5adda807cec54df8c1f2ccf51830abe9b4e2':
  batteryservice: Add max charging voltage

8 years agolibbinder: Add binder::Status type
Christopher Wiley [Mon, 9 Nov 2015 23:06:15 +0000 (15:06 -0800)]
libbinder: Add binder::Status type

(cherry-pick of 09eb749704afd9e226e1347cb20c90be2016cd21)

This object implements equivalent functionality to the Java logic which
serializes and re-throws exceptions from services.

Bug: 25615695
Test: Integration test for generated AIDL code reveals this to work
      correctly.

Change-Id: I5a57710a148ffbd18a4a2c6f0f4fb6d409e0bf8f

8 years agoLoad the emulation libraries only when qemu.gles=1
Nicolas Capens [Fri, 6 Nov 2015 15:10:21 +0000 (10:10 -0500)]
Load the emulation libraries only when qemu.gles=1

Bug 25467020

Change-Id: I4a47f369078af03e4146b3b96a7e7a8e8390da61
(cherry picked from commit 8404ebc7487ebcf317e88c78cbb81e238fb55c3f)

8 years agolibbinder: Add support for C++ Parcelable
Christopher Wiley [Thu, 19 Nov 2015 14:49:05 +0000 (06:49 -0800)]
libbinder: Add support for C++ Parcelable

Bug: 23600712
Test: compiles, integration tests for Java/C++ compatibility pass

Change-Id: I0919571919a3633350169ed5668bbb000da9691c

8 years agolibbinder: Move vector writing templates to header
Christopher Wiley [Thu, 19 Nov 2015 14:42:40 +0000 (06:42 -0800)]
libbinder: Move vector writing templates to header

This allows us to reuse them to read and write vectors of parcelables.

Bug: 23600712
Test: Compiles, aidl integration tests pass

Change-Id: Ibbfc2f158b6b3000b13f35f3c09a0cd3741e8128

8 years agoMerge "Revert "Add support for unique_fds and vectors of file descriptors"" am: 5cd09...
Casey Dahlin [Thu, 19 Nov 2015 05:47:33 +0000 (05:47 +0000)]
Merge "Revert "Add support for unique_fds and vectors of file descriptors"" am: 5cd09786eb am: fb92cfcd3e
am: 4c9066efd0

* commit '4c9066efd0de825247d77c227f264ab4423110be':
  Revert "Add support for unique_fds and vectors of file descriptors"

8 years agoMerge "Add support for unique_fds and vectors of file descriptors" am: b1819fc295...
Casey Dahlin [Thu, 19 Nov 2015 05:46:48 +0000 (05:46 +0000)]
Merge "Add support for unique_fds and vectors of file descriptors" am: b1819fc295 am: 0dd1a5d2f4
am: 7dff1b17af

* commit '7dff1b17afe10c042b799f8e7d4fc9751f65d144':
  Add support for unique_fds and vectors of file descriptors

8 years agoActively mangage EAS schedtune nodes
Todd Kjos [Thu, 19 Nov 2015 05:46:27 +0000 (05:46 +0000)]
Actively mangage EAS schedtune nodes
am: fedb5f4208

* commit 'fedb5f4208669480684d116db1ec2234a6bdaa26':
  Actively mangage EAS schedtune nodes

8 years agoMerge "libbinder: Add binder::Status type" am: babed3ea52 am: d352198294
Christopher Wiley [Thu, 19 Nov 2015 03:24:18 +0000 (03:24 +0000)]
Merge "libbinder: Add binder::Status type" am: babed3ea52 am: d352198294
am: a62a2d7629

* commit 'a62a2d7629cf4ff7681912ee488585652e09b63a':
  libbinder: Add binder::Status type

8 years agoMerge "use negative mask" am: 4e427f0aab am: 469295f68e
Todd Kennedy [Thu, 19 Nov 2015 00:17:33 +0000 (00:17 +0000)]
Merge "use negative mask" am: 4e427f0aab am: 469295f68e
am: d0711b42b7

* commit 'd0711b42b757bcc4ffc2ad8a9989cf728d4bb034':
  use negative mask

8 years agoSet cpuset from surfaceflinger.
Tim Murray [Wed, 18 Nov 2015 22:56:03 +0000 (22:56 +0000)]
Set cpuset from surfaceflinger.
am: 392db573b3

* commit '392db573b35d6fe09c4da094ed81c54ed528a511':
  Set cpuset from surfaceflinger.

8 years agoMerge "Revert "Add support for unique_fds and vectors of file descriptors"" am: 5cd09...
Casey Dahlin [Wed, 18 Nov 2015 21:48:42 +0000 (21:48 +0000)]
Merge "Revert "Add support for unique_fds and vectors of file descriptors"" am: 5cd09786eb
am: fb92cfcd3e

* commit 'fb92cfcd3e8977a6cac0147de80bf2a0fb6a2d87':
  Revert "Add support for unique_fds and vectors of file descriptors"

8 years agoMerge "Revert "Add support for unique_fds and vectors of file descriptors""
Casey Dahlin [Wed, 18 Nov 2015 21:42:30 +0000 (21:42 +0000)]
Merge "Revert "Add support for unique_fds and vectors of file descriptors""
am: 5cd09786eb

* commit '5cd09786eb4ff6e99351e8a317205a5efd12ac74':
  Revert "Add support for unique_fds and vectors of file descriptors"

8 years agoMerge "Revert "Add support for unique_fds and vectors of file descriptors""
Casey Dahlin [Wed, 18 Nov 2015 21:33:48 +0000 (21:33 +0000)]
Merge "Revert "Add support for unique_fds and vectors of file descriptors""

8 years agoRevert "Add support for unique_fds and vectors of file descriptors"
Casey Dahlin [Wed, 18 Nov 2015 21:30:02 +0000 (21:30 +0000)]
Revert "Add support for unique_fds and vectors of file descriptors"

This reverts commit 9626d88882972d45576dcceedc037d2e9843196b.

Change-Id: I6121f388d17c6f2d0cf6f31bc42f0804dd72aba2

8 years agoMerge "Add support for unique_fds and vectors of file descriptors" am: b1819fc295
Casey Dahlin [Wed, 18 Nov 2015 21:10:30 +0000 (21:10 +0000)]
Merge "Add support for unique_fds and vectors of file descriptors" am: b1819fc295
am: 0dd1a5d2f4

* commit '0dd1a5d2f4e69c5df233fa9468191c03dc9b639f':
  Add support for unique_fds and vectors of file descriptors

8 years agoMerge "Add support for unique_fds and vectors of file descriptors"
Casey Dahlin [Wed, 18 Nov 2015 21:04:07 +0000 (21:04 +0000)]
Merge "Add support for unique_fds and vectors of file descriptors"
am: b1819fc295

* commit 'b1819fc295811ca3a005042a80149c8d0655211f':
  Add support for unique_fds and vectors of file descriptors

8 years agoMerge "Add support for unique_fds and vectors of file descriptors"
Casey Dahlin [Wed, 18 Nov 2015 20:54:52 +0000 (20:54 +0000)]
Merge "Add support for unique_fds and vectors of file descriptors"