OSDN Git Service

android-x86/frameworks-native.git
8 years agoMerge "Don\'t redefine B_PACK_CHARS"
Casey Dahlin [Tue, 15 Dec 2015 01:46:50 +0000 (17:46 -0800)]
Merge "Don\'t redefine B_PACK_CHARS"
am: 478259b574

* commit '478259b574b6353437b6d5a03caaa4449add428a':
  Don't redefine B_PACK_CHARS

8 years agoMerge "Don't redefine B_PACK_CHARS"
Casey Dahlin [Tue, 15 Dec 2015 01:09:50 +0000 (01:09 +0000)]
Merge "Don't redefine B_PACK_CHARS"

8 years agoDon't redefine B_PACK_CHARS
Casey Dahlin [Tue, 15 Dec 2015 00:09:06 +0000 (16:09 -0800)]
Don't redefine B_PACK_CHARS

Change-Id: I5dfaca405f0f866e697d5ae546ead8a8eb6de7ca
Test: make checkbuild succeeds
Bug: 25868260
Signed-off-by: Casey Dahlin <sadmac@google.com>
8 years agoMerge "Migrated dumpstate to C++."
Felipe Leme [Mon, 14 Dec 2015 23:56:22 +0000 (23:56 +0000)]
Merge "Migrated dumpstate to C++."
am: 1f62517b36

* commit '1f62517b3654a3c0e95ea4d5b3664fac8115acdf':
  Migrated dumpstate to C++.

8 years agoMerge "Migrated dumpstate to C++."
Felipe Leme [Mon, 14 Dec 2015 23:25:48 +0000 (23:25 +0000)]
Merge "Migrated dumpstate to C++."

8 years agoMigrated dumpstate to C++.
Felipe Leme [Mon, 14 Dec 2015 23:09:56 +0000 (15:09 -0800)]
Migrated dumpstate to C++.

Changes required:

- Explicity casting function pointers.
- Moving variables initialization before 'goto' statements.
- Changing string references from 'char *' to 'const char *'.
- Using 'extern "C"' so device-dependent implementation of
  'dumpstate_board()' can be written in C or C++.

BUG: 25563823

Change-Id: Ibeb70fd23e64e9b530736b554a372cb232fe1a44

8 years agoMerge "atrace: add database tag"
Greg Hackmann [Mon, 14 Dec 2015 21:20:47 +0000 (13:20 -0800)]
Merge "atrace: add database tag"
am: 8b9c0e1af1

* commit '8b9c0e1af14bf07b216edd1b995048790ddabaca':
  atrace: add database tag

8 years agoMerge "atrace: add database tag"
Greg Hackmann [Mon, 14 Dec 2015 21:12:52 +0000 (21:12 +0000)]
Merge "atrace: add database tag"

8 years agoMerge "dumpstate: Add security log dump"
Mark Salyzyn [Mon, 14 Dec 2015 16:48:52 +0000 (08:48 -0800)]
Merge "dumpstate: Add security log dump"
am: bc611a1d3e

* commit 'bc611a1d3e2beea849a251fecda096ed142519a6':
  dumpstate: Add security log dump

8 years agoMerge "dumpstate: Add security log dump"
Mark Salyzyn [Mon, 14 Dec 2015 16:33:00 +0000 (16:33 +0000)]
Merge "dumpstate: Add security log dump"

8 years agodumpstate: Add security log dump
Mark Salyzyn [Fri, 11 Dec 2015 21:04:02 +0000 (13:04 -0800)]
dumpstate: Add security log dump

Bug: 26029733
Change-Id: I2e5b44d642bbac7f62f63388dd8a3123f2abeafe

8 years agoMerge "dumpstate: build breakage @2482293"
Mark Salyzyn [Fri, 11 Dec 2015 19:01:01 +0000 (11:01 -0800)]
Merge "dumpstate: build breakage @2482293"
am: c93d0937e4

* commit 'c93d0937e4e86a260f4dc6b91971b6750f67a3f3':
  dumpstate: build breakage @2482293

