OSDN Git Service

android-x86/frameworks-native.git
7 years agoMerge "Add missing liblog dependency" am: c4dd0c3b83 am: abd9a76f5e am: 924fd128fc
Dimitry Ivanov [Wed, 28 Sep 2016 19:10:28 +0000 (19:10 +0000)]
Merge "Add missing liblog dependency" am: c4dd0c3b83 am: abd9a76f5e am: 924fd128fc
am: db459af95a

Change-Id: If039f91c7e2bf38fee5796be915e53acd9fcb7a6

7 years agoMerge "Add missing liblog dependency" am: c4dd0c3b83 am: abd9a76f5e
Dimitry Ivanov [Wed, 28 Sep 2016 19:07:22 +0000 (19:07 +0000)]
Merge "Add missing liblog dependency" am: c4dd0c3b83 am: abd9a76f5e
am: 924fd128fc

Change-Id: I4ec9bf4e9842e9ca9353532e93b322991db685ca

7 years agoMerge "Add missing liblog dependency" am: c4dd0c3b83
Dimitry Ivanov [Wed, 28 Sep 2016 19:04:22 +0000 (19:04 +0000)]
Merge "Add missing liblog dependency" am: c4dd0c3b83
am: abd9a76f5e

Change-Id: Iff76ef4ef129b4e1e76786998a0cbf9acec08f3b

7 years agoMerge "Add missing liblog dependency"
Dimitry Ivanov [Wed, 28 Sep 2016 19:01:21 +0000 (19:01 +0000)]
Merge "Add missing liblog dependency"
am: c4dd0c3b83

Change-Id: I710f932670b8374e11a19fe96f2a53b622753468

7 years agoMerge "Add missing liblog dependency"
Dimitry Ivanov [Wed, 28 Sep 2016 18:56:35 +0000 (18:56 +0000)]
Merge "Add missing liblog dependency"

7 years agoImproved usage on invalid args.
Felipe Leme [Wed, 28 Sep 2016 16:35:01 +0000 (09:35 -0700)]
Improved usage on invalid args.

BUG: 26379932
Test: manual
Change-Id: I89689fa98ebe8ed112038575a614ea81d821d16e

7 years agoMerge "Include what we use." am: be7fdfc2a1 am: 7e46950b9e am: 2e9f5e36b5
Dan Albert [Wed, 28 Sep 2016 09:02:54 +0000 (09:02 +0000)]
Merge "Include what we use." am: be7fdfc2a1 am: 7e46950b9e am: 2e9f5e36b5
am: d7ac910261

Change-Id: I35d7a8efc586ea634cdcc0fef17a4b656d57fe55

7 years agoMerge "Include what we use." am: be7fdfc2a1 am: 7e46950b9e
Dan Albert [Wed, 28 Sep 2016 08:59:43 +0000 (08:59 +0000)]
Merge "Include what we use." am: be7fdfc2a1 am: 7e46950b9e
am: 2e9f5e36b5

Change-Id: I4b8f70dc86df8eeefb4a246084a87d50500e7632

7 years agoMerge "Include what we use." am: be7fdfc2a1
Dan Albert [Wed, 28 Sep 2016 08:57:12 +0000 (08:57 +0000)]
Merge "Include what we use." am: be7fdfc2a1
am: 7e46950b9e

Change-Id: I898b65a7aafd46fe04dff729307c8a7532053f0c

7 years agoMerge "Include what we use."
Dan Albert [Wed, 28 Sep 2016 08:54:12 +0000 (08:54 +0000)]
Merge "Include what we use."
am: be7fdfc2a1

Change-Id: Ifb6f3d6424dc3f1295a8c50a8773b58410b562d9

7 years agoMerge "Include what we use."
Treehugger Robot [Wed, 28 Sep 2016 08:50:27 +0000 (08:50 +0000)]
Merge "Include what we use."

7 years agoInclude what we use.
Dan Albert [Wed, 28 Sep 2016 07:03:56 +0000 (00:03 -0700)]
Include what we use.

Test: make checkbuild
Bug: None
Change-Id: If803e761c6d7e0c6d043bbcd2ace47f373495db3

7 years agoMerge changes I7748934f,I008ef537,I1027e87f am: 132fb22957 am: ab6e9c8664 am: 0c4994a522
Colin Cross [Wed, 28 Sep 2016 04:11:53 +0000 (04:11 +0000)]
Merge changes I7748934f,I008ef537,I1027e87f am: 132fb22957 am: ab6e9c8664 am: 0c4994a522
am: 10743fa479

Change-Id: Ifc3a992cb07506090f009187eb9a62d393d4cb32

