Commit Graph

56220 Commits

Author SHA1 Message Date
Chen Xu 98cb2b3878 Revert "remove telephony-common from boot class"
This reverts commit 195de31de7.

Reason for revert: <performance regression>

Change-Id: I97dc0678ac50022a7f0f6bbc626b4747ee6d28c0
Bug: 140639952
2019-09-24 22:00:18 +00:00
Chen Xu 195de31de7 remove telephony-common from boot class
As telephony-common is not intended to used by any apps and
being in boot class is not updatability friendly.
We are removing telephony-common from bootclass in R.
we will convert telephony-common to sharedlib (uses-library)
and make sure apps targeting < R will auto load
telephony-common lib for app compatibility.

Bug: 135955937
Test: Build
Change-Id: I57e2d676315caa023121e4315d435f9f928cb39e
2019-09-03 15:25:05 -07:00
Yifan Hong 07760edad3 Merge changes from topic "vintf_ota_delete" am: bcba1cfdaf am: ee276acce8 am: ba0aefb056 am: 6c29d055e0
am: 6c540f9af1

Change-Id: I257147d856ac4f2252c5d9fb53cc2625f8be0802
2019-08-28 19:26:33 -07:00
Yifan Hong 1940de760c Check VINTF compatibility at OTA generation time. am: 9276cf0226 am: a592de9c61 am: 3056fb5243 am: 4ad3c3a84a
am: d30ed9dcda

Change-Id: I1f74a0cb1d650bb3ea4f4aec03ac1653ddf0a771
2019-08-28 19:26:26 -07:00
Yifan Hong 7c8ae31b31 releasetools: add tests for check_target_files_vintf am: ccb86fe7d4 am: 96961bf94f am: f1bcdf5390 am: b49aeb87ab
am: dce2b84a7d

Change-Id: I25186054463f41e1ce34c5e00fc077eef10f43e2
2019-08-28 19:26:19 -07:00
Yifan Hong f268fc6267 Add a script to check VINTF compat of target files package. am: e3ba82cff2 am: d14a6110c5 am: 646b2b6cbc am: e08f6afcf9
am: f6662ca37e

Change-Id: Ib3b6738d8e5e286a8f7120bf199ef649e0002eac
2019-08-28 19:26:13 -07:00
Ivan Lozano a0a17b88a4 Merge "Make support for rust modules from Soong." am: e9cb5fa350 am: a9fef4a0c7 am: 549416c2df am: 8b373f1aeb
am: 8b103999c2

Change-Id: I1be639329bd386f1d236160dcb7545930cf6597f
2019-08-28 19:16:35 -07:00
Yifan Hong 6c540f9af1 Merge changes from topic "vintf_ota_delete" am: bcba1cfdaf am: ee276acce8 am: ba0aefb056
am: 6c29d055e0

Change-Id: I76e34d8cbebdca6652ff8cb5de74ee1d83f45a03
2019-08-28 18:44:48 -07:00
Yifan Hong d30ed9dcda Check VINTF compatibility at OTA generation time. am: 9276cf0226 am: a592de9c61 am: 3056fb5243
am: 4ad3c3a84a

Change-Id: I68b76e15fa2ac9d7e116fdf51841c78f9dc38c54
2019-08-28 18:44:41 -07:00
Yifan Hong dce2b84a7d releasetools: add tests for check_target_files_vintf am: ccb86fe7d4 am: 96961bf94f am: f1bcdf5390
am: b49aeb87ab

Change-Id: I440ef60d4b8af000bad75b390dcb07e927f8677f
2019-08-28 18:44:35 -07:00
Yifan Hong f6662ca37e Add a script to check VINTF compat of target files package. am: e3ba82cff2 am: d14a6110c5 am: 646b2b6cbc
am: e08f6afcf9

Change-Id: I0d57b57a268e6133fd7a8417aee0c3018fb0bde1
2019-08-28 18:44:29 -07:00
Ivan Lozano 8b103999c2 Merge "Make support for rust modules from Soong." am: e9cb5fa350 am: a9fef4a0c7 am: 549416c2df
am: 8b373f1aeb