8 years agoMerge "dumpstate: build breakage @2482293"
Mark Salyzyn [Fri, 11 Dec 2015 18:43:21 +0000 (18:43 +0000)]
Merge "dumpstate: build breakage @2482293"

8 years agodumpstate: build breakage @2482293
Mark Salyzyn [Fri, 11 Dec 2015 18:41:52 +0000 (10:41 -0800)]
dumpstate: build breakage @2482293

aosp is in C, internal is C++, struct must be explicit

Bug: 24200279
Change-Id: I1c9d8156a86db6de73ee5b70063e63b38170b052

8 years agoMerge "dumpstate: Dump eMMC 5.0 stats"
Mark Salyzyn [Fri, 11 Dec 2015 15:24:05 +0000 (07:24 -0800)]
Merge "dumpstate: Dump eMMC 5.0 stats"
am: f9b3fc457f

* commit 'f9b3fc457f22be834e6bc6c3f704d7ddb38dcbb8':
  dumpstate: Dump eMMC 5.0 stats

8 years agoMerge "dumpstate: Dump eMMC 5.0 stats"
Mark Salyzyn [Fri, 11 Dec 2015 15:17:26 +0000 (15:17 +0000)]
Merge "dumpstate: Dump eMMC 5.0 stats"

8 years agodumpstate: Dump eMMC 5.0 stats
Mark Salyzyn [Wed, 9 Dec 2015 19:21:28 +0000 (11:21 -0800)]
dumpstate: Dump eMMC 5.0 stats

Extended csd EXT_CSD_REV, PRE_EOL_INFO, DEVICE_LIFE_TIME_EST_TYP_A,
and DEVICE_LIFE_TIME_EST_TYP_B fields printed if available. Allow
dumpstate access to /sys/kernel/debug/mmc0/mmc0:0001/ext_csd.

Bug: 24200279
Change-Id: I310bdcf546a9307cf927f109359ad5a6d24b70f8

8 years agoMerge "Fix allocation count"
Colin Cross [Thu, 10 Dec 2015 21:21:47 +0000 (13:21 -0800)]
Merge "Fix allocation count"
am: b25116f735

* commit 'b25116f735e00467057085c18a984aca0cc93a84':
  Fix allocation count

8 years agoMerge "Fix allocation count"
Colin Cross [Thu, 10 Dec 2015 21:15:19 +0000 (21:15 +0000)]
Merge "Fix allocation count"

8 years agoMerge "libbinder: Enable service specific error codes"
Christopher Wiley [Wed, 9 Dec 2015 22:39:31 +0000 (14:39 -0800)]
Merge "libbinder: Enable service specific error codes"
am: dff3651eed

* commit 'dff3651eed393f4a6e7b5fcbea1d91de981e91a0':
  libbinder: Enable service specific error codes

8 years agoMerge "libbinder: Enable service specific error codes"
Christopher Wiley [Wed, 9 Dec 2015 22:34:58 +0000 (22:34 +0000)]
Merge "libbinder: Enable service specific error codes"

8 years agolibbinder: Enable service specific error codes
Christopher Wiley [Sat, 21 Nov 2015 01:48:27 +0000 (17:48 -0800)]
libbinder: Enable service specific error codes

Add another factory method that takes a message and service
specific error code.

Bug: 25800533
Test: system/tools/aidl integration tests pass

Change-Id: I592cb7def0538576965d14c200ab58548b3bef32

8 years agoFix allocation count
Colin Cross [Wed, 9 Dec 2015 01:15:50 +0000 (17:15 -0800)]
Fix allocation count

The realloc case in continueWrite should not increment the counter,
the pointer passed to realloc is guaranteed to be non-NULL so the total
number of allocations will not have changed.

When realloc is called in restartWrite mData has not been checked
against NULL, increment the counter if it was NULL.

Bug: 26086286
Change-Id: I4c8af450cca1868b91793c0c5f0d8c4b4b5badbe