7 years agoFix constructor parameters shadowing member variables am: 382ecd3d63 am: 6c79fc7bec...
Colin Cross [Wed, 28 Sep 2016 04:11:46 +0000 (04:11 +0000)]
Fix constructor parameters shadowing member variables am: 382ecd3d63 am: 6c79fc7bec am: 177b452c8c
am: 3dee7b766a

Change-Id: I0e557029e344ace9c92dd998ae8482b6f7714402

7 years agoUse uint32_t consistently for region op am: 8f279960c6 am: 19bf9a2f27 am: 66b52bae7a
Colin Cross [Wed, 28 Sep 2016 04:11:39 +0000 (04:11 +0000)]
Use uint32_t consistently for region op am: 8f279960c6 am: 19bf9a2f27 am: 66b52bae7a
am: 461b4e449f

Change-Id: Idcb2301afeb7142f54e34545c70e948e3dbcb703

7 years agoFix trailing semicolon warnings am: 17576de056 am: 170ae8a510 am: df1b5a19fd
Colin Cross [Wed, 28 Sep 2016 04:11:31 +0000 (04:11 +0000)]
Fix trailing semicolon warnings am: 17576de056 am: 170ae8a510 am: df1b5a19fd
am: b0300ea6f1

Change-Id: Id0a494fe0f1815225e8ff9e9fdbbd7ed06fb8c58

7 years agoMerge changes I7748934f,I008ef537,I1027e87f am: 132fb22957 am: ab6e9c8664
Colin Cross [Wed, 28 Sep 2016 04:04:18 +0000 (04:04 +0000)]
Merge changes I7748934f,I008ef537,I1027e87f am: 132fb22957 am: ab6e9c8664
am: 0c4994a522

Change-Id: I41d47cf42faa75a2ca48397646be110d141bbdd2

7 years agoFix constructor parameters shadowing member variables am: 382ecd3d63 am: 6c79fc7bec
Colin Cross [Wed, 28 Sep 2016 04:04:10 +0000 (04:04 +0000)]
Fix constructor parameters shadowing member variables am: 382ecd3d63 am: 6c79fc7bec
am: 177b452c8c

Change-Id: I1798f49b90a0431c84711c531706e96783fa6802

7 years agoUse uint32_t consistently for region op am: 8f279960c6 am: 19bf9a2f27
Colin Cross [Wed, 28 Sep 2016 04:04:02 +0000 (04:04 +0000)]
Use uint32_t consistently for region op am: 8f279960c6 am: 19bf9a2f27
am: 66b52bae7a

Change-Id: Ic88d190dd73525e901279bdf80897bd0cace004f

7 years agoFix trailing semicolon warnings am: 17576de056 am: 170ae8a510
Colin Cross [Wed, 28 Sep 2016 04:03:54 +0000 (04:03 +0000)]
Fix trailing semicolon warnings am: 17576de056 am: 170ae8a510
am: df1b5a19fd

Change-Id: I1beb53002656be0ca988c18108d5e9a565a1f707

7 years agoMerge "Migrate libandroid headers to ndk_headers." am: fd9d1fb52b am: c356d61d00...
Dan Albert [Wed, 28 Sep 2016 04:00:43 +0000 (04:00 +0000)]
Merge "Migrate libandroid headers to ndk_headers." am: fd9d1fb52b am: c356d61d00 am: 010e7af396
am: 8da4fb64b7

Change-Id: I42e41cf86a8b276ba721321b1ccb82ebb9e77822

7 years agoMerge changes I7748934f,I008ef537,I1027e87f am: 132fb22957
Colin Cross [Wed, 28 Sep 2016 03:58:45 +0000 (03:58 +0000)]
Merge changes I7748934f,I008ef537,I1027e87f am: 132fb22957
am: ab6e9c8664

Change-Id: I6e45359233ab789375c4493f06135e16a3934299

7 years agoFix constructor parameters shadowing member variables am: 382ecd3d63
Colin Cross [Wed, 28 Sep 2016 03:58:38 +0000 (03:58 +0000)]
Fix constructor parameters shadowing member variables am: 382ecd3d63
am: 6c79fc7bec

Change-Id: I5bf56d1691c20cd7830f309e88f13064837c7ccf

7 years agoUse uint32_t consistently for region op am: 8f279960c6
Colin Cross [Wed, 28 Sep 2016 03:58:31 +0000 (03:58 +0000)]
Use uint32_t consistently for region op am: 8f279960c6
am: 19bf9a2f27

Change-Id: Ia4ed908c51a32ed3ad255b244609983399b7cc44

7 years agoFix trailing semicolon warnings am: 17576de056
Colin Cross [Wed, 28 Sep 2016 03:58:23 +0000 (03:58 +0000)]
Fix trailing semicolon warnings am: 17576de056
am: 170ae8a510

