Commit graph

47790 commits

Author SHA1 Message Date
Emilian Peev
43c59ca7e2 Add graphics-base-v1.2 autogen headers
Graphics headers generated by:
hidl-gen -Lexport-header -o
$ANDROID_BUILD_TOP/system/core/include/system/graphics-base-v1.2.h
android.hardware.graphics.common@1.2

Bug: 109735087
Test: Android builds successfully
Change-Id: Ie847fdd808ed0daaea917d705a8dc51c6633142a
2019-01-27 20:08:27 -08:00
Kevin DuBois
48c93ba788 Merge "libcore: add definitions from graphics.commons@1.2" 2019-01-28 03:57:37 +00:00
Christopher Ferris
42b9c96ea0 Merge "Add GetPrintableBuildID()." am: 49047d711b am: 8bd4aa963a
am: 7d605a8cb7

Change-Id: I4cccefe80db54e9f6699cd42718e3038d3eb3667
2019-01-25 23:18:04 -08:00
Christopher Ferris
7d605a8cb7 Merge "Add GetPrintableBuildID()." am: 49047d711b
am: 8bd4aa963a

Change-Id: Iac1eefa53aba2fb4a9553b1b0de6510befc603fd
2019-01-25 23:13:51 -08:00
Christopher Ferris
8bd4aa963a Merge "Add GetPrintableBuildID()."
am: 49047d711b

Change-Id: If23b529363e07473a498896ef493565f7a4cecb5
2019-01-25 23:09:38 -08:00
Christopher Ferris
5b1d0126d9 Merge "Add a few leak check tests." am: ed7ca8bb14 am: 9a96618c9d
am: 1efb1601bf

Change-Id: I767c90822b24520666d3a17f23a334a08b1555dd
2019-01-25 23:04:57 -08:00
Christopher Ferris
49047d711b Merge "Add GetPrintableBuildID()." 2019-01-26 07:03:35 +00:00
Christopher Ferris
1efb1601bf Merge "Add a few leak check tests." am: ed7ca8bb14
am: 9a96618c9d

Change-Id: I2966cccd7712c04c95be5090b1e96d8600b3d5d4
2019-01-25 22:59:44 -08:00
Christopher Ferris
9a96618c9d Merge "Add a few leak check tests."
am: ed7ca8bb14

Change-Id: Icae3c879ca1abbd556a08d494556da14e92f2c12
2019-01-25 22:55:35 -08:00
Christopher Ferris
ed7ca8bb14 Merge "Add a few leak check tests." 2019-01-26 06:45:39 +00:00
Jiyong Park
6d7affb54f Merge "Remove permitted path for non-isolated namespace" am: ce17f19bc8 am: 8f6b3ed826
am: d7add90cd3

Change-Id: I08debb40a730cf511b1e02c21db46bd7dd29e305
2019-01-25 22:19:43 -08:00
Jiyong Park
d7add90cd3 Merge "Remove permitted path for non-isolated namespace" am: ce17f19bc8
am: 8f6b3ed826

Change-Id: Icaf906a27a1c88703dfda3431a573d3d010370fc
2019-01-25 22:15:33 -08:00
Jiyong Park
8f6b3ed826 Merge "Remove permitted path for non-isolated namespace"
am: ce17f19bc8

Change-Id: Ib81fa94e013c48eb155069438d701c75cff92950
2019-01-25 22:11:24 -08:00
Treehugger Robot
ce17f19bc8 Merge "Remove permitted path for non-isolated namespace" 2019-01-26 06:01:48 +00:00
Cody Schuffelen
6dbf6a491c Merge "Add native vsock support to ADB." am: d290bb7ed8 am: 8435ddc499
am: 00a8d2693f

Change-Id: I5fc12d468a710dcca271ba1f03b6a939675b1cb2
2019-01-25 21:45:32 -08:00
Cody Schuffelen
00a8d2693f Merge "Add native vsock support to ADB." am: d290bb7ed8
am: 8435ddc499