Change-Id: I3258513e3b6805540a984dff28caae7441734e64
2019-08-28 18:33:38 -07:00
Yifan Hong 6c29d055e0 Merge changes from topic "vintf_ota_delete" am: bcba1cfdaf am: ee276acce8
am: ba0aefb056

Change-Id: I26a3444a9f1d5a65dd84b10a0611ecdc9fa0ad7e
2019-08-28 18:28:27 -07:00
Yifan Hong 4ad3c3a84a Check VINTF compatibility at OTA generation time. am: 9276cf0226 am: a592de9c61
am: 3056fb5243

Change-Id: I0e0dcb1c7eeb20620c3e3be06610b040275f3bfe
2019-08-28 18:28:22 -07:00
Yifan Hong b49aeb87ab releasetools: add tests for check_target_files_vintf am: ccb86fe7d4 am: 96961bf94f
am: f1bcdf5390

Change-Id: I4eecc24ec942d1da5dc75448db8eb54b3726ebf4
2019-08-28 18:28:16 -07:00
Yifan Hong e08f6afcf9 Add a script to check VINTF compat of target files package. am: e3ba82cff2 am: d14a6110c5
am: 646b2b6cbc

Change-Id: Ida489ff65382846ce4c465a844dc2aa6a552415c
2019-08-28 18:28:10 -07:00
Ivan Lozano 8b373f1aeb Merge "Make support for rust modules from Soong." am: e9cb5fa350 am: a9fef4a0c7
am: 549416c2df

Change-Id: I3e9e56e46eebf2f5d162881e397c4aa666c16df1
2019-08-28 18:15:14 -07:00
Yifan Hong ba0aefb056 Merge changes from topic "vintf_ota_delete" am: bcba1cfdaf
am: ee276acce8

Change-Id: I485f4e9fd4e2372da0d5ccef09c29fb44e48a5bd
2019-08-28 18:02:44 -07:00
Yifan Hong 3056fb5243 Check VINTF compatibility at OTA generation time. am: 9276cf0226
am: a592de9c61

Change-Id: Icb05c6b94103fb0eb07a5085435e0f01ca5a3419
2019-08-28 18:02:36 -07:00
Yifan Hong f1bcdf5390 releasetools: add tests for check_target_files_vintf am: ccb86fe7d4
am: 96961bf94f

Change-Id: I71461cb81b58bb3c415dcf7b870b6d7cc66fb745
2019-08-28 18:02:30 -07:00
Yifan Hong 646b2b6cbc Add a script to check VINTF compat of target files package. am: e3ba82cff2
am: d14a6110c5

Change-Id: I78b0542099e1e291b39368e89b951b3480b846c4
2019-08-28 18:02:25 -07:00
Ivan Lozano 549416c2df Merge "Make support for rust modules from Soong." am: e9cb5fa350
am: a9fef4a0c7

Change-Id: I40353b5a4f0512fff6a3f943f1a1eff9298cbc9e
2019-08-28 17:56:43 -07:00
Yifan Hong ee276acce8 Merge changes from topic "vintf_ota_delete"
am: bcba1cfdaf

Change-Id: If11df7c409b9d1087defc119bf3a132f5b7016c5
2019-08-28 17:21:36 -07:00
Yifan Hong a592de9c61 Check VINTF compatibility at OTA generation time.
am: 9276cf0226

Change-Id: Iee0efa785ccbf2aaadb1be7b3dc106f805242adb
2019-08-28 17:21:27 -07:00
Yifan Hong 96961bf94f releasetools: add tests for check_target_files_vintf
am: ccb86fe7d4

Change-Id: I3ecddd78ccce7f97bd02abea133ad84187b312ac
2019-08-28 17:21:07 -07:00
Yifan Hong d14a6110c5 Add a script to check VINTF compat of target files package.
am: e3ba82cff2