Change-Id: Iad76ba1b19d0e74f98ac217d40fbc1afd09a014d

7 years agoMerge "Migrate libandroid headers to ndk_headers." am: fd9d1fb52b am: c356d61d00
Dan Albert [Wed, 28 Sep 2016 03:52:10 +0000 (03:52 +0000)]
Merge "Migrate libandroid headers to ndk_headers." am: fd9d1fb52b am: c356d61d00
am: 010e7af396

Change-Id: Iff50ea1ca85b1702881203a51f14a0bff09ab2e3

7 years agoMerge changes I7748934f,I008ef537,I1027e87f
Colin Cross [Wed, 28 Sep 2016 03:51:56 +0000 (03:51 +0000)]
Merge changes I7748934f,I008ef537,I1027e87f
am: 132fb22957

Change-Id: Idb0a92939564554becffe4cfa7209f9c220176e6

7 years agoFix constructor parameters shadowing member variables
Colin Cross [Wed, 28 Sep 2016 03:51:55 +0000 (03:51 +0000)]
Fix constructor parameters shadowing member variables
am: 382ecd3d63

Change-Id: I89fc7c1780eab42ab17e028997db2d125f59c2d8

7 years agoUse uint32_t consistently for region op
Colin Cross [Wed, 28 Sep 2016 03:51:37 +0000 (03:51 +0000)]
Use uint32_t consistently for region op
am: 8f279960c6

Change-Id: Ibe726f674fc22ca69cd33242ff0059ac6dd70c48

7 years agoFix trailing semicolon warnings
Colin Cross [Wed, 28 Sep 2016 03:51:27 +0000 (03:51 +0000)]
Fix trailing semicolon warnings
am: 17576de056

Change-Id: I6bb34741553c12225d62fd4fdcde74e14502a15c

7 years agoMerge "Initial work on a Dumpstate class."
TreeHugger Robot [Wed, 28 Sep 2016 03:48:26 +0000 (03:48 +0000)]
Merge "Initial work on a Dumpstate class."

7 years agoMerge "Migrate libandroid headers to ndk_headers." am: fd9d1fb52b
Dan Albert [Wed, 28 Sep 2016 03:43:03 +0000 (03:43 +0000)]
Merge "Migrate libandroid headers to ndk_headers." am: fd9d1fb52b
am: c356d61d00

Change-Id: I39d19a30d34b2c2f13a0be9609972e332a86c014

7 years agoMerge "[sensorservice] Fix inconsistent states in SensorDevice" into cw-f-dev am...
Peng Xu [Wed, 28 Sep 2016 03:39:45 +0000 (03:39 +0000)]
Merge "[sensorservice] Fix inconsistent states in SensorDevice" into cw-f-dev am: 0627130b28
am: 30a47097fe

Change-Id: Ib3dde85ccea2fada1b6afc62e228298d9a520842

7 years ago[sensorservice] Fix inconsistent states in SensorDevice am: 4f707f8b3d
Peng Xu [Wed, 28 Sep 2016 03:39:34 +0000 (03:39 +0000)]
[sensorservice] Fix inconsistent states in SensorDevice am: 4f707f8b3d
am: 86b20dcef4

Change-Id: I3112afafc8a912b459e6be5243396e7ca8c7ba93

7 years agoMerge changes I7748934f,I008ef537,I1027e87f
Colin Cross [Wed, 28 Sep 2016 03:37:50 +0000 (03:37 +0000)]
Merge changes I7748934f,I008ef537,I1027e87f

* changes:
  Fix constructor parameters shadowing member variables
  Use uint32_t consistently for region op
  Fix trailing semicolon warnings

7 years agoMerge "Migrate libandroid headers to ndk_headers."
Dan Albert [Wed, 28 Sep 2016 03:37:33 +0000 (03:37 +0000)]
Merge "Migrate libandroid headers to ndk_headers."
am: fd9d1fb52b

Change-Id: I3762d8549bc449283c874f420d0fa72bda40f244

7 years agoMerge "[sensorservice] Fix inconsistent states in SensorDevice" into cw-f-dev
Peng Xu [Wed, 28 Sep 2016 03:36:53 +0000 (03:36 +0000)]
Merge "[sensorservice] Fix inconsistent states in SensorDevice" into cw-f-dev
am: 0627130b28

Change-Id: Ifa7a7da62d5862a261c491db9c2ed701e18ad59b

7 years ago[sensorservice] Fix inconsistent states in SensorDevice
Peng Xu [Wed, 28 Sep 2016 03:36:52 +0000 (03:36 +0000)]
[sensorservice] Fix inconsistent states in SensorDevice
am: 4f707f8b3d

Change-Id: I1090cee6b4b81e10d0b5bc31ab879b1a3788d407