8 years agoMerge "Fix the execution point of onFrameAvailable/onFrameReplaced callbacks" am...
Dan Stoza [Tue, 8 Dec 2015 17:13:34 +0000 (17:13 +0000)]
Merge "Fix the execution point of onFrameAvailable/onFrameReplaced callbacks" am: 789ede379d
am: 67322258c0

* commit '67322258c0a42852bee446a5a99f8b64e1953683':
  Fix the execution point of onFrameAvailable/onFrameReplaced callbacks

8 years agoMerge "Fix the execution point of onFrameAvailable/onFrameReplaced callbacks"
Dan Stoza [Tue, 8 Dec 2015 17:08:13 +0000 (09:08 -0800)]
Merge "Fix the execution point of onFrameAvailable/onFrameReplaced callbacks"
am: 789ede379d

* commit '789ede379d2f19ce284866c72bcaad7e8255b1cc':
  Fix the execution point of onFrameAvailable/onFrameReplaced callbacks

8 years agoMerge "Fix the execution point of onFrameAvailable/onFrameReplaced callbacks"
Dan Stoza [Tue, 8 Dec 2015 17:05:25 +0000 (17:05 +0000)]
Merge "Fix the execution point of onFrameAvailable/onFrameReplaced callbacks"

8 years agoMerge "inputflinger: Initial support for rotary encoders." into cw-e-dev am: 68fca5a1...
Prashant Malani [Tue, 8 Dec 2015 01:36:18 +0000 (01:36 +0000)]
Merge "inputflinger: Initial support for rotary encoders." into cw-e-dev am: 68fca5a176 am: e50ab08fd6
am: b7b7fa1769

* commit 'b7b7fa1769b6a13461705309659846e99deb8cf2':
  inputflinger: Initial support for rotary encoders.

8 years agoMerge "inputflinger: Initial support for rotary encoders." into cw-e-dev am: 68fca5a176
Prashant Malani [Tue, 8 Dec 2015 01:33:04 +0000 (01:33 +0000)]
Merge "inputflinger: Initial support for rotary encoders." into cw-e-dev am: 68fca5a176
am: e50ab08fd6

* commit 'e50ab08fd676c78bc1d826dc2172cf370feb54c0':
  inputflinger: Initial support for rotary encoders.

8 years agoMerge "inputflinger: Initial support for rotary encoders." into cw-e-dev
Prashant Malani [Tue, 8 Dec 2015 01:30:53 +0000 (01:30 +0000)]
Merge "inputflinger: Initial support for rotary encoders." into cw-e-dev
am: 68fca5a176

* commit '68fca5a1763203164a19a9aa983895242a671387':
  inputflinger: Initial support for rotary encoders.

8 years agoMerge "inputflinger: Initial support for rotary encoders." into cw-e-dev
Prashant Malani [Tue, 8 Dec 2015 01:27:17 +0000 (01:27 +0000)]
Merge "inputflinger: Initial support for rotary encoders." into cw-e-dev

8 years agoMerge "Replace libGLESv3 symlink with shared library" am: 18ff655766
Dimitry Ivanov [Mon, 7 Dec 2015 23:39:17 +0000 (23:39 +0000)]
Merge "Replace libGLESv3 symlink with shared library" am: 18ff655766
am: bc432368f4

* commit 'bc432368f410d628d21435c9f8fbcdf6bb68ef95':
  Replace libGLESv3 symlink with shared library

8 years agoMerge "Replace libGLESv3 symlink with shared library"
Dimitry Ivanov [Mon, 7 Dec 2015 23:16:20 +0000 (23:16 +0000)]
Merge "Replace libGLESv3 symlink with shared library"
am: 18ff655766

* commit '18ff6557667f3d130ad1f83e04f3b175f8b8cf6d':
  Replace libGLESv3 symlink with shared library

8 years agoMerge "Replace libGLESv3 symlink with shared library"
Dimitry Ivanov [Mon, 7 Dec 2015 19:00:58 +0000 (19:00 +0000)]
Merge "Replace libGLESv3 symlink with shared library"