Change-Id: Id4ea2bc3f4a9f91c190973967237c65daba1eff0
2019-01-25 21:41:26 -08:00
Cody Schuffelen
8435ddc499 Merge "Add native vsock support to ADB."
am: d290bb7ed8

Change-Id: I6acb0811ad5c1fb7ed521c59450d8a838a92faf3
2019-01-25 21:37:15 -08:00
Treehugger Robot
d290bb7ed8 Merge "Add native vsock support to ADB." 2019-01-26 05:25:28 +00:00
Wei Wang
6379e920be Merge "Fix path for default prop" am: 3c2c9d8d43 am: 9155524429
am: e1c2e0d283

Change-Id: I467ca7aa10a9546d759f4232b56ef7eae1228f6f
2019-01-25 20:45:21 -08:00
Wei Wang
e1c2e0d283 Merge "Fix path for default prop" am: 3c2c9d8d43
am: 9155524429

Change-Id: I85069417ceb4de45f88d49f2d6f3b4511e741746
2019-01-25 20:41:07 -08:00
Wei Wang
9155524429 Merge "Fix path for default prop"
am: 3c2c9d8d43

Change-Id: I9ceb4b7a02fcfd869aab0c28545bfb9d31ebb683
2019-01-25 20:36:57 -08:00
Treehugger Robot
3c2c9d8d43 Merge "Fix path for default prop" 2019-01-26 04:22:37 +00:00
Mark Salyzyn
b2ea2f23f3 Merge "fs_mgr: ReadDefaultFstab suppress ReadFstabFromDt logging" am: 33cff00c1c am: 7cc3afb98c
am: c685a375dc

Change-Id: I9778917bdacd47be3ab9db9329bf8e895869204b
2019-01-25 20:12:06 -08:00
Mark Salyzyn
c685a375dc Merge "fs_mgr: ReadDefaultFstab suppress ReadFstabFromDt logging" am: 33cff00c1c
am: 7cc3afb98c

Change-Id: I7b9c1aa52e183c7ed385b79f287bbfad82f15707
2019-01-25 20:07:56 -08:00
Mark Salyzyn
7cc3afb98c Merge "fs_mgr: ReadDefaultFstab suppress ReadFstabFromDt logging"
am: 33cff00c1c

Change-Id: Ia141090dee34971c219be0e57a228a03e20001af
2019-01-25 19:55:20 -08:00
Treehugger Robot
33cff00c1c Merge "fs_mgr: ReadDefaultFstab suppress ReadFstabFromDt logging" 2019-01-26 03:47:49 +00:00
Jiyong Park
c84bbb0079 Remove permitted path for non-isolated namespace
No reason to have permitted path for non-isolated namespace.

Bug: 123303398
Test: N/A
Change-Id: Iaddb358efab7a2017c17f74ee53a9d711646b57c
2019-01-26 11:34:40 +09:00
Cody Schuffelen
a05b64d432 Add native vsock support to ADB.
vsock is a socket address family for communicating into and out of
virtual machines. Addresses have a port and CID. The CID is unique to
each virtual machine on the computer. The VM host always has CID 2.
http://man7.org/linux/man-pages/man7/vsock.7.html

Inside the android guest, the adb daemon hosts a vsock server with
VMADDR_CID_ANY, automatically using the guest CID. The adb server
can now connect to addresses of the form vsock:cid:port, where the CID
must be specified and the port defaults to 5555.

This is a significant speed improvement for ADB connections in
Cuttlefish, with 150-200 MB/s for `adb push` and 100-150 MB/s for
`adb pull`. It also allows removing some proxying steps from Cuttlefish,
simplifying the full connection path, and removes a dependency on the
unstable ivshmem protocol.

Commands tested against a Cuttlefish VM with CID 3:
adb connect vsock:3:5555
adb -s vsock:3:5555 shell
adb disconnect vsock:3:5555

Supporting "adb disconnect" and "adb -s" required modifying some of the
parts that parse addresses / serials.

push/pull trials with native adb vsock support in cuttlefish:

100m: 1 file pushed. 297.6 MB/s (104857600 bytes in 0.336s)
100m: 1 file pushed. 270.3 MB/s (104857600 bytes in 0.370s)
100m: 1 file pushed. 271.7 MB/s (104857600 bytes in 0.368s)
100m: 1 file pushed. 250.5 MB/s (104857600 bytes in 0.399s)
100m: 1 file pushed. 277.1 MB/s (104857600 bytes in 0.361s)
100m: 1 file pushed. 263.5 MB/s (104857600 bytes in 0.379s)
100m: 1 file pushed. 242.6 MB/s (104857600 bytes in 0.412s)
100m: 1 file pushed. 271.8 MB/s (104857600 bytes in 0.368s)
100m: 1 file pushed. 267.1 MB/s (104857600 bytes in 0.374s)

/data/local/tmp/100m: 1 file pulled. 212.8 MB/s (104857600 bytes in 0.470s)
/data/local/tmp/100m: 1 file pulled. 236.7 MB/s (104857600 bytes in 0.423s)
/data/local/tmp/100m: 1 file pulled. 201.2 MB/s (104857600 bytes in 0.497s)
/data/local/tmp/100m: 1 file pulled. 255.6 MB/s (104857600 bytes in 0.391s)
/data/local/tmp/100m: 1 file pulled. 199.6 MB/s (104857600 bytes in 0.501s)
/data/local/tmp/100m: 1 file pulled. 214.6 MB/s (104857600 bytes in 0.466s)
/data/local/tmp/100m: 1 file pulled. 254.2 MB/s (104857600 bytes in 0.393s)
/data/local/tmp/100m: 1 file pulled. 212.5 MB/s (104857600 bytes in 0.471s)
/data/local/tmp/100m: 1 file pulled. 218.9 MB/s (104857600 bytes in 0.457s)
/data/local/tmp/100m: 1 file pulled. 223.6 MB/s (104857600 bytes in 0.447s)

Bug: 121166534
Change-Id: I50f21fb5c9acafb8daa789df4e28c9e1bbbbf2ef
Test: adb connect/shell/disconnect
2019-01-25 17:55:06 -08:00
Christopher Ferris
b1c9c20eb2 Add GetPrintableBuildID().
The GetBuildID() function returns the raw build id data, so add a function
to get the printable hex version of the data.

Bug: 120606663

Test: New unit tests pass.
Change-Id: Ia5aefc97457efb08bbd30ea96cbb2d47ae59f954
2019-01-25 14:31:37 -08:00
Josh Gao
6bbd3ff7ff Merge "adb: convert more stuff to unique_fd." am: 79f60a9bab am: 7dcb91cbc8
am: 60df9ecb5e

Change-Id: I5fdd7ad01021fe0670bfb58b83bc6f42e97768f2
2019-01-25 14:12:10 -08:00
Dongwon Kang
61f1908142 Merge "Add mediametrics to ld.config.legacy.txt" am: 9819ade714 am: 1d80f81bd3
am: 22bfd8727c

Change-Id: I889f80ed5c9efb4e47cf2492f192b0f64df2223a
2019-01-25 14:10:43 -08:00
Josh Gao
60df9ecb5e Merge "adb: convert more stuff to unique_fd." am: 79f60a9bab
am: 7dcb91cbc8

Change-Id: Ic69dcb4d1c499dc8e4daffb13435f5f22dd1e030
2019-01-25 14:03:18 -08:00
Dongwon Kang
22bfd8727c Merge "Add mediametrics to ld.config.legacy.txt" am: 9819ade714
am: 1d80f81bd3

Change-Id: Ied4e694a50c00828c930a8ad4ffe4a0db1d12a77
2019-01-25 14:02:06 -08:00
Josh Gao
7dcb91cbc8 Merge "adb: convert more stuff to unique_fd."
am: 79f60a9bab

Change-Id: I3633efe24d2b337adca2ad39347faa7d1772a100
2019-01-25 13:56:15 -08:00
Dongwon Kang
1d80f81bd3 Merge "Add mediametrics to ld.config.legacy.txt"
am: 9819ade714