7 years agoMerge "Migrate libandroid headers to ndk_headers."
Treehugger Robot [Wed, 28 Sep 2016 03:32:56 +0000 (03:32 +0000)]
Merge "Migrate libandroid headers to ndk_headers."

7 years agoMerge "[sensorservice] Fix inconsistent states in SensorDevice" into cw-f-dev
Peng Xu [Wed, 28 Sep 2016 03:31:35 +0000 (03:31 +0000)]
Merge "[sensorservice] Fix inconsistent states in SensorDevice" into cw-f-dev

7 years agoFix constructor parameters shadowing member variables
Colin Cross [Mon, 26 Sep 2016 20:33:59 +0000 (13:33 -0700)]
Fix constructor parameters shadowing member variables

Using the same name for the constructor parameter and the member
variable causes a warning that was being hidden by the use of -isystem
to include frameworks/native/include.  Prefix the parameter with an
underscore.

Bug: 31752268
Test: m -j
Change-Id: I7748934f1e9515176e2ae98d2c0e58d165a7a5c2

7 years agoUse uint32_t consistently for region op
Colin Cross [Mon, 26 Sep 2016 20:08:16 +0000 (13:08 -0700)]
Use uint32_t consistently for region op

An implicit conversion warning was being hidden by the use of -isystem
to include frameworks/native/include.

Bug: 31752268
Test: m -j
Change-Id: I008ef537a24311d58816fae12ef8c4aeaba07547

7 years agoFix trailing semicolon warnings
Colin Cross [Mon, 26 Sep 2016 20:07:06 +0000 (13:07 -0700)]
Fix trailing semicolon warnings

Remove semicolons after inline function definitions.  The warnings were
being hidden by the use of -isystem to include
frameworks/native/include.

Bug: 31752268
Test: m -j
Change-Id: I1027e87f459c36a575cd04b3afb645736832b07b

7 years agoInitial work on a Dumpstate class.
Felipe Leme [Wed, 21 Sep 2016 22:01:39 +0000 (15:01 -0700)]
Initial work on a Dumpstate class.

dumpstate used to be a C binary that had to be "converted" to C++ in
order to use the zip_writer library, but it still keeps most of its C
idioms.

This change is the first step towards a new Dumpstate class; for now, it
just moves the state defined on dumpstate.h to it.

BUG: 26379932
Test: manual / refactored code

Change-Id: Ie689b87c4469a8951c35f3e642d7faa0722b0c03

7 years agoFix dumpsys timeouts.
Felipe Leme [Tue, 27 Sep 2016 16:21:08 +0000 (09:21 -0700)]
Fix dumpsys timeouts.

Both dumpstate and dumpsys can timeout when a child process hangs;
usually these values match, except when running dumpsys to dump all
services, in which case we need a timeout for all services (90s) and
individual timeouts for each service (10s).

BUG: 26379932
Test: manual
Change-Id: I37129ba9980976aa9bfe8eb132cdd0870fd93e59

7 years agoFixed C++ style on refactored function and variable names.
Felipe Leme [Tue, 27 Sep 2016 01:26:11 +0000 (18:26 -0700)]
Fixed C++ style on refactored function and variable names.

As described on
https://google.github.io/styleguide/cppguide.html#Function_Names :