Change-Id: Iccf4b7afa93749f441f48a3270f3d4beac8a0f06
2019-08-28 17:20:52 -07:00
Ivan Lozano a9fef4a0c7 Merge "Make support for rust modules from Soong."
am: e9cb5fa350

Change-Id: I9e109fe46ed9532cc445522a381a9016a86d37f3
2019-08-28 17:07:48 -07:00
Yifan Hong bcba1cfdaf Merge changes from topic "vintf_ota_delete"
* changes:
  merge_target_files: Checks VINTF metadata of resulting target files
  Check VINTF compatibility at OTA generation time.
  releasetools: add tests for check_target_files_vintf
  Add a script to check VINTF compat of target files package.
2019-08-28 23:19:21 +00:00
Ivan Lozano e9cb5fa350 Merge "Make support for rust modules from Soong." 2019-08-28 22:04:56 +00:00
Yifan Hong 9276cf0226 Check VINTF compatibility at OTA generation time.
Instead of relying on META/{system,vendor}_{manifest,matrix}.xml
and blindly copy compatibility.zip from target files package to
OTA package, do a static check on the input target files package
before generating the OTA package.

META/{system,vendor}_{manifest,matrix} does not contain ODM manifest
fragments, which is incorrect.

Also, the on-device check of compatibility.zip uses a old libvintf
binary on the device, which may not understand the incoming VINTF
metadata. This change removes the on-device check. Hence, it removes
the requirement of forwards compatibility of libvintf.

This behavior can be skipped with --skip-compatibility-check.

Test: build OTA package
Bug: 139300422
Bug: 131425279
Change-Id: I7fb93be9eb73f578fc05a182c6c9d1f073db2800
2019-08-28 11:02:26 -07:00
Yifan Hong ccb86fe7d4 releasetools: add tests for check_target_files_vintf
Test: run it
Bug: 139300422
Change-Id: I265d1e6313177dc661bb5cdf1415b11684dec0a0
2019-08-28 11:02:26 -07:00
Yifan Hong e3ba82cff2 Add a script to check VINTF compat of target files package.
Instead of checking META/{system,vendor}_{manifest,matrix}.xml (which
is error-prone because ODM SKU-specific manifests are not checked),
this script read the target files package, remaps its directory
structure so that checkvintf understands it, and check VINTF
compatibility.

Also, put it in otatools.zip.

Test: run it on an extracted target files package
Bug: 131425279
Change-Id: I06036f9a8d7242d4bc11524028be40e780c508e8
2019-08-28 11:02:26 -07:00
Yifan Hong ade0d3f4a2 merge_target_files: Checks VINTF metadata of resulting target files
Bug: 139300422
Bug: 131425279
Test: test_merge_target_files
Change-Id: I972db2fc40555ab0fc38316f0a6e6f5e8f163371
2019-08-28 11:02:26 -07:00
Justin Yun 8476576e32 Merge "Add platform hidl interfaces to mainline_system" am: 6ae3aacab5 am: ebe02d5fef am: 2d2de1660b am: 1f70b3140a
am: 81c81086f7

Change-Id: I55a15cdcf8d1bfd01d7c7bb9e3ebb4134f27f5ad
2019-08-27 21:25:17 -07:00
Justin Yun 81c81086f7 Merge "Add platform hidl interfaces to mainline_system" am: 6ae3aacab5 am: ebe02d5fef am: 2d2de1660b
am: 1f70b3140a

Change-Id: Ie8198dd577acfe49b5829ba0eb62edb193f27620
2019-08-27 21:19:16 -07:00
Justin Yun 1f70b3140a Merge "Add platform hidl interfaces to mainline_system" am: 6ae3aacab5 am: ebe02d5fef
am: 2d2de1660b

Change-Id: I7de09ff2777e2f6913c364bc70d6dd373ef2dda6
2019-08-27 21:13:15 -07:00
Justin Yun 2d2de1660b Merge "Add platform hidl interfaces to mainline_system" am: 6ae3aacab5
am: ebe02d5fef