Change-Id: Id3d8f5b8e51ffa78cdf0b8898869ad5642aa343a
2019-01-25 13:52:58 -08:00
Josh Gao
79f60a9bab Merge "adb: convert more stuff to unique_fd." 2019-01-25 21:48:28 +00:00
Dongwon Kang
9819ade714 Merge "Add mediametrics to ld.config.legacy.txt" 2019-01-25 21:40:33 +00:00
David Anderson
ae8863c9b9 Merge "init: Format userdata_gsi if needed." am: 212693c7ae am: bde4a82213
am: dac57223ef

Change-Id: Ib5d5aef8a426f59b698723c70edf776b8c535fcf
2019-01-25 12:59:02 -08:00
David Anderson
dac57223ef Merge "init: Format userdata_gsi if needed." am: 212693c7ae
am: bde4a82213

Change-Id: Ifc3e631250c5ad8a24b5a1d2708d38f41126e8c6
2019-01-25 12:53:50 -08:00
David Anderson
bde4a82213 Merge "init: Format userdata_gsi if needed."
am: 212693c7ae

Change-Id: Ia12d9de29dc59fd34c69d16579b7461128e4be34
2019-01-25 12:48:40 -08:00
David Anderson
212693c7ae Merge "init: Format userdata_gsi if needed." 2019-01-25 20:39:49 +00:00
Christopher Ferris
e1f7a63a4d Add a few leak check tests.
These tests are meant to replace the leak check tests from libbacktrace.

Bug: 120606663

Test: Ran tests on host and target.
Change-Id: I928b199304afc36b4bac78e9a2cd688b6f2910b9
2019-01-25 12:35:19 -08:00
Neil Fuller
21c7e44754 Merge "Move APEX symlink creation to alternative module" am: e41489a9a1 am: 76ff6282e8
am: 8dd123cda9

Change-Id: I1728fe8f5688b4e60509b2ee7ede73bac11e4889
2019-01-25 11:09:36 -08:00
Neil Fuller
8dd123cda9 Merge "Move APEX symlink creation to alternative module" am: e41489a9a1
am: 76ff6282e8

Change-Id: Ib39161f6690cf7ca914396eb06bb70ad5cce464f
2019-01-25 11:03:46 -08:00
Kevin DuBois
23a8310e7a libcore: add definitions from graphics.commons@1.2
File was auto-generated by runnnig update-base-files.sh

Test: header addition, built image.
Fixes: 122943743

Roll-forward of build-breaking topic commit. No changes were
needed in this patch. see bug 123404649 for breakage details.
This reverts commit 97f8353776.

Change-Id: I07abe1d49a5b55f7e0bf5e032e48fb309b2a23bd
2019-01-25 10:59:18 -08:00
Neil Fuller
76ff6282e8 Merge "Move APEX symlink creation to alternative module"
am: e41489a9a1

Change-Id: I6ad89667367f10999e0ed313303c4c5e53e5b78a
2019-01-25 10:57:39 -08:00
Sasha Smundak
e131a4f32d Merge "Convert Android.mk file to Android.bp" am: 4830ba0fd1 am: b564e24363
am: 240b4ab04a

Change-Id: Ibe31f8b654ca7120639e21b8363b12baafd2e7a7
2019-01-25 10:50:08 -08:00
Tri Vo
a5bf98bf50 Merge "Read selinux_denial_metadata from /vendor" am: 6600f978a4 am: 71fce27629
am: 338d78b7bd

Change-Id: Ie977be72a2f10beb7f4162a3f66d20bdd37c2c03
2019-01-25 10:43:25 -08:00
Neil Fuller
e41489a9a1 Merge "Move APEX symlink creation to alternative module" 2019-01-25 18:42:12 +00:00
Tom Cherry
d6f4b9d728 Merge "Update fs_mgr tests for new fstab format and add to TEST_MAPPING" am: afa0d88eea am: bf2ea0fab7
am: ddcc5bf05e

Change-Id: I1aaee10ef2fc1d0880571315151c34af8b12fc10
2019-01-25 10:37:48 -08:00