Commit Graph

39227 Commits

Author SHA1 Message Date
Justin Yun 9c378b0e37 Merge "Do not append VNDK version if VNDK is not used"
am: 4d281880e0

Change-Id: Icdabede4ffa6a963b79460358266ae0c230d6fc1
2018-01-10 23:44:30 +00:00
Treehugger Robot 4d281880e0 Merge "Do not append VNDK version if VNDK is not used" 2018-01-10 23:30:47 +00:00
Justin Yun dd16301bab Do not append VNDK version if VNDK is not used
If BOARD_VNDK_VERSION is not defined, ro.vndk.version will not be
set. In this case, the device, is not able to use versioned
configuration files.
Check BOARD_VNDK_VERSION to append the VNDK version to the namespace
configuration files.

Bug: 71730104
Test: Check boot on both 2016 and 2017 Pixel devices.
Change-Id: I1df27c75de42a526768a156387f22a934cda6d72
2018-01-11 08:29:54 +09:00
Vasily Tarasov 713f289dd0 Adding per-method clang thread safety annotations
Change-Id: Ic92702a06570f48bf3616e0ee959a49e1eec393c
2018-01-10 12:25:32 -08:00
Tom Cherry 91094e06ce Reland: Add getprop to toolbox
Add a non-toybox version of getprop, so that we can interface with the
new C++ PropertyInfoAreaFile class to return property context
information.

Bug: 36001741
Test: Compared toolbox getprop results with toybox getprop
Change-Id: I4e90aa5b843cb5cfcbe85f05f23ae8e22729b26e
2018-01-10 11:26:24 -08:00
Tom Cherry e575b4830c Merge "Add toolbox to vendor"
am: ea4c7d5727

Change-Id: I62f3796b693faa5c1bc8dfb70c04a176fa3611f6
2018-01-10 18:19:36 +00:00
Tom Cherry ea4c7d5727 Merge "Add toolbox to vendor" 2018-01-10 18:14:17 +00:00
Yi Jin e3decc326b Merge "Add AID_STATSD and AID_INCIDENTD for statsd/incidentd daemons."
am: e0fc36c47b

Change-Id: I6e90afed40653af01c602b37f03f741fe8f35e39
2018-01-10 02:55:52 +00:00
Elliott Hughes 867c944982 Merge "Just check in tools.h."
am: 5edeadb53b

Change-Id: I2e47504d60f963f994c6486b031a3d9c9588cb0e
2018-01-10 02:52:31 +00:00
Treehugger Robot e0fc36c47b Merge "Add AID_STATSD and AID_INCIDENTD for statsd/incidentd daemons." 2018-01-10 02:51:19 +00:00
Elliott Hughes 5edeadb53b Merge "Just check in tools.h." 2018-01-10 02:45:37 +00:00
Elliott Hughes 5cae04313e Merge "Remove obsolete workaround."
am: 3553883418

Change-Id: I2646df37a75e49fb296799ff085339399c7c2084
2018-01-10 01:39:14 +00:00
Treehugger Robot 3553883418 Merge "Remove obsolete workaround." 2018-01-10 01:29:50 +00:00
Tom Cherry aaf0c0a0c8 Merge "Properties: remove sanitizers"
am: 85abdb5df7

Change-Id: I6ea3798c9f05827644e8a697498739edcb3ab57c
2018-01-10 00:02:25 +00:00
Treehugger Robot 85abdb5df7 Merge "Properties: remove sanitizers" 2018-01-09 23:55:04 +00:00
Elliott Hughes 07f868c884 Merge "Add __attribute__((__format__)) to fastboot's die()."
am: d1f0687fe9