Change-Id: I00eb9f276462da48c284377b7192519f4007c852
2019-08-27 21:07:14 -07:00
Justin Yun ebe02d5fef Merge "Add platform hidl interfaces to mainline_system"
am: 6ae3aacab5

Change-Id: I9f03d3bd011127fd80ca126533d5664ebfd68edf
2019-08-27 20:52:14 -07:00
Treehugger Robot 6ae3aacab5 Merge "Add platform hidl interfaces to mainline_system" 2019-08-28 03:32:08 +00:00
Justin Yun bfe4a1c096 Add platform hidl interfaces to mainline_system
Core variant of some hidl interfaces must be included in
mainline_system explicitly because they have dependency with external
modules.

Bug: 138284120
Test: build mainline_system_arm64
Change-Id: I1893bb807429dbcacac3db3dcab2a830456775ea
2019-08-28 03:31:48 +00:00
Ramy Medhat 1f0753fdb8 Merge "Add PWD to environment variable whitelist for RBE builds." am: 61fae1ac20 am: bc2aa08ca5 am: 0cefcefbcc am: 793153f2ee
am: da5b6e26f8

Change-Id: I72cfe46dccf8328a129c73373adecac6f6e03ea2
2019-08-27 19:54:34 -07:00
Ramy Medhat da5b6e26f8 Merge "Add PWD to environment variable whitelist for RBE builds." am: 61fae1ac20 am: bc2aa08ca5 am: 0cefcefbcc
am: 793153f2ee

Change-Id: I020b31b5738364cb8d4a8beee84c167e4ea60a63
2019-08-27 19:31:53 -07:00
Ramy Medhat 793153f2ee Merge "Add PWD to environment variable whitelist for RBE builds." am: 61fae1ac20 am: bc2aa08ca5
am: 0cefcefbcc

Change-Id: I785d4580a8711670e1cba15157b64db937eb441d
2019-08-27 19:24:51 -07:00
Ramy Medhat 0cefcefbcc Merge "Add PWD to environment variable whitelist for RBE builds." am: 61fae1ac20
am: bc2aa08ca5

Change-Id: I1cf51caf2a6a54e9ffb1a522bc4e1fc03ba16a63
2019-08-27 19:18:48 -07:00
Ramy Medhat bc2aa08ca5 Merge "Add PWD to environment variable whitelist for RBE builds."
am: 61fae1ac20

Change-Id: I31125dd51cb0e1d3ad43a7fcb76c7108538ed71d
2019-08-27 19:11:53 -07:00
Ramy Medhat 61fae1ac20 Merge "Add PWD to environment variable whitelist for RBE builds." 2019-08-28 01:58:08 +00:00
Dan Willemsen 011bb8e096 Merge "More base_rules.mk optimizations" am: 07c9ac0e2a am: bd49363d31 am: 7996f0610a am: 853699c6d6
am: 3f9cbb7d79

Change-Id: Ic7360192fa0c2c0f6ef1c96691fd4bb734722adc
2019-08-27 18:55:38 -07:00
Xianyuan Jia c4ca63ed09 Merge "Add iperf3 to debug packages" am: d1f4c15fd2 am: 7e36d3d0b6 am: 7db82e5ae1 am: 217e06aaa5
am: 37cb3be56e

Change-Id: I409a9bf523dd88d498a686dd23c72224423d8a86
2019-08-27 18:43:55 -07:00
Dan Shi 763e0ab29f Merge "Instrumentation test doesn't support extra config" am: a5c6c13623 am: a736d4770f am: a35425b74d am: d9b2190ad6
am: b5d2daa845

Change-Id: Ibf32b680afdcf95740b25e63b3f4d8dc1618650a
2019-08-27 18:33:03 -07:00
Tao Bao f4b35fa146 Merge "releasetools: Clean up img_from_target_files.py." am: 1f8e8738c1 am: 3a85b1a466 am: 7dfb128a67 am: ceec5a0878
am: dbe37f5f51

Change-Id: I3f9d73e85c1e474024072ee60f7ee0223bedbe72
2019-08-27 18:25:24 -07:00