OSDN Git Service

android-x86/system-extras.git
7 years agoExport libsquashfs_utils include path in the library. am: f0b1f9f23f
Alex Deymo [Thu, 12 Jan 2017 21:33:07 +0000 (21:33 +0000)]
Export libsquashfs_utils include path in the library. am: f0b1f9f23f
am: fa183f41b3

Change-Id: I5ed76cb861dd04631801575d8b73b81358c12ce8

7 years agoRemove "_host" suffix from libsquashfs_utils. am: 992dab285f
Alex Deymo [Thu, 12 Jan 2017 21:33:05 +0000 (21:33 +0000)]
Remove "_host" suffix from libsquashfs_utils. am: 992dab285f
am: e145c1e8f2

Change-Id: I57bb3e11653ade4a6fca7d2bf47ae126f88de1c7

7 years agoRemove "_host" and "_static" suffix from libsparse. am: f417a8d230
Alex Deymo [Thu, 12 Jan 2017 21:33:02 +0000 (21:33 +0000)]
Remove "_host" and "_static" suffix from libsparse. am: f417a8d230
am: b00a038d73

Change-Id: Ia83e006e94f5b44f45be3f4bc7b3244a6d10e5a0

7 years agoRemove "_static" and "_host" suffix from libext4_utils definitions. am: b611070c14
Alex Deymo [Thu, 12 Jan 2017 21:33:00 +0000 (21:33 +0000)]
Remove "_static" and "_host" suffix from libext4_utils definitions. am: b611070c14
am: 60978bf884

Change-Id: I13e3547ad633ee736c5e0e33e94257c442a47e65

7 years agoRemove "_host" suffix from libfec_rs. am: ae12268ee1
Alex Deymo [Thu, 12 Jan 2017 21:32:57 +0000 (21:32 +0000)]
Remove "_host" suffix from libfec_rs. am: ae12268ee1
am: bbb970be06

Change-Id: I47361aa98f4f23624c93176051879f3beebf5dc4

7 years agoExport libsquashfs_utils include path in the library.
Alex Deymo [Thu, 12 Jan 2017 21:28:02 +0000 (21:28 +0000)]
Export libsquashfs_utils include path in the library.
am: f0b1f9f23f

Change-Id: Ia93dfa2b3d83a87068ecb8f83331811af746ef36

7 years agoRemove "_host" suffix from libsquashfs_utils.
Alex Deymo [Thu, 12 Jan 2017 21:28:00 +0000 (21:28 +0000)]
Remove "_host" suffix from libsquashfs_utils.
am: 992dab285f

Change-Id: I34712bf9c6ccc52380e35b7cba9ecde60bf87bbb

7 years agoRemove "_host" and "_static" suffix from libsparse.
Alex Deymo [Thu, 12 Jan 2017 21:27:58 +0000 (21:27 +0000)]
Remove "_host" and "_static" suffix from libsparse.
am: f417a8d230

Change-Id: Idf5d65658da5776eddea4a59ff3f441576bb2e83

7 years agoRemove "_static" and "_host" suffix from libext4_utils definitions.
Alex Deymo [Thu, 12 Jan 2017 21:27:57 +0000 (21:27 +0000)]
Remove "_static" and "_host" suffix from libext4_utils definitions.
am: b611070c14

Change-Id: Ia11b07484b2f9ce5123480c66a7f7bd479c0915b

7 years agoRemove "_host" suffix from libfec_rs.
Alex Deymo [Thu, 12 Jan 2017 21:27:55 +0000 (21:27 +0000)]
Remove "_host" suffix from libfec_rs.
am: ae12268ee1

Change-Id: I837b363a922cc0642a6bdd77114b1e2ed1b6eb8b

7 years agoExport libsquashfs_utils include path in the library.
Alex Deymo [Wed, 11 Jan 2017 23:14:51 +0000 (15:14 -0800)]
Export libsquashfs_utils include path in the library.

When using the libsquashfs_utils we need to include its only header, so
exposing the include path for this library avoids repeating the path
when using it. This patch also removes the include path from the only
call site (libfec).

Bug: None.
Change-Id: I82380b89652f758e4f33a0dc90650b04223c0940

7 years agoRemove "_host" suffix from libsquashfs_utils.
Alex Deymo [Wed, 11 Jan 2017 23:07:36 +0000 (15:07 -0800)]
Remove "_host" suffix from libsquashfs_utils.

Bug: 34220783

Change-Id: I9a140ed7bafdb8342dbdc2c7143a765acb86ecb9