Change-Id: I34d7df8401af08e4e69438585dc584254ff0d47a
2018-01-09 23:24:30 +00:00
Treehugger Robot d1f0687fe9 Merge "Add __attribute__((__format__)) to fastboot's die()." 2018-01-09 23:18:39 +00:00
Elliott Hughes 4e4ab4ae72 Just check in tools.h.
Bug: N/A
Test: builds
Change-Id: Ia08465799854a85da59c9fb9f5448aab11f81887
2018-01-09 14:55:36 -08:00
Elliott Hughes 1f3ac7583f Remove obsolete workaround.
Bug: http://b/24465209
Test: manually ran the app.
Change-Id: I573d2480c70632b100096ba6b2029bfc335595d6
2018-01-09 14:43:00 -08:00
Yi Jin 31b506679b Add AID_STATSD and AID_INCIDENTD for statsd/incidentd daemons.
Test: manual
Change-Id: Id798519c3b0116529fc698e6b316a1c6b1c293ca
2018-01-09 14:17:50 -08:00
Siarhei Vishniakou 31209d7ada Merge "Allow input system access to /dev/v4l-touch"
am: f6363989f4

Change-Id: I1e785df69dc2126674478326b86101b5439802a0
2018-01-09 21:56:18 +00:00
Treehugger Robot f6363989f4 Merge "Allow input system access to /dev/v4l-touch" 2018-01-09 21:45:52 +00:00
Tom Cherry 106a0d3266 Properties: remove sanitizers
These are broken on OS X and host linux with the latest clang, so time
to disable this across the board before we hit even more unexpected
breakages.

Test: Boot bullhead
Change-Id: I405f5d96675d20f325853ee29049d80eb009bbd8
2018-01-09 21:45:47 +00:00
Tom Cherry 6fb3dcaa5f Add toolbox to vendor
In preparation for adding getprop to toolbox

Test: toolbox is present in vendor
Change-Id: I8f2f7f8359902e84c14cc0c4adf349475d1d7aa7
2018-01-09 13:21:01 -08:00
Josh Gao 77b6270194 Merge "adb/fastboot: switch over to shared AdbWinApi."
am: ef213b6d5b

Change-Id: I4d49fe6c8eb67f8301fb30916249fd8243b8d47a
2018-01-09 19:57:08 +00:00
Treehugger Robot ef213b6d5b Merge "adb/fastboot: switch over to shared AdbWinApi." 2018-01-09 19:49:23 +00:00
Elliott Hughes 3d7fa22164 Add __attribute__((__format__)) to fastboot's die().
Also make the <android-base/stringprintf.h> macro less likely to collide.

Bug: N/A
Test: builds
Change-Id: I868a0a0002c9c53c1ec0670153df2af5f48fd969
2018-01-09 11:18:10 -08:00
Elliott Hughes da2f629bcd Merge "fastboot: fix log print type mismatch"
am: a1e27d342e

Change-Id: Icb0d38f5383529a97bac67bacc33ceafb0b7b7e6
2018-01-09 19:03:59 +00:00
Elliott Hughes a1e27d342e Merge "fastboot: fix log print type mismatch" 2018-01-09 18:59:07 +00:00
Luis Hector Chavez 91bfcbe31e Merge "libcutils: Stop checking the uid of netlink messages"
am: f008571a4f

Change-Id: Ia0dc17a8c22a32c99997063740511eb18b091b45
2018-01-09 17:42:21 +00:00
Treehugger Robot f008571a4f Merge "libcutils: Stop checking the uid of netlink messages" 2018-01-09 17:35:31 +00:00
Benoit Lamarche ea66b5520e Merge "Revert "Add getprop to toolbox""
am: fde1cee92e

Change-Id: I26fd811738d02b69e3105458d0bdab88bf7c0b5d
2018-01-09 15:10:11 +00:00
Benoit Lamarche fde1cee92e Merge "Revert "Add getprop to toolbox"" 2018-01-09 15:06:07 +00:00
Tom Cherry e69ba761a3 Revert "Add getprop to toolbox"
This reverts commit c73497e17a.