8 years agoFix the execution point of onFrameAvailable/onFrameReplaced callbacks
Christian Poetzsch [Mon, 7 Dec 2015 13:36:22 +0000 (13:36 +0000)]
Fix the execution point of onFrameAvailable/onFrameReplaced callbacks

In a4650a5 the concept of a maximum frame number allowance for the consumer was
introduced. A call to acquireBuffers will only return buffers when their frame
number is less-than-or-equal-to this maximum frame number. When SurfaceFlinger
is the consumer, this maximum  frame number is calculated in the
onFrameAvailable/onFrameReplaced callbacks. These callbacks are called when a
new buffer is dequeued by the application. The problem is that these callbacks
are called _after_ the fence wait which is used to throttle the frame
production of client apps. When the previous frame needs a long time to draw,
those waits can potentially be a long time. As a result SurfaceFlinger won't do
any composition with the new frame until the wait is over.

Normally this isn't a big problem because there is a queue of buffers for
SurfaceFlinger to work with. However, this changes massively when a client app
is using a swap interval of zero. In this case, a new frame will instantly
replace the previous queued frame. However, SurfaceFlinger doesn't know this
until the onFrameReplaced callback gets called - which is delayed by the fence
wait. If the timing is bad, SurfaceFlinger never gets a chance to pick up a new
frame to do the composition with.

We see this behaviour on our TC development system (slow GPU) with legacy
on-screen benchmarks. Such apps are using a swap interval of zero and sometimes
frames don't get updated for several seconds. This behaviour can be also seen
on a Nexus5, although it isn't as obvious as on our TC.

The fix in this cl is to move the EGL throttling to the end of the queueBuffers
function. This ensures that if a frame gets replaced in the queue, all
consumers who installed the callbacks, get called in a timely fashion.

Change-Id: I36e9ecda162150f41e97d4fb7437963a3d86b371
Signed-off-by: Christian Poetzsch <christian.potzsch@imgtec.com>
8 years agoMerge "Revert "libbinder: Don\'t redefine B_PACK_CHARS"" am: 3f46d82d7b
Bart Sears [Sat, 5 Dec 2015 03:45:09 +0000 (03:45 +0000)]
Merge "Revert "libbinder: Don\'t redefine B_PACK_CHARS"" am: 3f46d82d7b
am: 9bb03731ee

* commit '9bb03731ee1f01abbc193a75ea08d632fbb2f81b':
  Revert "libbinder: Don't redefine B_PACK_CHARS"

8 years agoMerge "Revert "libbinder: Don\'t redefine B_PACK_CHARS""
Bart Sears [Sat, 5 Dec 2015 03:42:14 +0000 (03:42 +0000)]
Merge "Revert "libbinder: Don\'t redefine B_PACK_CHARS""
am: 3f46d82d7b

* commit '3f46d82d7b8ee0ae6295723311e5c986b649d727':
  Revert "libbinder: Don't redefine B_PACK_CHARS"

8 years agoMerge "Revert "libbinder: Don't redefine B_PACK_CHARS""
Bart Sears [Sat, 5 Dec 2015 03:38:59 +0000 (03:38 +0000)]
Merge "Revert "libbinder: Don't redefine B_PACK_CHARS""

8 years agoRevert "libbinder: Don't redefine B_PACK_CHARS"
Bart Sears [Sat, 5 Dec 2015 03:38:34 +0000 (03:38 +0000)]
Revert "libbinder: Don't redefine B_PACK_CHARS"

This reverts commit 3eab1b40acbcc2e82b3e90da26706129019eccf9.

Change-Id: Iedc99961c6014029722f814e621970c1732f9092

8 years agoMerge "Track rename from base/ to android-base/." am: f31cf3ab0f
Elliott Hughes [Sat, 5 Dec 2015 01:45:35 +0000 (01:45 +0000)]
Merge "Track rename from base/ to android-base/." am: f31cf3ab0f
am: c21980bc12

* commit 'c21980bc12db67c763a18b1abaa3ddd3689b1687':
  Track rename from base/ to android-base/.

