Commit graph

45323 commits

Author SHA1 Message Date
David Anderson
520aa5bfa1 Merge "Add user/group for gsid."
am: 9747a65380

Change-Id: Ia3d0ddb8997e8c4739cb33c709bb9606e2a518dd
2019-01-30 09:34:17 -08:00
David Anderson
9747a65380 Merge "Add user/group for gsid." 2019-01-30 17:24:05 +00:00
chenbruce
38944bba7f Merge "Add more comments for resolv apex."
am: dd70df2e69

Change-Id: I5416ec379359227bde86b14708cfd7e0f93b6fe0
2019-01-30 06:11:34 -08:00
Treehugger Robot
dd70df2e69 Merge "Add more comments for resolv apex." 2019-01-30 13:56:30 +00:00
chenbruce
d771740030 Add more comments for resolv apex.
Describe the link of resolv apex detailedly.

Bug: 119527674
Test: make; flash; lsof -p $(pidof netd)
Change-Id: I0f6038eb9950c6b862a257d0a6f35f19cb83a328
2019-01-30 17:03:09 +08:00
Lorenzo Colitti
74cfd29cef Merge "Move checksum code from clatd to libnetutils."
am: 4695cf0a4d

Change-Id: I28db7c9312ee371905cc1851b54f673728c01e63
2019-01-30 00:29:09 -08:00
Lorenzo Colitti
4695cf0a4d Merge "Move checksum code from clatd to libnetutils." 2019-01-30 08:19:48 +00:00
Tom Cherry
af8a419e09 Merge "fs_mgr: make changes needed to port vold to new Fstab interface"
am: 6c44d00d79

Change-Id: I3ed2723784298b6866594ce62a7491d2ddbd67a9
2019-01-29 22:42:36 -08:00
Treehugger Robot
6c44d00d79 Merge "fs_mgr: make changes needed to port vold to new Fstab interface" 2019-01-30 06:31:50 +00:00
Tom Cherry
1a815ed324 Merge "Actually add right instant app boilerplate."
am: ea43984478

Change-Id: I0d1453f0b783d3b0108133f73faa994d3e048285
2019-01-29 21:27:07 -08:00
Treehugger Robot
ea43984478 Merge "Actually add right instant app boilerplate." 2019-01-30 05:15:06 +00:00
Suren Baghdasaryan
b9550970ef Merge "libpsi: initial revision"
am: bb405bf986

Change-Id: I7dde222de933f7f52d4d7e09a6d3806d88e23a69
2019-01-29 21:04:17 -08:00
Suren Baghdasaryan
bb405bf986 Merge "libpsi: initial revision" 2019-01-30 04:47:57 +00:00
Tim Murray
eecd7ddfcf libpsi: initial revision
New library to create, register and destroy PSI monitors in a consistent
way with lmkd.

Test: used within lmkd
Bug: 111308141
Change-Id: If243a97f178e90fe41e2de90c7b858ba82440279
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-30 04:47:28 +00:00
Lorenzo Colitti
2e4280dfe1 Move checksum code from clatd to libnetutils.
This allows us to use it elsewhere, for example, in netd.

Bug: 65674744
Test: builds, boots
Test: atest clatd_test clatd_microbenchmark
Change-Id: I262ddd4176dabc3b10758fb0b4eb09643aa4911c
2019-01-30 12:33:29 +09:00
Bowgo Tsai
22854d0548 Merge "libfs_avb: support enable verity for a standalone partition"
am: 30fef71b2c

Change-Id: Iee4bb640a52935bddb12ab0bdeb0740986dce10a
2019-01-29 18:31:06 -08:00
Treehugger Robot
30fef71b2c Merge "libfs_avb: support enable verity for a standalone partition" 2019-01-30 02:25:39 +00:00
David Anderson
8bc2b89ae6 Add user/group for gsid.
Bug: 122556707
Test: manual test
Change-Id: I18e44ff1bbb3c43cfc8f6f2997f9358052ce249b
2019-01-29 17:48:12 -08:00
Tom Cherry
9684bccca1 Merge "init: delete code that sets ro.recovery_id"
am: 8a5943b37d