Change-Id: Id6b84c86781a6ad7b675c10f142c3daa4117ec46
2018-01-09 15:53:00 +01:00
Bowgo Tsai 36cf353ffb sepolicy: renames nonplat_* to vendor_*
Also fallbacks to nonplat_* if it doesn't exists.

Bug: 64240127
Bug: 70279378
Test: boot bullhead and sailfish
Change-Id: I372b42a3c559ae0f9602163699eaef4df148467b
2018-01-09 18:47:12 +08:00
Justin Yun 7b7339d339 Merge "Removed unused part in ld.config.txt.in"
am: 8fa3e72846

Change-Id: I2cdaeccbd9d313bce1a473badd96f55eda2821c5
2018-01-09 08:14:15 +00:00
Treehugger Robot 8fa3e72846 Merge "Removed unused part in ld.config.txt.in" 2018-01-09 08:10:38 +00:00
Dan Willemsen 0b3e2d4499 Merge "Convert toolbox to Android.bp"
am: 603826f857

Change-Id: I430509d1541fc3f6cd91f3200a8a26c6025bf1b8
2018-01-09 06:07:49 +00:00
Treehugger Robot 603826f857 Merge "Convert toolbox to Android.bp" 2018-01-09 06:01:26 +00:00
Justin Yun 939f06b429 Removed unused part in ld.config.txt.in
In the namespace with "isolated = false", "permitted.paths" is not
used.

Bug: 71727966
Test: walleye device boot
Change-Id: I6f624be3c4e2c4070bb784632d0757408ec12db0
2018-01-09 14:13:40 +09:00
Changrong Jin e69917c59c fastboot: fix log print type mismatch
Test: mma -j8
Change-Id: I8b4373f4a044b802fc9f1dd4f998e880f7843b4a
2018-01-09 11:29:54 +08:00
Josh Gao b0449da977 adb/fastboot: switch over to shared AdbWinApi.
Bug: http://b/71721338
Test: manually ran adb/fastboot on windows
Change-Id: I9fee6ea4c0e07cbeb69a48e456161832a5994e7b
2018-01-08 16:45:30 -08:00
James Hawkins 14079b588c Merge "bootstat: Add more boot reasons."
am: b91021a2a8

Change-Id: Idf7367b6a5bd099b19f811a015a59fc334902b24
2018-01-09 00:10:18 +00:00
Treehugger Robot b91021a2a8 Merge "bootstat: Add more boot reasons." 2018-01-09 00:03:22 +00:00
Steve Paik 492fb091d8 Merge "Fix logging in libsuspend"
am: ac4f4721a0

Change-Id: I49c2de04f7388153be81d71b25c83c17295968b8
2018-01-08 23:38:18 +00:00
Luis Hector Chavez 66fa613dbb Merge "debuggerd_handler: set PR_SET_PTRACER before running crash_dump."
am: be10cae468

Change-Id: Id3920fc76909b7659034a33542d864fa62b92376
2018-01-08 23:37:43 +00:00
Treehugger Robot ac4f4721a0 Merge "Fix logging in libsuspend" 2018-01-08 23:32:26 +00:00
Treehugger Robot be10cae468 Merge "debuggerd_handler: set PR_SET_PTRACER before running crash_dump." 2018-01-08 23:32:22 +00:00
Dan Willemsen a852f95b53 Convert toolbox to Android.bp
This drops the *TOOLS automated logic, though since there are only
three tools now, that seems less important. It would have been possible
to implement that logic in a Go plugin, but that seems like a lot of
overkill to fix a few duplicated entries.

See build/soong/README.md for more information.

Test: mmma system/core/toolbox
Test: List of installed files is the same
Test: input.h-labels.h and tools.h are the same
Change-Id: I9753083c3f689e689e40001b998b39ad20509598
2018-01-08 15:03:21 -08:00
Tom Cherry 413f5138dd Merge "Add getprop to toolbox"
am: acaeeeed73

Change-Id: I7f716eb136b6f19b3d8c18e13904e68d2a3d1392
2018-01-08 22:37:13 +00:00