7 years agoRemove "_host" and "_static" suffix from libsparse.
Alex Deymo [Wed, 11 Jan 2017 22:37:14 +0000 (14:37 -0800)]
Remove "_host" and "_static" suffix from libsparse.

Bug: 34220783
Change-Id: I33b2ecafaebe46a45c176d5debe821ec1ecaa25b

7 years agoMerge "liblog: use log/log.h when utilizing ALOG macros" am: 1c10b4ec13
Mark Salyzyn [Thu, 12 Jan 2017 01:00:32 +0000 (01:00 +0000)]
Merge "liblog: use log/log.h when utilizing ALOG macros" am: 1c10b4ec13
am: ab92bfe4dd

Change-Id: I20f3b1798f10a24ef6aaf2ee0b6f8b547c9d50b8

7 years agoMerge "liblog: use log/log.h when utilizing ALOG macros"
Mark Salyzyn [Thu, 12 Jan 2017 00:54:24 +0000 (00:54 +0000)]
Merge "liblog: use log/log.h when utilizing ALOG macros"
am: 1c10b4ec13

Change-Id: Iade249345c27b99cfefdf0552270916302f34ea0

7 years agoMerge "liblog: use log/log.h when utilizing ALOG macros"
Treehugger Robot [Thu, 12 Jan 2017 00:44:06 +0000 (00:44 +0000)]
Merge "liblog: use log/log.h when utilizing ALOG macros"

7 years agoliblog: use log/log.h when utilizing ALOG macros
Mark Salyzyn [Tue, 10 Jan 2017 21:32:49 +0000 (13:32 -0800)]
liblog: use log/log.h when utilizing ALOG macros

Test: compile
Bug: 30465923
Change-Id: I0c8178ef32006e0ec5f3dde7446b5396cf98df77

7 years agoRemove "_static" and "_host" suffix from libext4_utils definitions.
Alex Deymo [Wed, 11 Jan 2017 22:03:51 +0000 (14:03 -0800)]
Remove "_static" and "_host" suffix from libext4_utils definitions.

Bug: 34220783
Change-Id: Ia8da0c96a0384826afd8b089101468ac388d0ca2

7 years agoRemove "_host" suffix from libfec_rs.
Alex Deymo [Wed, 11 Jan 2017 19:30:44 +0000 (11:30 -0800)]
Remove "_host" suffix from libfec_rs.

libfec_rs_host is now renamed to libfec_rs.

Bug: 34220783
Change-Id: I70dd794cbf2ed2f118849371379e424159b312a4

7 years agoMerge "simpleperf: fix synchronization when reading mapped buffer." am: a587ece964
Yabin Cui [Sat, 7 Jan 2017 19:32:37 +0000 (19:32 +0000)]
Merge "simpleperf: fix synchronization when reading mapped buffer." am: a587ece964
am: 04910bdaab

Change-Id: I5418e8a0579eb188d1af9fab7b478fd3361e678b

7 years agoMerge "simpleperf: fix synchronization when reading mapped buffer."
Yabin Cui [Sat, 7 Jan 2017 19:28:06 +0000 (19:28 +0000)]
Merge "simpleperf: fix synchronization when reading mapped buffer."
am: a587ece964

Change-Id: I6f8bca1b8145294adbfad5321a832aa3febf2bb0

7 years agoMerge "simpleperf: fix synchronization when reading mapped buffer."
Yabin Cui [Sat, 7 Jan 2017 19:23:04 +0000 (19:23 +0000)]
Merge "simpleperf: fix synchronization when reading mapped buffer."

7 years agosimpleperf: fix synchronization when reading mapped buffer.
Yabin Cui [Fri, 6 Jan 2017 23:01:42 +0000 (15:01 -0800)]
simpleperf: fix synchronization when reading mapped buffer.

Fixed according to http://lxr.free-electrons.com/source/kernel/events/ring_buffer.c#L61.

Test: run simpleperf_unit_test.

Change-Id: I44486b1630c92de57fb575b502b2d7c798e46e4b

7 years agoMerge "simpleperf: fix annotate.py." am: 9e6a8022f9
Yabin Cui [Fri, 6 Jan 2017 23:09:24 +0000 (23:09 +0000)]
Merge "simpleperf: fix annotate.py." am: 9e6a8022f9
am: 4f519c445a

Change-Id: I5af42f6a7b8536a31eda27cd9609fffc60829555

7 years agoMerge "simpleperf: fix annotate.py."
Yabin Cui [Fri, 6 Jan 2017 23:05:24 +0000 (23:05 +0000)]
Merge "simpleperf: fix annotate.py."
am: 9e6a8022f9

Change-Id: I84a8cec3fa66c348aa6f3fc15541ce56dd66f260