Change-Id: I75c8cb2193e71388df0f7013bfa1bd2b0fbcaa21
2019-01-29 17:24:42 -08:00
Tom Cherry
3882b509b4 Actually add right instant app boilerplate.
Bug: 123366871
Test: treehugger
Change-Id: Id3d01396efe6afb69dea0e59dd6e1040ba82a1fd
2019-01-29 17:12:35 -08:00
Treehugger Robot
8a5943b37d Merge "init: delete code that sets ro.recovery_id" 2019-01-30 01:11:40 +00:00
Sandeep Patil
94ce79c46a Merge "meminfo: Remove libpagemap dependency"
am: 4d37665330

Change-Id: Ifd5e81ca54f73f1e47c5cf34c56de54e0b41feb4
2019-01-29 17:00:36 -08:00
Treehugger Robot
4d37665330 Merge "meminfo: Remove libpagemap dependency" 2019-01-30 00:54:42 +00:00
Josh Gao
90aadf880d Merge "adb: turn off fastdeploy."
am: 82f0e7dad8

Change-Id: I607cf94404a861e7a985ac668024b17146b2e419
2019-01-29 16:10:32 -08:00
Josh Gao
82f0e7dad8 Merge "adb: turn off fastdeploy." 2019-01-29 23:50:07 +00:00
Christopher Ferris
a2a376964d Merge "Fix bug in unwind_info display of exidx frame."
am: f835ba6b66

Change-Id: If0db919392c6a83ab82fd3845e621f5dfac1f76a
2019-01-29 15:34:32 -08:00
Christopher Ferris
f835ba6b66 Merge "Fix bug in unwind_info display of exidx frame." 2019-01-29 23:13:07 +00:00
Tom Cherry
2e545f8b2f fs_mgr: make changes needed to port vold to new Fstab interface
Particularly, capitulate that GetEntryForMountPoint() would be cleaner
than std::find_if() and update the rest of system/core to use it.

Test: build

Change-Id: I982b5a8552d44852d3ab22c20db83afcd4dd652b
2019-01-29 14:56:49 -08:00
Yifan Hong
e400542192 Merge "healthd: update owners"
am: accdf0e9c7

Change-Id: I2d27a71d80bde0584c703c4f5d8e8d5f60d84163
2019-01-29 14:40:53 -08:00
Treehugger Robot
accdf0e9c7 Merge "healthd: update owners" 2019-01-29 22:24:34 +00:00
Tom Cherry
d6c2feb9fa init: delete code that sets ro.recovery_id
It looks like this code is dead currently.  From history, this was
meant to be used as a way to check that the recovery image is what was
expected during runtime, but that effort never completed, and we have
full verification of the recovery image when booting into recovery
anyway.

The code is functionally dead as is too, since /recovery doesn't
actually exist in any fstab, since recovery is either mounted as a
ramdisk during recovery or not mounted during normal boot.

Test: boot
Change-Id: I48cd324ef0d5a163db2df2648f6042174b83f10e
2019-01-29 21:17:53 +00:00
Tom Cherry
ab7c178fc3 Merge "Add "instant app" boilerplate."
am: 161c439ffb

Change-Id: I22c4043cb4b276aa992c7e18dbdedf66dea9389a
2019-01-29 12:58:29 -08:00
Treehugger Robot
161c439ffb Merge "Add "instant app" boilerplate." 2019-01-29 20:50:07 +00:00
Yifan Hong
c85de61ada Merge "healthd: charger loads resources from /product"
am: 9474063654

Change-Id: Ie720b289fa5ec9f3fdd11fdf02b9d12d71e3ba89
2019-01-29 12:16:55 -08:00
Yifan Hong
9474063654 Merge "healthd: charger loads resources from /product" 2019-01-29 19:57:11 +00:00
Florian Mayer
319f022506 Merge "Allow to move frames out of Unwinder."
am: 9f5e9978c2

Change-Id: I02d888bed24ba754f6b8449676ec7d90ee279f4b
2019-01-29 11:35:12 -08:00
Treehugger Robot
9f5e9978c2 Merge "Allow to move frames out of Unwinder." 2019-01-29 19:23:23 +00:00
Josh Gao
287e442dc4 adb: turn off fastdeploy.
The PDK doesn't have frameworks/base, so having a dependency from adb to
a library in there breaks the build. #ifdef out fastdeploy until we
figure out what we're going to do here, to unbreak the PDK build.