8 years agoMerge "Track rename from base/ to android-base/."
Elliott Hughes [Sat, 5 Dec 2015 01:39:36 +0000 (17:39 -0800)]
Merge "Track rename from base/ to android-base/."
am: f31cf3ab0f

* commit 'f31cf3ab0f53394200c0f22a4591db741ba1ccb0':
  Track rename from base/ to android-base/.

8 years agoMerge "Track rename from base/ to android-base/."
Elliott Hughes [Sat, 5 Dec 2015 01:33:52 +0000 (01:33 +0000)]
Merge "Track rename from base/ to android-base/."

8 years agoMerge "libbinder: Don\'t redefine B_PACK_CHARS" am: 7166e7823c
Christopher Wiley [Sat, 5 Dec 2015 00:23:13 +0000 (00:23 +0000)]
Merge "libbinder: Don\'t redefine B_PACK_CHARS" am: 7166e7823c
am: a1474da3b5

* commit 'a1474da3b5a521c2f33494b4a83e50841a399c15':
  libbinder: Don't redefine B_PACK_CHARS

8 years agoMerge "libbinder: Don\'t redefine B_PACK_CHARS"
Christopher Wiley [Sat, 5 Dec 2015 00:20:15 +0000 (16:20 -0800)]
Merge "libbinder: Don\'t redefine B_PACK_CHARS"
am: 7166e7823c

* commit '7166e7823cedb817f0278f569940aa86f424aa3b':
  libbinder: Don't redefine B_PACK_CHARS

8 years agoMerge "libbinder: Don't redefine B_PACK_CHARS"
Christopher Wiley [Sat, 5 Dec 2015 00:15:12 +0000 (00:15 +0000)]
Merge "libbinder: Don't redefine B_PACK_CHARS"

8 years agolibbinder: Don't redefine B_PACK_CHARS
Christopher Wiley [Fri, 4 Dec 2015 22:15:27 +0000 (14:15 -0800)]
libbinder: Don't redefine B_PACK_CHARS

This macro is defined in linux/binder.h which is *sometimes* included
before binder/IBinder.h depending on codepath.

Bug: 25868260
Test: Compiles

Change-Id: Ied1e6658936668c16cbdacab3a3205107c907655

8 years agoTrack rename from base/ to android-base/.
Elliott Hughes [Fri, 4 Dec 2015 23:39:32 +0000 (15:39 -0800)]
Track rename from base/ to android-base/.

Change-Id: I62c18891ffe319d20ff084f5ca2aa0c038c23cd3

8 years agoMerge "DO NOT MERGE: add support for new sched tracepoint" into mnc-dr1.5-dev am...
Martijn Coenen [Fri, 4 Dec 2015 22:16:54 +0000 (14:16 -0800)]
Merge "DO NOT MERGE: add support for new sched tracepoint" into mnc-dr1.5-dev am: e902acb2ec
am: 6a6aa6f855

* commit '6a6aa6f855dd8624d830423edd2e4582e54dcc97':
  DO NOT MERGE: add support for new sched tracepoint

8 years agoMerge "DO NOT MERGE: add support for new sched tracepoint" into mnc-dr1.5-dev
Martijn Coenen [Fri, 4 Dec 2015 09:34:50 +0000 (01:34 -0800)]
Merge "DO NOT MERGE: add support for new sched tracepoint" into mnc-dr1.5-dev
am: e902acb2ec

* commit 'e902acb2ec74bc1b3cbf2359283e3bd9eccd88e9':
  DO NOT MERGE: add support for new sched tracepoint

8 years agoMerge "DO NOT MERGE: add support for new sched tracepoint" into mnc-dr1.5-dev
Martijn Coenen [Fri, 4 Dec 2015 09:31:34 +0000 (09:31 +0000)]
Merge "DO NOT MERGE: add support for new sched tracepoint" into mnc-dr1.5-dev

8 years agoMerge "libbinder: Handle transaction failures correctly" am: 823fa55aec
Christopher Wiley [Thu, 3 Dec 2015 21:26:58 +0000 (21:26 +0000)]
Merge "libbinder: Handle transaction failures correctly" am: 823fa55aec
am: 302abd03b6