7 years agoMerge "simpleperf: fix annotate.py."
Yabin Cui [Fri, 6 Jan 2017 23:00:35 +0000 (23:00 +0000)]
Merge "simpleperf: fix annotate.py."

7 years agosimpleperf: fix annotate.py.
Yabin Cui [Fri, 6 Jan 2017 20:47:31 +0000 (12:47 -0800)]
simpleperf: fix annotate.py.

Bug: http://b/32834638
Test: run annotate.py.
Change-Id: I18d6985387a68482a589d812109692ee2c30197c

7 years agoMerge "simpleperf: add scripts to sdk build." am: a29ece7f55
Yabin Cui [Fri, 6 Jan 2017 19:41:18 +0000 (19:41 +0000)]
Merge "simpleperf: add scripts to sdk build." am: a29ece7f55
am: e1172ef700

Change-Id: I67fb33497f72bdf3087e2a9f7bd52840f50468b1

7 years agoMerge "simpleperf: add scripts to sdk build."
Yabin Cui [Fri, 6 Jan 2017 19:37:20 +0000 (19:37 +0000)]
Merge "simpleperf: add scripts to sdk build."
am: a29ece7f55

Change-Id: I44993017ae96a2f122e4edc95e7aea7a89bb572e

7 years agoMerge "simpleperf: add scripts to sdk build."
Yabin Cui [Fri, 6 Jan 2017 19:31:53 +0000 (19:31 +0000)]
Merge "simpleperf: add scripts to sdk build."

7 years agosimpleperf: add scripts to sdk build.
Yabin Cui [Fri, 6 Jan 2017 01:58:19 +0000 (17:58 -0800)]
simpleperf: add scripts to sdk build.

Bug: http://b/32834638
Test: make sdk.
Change-Id: Iffc2649dc131c73758db8727912c83c078d92071

7 years agoMerge "simpleperf: update scripts to use binaries in bin/." am: 615135e145
Yabin Cui [Fri, 6 Jan 2017 01:47:49 +0000 (01:47 +0000)]
Merge "simpleperf: update scripts to use binaries in bin/." am: 615135e145
am: 6046606f3e

Change-Id: I3fcd94dd7f4b4c4511463b8e6aba407e1c4c2359

7 years agoMerge "simpleperf: update scripts to use binaries in bin/."
Yabin Cui [Fri, 6 Jan 2017 01:42:48 +0000 (01:42 +0000)]
Merge "simpleperf: update scripts to use binaries in bin/."
am: 615135e145

Change-Id: I8337ba5125698c34a36d37f5455fa06acdf3c957

7 years agoMerge "simpleperf: update scripts to use binaries in bin/."
Yabin Cui [Fri, 6 Jan 2017 01:30:53 +0000 (01:30 +0000)]
Merge "simpleperf: update scripts to use binaries in bin/."

7 years agosimpleperf: update scripts to use binaries in bin/.
Yabin Cui [Thu, 5 Jan 2017 23:44:08 +0000 (15:44 -0800)]
simpleperf: update scripts to use binaries in bin/.

Bug: http://b/32834638
Test: run python scripts like report_sample.py.
Change-Id: Ia37e7b34babe7ba3df88b38ec6e6bc15241f50d8