"Ordinarily, functions should start with a capital letter and have a
capital letter for each new word (a.k.a. "upper camel case" or "Pascal
case")."

and

"Data members of classes (but not structs) additionally have trailing underscores. "

BUG: 26379932
Test: manual

Change-Id: I4b7f34b941c99547af667316d4b7d5e2749827d0

7 years agoAdd missing liblog dependency
Dimitry Ivanov [Tue, 27 Sep 2016 16:29:02 +0000 (09:29 -0700)]
Add missing liblog dependency

Bug: http://b/31289077
Bug: http://b/27171986
Test: remove liblog from libcutils and recompile
Change-Id: I01e7a0ca758308b5f85f2a08f34a9671eaa48b10

7 years agoAdd socket dumps via ss to bugreports. am: d3b809baff am: e0e7206725
Lorenzo Colitti [Tue, 27 Sep 2016 13:19:27 +0000 (13:19 +0000)]
Add socket dumps via ss to bugreports. am: d3b809baff am: e0e7206725
am: 4ee346ac2f

Change-Id: Id4ece86507d3ecdfed8b482a2839700114721c2d

7 years agoAdd socket dumps via ss to bugreports. am: d3b809baff
Lorenzo Colitti [Tue, 27 Sep 2016 13:16:56 +0000 (13:16 +0000)]
Add socket dumps via ss to bugreports. am: d3b809baff
am: e0e7206725

Change-Id: I1b1e1b7c4e816e9168eeebcfe089cef6815a1720

7 years agoAdd socket dumps via ss to bugreports.
Lorenzo Colitti [Tue, 27 Sep 2016 13:14:25 +0000 (13:14 +0000)]
Add socket dumps via ss to bugreports.
am: d3b809baff

Change-Id: I85daa9d7faf6cb0067955d235e4f12fe807adf5c

7 years agoMerge "Fixed header on runCommand()."
TreeHugger Robot [Tue, 27 Sep 2016 01:06:57 +0000 (01:06 +0000)]
Merge "Fixed header on runCommand()."

7 years agoMerge "Uses new get/set property functions."
TreeHugger Robot [Tue, 27 Sep 2016 00:39:13 +0000 (00:39 +0000)]
Merge "Uses new get/set property functions."

7 years ago[sensorservice] Fix inconsistent states in SensorDevice
Peng Xu [Mon, 26 Sep 2016 18:28:32 +0000 (11:28 -0700)]
[sensorservice] Fix inconsistent states in SensorDevice

This CL avoids inconsistent disabled client list when sensorservice
is in restricted mode and a restricted sensor event connection is
destroyed.

The inconsistency can cause registerLister error in sensor CTS.

Also removed the additional logging message since they are no longer
necessary.

Bug: 28533594

Test: Running "cts-tradefed run singleCommand cts-dev --module
CtsHardwareTestCases --test android.hardware.cts.SensorBatchingTests"
continuously while keep registering and unregistering sensor listener
in a separate app (e.g. enable BreakIt mode in SensorLogger).

Change-Id: I601aea87c88511f5543a80c4921ee4822cb89dff

7 years agoFixed header on runCommand().
Felipe Leme [Mon, 26 Sep 2016 22:57:04 +0000 (15:57 -0700)]
Fixed header on runCommand().

BUG: 26379932
Fixes: 31755035
Test: manual
Change-Id: I3c1779afee8e0d601a2ed3a227999a87bb5236c7

7 years agoUses new get/set property functions.
Felipe Leme [Mon, 26 Sep 2016 16:21:21 +0000 (09:21 -0700)]
Uses new get/set property functions.

Traditionally, libcutils provided C-based functions (property_get() and
property_set()) to manage system properties, but now it provides C++
counterparts that work with std::string instead.

BUG: 23102347
BUG: 26379932
BUG: 31750617

Test: manual

Change-Id: If2c6f71896682e2d8d10a7d938e0fd83820ea9e9

7 years agoMerge "Add missing liblog dependency" am: b32a59e797 am: f12ea76ef3 am: 2851a53929
Dimitry Ivanov [Mon, 26 Sep 2016 19:15:49 +0000 (19:15 +0000)]
Merge "Add missing liblog dependency" am: b32a59e797 am: f12ea76ef3 am: 2851a53929
am: 2bc204b65b

Change-Id: If8d2fde719a2f9985c8a9748d48503ab96e9c7bf

7 years agoMerge "libgui: add a test for Sensor serialization." am: 01a0c92da0 am: cca7f83210...
David Pursell [Mon, 26 Sep 2016 19:15:36 +0000 (19:15 +0000)]
Merge "libgui: add a test for Sensor serialization." am: 01a0c92da0 am: cca7f83210 am: 36c879bb7a
am: 44c72d265c

Change-Id: Ib56d39f7017b743ebc8cc31ddd99240d0793ea5c

7 years agoMerge commit 'bc06c07ee7677168d71a9c809a8960f39340ff99' into blah
Ajay Panicker [Mon, 26 Sep 2016 19:15:22 +0000 (19:15 +0000)]
Merge commit 'bc06c07ee7677168d71a9c809a8960f39340ff99' into blah
am: 496548f784

Change-Id: Id89d0cadb3f676d4aee989d6e6a60272ff1eb694

7 years agoMerge "Add missing liblog dependency" am: b32a59e797 am: f12ea76ef3
Dimitry Ivanov [Mon, 26 Sep 2016 19:08:58 +0000 (19:08 +0000)]
Merge "Add missing liblog dependency" am: b32a59e797 am: f12ea76ef3
am: 2851a53929

Change-Id: I6ae1d8283de37feec8c2f53af018b1ff470a2786

7 years agoMerge "libgui: add a test for Sensor serialization." am: 01a0c92da0 am: cca7f83210
David Pursell [Mon, 26 Sep 2016 19:08:35 +0000 (19:08 +0000)]
Merge "libgui: add a test for Sensor serialization." am: 01a0c92da0 am: cca7f83210
am: 36c879bb7a

Change-Id: Ifb3fcb554165a0b2ef6de38e0a71898fe84a0526

7 years agoMerge "Use a system property to define extra command-line arguments."
TreeHugger Robot [Mon, 26 Sep 2016 18:33:12 +0000 (18:33 +0000)]
Merge "Use a system property to define extra command-line arguments."

7 years agoUse a system property to define extra command-line arguments.
Felipe Leme [Wed, 21 Sep 2016 17:02:25 +0000 (10:02 -0700)]
Use a system property to define extra command-line arguments.

Currently, we define 4 hardcoded init services to launch dumpstate with
different command-line options (since dumpstate must be launched by
root):

- bugreport
- bugreportplus
- bugreportwear
- bugreportremote

This approach does not scale well; a better option is to have just one
service, and let the framework pass the extra arguments through a system
property.

BUG: 31649719

Test: manual

Change-Id: I537775a7c8ea4ab04dbdaaf2bb2f513cc29f966b

7 years agoAdd socket dumps via ss to bugreports.
Lorenzo Colitti [Mon, 26 Sep 2016 04:37:45 +0000 (13:37 +0900)]
Add socket dumps via ss to bugreports.

Bug: 23113288
Change-Id: I6304425f968fcb22c75c3f6e64bf7992e34e0889

7 years agoMerge "Add missing liblog dependency" am: b32a59e797
Dimitry Ivanov [Sat, 24 Sep 2016 22:19:45 +0000 (22:19 +0000)]
Merge "Add missing liblog dependency" am: b32a59e797
am: f12ea76ef3

Change-Id: I45aaf4f8f9ff72ce0f5ea37f750616abdd3fc138

7 years agoMerge "Add missing liblog dependency"
Dimitry Ivanov [Sat, 24 Sep 2016 22:16:19 +0000 (22:16 +0000)]
Merge "Add missing liblog dependency"
am: b32a59e797

Change-Id: I8ed998f6342914164f89ce8584bca61b8daa4244

7 years agoMerge "Add missing liblog dependency"
Dimitry Ivanov [Sat, 24 Sep 2016 22:07:19 +0000 (22:07 +0000)]
Merge "Add missing liblog dependency"

7 years agoAdd missing liblog dependency
Dimitry Ivanov [Sat, 24 Sep 2016 00:22:33 +0000 (17:22 -0700)]
Add missing liblog dependency

Bug: http://b/31289077
Bug: http://b/27171986
Test: remove liblog from libcutils and recompile
Change-Id: I5d6ded54613e8a29f20495d8f977064f0af2ffd6

7 years agoMerge "libgui: add a test for Sensor serialization." am: 01a0c92da0
David Pursell [Fri, 23 Sep 2016 23:54:04 +0000 (23:54 +0000)]
Merge "libgui: add a test for Sensor serialization." am: 01a0c92da0
am: cca7f83210

Change-Id: Id8e064040f9d3a167bd3501fa16c3b5b4d4721d8

7 years agoMerge "libgui: add a test for Sensor serialization."
David Pursell [Fri, 23 Sep 2016 23:52:03 +0000 (23:52 +0000)]
Merge "libgui: add a test for Sensor serialization."
am: 01a0c92da0

Change-Id: Idac427f7e0fa170b1a70ad274f39994361fa452d

7 years agoMerge "libgui: add a test for Sensor serialization."
Treehugger Robot [Fri, 23 Sep 2016 23:44:11 +0000 (23:44 +0000)]
Merge "libgui: add a test for Sensor serialization."

7 years agoMerge commit 'bc06c07ee7677168d71a9c809a8960f39340ff99' into blah
Ajay Panicker [Fri, 23 Sep 2016 23:43:29 +0000 (16:43 -0700)]
Merge commit 'bc06c07ee7677168d71a9c809a8960f39340ff99' into blah

Change-Id: I6cbd56cd2ee42de56736642e617689c412056e42

7 years agoMerge "Add btsnoop_hci.log to bugreport zip (1/2)" am: d95b2eb2f6
Ajay Panicker [Fri, 23 Sep 2016 23:09:50 +0000 (23:09 +0000)]
Merge "Add btsnoop_hci.log to bugreport zip (1/2)" am: d95b2eb2f6
am: 7821d52b4e

Change-Id: If0666e35c49942a980c538bf02d29010cfe70545

7 years agoMerge "Add btsnoop_hci.log to bugreport zip (1/2)"
Ajay Panicker [Fri, 23 Sep 2016 23:07:50 +0000 (23:07 +0000)]
Merge "Add btsnoop_hci.log to bugreport zip (1/2)"
am: d95b2eb2f6

Change-Id: Ida600de84569296a3c146ca54aba86f9b88a5816

7 years agoMerge "Add btsnoop_hci.log to bugreport zip (1/2)"
Ajay Panicker [Fri, 23 Sep 2016 23:01:16 +0000 (23:01 +0000)]
Merge "Add btsnoop_hci.log to bugreport zip (1/2)"

7 years agoMigrate libandroid headers to ndk_headers.
Dan Albert [Fri, 23 Sep 2016 22:57:45 +0000 (15:57 -0700)]
Migrate libandroid headers to ndk_headers.

Test: make native
Bug: http://b/30465923
Change-Id: I0ef0b3630670241c4efd22515b6ab13eb41a81b3

7 years agoAdd btsnoop_hci.log to bugreport zip (1/2)
Ajay Panicker [Wed, 14 Sep 2016 19:26:46 +0000 (12:26 -0700)]
Add btsnoop_hci.log to bugreport zip (1/2)

Bug: 28672558
Test: Manual
Merged-In: I2995a9fd0e8be031c022ef8f275aae35265ba452
Change-Id: I2995a9fd0e8be031c022ef8f275aae35265ba452

7 years agoAdd btsnoop_hci.log to bugreport zip (1/2)
Ajay Panicker [Wed, 14 Sep 2016 19:26:46 +0000 (12:26 -0700)]
Add btsnoop_hci.log to bugreport zip (1/2)

Bug: 28672558
Test: Manual
Change-Id: I2995a9fd0e8be031c022ef8f275aae35265ba452
(cherry picked from commit efb524693b8b77e6c77f3ebc6b9878caa5aa9715)

7 years agolibgui: add a test for Sensor serialization.
David Pursell [Fri, 23 Sep 2016 16:08:26 +0000 (09:08 -0700)]
libgui: add a test for Sensor serialization.

On a few test boards we've hit a problem with Sensor serialization
causing a SIGBUS due to misaligned access. This is being fixed in
Flattenable.h, but adding a test here to verify the fix and detect
regression seems like a good idea.

Bug: http://b/31671510
Test: adb shell /data/nativetest/libgui_test/libgui_test \
                --gtest_filter=SensorTest.*

Change-Id: I233359b04789dabe2246b95051290e101e0bd2c1

7 years agoMerge "Surface: Allow nullable IGBPs when unparceling a Surface"
TreeHugger Robot [Fri, 23 Sep 2016 05:59:09 +0000 (05:59 +0000)]
Merge "Surface: Allow nullable IGBPs when unparceling a Surface"

7 years agoMerge "binder: Replace use of resize()/memcpy() with reserve()/insert()"
Paul Liétar [Fri, 23 Sep 2016 03:12:48 +0000 (03:12 +0000)]
Merge "binder: Replace use of resize()/memcpy() with reserve()/insert()"

7 years agoMerge "Surface: Add force disconnection method." into nyc-mr1-dev am: 6cc1933af9...
Rob Carr [Fri, 23 Sep 2016 01:44:38 +0000 (01:44 +0000)]
Merge "Surface: Add force disconnection method." into nyc-mr1-dev am: 6cc1933af9 am: a92604b3cd
am: c96faf0ffb

Change-Id: I437a8df1ab65d5d2f480664c0ca537de9f6ad497

7 years agoSurface: Add force disconnection method. am: 97b9c86338 am: 962b13b9be
Robert Carr [Fri, 23 Sep 2016 01:44:26 +0000 (01:44 +0000)]
Surface: Add force disconnection method. am: 97b9c86338 am: 962b13b9be
am: a9d1c1099d

Change-Id: Iea981cfaddd2be6ecdfebbdfadd9d822f17d682f

7 years agoRecursively restorecon when SELinux label changes. am: 993de79607 am: 59d31b669b
Jeff Sharkey [Fri, 23 Sep 2016 01:30:38 +0000 (01:30 +0000)]
Recursively restorecon when SELinux label changes. am: 993de79607 am: 59d31b669b
am: e5eb9cc4ff

Change-Id: Ib7ee3de3ebcb65872d28b26ef9aa14b9a8e98b7d

7 years agoMerge "Dumpstate should hold a wakelock to save bug report time." into cw-f-dev am...
Wei Liu [Fri, 23 Sep 2016 01:30:17 +0000 (01:30 +0000)]
Merge "Dumpstate should hold a wakelock to save bug report time." into cw-f-dev am: 64076bac3f
am: da023f180e

Change-Id: Ibc0b375df6a8cc42689f15bde7ad1112c0140ecc

7 years agoMerge "Surface: Add force disconnection method." into nyc-mr1-dev am: 6cc1933af9
Rob Carr [Thu, 22 Sep 2016 23:34:40 +0000 (23:34 +0000)]
Merge "Surface: Add force disconnection method." into nyc-mr1-dev am: 6cc1933af9
am: a92604b3cd

Change-Id: I791e00bc2584581066f6cda89ea0bda063ba0645

7 years agoSurface: Add force disconnection method. am: 97b9c86338
Robert Carr [Thu, 22 Sep 2016 23:34:27 +0000 (23:34 +0000)]
Surface: Add force disconnection method. am: 97b9c86338
am: 962b13b9be

Change-Id: Ie74482a867c24213a25332650b38c733e183630b

7 years agoRecursively restorecon when SELinux label changes. am: 993de79607
Jeff Sharkey [Thu, 22 Sep 2016 23:32:08 +0000 (23:32 +0000)]
Recursively restorecon when SELinux label changes. am: 993de79607
am: 59d31b669b

Change-Id: I51739d604afa86b993123bd8cc6d46c6743618a2

7 years agoMerge "Surface: Add force disconnection method." into nyc-mr1-dev
Rob Carr [Thu, 22 Sep 2016 23:24:12 +0000 (23:24 +0000)]
Merge "Surface: Add force disconnection method." into nyc-mr1-dev
am: 6cc1933af9

Change-Id: Ice30ea86acd7abfa71c0053dc1459361b4bbfb6c

7 years agoSurface: Add force disconnection method.
Robert Carr [Thu, 22 Sep 2016 23:24:11 +0000 (23:24 +0000)]
Surface: Add force disconnection method.
am: 97b9c86338

Change-Id: Ia9f9dbdcbd9527d54dacb2cdc90eda443230e8d9

7 years agoMerge "resolve merge conflicts of 9795ff6 to master"
TreeHugger Robot [Thu, 22 Sep 2016 22:49:34 +0000 (22:49 +0000)]
Merge "resolve merge conflicts of 9795ff6 to master"

7 years agoRecursively restorecon when SELinux label changes.
Jeff Sharkey [Thu, 22 Sep 2016 22:41:00 +0000 (22:41 +0000)]
Recursively restorecon when SELinux label changes.
am: 993de79607

Change-Id: Ibf9b6beaa58e7e6c2f006e8c6f064330624eb29f

7 years agoMerge "Add binder test for bug 30445380"
Connor O'Brien [Thu, 22 Sep 2016 22:36:38 +0000 (22:36 +0000)]
Merge "Add binder test for bug 30445380"

7 years agoSurface: Allow nullable IGBPs when unparceling a Surface
Eino-Ville Talvala [Thu, 22 Sep 2016 22:04:04 +0000 (15:04 -0700)]
Surface: Allow nullable IGBPs when unparceling a Surface

We will write a null IGBP, so we shouldn't error out when reading one;
leave semantics of that to higher-level code.

Test: No camera crash after lots of front-back camera switches
Bug: 31373143
Change-Id: I5f7cf7489aca721057c5731e3a79cf6f8f260774

7 years agoMerge "Surface: Add force disconnection method." into nyc-mr1-dev
Rob Carr [Thu, 22 Sep 2016 21:17:40 +0000 (21:17 +0000)]
Merge "Surface: Add force disconnection method." into nyc-mr1-dev

7 years agoresolve merge conflicts of 9795ff6 to master
Wei Liu [Thu, 22 Sep 2016 20:34:36 +0000 (13:34 -0700)]
resolve merge conflicts of 9795ff6 to master

Change-Id: I34c069a669ece0fefee18d1e90f53cc68bd74ea9

7 years agoAdd binder test for bug 30445380
Connor O'Brien [Tue, 20 Sep 2016 21:18:08 +0000 (14:18 -0700)]
Add binder test for bug 30445380

Test: Ran on fixed and unfixed kernel.
Change-Id: Ic5c49fde75af7a4606871b07a3f39c0c34824c8b
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoMerge "Dumpstate should hold a wakelock to save bug report time." into cw-f-dev
Wei Liu [Thu, 22 Sep 2016 20:04:16 +0000 (20:04 +0000)]
Merge "Dumpstate should hold a wakelock to save bug report time." into cw-f-dev
am: 64076bac3f

Change-Id: Ia1f4644556e9f5632b5ce23b6379a43a2d1cba1c

7 years agoMerge "Recursively restorecon when SELinux label changes."
TreeHugger Robot [Thu, 22 Sep 2016 19:39:36 +0000 (19:39 +0000)]
Merge "Recursively restorecon when SELinux label changes."

7 years agoDumpstate should hold a wakelock to save bug report time.
Wei Liu [Thu, 22 Sep 2016 19:02:08 +0000 (19:02 +0000)]
Dumpstate should hold a wakelock to save bug report time.
am: f87959e007

Change-Id: I43fe43f8142e3084d69f336414c19a079dfb9ebc

7 years agoMerge "Dumpstate should hold a wakelock to save bug report time." into cw-f-dev
Wei Liu [Thu, 22 Sep 2016 18:37:22 +0000 (18:37 +0000)]
Merge "Dumpstate should hold a wakelock to save bug report time." into cw-f-dev