* commit '302abd03b6db600c41b353213002ba552b3e0097':
  libbinder: Handle transaction failures correctly

8 years agoMerge "libbinder: Handle transaction failures correctly"
Christopher Wiley [Thu, 3 Dec 2015 21:21:21 +0000 (21:21 +0000)]
Merge "libbinder: Handle transaction failures correctly"
am: 823fa55aec

* commit '823fa55aec55684605e6f4c764ec20901066553c':
  libbinder: Handle transaction failures correctly

8 years agoMerge "libbinder: Handle transaction failures correctly"
Christopher Wiley [Thu, 3 Dec 2015 21:17:42 +0000 (21:17 +0000)]
Merge "libbinder: Handle transaction failures correctly"

8 years agolibbinder: Handle transaction failures correctly
Christopher Wiley [Mon, 23 Nov 2015 00:29:58 +0000 (16:29 -0800)]
libbinder: Handle transaction failures correctly

Java code expects status_t != OK to be caught at the JNI level in
android_util_Binder.cpp (see signalExceptionForError).  We were
incorrectly mapping this kind of failure to a special exception type
and writing that exception type to parcels.

Instead, refuse to write EX_TRANSACTION_FAILED to a parcel and return
the status value instead.

While here, remove non-trivial constructors to push authors toward the
more explicit factory methods.  Remove getException() and push authors
toward using the simpler getter methods. Fix minor camelCase issues.

Bug: 25615695
Test: system/tools/aidl integration tests still pass

Change-Id: I7cad3ac8ae8300b5ac0b466606f4934d01e503c5

8 years agoMerge "bug#460672 framebuffer surface can\'t keep triple buffer if define NUM_FRAMEBU...
Dan Stoza [Wed, 2 Dec 2015 18:37:54 +0000 (18:37 +0000)]
Merge "bug#460672 framebuffer surface can\'t keep triple buffer if define NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3" am: b2e3095a60
am: 46f8beb07f

* commit '46f8beb07fe2fa28b1c216485b91b894a1c8625b':
  bug#460672 framebuffer surface can't keep triple buffer if define NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3

8 years agoMerge "bug#460672 framebuffer surface can\'t keep triple buffer if define NUM_FRAMEBU...
Dan Stoza [Wed, 2 Dec 2015 18:34:06 +0000 (18:34 +0000)]
Merge "bug#460672 framebuffer surface can\'t keep triple buffer if define NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3"
am: b2e3095a60

* commit 'b2e3095a604e16d5d80d1e3d38bb92a6c37bd127':
  bug#460672 framebuffer surface can't keep triple buffer if define NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3

8 years agoMerge "bug#460672 framebuffer surface can't keep triple buffer if define NUM_FRAMEBUF...
Dan Stoza [Wed, 2 Dec 2015 18:27:05 +0000 (18:27 +0000)]
Merge "bug#460672 framebuffer surface can't keep triple buffer if define NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3"

8 years agobug#460672 framebuffer surface can't keep triple buffer if define NUM_FRAMEBUFFER_SUR...
james.zhang [Tue, 1 Dec 2015 09:55:11 +0000 (17:55 +0800)]
bug#460672 framebuffer surface can't keep triple buffer if define NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3

[root cause  ] framebuffer surface is in the same process of surface flinger
[changes     ] call IGraphicBufferProducer::allocateBuffers on producer inside the DisplayDevice constructor to force-allocate all three buffers.
[side effects] none
[self test   ]<tshark, enter and exit mainmenu>: ok
[reviewers   ] zhongjun.chen
[change_type ] AOB --> google_original
[tag_product ] common

Change-Id: Ideb75d3aa1ed23b2fa4d263a120ea3ca39d01361

8 years agoRevert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data" am: 8c3e55f...
Ben Fennema [Wed, 2 Dec 2015 01:19:39 +0000 (01:19 +0000)]
Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data" am: 8c3e55f414  -s ours am: da3af0896f  -s ours
am: 4c3e4c6f14  -s ours