7 years agoMerge "simpleperf: update simpleperf prebuilts to build 3614643." am: c5775f1239
Yabin Cui [Thu, 5 Jan 2017 23:09:46 +0000 (23:09 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 3614643." am: c5775f1239
am: 8df3424b96

Change-Id: Ie00b60a60f01c73bb8fc280607c1bf0c189da5ec

7 years agoMerge "simpleperf: update simpleperf prebuilts to build 3614643."
Yabin Cui [Thu, 5 Jan 2017 23:05:45 +0000 (23:05 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 3614643."
am: c5775f1239

Change-Id: I913b359c341b5d9b06f6f79b94f8f4980d97f542

7 years agoMerge "simpleperf: update simpleperf prebuilts to build 3614643."
Yabin Cui [Thu, 5 Jan 2017 22:58:33 +0000 (22:58 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 3614643."

7 years agosimpleperf: update simpleperf prebuilts to build 3614643.
Yabin Cui [Thu, 5 Jan 2017 20:01:26 +0000 (12:01 -0800)]
simpleperf: update simpleperf prebuilts to build 3614643.

Taken from branch aosp-master.

Bug: http://b/32834638
Test: None.

Change-Id: I6d456a932f8ab679da4c34f4113dc7414fe29d62

7 years agoMerge "libfec: add large file which larger than 4G operation support" am: 240aba7e8f
wangjiangshao [Thu, 5 Jan 2017 18:35:23 +0000 (18:35 +0000)]
Merge "libfec: add large file which larger than 4G operation support" am: 240aba7e8f
am: 0dda84826c

Change-Id: I9adf2c558fd04c9fec3a4e90f7f2794bd309593a

7 years agoMerge "libfec: add large file which larger than 4G operation support"
wangjiangshao [Thu, 5 Jan 2017 18:32:22 +0000 (18:32 +0000)]
Merge "libfec: add large file which larger than 4G operation support"
am: 240aba7e8f

Change-Id: I2561343c51ecf1e76200a19fc17ac30d3999c0a8

7 years agoMerge "boot control: remove getInterfaceVersion" am: 9aaf345f02
Steven Moreland [Thu, 5 Jan 2017 18:31:56 +0000 (18:31 +0000)]
Merge "boot control: remove getInterfaceVersion" am: 9aaf345f02
am: ac2940eb41

Change-Id: I493de1d3250187005b4e00d34557f20dee04767f

7 years agoMerge "boot control: remove getInterfaceVersion"
Steven Moreland [Thu, 5 Jan 2017 18:28:26 +0000 (18:28 +0000)]
Merge "boot control: remove getInterfaceVersion"
am: 9aaf345f02

Change-Id: I3f45fdfe70796dddab997656b73da7b4ffaab7c4

7 years agoMerge "libfec: add large file which larger than 4G operation support"
Treehugger Robot [Thu, 5 Jan 2017 18:28:05 +0000 (18:28 +0000)]
Merge "libfec: add large file which larger than 4G operation support"

7 years agoMerge "boot control: remove getInterfaceVersion"
Steven Moreland [Thu, 5 Jan 2017 18:24:11 +0000 (18:24 +0000)]
Merge "boot control: remove getInterfaceVersion"

7 years agolibfec: add large file which larger than 4G operation support
wangjiangshao [Fri, 30 Dec 2016 14:57:42 +0000 (22:57 +0800)]
libfec: add large file which larger than 4G operation support

Add _LARGEFILE64_SOURCE to handle large files such as larger than 4G,
fix fec_open cannot open file larger than 4G

Bug: https://code.google.com/p/android/issues/detail?id=231508
Test: tested on Android N devices

Change-Id: I8df81a039cb987f6bde36384bf69e8ab119fd515
Signed-off-by: wangjiangshao <wangjiangshao@xiaomi.com>
7 years agoMerge "Revert "Revert "simpleperf: add binaries in sdk build.""" am: 01efd2baca
Yabin Cui [Wed, 4 Jan 2017 23:20:02 +0000 (23:20 +0000)]
Merge "Revert "Revert "simpleperf: add binaries in sdk build.""" am: 01efd2baca
am: 01355680e6

Change-Id: I0748676a7e0ac84079489417f37f682d839eb232

7 years agoMerge "Revert "Revert "simpleperf: add binaries in sdk build."""
Yabin Cui [Wed, 4 Jan 2017 23:17:03 +0000 (23:17 +0000)]
Merge "Revert "Revert "simpleperf: add binaries in sdk build."""
am: 01efd2baca

Change-Id: Ic67f0f1754ca85d2d398d4e3c61032bb00b381c4

7 years agoMerge "Revert "Revert "simpleperf: add binaries in sdk build."""
Yabin Cui [Wed, 4 Jan 2017 23:12:05 +0000 (23:12 +0000)]
Merge "Revert "Revert "simpleperf: add binaries in sdk build."""

7 years agoRevert "Revert "simpleperf: add binaries in sdk build.""
Yabin Cui [Wed, 4 Jan 2017 21:27:26 +0000 (21:27 +0000)]
Revert "Revert "simpleperf: add binaries in sdk build.""

This reverts commit 266cf44be350c02766e9fe988185caeb224d0769.

And fix error in the original patch.

Bug: http://b/32834638
Test: make x86-sdk and mips-sdk.

Change-Id: Ie9bc21ca461252f54c8f443747c8d9d1b5d33c02

7 years agoboot control: remove getInterfaceVersion
Steven Moreland [Wed, 4 Jan 2017 21:00:07 +0000 (13:00 -0800)]
boot control: remove getInterfaceVersion

getInterfaceVersion doesn't provide any information and is being
removed. I've replaced the call with interfaceChain here so that a
better description can be obtained.

Bug: 34041669
Test: compiles
Change-Id: I00e5154e92edf2dd17b3e899b094589642ba3b3e

7 years agoMerge "Revert "simpleperf: add binaries in sdk build."" am: b4cdbd535c
Yabin Cui [Wed, 4 Jan 2017 02:48:41 +0000 (02:48 +0000)]
Merge "Revert "simpleperf: add binaries in sdk build."" am: b4cdbd535c
am: 2f596464fd

Change-Id: I6969919508873bc4065849a70a9436329db603bb

7 years agoMerge "Revert "simpleperf: add binaries in sdk build.""
Yabin Cui [Wed, 4 Jan 2017 02:46:39 +0000 (02:46 +0000)]
Merge "Revert "simpleperf: add binaries in sdk build.""
am: b4cdbd535c

Change-Id: I62d6a3c61a9502daeb54c1b970515aa112dcf8ac

7 years agoMerge "Revert "simpleperf: add binaries in sdk build.""
Yabin Cui [Wed, 4 Jan 2017 02:43:11 +0000 (02:43 +0000)]
Merge "Revert "simpleperf: add binaries in sdk build.""

7 years agoRevert "simpleperf: add binaries in sdk build."
Yabin Cui [Wed, 4 Jan 2017 02:41:21 +0000 (02:41 +0000)]
Revert "simpleperf: add binaries in sdk build."

This reverts commit f6bc6f2e59a2f45c0e341be3a994363d99525986.

Change-Id: Ic8a2405372498ef8251bcf4b680408001c164550

7 years agoMerge "simpleperf: add binaries in sdk build." am: 507df68b78
Yabin Cui [Wed, 4 Jan 2017 02:09:46 +0000 (02:09 +0000)]
Merge "simpleperf: add binaries in sdk build." am: 507df68b78
am: a9db82bfe9

Change-Id: Ie87f8e105b4323e3fb0fdfd723735a82d55a80eb

7 years agoMerge "simpleperf: add binaries in sdk build."
Yabin Cui [Wed, 4 Jan 2017 02:07:44 +0000 (02:07 +0000)]
Merge "simpleperf: add binaries in sdk build."
am: 507df68b78

Change-Id: I567466800dcf0fdae7602f1bd13ea530bea4d35a

7 years agoMerge "simpleperf: add binaries in sdk build."
Yabin Cui [Wed, 4 Jan 2017 02:02:26 +0000 (02:02 +0000)]
Merge "simpleperf: add binaries in sdk build."

7 years agosimpleperf: add binaries in sdk build.
Yabin Cui [Mon, 19 Dec 2016 18:28:54 +0000 (10:28 -0800)]
simpleperf: add binaries in sdk build.

Build 32/64 bit simpleperf on target, simpleperf on host,
and libsimpleperf_report.so on host in sdk. So they can
be used in prebuilts/simpleperf.

Bug: http://b/32834638
Test: make sdk and win_sdk manually.

Change-Id: I1e55c9b1596aca3b982dc30422d29d830077289e

7 years agoMerge "Use shared lib of libselinux in runconuid instead of static one." am: 3248ec90dc
Jaekyun Seok [Wed, 28 Dec 2016 01:25:39 +0000 (01:25 +0000)]
Merge "Use shared lib of libselinux in runconuid instead of static one." am: 3248ec90dc
am: a49a613353

Change-Id: I27c9ed3df31418720ffe080eb1f27cb547ded43a

7 years agoMerge "Use shared lib of libselinux in runconuid instead of static one."
Jaekyun Seok [Wed, 28 Dec 2016 01:18:09 +0000 (01:18 +0000)]
Merge "Use shared lib of libselinux in runconuid instead of static one."
am: 3248ec90dc

Change-Id: I18fd202bd200662d2b579d4d10f9a4fbde7254ae

7 years agoMerge "Use shared lib of libselinux in runconuid instead of static one."
Treehugger Robot [Wed, 28 Dec 2016 01:07:29 +0000 (01:07 +0000)]
Merge "Use shared lib of libselinux in runconuid instead of static one."

7 years agoMerge "kernel.config: aslr test exception in std:stoll" am: 55f50c6a4c
Mark Salyzyn [Tue, 27 Dec 2016 22:29:29 +0000 (22:29 +0000)]
Merge "kernel.config: aslr test exception in std:stoll" am: 55f50c6a4c
am: dbccaa45b5

Change-Id: I4c83b9c53ae26167696d0aa8114d481a8581848f

7 years agoMerge "kernel.config: aslr test exception in std:stoll"
Mark Salyzyn [Tue, 27 Dec 2016 22:21:59 +0000 (22:21 +0000)]
Merge "kernel.config: aslr test exception in std:stoll"
am: 55f50c6a4c

Change-Id: Ia46be19245b3d9cfd8fa117614fc0a957cd63bbd

7 years agoMerge "kernel.config: aslr test exception in std:stoll"
Treehugger Robot [Tue, 27 Dec 2016 22:14:58 +0000 (22:14 +0000)]
Merge "kernel.config: aslr test exception in std:stoll"

7 years agokernel.config: aslr test exception in std:stoll
Mark Salyzyn [Tue, 27 Dec 2016 20:31:13 +0000 (12:31 -0800)]
kernel.config: aslr test exception in std:stoll

Test: no more exception failures
Bug: 33846158
Change-Id: Iaaa43affae3a42cf5b94bed84ab94197d3d4d2d1

7 years agoMerge "Update for hiding Status from Return<T> object." am: 6bf42db77d
Yifan Hong [Thu, 22 Dec 2016 18:19:15 +0000 (18:19 +0000)]
Merge "Update for hiding Status from Return<T> object." am: 6bf42db77d
am: 495022d1d3

Change-Id: I0801a914c6f2c902a52b528eb650578853f853a1

7 years agoMerge "Update for hiding Status from Return<T> object."
Yifan Hong [Thu, 22 Dec 2016 18:16:19 +0000 (18:16 +0000)]
Merge "Update for hiding Status from Return<T> object."
am: 6bf42db77d

Change-Id: I3182b9170f826a9757e0c92b2a63d3f4a7b457d9

7 years agoMerge "Update for hiding Status from Return<T> object."
Yifan Hong [Thu, 22 Dec 2016 18:04:15 +0000 (18:04 +0000)]
Merge "Update for hiding Status from Return<T> object."

7 years agoUse shared lib of libselinux in runconuid instead of static one.
Jaekyun Seok [Wed, 21 Dec 2016 05:23:09 +0000 (14:23 +0900)]
Use shared lib of libselinux in runconuid instead of static one.

libselinux is being used as shared lib by many other modules.
So using its shared lib will reduce total image size.

Size diff on angler build image is as follows.

runconuid: 19912 -> 11256 (-8656)

Test: building succeeded, and the image was tested on angler.
Bug: 33056637
Change-Id: I6272486fdacef06c30d25f1718651757d873eb1b

7 years agoUpdate for hiding Status from Return<T> object.
Yifan Hong [Wed, 21 Dec 2016 01:34:36 +0000 (17:34 -0800)]
Update for hiding Status from Return<T> object.

Bug: 31348667

Test: compiles
Change-Id: I31eb72e4e18dca68255a36915fcc980c928936d7

7 years agoMerge "Add system/extras/Android.bp" am: 3a1544a877
Dan Willemsen [Tue, 20 Dec 2016 20:42:09 +0000 (20:42 +0000)]
Merge "Add system/extras/Android.bp" am: 3a1544a877
am: 3ba28b0083

Change-Id: I8a178dd5c5d119a94f9655ab89d80f0f58e68aeb

7 years agoMerge "Add system/extras/Android.bp"
Dan Willemsen [Tue, 20 Dec 2016 20:33:25 +0000 (20:33 +0000)]
Merge "Add system/extras/Android.bp"
am: 3a1544a877

Change-Id: I7c8be2c5c42c7b175c409a3ae3fd0d94833ecb79

7 years agoMerge "Add system/extras/Android.bp"
Treehugger Robot [Tue, 20 Dec 2016 20:25:08 +0000 (20:25 +0000)]
Merge "Add system/extras/Android.bp"

7 years agoAdd system/extras/Android.bp
Dan Willemsen [Tue, 20 Dec 2016 18:51:52 +0000 (10:51 -0800)]
Add system/extras/Android.bp

Test: Soong's build.ninja identical before/after (except GlobRules)
Change-Id: I541c6bd662bdddbeac6ca6a3ec517e09444fb232

7 years agobuild_verity_metadata: Support --signer_args argument. am: 4506252918
Tao Bao [Sat, 17 Dec 2016 02:48:23 +0000 (02:48 +0000)]
build_verity_metadata: Support --signer_args argument. am: 4506252918
am: 28947f4f29  -s ours

Change-Id: Ide195547f3148c6d63c1573806e108d3d384f230

7 years agobuild_verity_metadata: Support --signer_args argument.
Tao Bao [Sat, 17 Dec 2016 02:27:41 +0000 (02:27 +0000)]
build_verity_metadata: Support --signer_args argument.
am: 4506252918

Change-Id: I08c959ab10b087dddf5035e1773fffab261af314

7 years agobuild_verity_metadata: Support --signer_args argument.
Tao Bao [Mon, 17 Oct 2016 23:06:31 +0000 (16:06 -0700)]
build_verity_metadata: Support --signer_args argument.

Use argparse to parse input parameters for future extension.

Add 'build' and 'size' as two sub-commands.
- 'build_verity_metadata.py -s SIZE' becomes
  'build_verity_metadata.py size SIZE'.

- 'build_verity_metadata.py BLOCKS METADATA_IMAGE ...' becomes
  'build_verity_metadata.py build BLOCKS METADATA_IMAGE ...'.

The 'build' command now accepts an optional argument '--signer_args' to
specify signer specific arguments.

Bug: 31500665
Test: Building and signing work w/ and w/o --signer_args.

(cherry picked from commit 39d1756abe66538a6cbdfc4c7b5377ce279e332c)

(cherry picked from commit 1522691d1da02d623bb32619e113954656be39b3)

Change-Id: I4f8f2478458a3a787bd1ba86474330de372458c1

7 years agoMerge "simpleperf: merge dumped symbols with symbols read from file system." am:...
Yabin Cui [Fri, 16 Dec 2016 23:16:23 +0000 (23:16 +0000)]
Merge "simpleperf: merge dumped symbols with symbols read from file system." am: e96bfe150f
am: b0a4a8467a

Change-Id: Ia7d016ea321ff7dfde9583cadf346a7fcb60c3e8

7 years agoMerge "simpleperf: merge dumped symbols with symbols read from file system."
Yabin Cui [Fri, 16 Dec 2016 23:09:23 +0000 (23:09 +0000)]
Merge "simpleperf: merge dumped symbols with symbols read from file system."
am: e96bfe150f

Change-Id: Iae08221fa292cc654de37599102925851b845554

7 years agoMerge "simpleperf: merge dumped symbols with symbols read from file system."
Yabin Cui [Fri, 16 Dec 2016 22:56:28 +0000 (22:56 +0000)]
Merge "simpleperf: merge dumped symbols with symbols read from file system."

7 years agomerge in nyc-mr1-cts-release history after reset to nyc-mr1-dev am: 6727a1e718 am...
Tao Bao [Fri, 16 Dec 2016 22:50:34 +0000 (22:50 +0000)]
merge in nyc-mr1-cts-release history after reset to nyc-mr1-dev am: 6727a1e718 am: 9ac16f1f48
am: 8b3b60cbf9  -s ours

Change-Id: I9f3531f12a1ad1503650a93175bc02b9a9129db7

7 years agomerge in nyc-mr1-release history after reset to nyc-mr1-dev am: 96c347a9b9 am: 627cc3afb3
Alex Light [Fri, 16 Dec 2016 22:37:45 +0000 (22:37 +0000)]
merge in nyc-mr1-release history after reset to nyc-mr1-dev am: 96c347a9b9 am: 627cc3afb3
am: c51d68746c

Change-Id: I28727204b16e0cb6c45a2ab3305fb2913278975c

7 years agomerge in nyc-mr1-cts-release history after reset to nyc-mr1-dev am: 6727a1e718
Tao Bao [Fri, 16 Dec 2016 22:29:30 +0000 (22:29 +0000)]
merge in nyc-mr1-cts-release history after reset to nyc-mr1-dev am: 6727a1e718
am: 9ac16f1f48

Change-Id: I728adaba03fa4c671a8b04471d9f9f9b78aaf532

7 years agomerge in nyc-mr1-release history after reset to nyc-mr1-dev am: 96c347a9b9
Alex Light [Fri, 16 Dec 2016 22:29:22 +0000 (22:29 +0000)]
merge in nyc-mr1-release history after reset to nyc-mr1-dev am: 96c347a9b9
am: 627cc3afb3

Change-Id: Ia68bc020f5eb4a97f0c66bd944f27dc0156d4a6d

7 years agomerge in nyc-mr1-cts-release history after reset to nyc-mr1-dev
Tao Bao [Fri, 16 Dec 2016 22:20:39 +0000 (22:20 +0000)]
merge in nyc-mr1-cts-release history after reset to nyc-mr1-dev
am: 6727a1e718

Change-Id: I257cedf0b05301148604e4bbfe24b95bd5c5d479

7 years agomerge in nyc-mr1-release history after reset to nyc-mr1-dev
Alex Light [Fri, 16 Dec 2016 22:20:28 +0000 (22:20 +0000)]
merge in nyc-mr1-release history after reset to nyc-mr1-dev
am: 96c347a9b9

Change-Id: I9a44b38e4aac14d6c41481ef58637bc873a8f85e

7 years agoMerge "simpleperf: use per process maps." am: c35b5e2d4f
Yabin Cui [Fri, 16 Dec 2016 21:47:07 +0000 (21:47 +0000)]
Merge "simpleperf: use per process maps." am: c35b5e2d4f
am: e594679674

Change-Id: I29d9803bb8f445634f05b1068ad6cc34f2bf6f9b

7 years agoMerge "simpleperf: use per process maps."
Yabin Cui [Fri, 16 Dec 2016 21:39:38 +0000 (21:39 +0000)]
Merge "simpleperf: use per process maps."
am: c35b5e2d4f

Change-Id: I79f2adafd007aaff8f302724083dd165ca3ba975

7 years agoMerge "simpleperf: use per process maps."
Yabin Cui [Fri, 16 Dec 2016 21:27:58 +0000 (21:27 +0000)]
Merge "simpleperf: use per process maps."

7 years agosimpleperf: merge dumped symbols with symbols read from file system.
Yabin Cui [Thu, 15 Dec 2016 20:00:44 +0000 (12:00 -0800)]
simpleperf: merge dumped symbols with symbols read from file system.

Bug: http://b/32340274
Test: run simpleperf_unit_test.
Change-Id: Icb96d4778cf527720b24aed58699da05b29c1bd4

7 years agosimpleperf: use per process maps.
Yabin Cui [Thu, 15 Dec 2016 19:24:03 +0000 (11:24 -0800)]
simpleperf: use per process maps.

Originally we use per thread maps, and copy the maps from parent thread
when processing ForkRecord. But there are situations that ForkRecords
are lost, then the new thread is left having no maps, which leads to unknown
dso/symbols.
To fix this, we can use per process maps. Even if ForkRecords are lost,
we know which process a SampleRecord belongs to, and can use the process maps.
This is reasonable because in most cases, new threads in the same thread group
are created with both CLONE_THREAD and CLONE_VM.

Bug: http://b/33503165
Test: run simpleperf_unit_test.
Change-Id: If84b6cdac39cd6ad4e441ed6d75ed879b86d1830

7 years agoMerge "simpleperf: add script to annotate source code." am: dcfabd1ef6
Yabin Cui [Fri, 16 Dec 2016 19:00:14 +0000 (19:00 +0000)]
Merge "simpleperf: add script to annotate source code." am: dcfabd1ef6
am: 0ef4d4fd5f

Change-Id: I9c06aabee64e37a0776f1caf912b0720f8e122b0

7 years agoMerge "simpleperf: add script to annotate source code."
Yabin Cui [Fri, 16 Dec 2016 18:52:14 +0000 (18:52 +0000)]
Merge "simpleperf: add script to annotate source code."
am: dcfabd1ef6

Change-Id: Ic404aff504bb64e0fa0333e3fd8fed169f6b5980

7 years agoMerge "simpleperf: add script to annotate source code."
Yabin Cui [Fri, 16 Dec 2016 18:39:12 +0000 (18:39 +0000)]
Merge "simpleperf: add script to annotate source code."

7 years agoMerge "Add new ext4 feature flags from kernel." am: d36c1d41ad
Jeff Sharkey [Fri, 16 Dec 2016 05:37:00 +0000 (05:37 +0000)]
Merge "Add new ext4 feature flags from kernel." am: d36c1d41ad
am: 06b26159ac

Change-Id: I4707bc4349446a888b30c8f08fc53ab2da621173

7 years agoMerge "Add new ext4 feature flags from kernel."
Jeff Sharkey [Fri, 16 Dec 2016 05:06:15 +0000 (05:06 +0000)]
Merge "Add new ext4 feature flags from kernel."
am: d36c1d41ad

Change-Id: I4dbc6beeff002b81d61bcab1430e3dff1d9605f8

7 years agoMerge "Add new ext4 feature flags from kernel."
Jeff Sharkey [Fri, 16 Dec 2016 04:56:39 +0000 (04:56 +0000)]
Merge "Add new ext4 feature flags from kernel."

7 years agoAdd new ext4 feature flags from kernel.
Jeff Sharkey [Thu, 15 Dec 2016 23:48:21 +0000 (16:48 -0700)]
Add new ext4 feature flags from kernel.

Test: builds
Bug: 27948817
Change-Id: I74fb403ff6173f475190894104fd8b1b82523fb5

7 years agosimpleperf: add script to annotate source code.
Yabin Cui [Tue, 13 Dec 2016 02:18:07 +0000 (18:18 -0800)]
simpleperf: add script to annotate source code.

Bug: http://b/32834638
Test: run python annotate.py on some apps.
Change-Id: Ib89e80af495ace6239351888db974e8fb5090403