Commit Graph

40424 Commits

Author SHA1 Message Date
Chia-I Wu fbd4a52eca Merge "graphics: add render intents and new color modes" into pi-dev
am: e3447826a8

Change-Id: Id82fefe126a80cf1223e090522c3d64d76e8b77b
2018-04-02 23:52:04 +00:00
Chia-I Wu e3447826a8 Merge "graphics: add render intents and new color modes" into pi-dev 2018-04-02 22:22:28 +00:00
Elliott Hughes 6b3c5b838a Merge "Modernize fastboot output format." am: 194e27bf5e
am: a6905f79b7

Change-Id: I33c1177e140d557529abdb93edcd2c8dfb87907c
2018-04-02 21:14:18 +00:00
Elliott Hughes a6905f79b7 Merge "Modernize fastboot output format."
am: 194e27bf5e

Change-Id: Ibeb6efa19597998c8b391b22f97fc336f242c193
2018-04-02 21:04:37 +00:00
Elliott Hughes 194e27bf5e Merge "Modernize fastboot output format." 2018-04-02 20:47:53 +00:00
Elliott Hughes f238d8751b Modernize fastboot output format.
After:

  --------------------------------------------
  Bootloader Version...: 0.5
  Baseband Version.....: 0.5
  Serial Number........: serialv1.0
  --------------------------------------------
  Checking product                                   OKAY [  0.032s]
  Sending 'boot' (9962 KB)                           OKAY [  0.350s]
  Writing 'boot'                                     OKAY [  0.143s]
  Sending 'dts' (14 KB)                              OKAY [  0.068s]
  Writing 'dts'                                      OKAY [  0.048s]
  Sending sparse 'system' 1/2 (460796 KB)            OKAY [ 14.383s]
  Writing sparse 'system' 1/2                        OKAY [  4.138s]
  Sending sparse 'system' 2/2 (443712 KB)            OKAY [ 13.871s]
  Writing sparse 'system' 2/2                        OKAY [  3.246s]
  Rebooting
  Finished. Total time: 36.962s

For a failure:

  extracting android-info.txt (0 MB) to RAM...
  --------------------------------------------
  Bootloader Version...: 0.5
  Baseband Version.....: 0.5
  Serial Number........: serialv1.0
  --------------------------------------------
  Checking product                                   FAILED

  Device product is 'hikey960'.
  Update requires 'marlin' or 'sailfish'.

  fastboot: error: requirements not met!