Bug: http://b/118782743
Test: treehugger
Change-Id: I638cf09e5013935e112c7a57dae0e7e94e1a4680
2019-01-29 11:21:15 -08:00
Tom Cherry
d722fbf4b0 Add "instant app" boilerplate.
Bug: 123366871
Test: treehugger
Change-Id: I2963aea53ae96651854bbbcb8e411add5183e523
2019-01-29 08:53:01 -08:00
Bowgo Tsai
defe1cb5e7 libfs_avb: support enable verity for a standalone partition
The following static function has been added into class AvbHandle to
support loading the AVB hashtree descriptor to enable dm-verity for
a FstabEntry.

  static AvbHashtreeResult SetUpStandaloneAvbHashtree(FstabEntry* fstab_entry);

Bug: 112103720
Bug: 117960205
Test: atest libfs_avb_test
Test: atest libfs_avb_internal_test
Test: Add /system/etc/system_other.avbpubkey, then add
      avb_key=/system/etc/system_other.avbpubkey into /system/etc/fstab.postinstall.
      factory reset, boot a device and checks that system_other is
      mounted with verity (see the serial log below)

Serial log:
-----------
init: [libfs_avb]Built verity table: '1 /dev/block/by-name/system_a
    /dev/block/by-name/system_a 4096 4096 8521
    8521 sha1 895ba03023a35172b393429fadad9ee228b39203
    3405d16fec2cd12ad9e6b36d3bc983e1e83b5e09 10 use_fec_from_device
    /dev/block/by-name/system_a fec_roots 2 fec_blocks 8589 fec_start 8589
    restart_on_corruption ignore_zero_blocks'

init: [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/dm-7

init: [libfs_mgr]__mount(source=/dev/block/dm-7,target=/postinstall,type=ext4)=0:
Success

Change-Id: Ie339a43ff9c6a7d170e12ef466df666b98ddec19
2019-01-29 22:42:24 +08:00
Erick Reyes
3330640204 Merge "meminfo: Add memtrack dmabufinfo library"
am: 2cbdc561ad

Change-Id: I22ac7d6b6cbea81ca61c3271e8a63d2bac1767ce
2019-01-28 21:46:36 -08:00
Bowgo Tsai
49ab41e7ab Merge "Adding libfs_avb host tests into presubmit"
am: c90b0eafda

Change-Id: I1a07297380f718a22e44a35f9f997bdaed743978
2019-01-28 21:45:30 -08:00
Tom Cherry
9691e45085 Merge "Remove extranous reading of fstab in BuilderTest::block_device_info"
am: 47a4082f88

Change-Id: I9875a9075eacc1e0e556adee3f9411d91e44cd55
2019-01-28 21:44:17 -08:00
Tom Cherry
9eaed18adb Merge "Remove the rest of users of the old style fstab"
am: 286684f835

Change-Id: Ice6d3023349398b2ba5ed99588cc2f457377fb6d
2019-01-28 21:42:24 -08:00
Martin Stjernholm
8f13a7f400 Merge "Add libnativebridge.so link to vndk_lite linker config."
am: 0b6d56e68b

Change-Id: Ic558af4547212e35e8725a0dab7db1b762cf9afd
2019-01-28 21:39:07 -08:00
Tom Cherry
acf95ae6d4 Merge "fs_mgr: remove old fs_mgr functions that are not currently used"
am: 2648b801ed

Change-Id: Id5cdb57603ccbf58f6c0cda3f071bbb27fabfe93
2019-01-28 21:34:02 -08:00
Steven Moreland
9edd9ebe1d Merge "Move clang-formats to build."
am: 66853db0a2

Change-Id: I005a7e056c9050ec927f59a7f195ddc3f7d39773
2019-01-28 20:09:07 -08:00
Greg Kaiser
d13559092c Merge "adb: Fix incorrect logging statement"
am: 32aaba6dcf

Change-Id: I7900ad07fceb4472744ca0d0c159960dde9dfabf
2019-01-28 20:08:32 -08:00
Tom Cherry
80fba27032 Merge changes Ibdecf0c9,I41bd92a7,I5669ed10
am: 561498e357

Change-Id: Ia0ba17bfee3d97dd4390f942ec7931c2b7a68ea6
2019-01-28 20:07:59 -08:00
Treehugger Robot
2cbdc561ad Merge "meminfo: Add memtrack dmabufinfo library" 2019-01-29 03:33:34 +00:00