* commit '4c3e4c6f1494643c60408eaf516791b2f3b1585c':
  Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"

8 years agoRevert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data" am: 8c3e55f...
Ben Fennema [Wed, 2 Dec 2015 01:15:00 +0000 (01:15 +0000)]
Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data" am: 8c3e55f414  -s ours
am: da3af0896f  -s ours

* commit 'da3af0896f8415425b7ca75cd1ec28f31a377a15':
  Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"

8 years agoRevert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
Ben Fennema [Wed, 2 Dec 2015 01:11:29 +0000 (01:11 +0000)]
Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
am: 8c3e55f414  -s ours

* commit '8c3e55f4149deda3ec7c7a67fda81216d5f9af25':
  Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"

8 years agoRevert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
Ben Fennema [Wed, 2 Dec 2015 01:04:40 +0000 (01:04 +0000)]
Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"

This reverts commit d4db70a7b8b2d136c46c50f89b276f8150be5fc2.

Change-Id: Ifb52d5595970a5178e12c2a90da4aac0e38f5942

8 years agoDO NOT MERGE ANYWHERE Add new interface for sensor physical data am: d4db70a7b8 ...
Jani Suonpera [Wed, 2 Dec 2015 00:33:44 +0000 (00:33 +0000)]
DO NOT MERGE ANYWHERE Add new interface for sensor physical data am: d4db70a7b8  -s ours am: 37f1300ffc  -s ours
am: e51ffd15e9  -s ours

* commit 'e51ffd15e918543edf255d96822a0d371895feda':
  DO NOT MERGE ANYWHERE Add new interface for sensor physical data

8 years agoDO NOT MERGE ANYWHERE Add new interface for sensor physical data am: d4db70a7b8 ...
Jani Suonpera [Wed, 2 Dec 2015 00:29:43 +0000 (00:29 +0000)]
DO NOT MERGE ANYWHERE Add new interface for sensor physical data am: d4db70a7b8  -s ours
am: 37f1300ffc  -s ours

* commit '37f1300ffc5a8712cbfc76910b9cfb3308dd75ca':
  DO NOT MERGE ANYWHERE Add new interface for sensor physical data

8 years agoDO NOT MERGE ANYWHERE Add new interface for sensor physical data
Jani Suonpera [Wed, 2 Dec 2015 00:25:47 +0000 (00:25 +0000)]
DO NOT MERGE ANYWHERE Add new interface for sensor physical data
am: d4db70a7b8  -s ours

* commit 'd4db70a7b8b2d136c46c50f89b276f8150be5fc2':
  DO NOT MERGE ANYWHERE Add new interface for sensor physical data

8 years agoDO NOT MERGE ANYWHERE Add new interface for sensor physical data
Jani Suonpera [Fri, 9 Oct 2015 08:45:57 +0000 (11:45 +0300)]
DO NOT MERGE ANYWHERE Add new interface for sensor physical data

This is special solution only for emerald branch.

Changes including new const char* value/interface for sensor physical data. Sensor service and manager does not take care of content, structure or other
details of string. Sensor HAL is taking care of parsing data from string and setting values to Sensor HW.

Change-Id: I3abc3ddc7c6adc4b32a40b9a43f2a94c5af7b2b0
Signed-off-by: Ben Fennema <fennema@google.com>
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 agoDO NOT MERGE: add support for new sched tracepoint
Tim Murray [Mon, 30 Nov 2015 18:59:55 +0000 (10:59 -0800)]
DO NOT MERGE: add support for new sched tracepoint

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

bug 23350688

Change-Id: I9ee5b6904c27bcb5bd67c86fda66d45d0a3c0999

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 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 agoatrace: add database tag
Greg Hackmann [Mon, 1 Dec 2014 22:43:34 +0000 (14:43 -0800)]
atrace: add database tag

Change-Id: I96acc1afa8d2eeac5585ee482d3f35716da49950
Signed-off-by: Greg Hackmann <ghackmann@google.com>
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
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 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 [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 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 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