This change also adds a -v/--verbose flag, but doesn't make much use of
it yet (http://b/30953083 will need it).

Bug: N/A
Test: manual
Change-Id: I7d19f5775859ffad5f3be5707b37dcb6e180917f
2018-04-02 11:01:48 -07:00
Tao Bao 88161a7a2e Merge "Add dummy vndk library libmkbootimg to enable abi checks on boot_img_hdr." am: b7ba61ffc5
am: 30dcecc170

Change-Id: I51c465647fcc705064eb76146557fd9afdafebe9
2018-03-31 17:22:29 +00:00
Tao Bao 30dcecc170 Merge "Add dummy vndk library libmkbootimg to enable abi checks on boot_img_hdr."
am: b7ba61ffc5

Change-Id: I1d8bc6b6a7854af694c9eb642953c40d7521a2d0
2018-03-31 17:15:51 +00:00
Tao Bao b7ba61ffc5 Merge "Add dummy vndk library libmkbootimg to enable abi checks on boot_img_hdr." 2018-03-31 17:03:25 +00:00
Jayant Chowdhary 478c7c1eaf Add dummy vndk library libmkbootimg to enable abi checks on boot_img_hdr.
Bug: 74763691

Test: m -j libmkbootimg creates libmkbootimg.so.lsdump.

Test: make -j64

Change-Id: I8d716c560467aaf090f4f7ee9cfbc53a9405f05d
(cherry picked from commit 4cc755dce5)
2018-03-31 07:13:33 -07:00
Paul Crowley e616410e9c Merge "Support Speck encryption." into pi-dev
am: 9d1f78358a

Change-Id: I03f5432bd625484e7d31034fe1a0e02f8a936bbf
2018-03-30 22:45:36 +00:00
Josh Gao d5655d7e5c Merge changes I06ccca30,Iee86b058 am: e6ae06e687
am: 3504d5a535

Change-Id: Idb80639b32c461b573553ca5da8e8a388236b8e1
2018-03-30 21:54:49 +00:00
Josh Gao 3504d5a535 Merge changes I06ccca30,Iee86b058
am: e6ae06e687

Change-Id: Ie3ee46a42b05b9bfda3eb5233fe57721635baed9
2018-03-30 21:49:23 +00:00
Josh Gao e6ae06e687 Merge changes I06ccca30,Iee86b058
* changes:
  adb: fix FdeventTest.invalid_fd on Windows.
  adb: extract the sleep in socket_test to its own function.
2018-03-30 21:38:16 +00:00
Paul Crowley 0feca7cf7e Merge "Support Speck encryption." am: 14da8f607f
am: 1df4cee2d1

Change-Id: I12936d157eac453515e44dba260920be5f414f2e
2018-03-30 21:08:48 +00:00
Paul Crowley 1df4cee2d1 Merge "Support Speck encryption."
am: 14da8f607f

Change-Id: I3914b1d09fbb3ba234b0f56488e5aacd622280b0
2018-03-30 21:03:09 +00:00
TreeHugger Robot 9d1f78358a Merge "Support Speck encryption." into pi-dev 2018-03-30 20:54:36 +00:00
Treehugger Robot 14da8f607f Merge "Support Speck encryption." 2018-03-30 20:51:14 +00:00
Logan Chien d7cf5a0899 [automerger skipped] Allow VNDK-SP extensions to use vendor lib
am: e9aaadfb2b  -s ours

Change-Id: I4fb01f1ff3bc083e48159763cb9484b31d9b2f8f
2018-03-30 20:50:39 +00:00
Hridya Valsaraju 76732e5ad0 [automerger skipped] Merge changes from topic "recovery-dtbo" into pi-dev
am: adf13a65b9  -s ours

Change-Id: I5faaef48499cd5dc83470707daa30b5b10798722
2018-03-30 20:50:04 +00:00
Hridya Valsaraju 75e6389167 [automerger skipped] Add a script to unpack boot image
am: d71e39ae57  -s ours

Change-Id: I08fd141db102aa5eb65b9847c743896994955a29
2018-03-30 20:28:34 +00:00
Jaekyun Seok 5814a9c542 [automerger skipped] Merge "Allow vendor-init-actionable for ro.board.platform and sys.boot_from_charger_mode" into pi-dev
am: bd920a25a9  -s ours

Change-Id: I6538419f1eb83c4f2220e2fd02011698e020aa1e
2018-03-30 20:27:10 +00:00
Elliott Hughes 01dcf88960 Merge "Add "require partition-exists=" support." into pi-dev
am: 465704dbb2

Change-Id: If26ee7b9934f8ecca966aed09f53412e2825a053
2018-03-30 20:26:24 +00:00
David Srbecky 8757e8e311 Cache DWARF location rules for a given pc.
am: 12d902961b

Change-Id: Ieb5b1d6e220e6715ca8efc907d63ad6cb7a57628
2018-03-30 20:25:52 +00:00
Christopher Ferris b12db05e99 Merge "Fix null pointer dereference in RegsArm." into pi-dev
am: 8dc3f94113

Change-Id: Ifd3976fa8f1148d45cd32627548438e90695224f
2018-03-30 20:25:35 +00:00
Josh Gao 0b54aa1b4b [automerger skipped] adb: fix windows test build.
am: 83ebd8da84  -s ours

Change-Id: Iaeedac9eb300dea9f22c47492215e14e782c6b3f
2018-03-30 20:24:25 +00:00
Josh Gao 2072ce099d adb: bump the local socket backlog to the maximum.
am: abb634308f

Change-Id: I4f99ff20ab664c13e57ffafc78a3896cfb2fdba0
2018-03-30 20:23:55 +00:00
Josh Gao 31ab8c9307 adb: delete vestigial SHELL_EXIT_NOTIFY_FD.
am: cc9414eda4

Change-Id: I3edee6c2431c9fb8b1a6b6f82d63923bd676388e
2018-03-30 20:23:36 +00:00
Josh Gao 96fca43c55 adb: don't immediately close a socket when write fails.
am: 7c87b0739a

Change-Id: I81d8e14285a8272ed0cae45a7e366db628939b20
2018-03-30 20:23:10 +00:00
Josh Gao af7659ec43 adb: make fdevent_run_on_main_thread's fd nonblocking.
am: 3b0146cc37

Change-Id: I1c3c7c73dc0231f1dac1448b374ba485b8eb6a42
2018-03-30 20:22:52 +00:00
Josh Gao 4601fce32a adb: skip IPv6 test if IPv6 isn't available.
am: 9edb94fb6b

Change-Id: Ibc539fe9dac59ac207397971384b53905e642292
2018-03-30 20:22:35 +00:00
Josh Gao 7ca8cf70ee adb: add `adb shell exit 42` stress test.
am: fd6ffb8ad5

Change-Id: Iba1c0898f6480b9d94f1cb48b05f969156a550a8
2018-03-30 20:22:16 +00:00
Josh Gao 61c120202f adb: improve socket tests.
am: e523e4e54b

Change-Id: I55f9e76ad16054f3743174a0827d88bfcf91e67e
2018-03-30 20:21:50 +00:00
Josh Gao 7482ca844d adb: implement std::make_unique, start using it.
am: 28589bbe18

Change-Id: I314e03f66d3c798070e8c84f4028f08b406ee852
2018-03-30 20:21:19 +00:00
Josh Gao 3e352df986 [automerger skipped] adb: add test for flushing socket data after a write failure.
am: 1430d39be6  -s ours

Change-Id: I496900027bd34c11b80e50b57bae12765b3f2585
2018-03-30 20:20:43 +00:00
Paul Crowley e640bc1b88 Support Speck encryption.
Test: Modified Pixel to support and use Speck encryption, booted.
Bug: 77227248
Change-Id: I6ec272db5e4f16e9dd4f759203c14ad2a8772cd1
Merged-In: I6ec272db5e4f16e9dd4f759203c14ad2a8772cd1
2018-03-30 10:18:46 -07:00
Paul Crowley 49c27c5cb2 Support Speck encryption.
Test: Modified Pixel to support and use Speck encryption, booted.
Bug: 77227248
Change-Id: I6ec272db5e4f16e9dd4f759203c14ad2a8772cd1
2018-03-30 09:46:02 -07:00
Logan Chien 1585f471e7 Merge "Allow VNDK-SP extensions to use vendor lib" am: 602af1c488
am: 1cf05129c0

Change-Id: I6a33ff42ac895762fe89e1ebe05165f07d0a83d9
2018-03-30 08:37:29 +00:00
Logan Chien 1cf05129c0 Merge "Allow VNDK-SP extensions to use vendor lib"
am: 602af1c488

Change-Id: Ieb4175ab866b48d6b0474066329891020ebe6563
2018-03-30 08:32:45 +00:00
Logan Chien 602af1c488 Merge "Allow VNDK-SP extensions to use vendor lib" 2018-03-30 07:14:51 +00:00
Logan Chien e9aaadfb2b Allow VNDK-SP extensions to use vendor lib
This commit adds a wildcard linker namespace link between the "vndk"
namespace and the "sphal" namespace of the system processes.  This is
created for VNDK-SP-Ext to load vendor libs in "sphal" namespace.

Bug: 77249955
Test: lunch aosp_walleye-userdebug && make -j8  # runs unit tests
Test: lunch aosp_sailfish-userdebug && make -j8  # runs unit tests
Test: Create a VNDK-SP-Ext, link to vendor libs, and run it.
Change-Id: I71b0fb604a84272156aa119130c272f891847008
Merged-In: I71b0fb604a84272156aa119130c272f891847008
(cherry picked from commit fbaf9767b51891491903521c24b0d4a1ec1c87e8)
2018-03-30 13:30:14 +08:00
TreeHugger Robot adf13a65b9 Merge changes from topic "recovery-dtbo" into pi-dev
* changes:
  Add a script to unpack boot image
  Add a recovery DTBO section to boot image
2018-03-29 23:51:09 +00:00
TreeHugger Robot bd920a25a9 Merge "Allow vendor-init-actionable for ro.board.platform and sys.boot_from_charger_mode" into pi-dev 2018-03-29 23:45:15 +00:00
Jaekyun Seok 401313f8f7 Merge "Allow vendor-init-actionable for ro.board.platform and sys.boot_from_charger_mode" am: a5bf7bad2c
am: 63e16c228e

Change-Id: I1f53688bc49fbc0c43bc98a6c0829dd23e7966cf
2018-03-29 22:29:51 +00:00
Ajit Kumar a3846e7011 [automerger skipped] Merge "Enabled SYS_MODULE capability for wifi@1.0-service" am: 61896fc0ee
am: 57b06ffb3d  -s ours

Change-Id: I1f6c7dfbe20776e8a75af3037c4bb58945347f53
2018-03-29 22:16:23 +00:00
Elliott Hughes 465704dbb2 Merge "Add "require partition-exists=" support." into pi-dev 2018-03-29 22:12:50 +00:00
Jaekyun Seok 63e16c228e Merge "Allow vendor-init-actionable for ro.board.platform and sys.boot_from_charger_mode"
am: a5bf7bad2c

Change-Id: I804fb0889f947d041be38ca2138eab99296536de
2018-03-29 22:08:17 +00:00
Ajit Kumar 57b06ffb3d Merge "Enabled SYS_MODULE capability for wifi@1.0-service"
am: 61896fc0ee

Change-Id: I094569ea9db01288af4501c4d16c0d915ca24484
2018-03-29 22:00:55 +00:00
Hridya Valsaraju d71e39ae57 Add a script to unpack boot image
The script prints out the boot image header
contents and extracts the kernel, ramdisk,
second bootloader and recovery DTBO images.

Bug: 74763691
Test: unpack_bootimg --boot_img $OUT/recovery.img

Change-Id: Iadbca81c157d9e4607f808a14468ab5542347507
Merged-In: Iadbca81c157d9e4607f808a14468ab5542347507
(cherry picked from commit 02c08cc347)
2018-03-29 21:35:46 +00:00
Josh Gao 05fb45be17 adb: fix FdeventTest.invalid_fd on Windows.
Bail out immediately in our poll emulation if we have any invalid file
descriptors, instead of actually calling WSAPoll (which might block
forever).

Test: wine adb_test.exe
Change-Id: I06ccca305783ee7a1721b1585ddf73e022bd02d7
2018-03-29 14:24:03 -07:00