Commit Graph

5098 Commits

Author SHA1 Message Date
Treehugger Robot 6867fd7dda Merge "Fix flags argument passed to avbtool for GSI images" 2019-02-18 05:27:52 +00:00
Martin Stjernholm 3e572e0103 Merge "Add libnpt back into system." am: 611a99da84 am: 1ebf81e58f
am: 1fd20a5c6e

Change-Id: I953e253d1e89b9e0c96bd7fc79eee9b0a0384185
2019-02-15 09:19:56 -08:00
Martin Stjernholm fd0b822d09 Add libnpt back into system.
It must be there for libjdwp to find it and load the debugger transport
correctly. This is a temporary fix while we are looking into loading libnpt
from the Runtime APEX.

Bug: 124498388
Test: adb forward tcp:5555 jdwp:`adb shell pidof com.android.email` && jdb -attach localhost:5555
Test: atest CtsJdwpTestCases
Change-Id: I644c092c2ad5f6c9669bdccc24c7953d3be6b328
2019-02-15 15:08:50 +00:00
SzuWei Lin 6089834247 Merge "Fix booting problem on GSI with user build" am: b41ab14b1e am: 3e985e9b10
am: faffe14ea7

Change-Id: I34f18f0a5621429fae1abe110d5da2a19802c1fd
2019-02-15 02:54:26 -08:00
Treehugger Robot b41ab14b1e Merge "Fix booting problem on GSI with user build" 2019-02-15 10:37:44 +00:00
Remi NGUYEN VAN 9e79eb8719 Merge "Add test keys for networkstack" am: fc35e5aaa5 am: 661bfd4405
am: bc6517bf7e

Change-Id: I103b92197ae494b10a383ef8e72688968233336e
2019-02-14 22:38:17 -08:00
SzuWei Lin fd6d294c2b Fix booting problem on GSI with user build
GSI doesn't include gsi_system.prop on user build, and cause some
devices cannot boot GSI with user build. Some properies in
gsi_system.prop do not suitable for user build, the patch create
a new gsi_system_user.prop for GSI user build.

Bug: 124479721
Test: boot aosp_arm64-user on a blueline device.
Change-Id: Ide2bdc8e8733817afb832b50b28807768e22f011
2019-02-15 14:34:53 +08:00
Remi NGUYEN VAN fc35e5aaa5 Merge "Add test keys for networkstack" 2019-02-15 04:11:07 +00:00
Jiyong Park 70039c9f33 Merge "Revert "Add APK container signing key/cert pairs for APEXes"" am: da4ee462c7 am: 5f501b5127
am: fdc5c8439b

Change-Id: Ib3ca04a01d56b58e502796bf726c73134117e1aa
2019-02-14 11:16:12 -08:00
Treehugger Robot da4ee462c7 Merge "Revert "Add APK container signing key/cert pairs for APEXes"" 2019-02-14 18:42:47 +00:00
Suren Baghdasaryan b4ceb248c7 Merge "Add cgroups.recovery.json into recovery image" am: e57df508c4 am: 70072e97eb
am: 244ed1f4e3

Change-Id: I8bb86c8f850b96382ff6b94c932a4f13375787df
2019-02-14 10:28:14 -08:00
Suren Baghdasaryan 72546076c8 Add cgroups.recovery.json into recovery image
Use cgroups.recovery.json as /etc/cgroups.json during recovery.

Bug: 124270406
Test: "adb reboot sideload; adb devices" shows 'sideload' as expected
Change-Id: I0af01a6801da7ce29ddd7c30ad48be4f98c3a280
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-14 17:08:55 +00:00
Jiyong Park 2237d06a78 Revert "Add APK container signing key/cert pairs for APEXes"
This reverts commit 74f27716f3.

The key/cert pairs for APEXes are moved to the same directory where the
APEXes are defined.

Test: Check this for all APEXes
jarsigner -verify -verbose -certs out/target/product/blueline/system/apex/com.android.tzdata.apex shows
...
X.509, CN=com.android.tzdata, OU=Android, O=Android, L=Mountain View, ST=California, C=US

Change-Id: I8d867b434b93aa68cbc707fa20ed8dbd4cef755e
2019-02-15 00:39:47 +09:00
Martin Stjernholm 4124dedfa4 Merge "Disable installation of ART modules in /system." am: 6747fb91bb am: 49305909a8
am: 689a580f8d

Change-Id: I9aa42270ec87dafb116b3ef33c7ec795214acd45
2019-02-13 16:59:57 -08:00
Martin Stjernholm a568592f53 Disable installation of ART modules in /system.
Remove ART modules (`art-runtime`, `art-tools`) from `PRODUCT_PACKAGES`, as
they are provided by the Android Runtime APEX module
(`com.android.runtime`).

Copy of rpl's http://r.android.com/812674.

Test: Flash and boot
Test: atest CtsJniTestCases
Test: atest CtsJdwpTestCases
Test: m checkbuild dist
Bug: 113373927
Change-Id: I3e0c130f1a9c596629ab243648f0251cf71c1499
2019-02-13 22:28:09 +00:00
TreeHugger Robot c8f0dc3fe6 Merge "Add gsi_tool and DynamicAndroidInstallationService to base_system" 2019-02-13 16:44:56 +00:00
Justin Yun 4805947da8 Merge "Add an option not to install all VNDK libs" am: 95c7f58bb7 am: 3385d3f2ff
am: fd6dfb3734

Change-Id: I227878d5cad9b11e8852598cd4b6650b3328f4b7
2019-02-12 23:46:52 -08:00
Justin Yun 89443aed80 Add an option not to install all VNDK libs
When using VNDK snapshot, current VNDK libs are not required. Use
"TARGET_SKIP_CURRENT_VNDK=true" to skip installing current VNDK libs.

Bug: 123607022
Test: TARGET_SKIP_CURRENT_VNDK=true PRODUCT_EXTRA_VNDK_VERSIONS=28 m -j
Change-Id: I65c902c71a7952536bbf824a1dccb9360e843f1a
2019-02-13 10:46:10 +09:00
Remi NGUYEN VAN 333c98517b Add test keys for networkstack
The networkstack is using shared test keys for NetworkStack.apk,
CaptivePortalLogin.apk and NetworkStackPermissionStub.apk.

This allows NetworkStackPermissionStub.apk to define signature
permissions without the platform certificate, and enforce that the other
packages match the signature to use the permissions if they are
installed.

Bug: 124033493
Test: m
Change-Id: I7257a472d702e82acdadffc4e0535c63a8bd591d
2019-02-13 00:57:41 +09:00
Jiyong Park 45433aec35 Merge "TARGET_FLATTEN_APEX for GSI" am: 84f1ade63f am: cd3825adc7
am: 9772c4284a

Change-Id: I85f5b44b444a3050b85202eac5ae7bf7a29ca940
2019-02-12 00:23:16 -08:00
Jiyong Park 84f1ade63f Merge "TARGET_FLATTEN_APEX for GSI" 2019-02-12 08:04:39 +00:00
Mathieu Chartier 09b8342cf6 Merge "Revert "Enable layout compilation by default"" am: 5838c3f8bb am: f7f965ca40
am: 16f0df8b6b

Change-Id: Id6a5e6807202391764ca174e28f77aa118030fa2
2019-02-11 14:52:49 -08:00
Mathieu Chartier 5838c3f8bb Merge "Revert "Enable layout compilation by default"" 2019-02-11 22:10:55 +00:00
Mathieu Chartier fd2ae2892e Revert "Enable layout compilation by default"
This reverts commit 2e321b0e85.

Layout equality test is failing.
Bug: 111895153
Bug: 124248633
Exempt-From-Owner-Approval: Revert

Change-Id: Ia5c66b7a41963cd1b874c734164677f1fdcebb67
2019-02-11 22:10:40 +00:00
Mathieu Chartier e1b968ab69 Merge "Enable layout compilation by default" am: 0c44ba4eda am: a221a6e592
am: 2f9ba11cee

Change-Id: Ic5be52a78af677e86a22db2d3f3ec0a09fdefaee
2019-02-11 10:17:19 -08:00
Mathieu Chartier 0c44ba4eda Merge "Enable layout compilation by default" 2019-02-11 17:58:50 +00:00
Jiyong Park c35a33e59c TARGET_FLATTEN_APEX for GSI
Regular (non-flattened) APEX may require changes to the kernel, which is
against the Treble promise. For maximum compatibility, APEXes are
flattened for GSI so that APEXes can be activated by legacy kernels.

Bug: 124159875
Test: N/A
Change-Id: Iea5701d3b917ebf8657d3ce38131c1838b51677e
2019-02-11 21:50:02 +09:00
Anton Hansson a16b161499 Merge "Enable suspend for mainline charger" am: c75e5ba356 am: faf0bbf2b8
am: 33f67f3c46

Change-Id: I4ef01514cc4a17f460d17fb2c379221f0d727c7d
2019-02-11 03:11:00 -08:00
Anton Hansson c75e5ba356 Merge "Enable suspend for mainline charger" 2019-02-11 10:53:49 +00:00
Eino-Ville Talvala b4aa2116be Merge "Add camera.provider@2.5 to VNDK" 2019-02-11 01:22:52 +00:00
Luca Stefani 7c7b4b6beb Fix flags argument passed to avbtool for GSI images
* avbtool expect extra flags to be passed with the --flags argument
  but currently we're missing an 's'.
  Luckily this isn't an issue as python argparse matches
  --flag as an alias to --flags ( python... )

Test: m vbmetaimage; check vbmeta header
Change-Id: I42d833c61c9b313dc067b1e519bae36395d09824
2019-02-10 19:59:27 +01:00
Anton Hansson 5d89ad8044 Merge "Remove non-existant packages from mainline_system" am: 76d8591417 am: 68028611f0
am: 1d1725d7eb

Change-Id: Iffa203bc5a893e89467a76782a8759bf46679844
2019-02-08 06:48:16 -08:00
Mathieu Chartier 2e321b0e85 Enable layout compilation by default
Aims to get additional coverage of the view compiler. Note that the
compiled views are not currently loaded.

Test: adb shell getprop
Bug: 111895153

Change-Id: I7b172fc55bc47ee1593eb352fb9d9143f44a1e6c
2019-02-08 13:35:54 +00:00
Anton Hansson b100f5b834 Enable suspend for mainline charger
Bug: 80410283
Test: make
Change-Id: I09efa8dd557d586424c342772925b9ab2940bc88
2019-02-08 13:34:49 +00:00
Anton Hansson c8df56f35e Remove non-existant packages from mainline_system
Also add the health-check macro to the buildable products
to make sure no other non-existant packages are added.

Bug: 80410283
Test: build mainline_arm64 + mainline_system_arm64
Change-Id: I6c54de2f43b5ab0c9e0ddfa09fa7553c321e4aa7
2019-02-08 08:08:52 +00:00
Anton Hansson ed5f6646b0 Remove DMService from mainline_system
Doesn't exist in AOSP.

Bug: 110072687
Test: make
Change-Id: I516ff4d647e62b8535e9bf648a156b010a328e93
Merged-In: I516ff4d647e62b8535e9bf648a156b010a328e93
2019-02-08 08:08:46 +00:00
Anton Hansson 64179cca6d Merge "Remove DMService from mainline_system" 2019-02-07 08:43:47 +00:00
Anton Hansson ac03357fa7 Merge "Add bluetooth build config for mainline" am: 375291fa26 am: 6b50388c80
am: 9e78eb58ba

Change-Id: Iedda9dfda4513aff273be82e519bf570bc7fb30f
2019-02-07 00:23:57 -08:00
Anton Hansson 375291fa26 Merge "Add bluetooth build config for mainline" 2019-02-07 08:07:06 +00:00
TreeHugger Robot afaeb98c40 Merge "Refactor frameworks-base-overlays." 2019-02-07 01:39:42 +00:00
Henry Fang 61738b7bf7 Merge "enable cas@1.1 interface" 2019-02-06 20:55:28 +00:00
Steven Moreland 890f9324f6 Merge "mainline_system -= ...tests.libhwbinder@1.0-impl" am: 7bd8753381 am: 7a61e48691
am: 41919a7998

Change-Id: I55fd8d0363aaad37c0ffad5e543b8a6a75049d3d
2019-02-06 10:57:33 -08:00
Steven Moreland 7bd8753381 Merge "mainline_system -= ...tests.libhwbinder@1.0-impl" 2019-02-06 18:16:54 +00:00
Amin Shaikh e5234f8f02 Refactor frameworks-base-overlays.
Split debug packages out of frameworks-base-overlays. Add this
collection of packages to handheld_product instead of handheld_vendor
since they all have LOCAL_PRODUCT_MODULE set to true.

Bug: 118757293
Test: make
Change-Id: Ibb94bf16e6d462fc32767275c923c4128f2fd731
2019-02-06 11:42:59 -05:00
Anton Hansson 60bf75ae47 Add bluetooth build config for mainline
This matches the build config used on current mainline devices,
but should ideally be removed once possible.

Bug: 123695868
Test: boot blueline
Change-Id: I8fdef9fbe45b75f175afe9350974f54d1ec5e0c8
2019-02-06 15:51:03 +00:00
Orion Hodson d2d3c048d0 Merge "Remove libsurfaceflinger_ddmconnection from PRODUCT_PACKAGES" 2019-02-06 08:51:39 +00:00
Tri Vo cbf67e8864 Merge "Add ashmemd to base_system.mk" am: 7bd32730a4 am: 07e5189064
am: 5a3d3acce8

Change-Id: I1b7b45b1ef1bad377ee1e1a7258d3f7b7110bc50
2019-02-05 14:08:54 -08:00
Tri Vo 7bd32730a4 Merge "Add ashmemd to base_system.mk" 2019-02-05 21:38:50 +00:00
Henry Fang bce4255f30 enable cas@1.1 interface
Replace default cas@1.0 with cas@1.1
Test: Manual
bug: 123903559

Change-Id: I25e66988581ec6d47dee8790e3ccc32d46cca004
2019-02-05 13:17:03 -08:00
Orion Hodson 172eae9364 Remove libsurfaceflinger_ddmconnection from PRODUCT_PACKAGES
DdmConnection dlopen's libart.so which is undesirable for the Runtime Module.

Bug: 120782499
Test: m -j100
Change-Id: I53aa1ee43da6cbee8a61c231e38d8bdad26c98e4
Merged-In: I53aa1ee43da6cbee8a61c231e38d8bdad26c98e4
2019-02-05 09:31:33 +00:00
TreeHugger Robot a16c00adbe Merge "Remove libsurfaceflinger_ddmconnection from PRODUCT_PACKAGES" 2019-02-05 09:06:51 +00:00
Kostya Kortchinsky 027324099f Add option to disable Scudo globally [Make]
This adds an option to turn off Scudo globally, and use it for Go.

Bug: 123228023
Test: verify that Scudo is disabled for a Go build, eg:
lunch marlin_svelte-eng && m -j, check that Scudo is not linked in
out/target/product/marlin/system/bin/mediaextractor
Test: verify that Scudo is enabled otherwise, eg:
lunch marlin-eng && m -j, check that Scudo is linked in
out/target/product/marlin/system/bin/mediaextractor

Change-Id: Idc82d581fade544a474e6f2ff0b54dd191ba0818
Merged-In: Idc82d581fade544a474e6f2ff0b54dd191ba0818
2019-02-04 12:35:04 -08:00
Kostya Kortchinsky 954832632d Add option to disable Scudo globally [Make]
This adds an option to turn off Scudo globally, and use it for Go.

Bug: 123228023
Test: verify that Scudo is disabled for a Go build, eg:
lunch marlin_svelte-eng && m -j, check that Scudo is not linked in
out/target/product/marlin/system/bin/mediaextractor
Test: verify that Scudo is enabled otherwise, eg:
lunch marlin-eng && m -j, check that Scudo is linked in
out/target/product/marlin/system/bin/mediaextractor

Change-Id: Idc82d581fade544a474e6f2ff0b54dd191ba0818
2019-02-04 15:43:18 +00:00
Orion Hodson 534b105964 Remove libsurfaceflinger_ddmconnection from PRODUCT_PACKAGES
DDMS dlopen's libart.so which is undesirable for the Runtime
Module.

Bug: 120782499
Test: m -j100
Change-Id: I53aa1ee43da6cbee8a61c231e38d8bdad26c98e4
2019-02-04 15:08:41 +00:00
Suren Baghdasaryan 521133d9d2 Add libjsoncpp into VNDK
Include libjsoncpp into vndk because libprocessgroup uses it
for task profile parsing.

Bug: 111307099
Test: builds, boots
Change-Id: I99ddc4db53a7e9b2b6122ca1f0360ded454d0d83
Merged-In: I99ddc4db53a7e9b2b6122ca1f0360ded454d0d83
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-02 17:06:54 +00:00
Suren Baghdasaryan 35fc328316 Add cgroups.json and task_profiles.json build targets
Add cgroups.json and task_profiles.json into the list of packages.

Bug: 111307099
Test: builds, boots

Change-Id: Ib8ab11de573505f522ccd9cec2c6afd7e23d2f2f
Merged-In: Ib8ab11de573505f522ccd9cec2c6afd7e23d2f2f
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-02 17:05:56 +00:00
Suren Baghdasaryan 7ab0a16028 Add libjsoncpp into VNDK
Include libjsoncpp into vndk because libprocessgroup uses it
for task profile parsing.

Bug: 111307099
Test: builds, boots
Change-Id: I99ddc4db53a7e9b2b6122ca1f0360ded454d0d83
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-02 05:52:30 +00:00
Suren Baghdasaryan 7007488c44 Add cgroups.json and task_profiles.json build targets
Add cgroups.json and task_profiles.json into the list of packages.

Bug: 111307099
Test: builds, boots

Change-Id: Ib8ab11de573505f522ccd9cec2c6afd7e23d2f2f
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-02 05:52:20 +00:00
SzuWei Lin 0fae759a19 Merge changes I1772a55a,Ibd398d4f,If5476048,Ied201aad am: f834600fb3 am: c1ea73f62e
am: c93d4c67cd

Change-Id: If96022f3f2fc7a08558979d32513ce17c134078e
2019-02-01 16:52:30 -08:00
Treehugger Robot f834600fb3 Merge changes I1772a55a,Ibd398d4f,If5476048,Ied201aad
* changes:
  Enable mainline checking for all GSI targets
  Change aosp_$arch.mk to inherit from gsi_common.mk
  Change Legacy GSI to inherit from gsi_common.mk
  Whilelist system/product_services in gsi_common.mk
2019-02-02 00:27:37 +00:00
Henry Fang 4cfc44949d Merge "Revert "Revert "Change make file to include cas@1.1""" 2019-02-01 15:17:39 +00:00
SzuWei Lin 323be83a66 Enable mainline checking for all GSI targets
There are some makefile inherit from aosp_$arch*.mk. This patch
change to only enable mainline checking on excat GSI targets,
such as aosp_$arch or aosp_$arch_(a|ab), and does not apply on
the child targets.

This patch also add some more whitelist items to gsi_common.mk

Bug: 123613261
Test: aosp_arm64-userdebug build pass
Test: remove some whitelist items and aosp_arm64-userdebug build fail
Test: sdk_phone_arm64-eng build pass
Test: gsi_arm64-userdebug build pass
Change-Id: I1772a55ab823a0312b9f215f0d2c3b0c727c8e4b
2019-02-01 15:30:28 +08:00
SzuWei Lin ce1fdb2f55 Change aosp_$arch.mk to inherit from gsi_common.mk
The patch changes GSI (aosp_$arch) to inherit from gsi_common.mk
instead of aosp_base_telephony.mk.

The patch also clones the emulator_vendor.mk from emulator.mk to
include all vendor modules.

Bug: 119747870
Test: boot aosp_arm64-userdebug on a blueline device on master/P
Test: boot aosp_x86-userdebug on the emulator
Test: boot aosp_x86_64-userdebug on the emulator
Test: compare the out folder with/without the patch, only more content
Change-Id: Ibd398d4f93d2a964813e05ccd434975435d25adc
2019-02-01 11:29:02 +08:00
SzuWei Lin f6f5d8ad09 Change Legacy GSI to inherit from gsi_common.mk
The patch change Legacy GSI (aosp_$arch_(a|b)) to inherit from
gsi_common.mk instead of treble_common.mk

It does not inherit from gsi_common.mk directy. The patch adds
legacy_gsi_common.mk to extend gsi_common.mk, and all Legacy
GSI inherit from legcay_gsi_common.mk.

The patch also removed treble_common*.mk.

Bug: 119747870
Test: flash aosp_arm64_ab-userdebug on blueline P
Test: flash aosp_arm64_ab-userdebug on walleye O-MR1
Change-Id: If54760484cc0937719c1336f1a4caac8468d2009
2019-02-01 11:29:02 +08:00
SzuWei Lin 54ea4b763a Whilelist system/product_services in gsi_common.mk
GSI could include system/product_services to override the content
in product_services partition, so whitelist the folder.

Bug: 119747870
Test: build a build target has prodcut_services and
Test: inherit gsi_common.mk
Change-Id: Ied201aad88d75ef85258c24e8a2a4952b968ff3f
2019-02-01 11:29:02 +08:00
Steven Moreland 5bc1844b2a mainline_system -= ...tests.libhwbinder@1.0-impl
Tests are configured to load this statically now.

Fixes: 122456128
Test: libhwbinder_benchmark, hwbinderThroughputTest, libhwbinder_latency
Change-Id: I5cd53642d8b6ddb85e79fd231280b9d26ce3ee35
2019-02-01 01:56:29 +00:00
Henry Fang 695482bfca Revert "Revert "Change make file to include cas@1.1""
This reverts commit 674fd1461a.

Reason for revert: <This CL isn't related to public API which triggered previous revert>

Change-Id: I1db7e0541790ee8a0c196d9d2ff4d9f4f14e04a2
2019-01-31 22:26:49 +00:00
Mathieu Chartier c40654f951 Merge "Remove USER exclusion for dalvik.vm.dex2oat-resolve-startup-strings" am: 4bd3fe9565 am: 1f66faaa80
am: fd7af3f2c2

Change-Id: I449f0e7eb2c98ed6a56529026d45470daac707ab
2019-01-31 13:58:13 -08:00
Mathieu Chartier 42ce38236a Remove USER exclusion for dalvik.vm.dex2oat-resolve-startup-strings
Aims to have more consistency between user and userdebug builds.

Bug: 116059983
Test: make

Change-Id: I4f8bdbdd9c3983d04d956a4993d9de60f5f60664
2019-01-31 09:53:52 -08:00
Calin Juravle 2784fd03e2 Merge "Count hotness in system server compiled code" am: 4f3f03c09b am: 536c2d3de8
am: 77a08b4fb2

Change-Id: I9974a6e48aee713e51e88de022391c79a70b463d
2019-01-31 09:37:31 -08:00
Calin Juravle fae75af005 Count hotness in system server compiled code
Bug: 123665033
Test: manual: build & look at system server profile
Change-Id: Ia155073ee6f94424f2c22035283f688a495fba8c
2019-01-31 00:00:34 -08:00
TreeHugger Robot 5641680e7f Merge "Move font overlay packages to Pixel." 2019-01-31 04:31:58 +00:00
Xusong Wang d727c22e81 Merge "Revert "Change make file to include cas@1.1"" 2019-01-31 01:07:26 +00:00
Xusong Wang 674fd1461a Revert "Change make file to include cas@1.1"
This reverts commit 9082be6c95.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Id069bb654d3e5daf6dd148f1c69b05594e8760fa
2019-01-31 01:05:53 +00:00
Mathieu Chartier 239f5792b7 Merge "Enable resolution of startup const-string for non user builds" am: 8fdf4e0f5b am: 47200d864f
am: 97adeb16aa

Change-Id: I81a890f0cd01b8b20e77d676386b4aada5e70847
2019-01-30 15:09:19 -08:00
Henry Fang c710fee848 Merge "Change make file to include cas@1.1" 2019-01-30 22:53:52 +00:00
Mathieu Chartier 8fdf4e0f5b Merge "Enable resolution of startup const-string for non user builds" 2019-01-30 22:40:03 +00:00
Sandeep Patil df3d26eef2 Merge "vndk: current: remove libpagemap" am: 7839861087 am: 6ee9c26851
am: 1569df0004

Change-Id: I3624af7369084219bf90532c5db4c7914d281b34
2019-01-30 11:48:09 -08:00
Treehugger Robot 7839861087 Merge "vndk: current: remove libpagemap" 2019-01-30 19:19:26 +00:00
Amin Shaikh 33aac984c4 Move font overlay packages to Pixel.
Include FontNotoSerifSourceOverlay to AOSP so developers have one option
to choose from in developer options.

Bug: 123570171
Test: make
Change-Id: Idd47899ce9e0a35d2dde35bfdcb8f9ffba61429a
2019-01-30 14:13:45 -05:00
Mathieu Chartier cf5a8b16ed Enable resolution of startup const-string for non user builds
Bug: 116059983
Bug: 111397239
Test: make
Change-Id: I82dec2041e7cb83897bd7ed7125631c39a4af85a
2019-01-30 17:14:00 +00:00
Mathieu Chartier 4aaa9fc7da Merge "Disable iorapd by default" 2019-01-30 06:12:31 +00:00
SzuWei Lin b31043144e Merge "Add gsi_common.mk" am: 59fa4ca993 am: a4dabb3050
am: 782e918327

Change-Id: I90fabbbec4f10b3b9092f22df649cdaeb7caf956
2019-01-29 21:59:15 -08:00
Treehugger Robot 59fa4ca993 Merge "Add gsi_common.mk" 2019-01-30 05:32:53 +00:00
Tri Vo 8c52dffaee Add ashmemd to base_system.mk
Bug: 113362644
Test: presubmit
Change-Id: Ic31ba5a86df82afc2ad76fda558360f5474ba931
2019-01-29 20:19:32 -08:00
TreeHugger Robot b8b741f090 Merge "Reduced down slop and added action for expanding notifications (2/2)" 2019-01-30 00:37:02 +00:00
Mathieu Chartier 3dbd7356de Disable iorapd by default
Test: reboot and verify iorapd is not running
Bug: 123595428
Bug: 72170747
Change-Id: I9c53714d6a35f8cb016e0baceeb12482d50557a5
2019-01-29 15:19:35 -08:00
Sandeep Patil 74e85fe723 vndk: current: remove libpagemap
Bug: 113035067
Test: lunch aosp_blueline-userdebug; m -j

Change-Id: Ie866eb9fc53ee81d3034520d560aa0ed7d7ba45a
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-01-29 14:59:36 -08:00
SzuWei Lin 97951719ae Add gsi_common.mk
gsi_common.mk is a new makefile file for GSI build targets.
It inherited the content from Mainline by mainline_system.mk.
Also it include other default GSI settings and try to covered
all contents from aosp_base_telephony.mk

It will be used to replace the treble_common*.mk. All
aosp_$arch*.mk will become to inherit from gsi_common.mk.

This patch also contains a new build target gsi_arm64,
which is used to test the gsi_common.mk purely.

Bug: 119747870
Test: compare the out system folder between gsi_arm64 and aosp_arm64
Test: also the gsi_arm64-userdebuge can boot on a Pixel device
Change-Id: I9a013f9407e0fe06b45011e36d5169b94f67148d
2019-01-29 18:00:04 +08:00
Anton Hansson 51e82f87d7 Remove DMService from mainline_system
Doesn't exist in AOSP.

Bug: 110072687
Test: make
Change-Id: I516ff4d647e62b8535e9bf648a156b010a328e93
2019-01-29 09:25:09 +00:00
Steven Moreland 67edfd726f Merge "base_vendor += dumpsys_vendor" am: 3a296fde5f am: 23ae5c0c5a
am: 74540d3007

Change-Id: I4a9b3667c60ffed7a1c53a47181a07358b482f9f
2019-01-29 00:27:42 -08:00
Ruchi Kandoi 00c5785ded Merge "add android.hardware.secure_element@1.1" am: fee423e64d am: eebdf6f0ac
am: 66ac1276f6

Change-Id: Icd11ed886da39e32a45604e2e1ded35eda94c48c
2019-01-28 23:20:25 -08:00
Yifan Hong 1d9f2bbaaa Merge "Add product_compatibitility_matrix.xml to base_product." am: bf21932408 am: ba52952af3
am: 0316dd616a

Change-Id: I46beb08c1702eb56ab3202cbc1d69b73e3773cf5
2019-01-28 20:50:50 -08:00
Treehugger Robot 3a296fde5f Merge "base_vendor += dumpsys_vendor" 2019-01-29 01:46:08 +00:00
TreeHugger Robot 9e882dd360 Merge "Add android.hardware.input.common HAL" 2019-01-29 01:19:11 +00:00
Ruchi Kandoi fee423e64d Merge "add android.hardware.secure_element@1.1" 2019-01-28 21:49:55 +00:00
Yifan Hong bf21932408 Merge "Add product_compatibitility_matrix.xml to base_product." 2019-01-28 18:08:44 +00:00
Anton Hansson 90bd77071e Merge "Move mainline_arm64 over to use mainline device" am: ad9ee4b504 am: 2b219b051f
am: bd57a28943

Change-Id: I415e70e6e42eb0ccf11fdca8a8205965f1795af5
2019-01-28 03:07:58 -08:00
Anton Hansson ee25fc7a63 Merge "Add recovery_refresh to mainline_system" am: 8fbdd25457 am: 628e7ff762
am: b5ca00950b

Change-Id: I3555941bb1840ed400ccfb786695239da14f5d87
2019-01-28 03:07:00 -08:00
Anton Hansson ad9ee4b504 Merge "Move mainline_arm64 over to use mainline device" 2019-01-28 10:49:32 +00:00
Anton Hansson 8fbdd25457 Merge "Add recovery_refresh to mainline_system" 2019-01-28 10:49:16 +00:00
Anton Hansson a8b60940c5 Merge "Auto-include device_manifest.xml when necessary" am: 096b88bf90 am: 1cff5df789
am: 7c1890f536

Change-Id: I436dc97b1a1b9531017963e98d5b8ccd7cc01b6a
2019-01-28 02:00:22 -08:00
Nicolas Geoffray 5f3ef9dbcc Merge "Move remaining libcore JNI libraries to APEX." am: 93626d9616 am: 8b227ab6d9
am: 07c2c7c837

Change-Id: I9adba89837ed8c91626dc38a70b8067f6be95a07
2019-01-28 01:57:05 -08:00
Anton Hansson 096b88bf90 Merge "Auto-include device_manifest.xml when necessary" 2019-01-28 09:18:34 +00:00
Nicolas Geoffray 93626d9616 Merge "Move remaining libcore JNI libraries to APEX." 2019-01-28 09:16:21 +00:00
Pete Bentley b8b08bdd02 Move remaining libcore JNI libraries to APEX.
Test: Flash and boot on Taimen
Test: atest CtsLibcoreTestCases CtsJniTestCases
Bug: 119090773
Change-Id: Ia9e7077327d2abc3f637c09acc5933b9c1682d5a
Exempt-From-Owner-Approval: Simple clean steps rule
2019-01-28 09:14:12 +00:00
Steven Moreland 442e983241 base_vendor += dumpsys_vendor
Bug: 123433249
Test: adb shell /vendor/bin/dumpsys
Change-Id: I989825c65d759fd07ff0d0f690bc45d056637528
2019-01-25 19:15:20 -08:00
Matthew Ng b693371fd7 Reduced down slop and added action for expanding notifications (2/2)
Added an option to select expanding notifications to execute after a
gesture. Exploring swipe down by reducing the touch slope to a smaller
value to execute more. Since it is swiping towards the edge, less events
will be received and typically hard to trigger when swiping other
directions.

Bug: 112934365
Test: manual
Change-Id: Ibf59c87622e988511fe620ac60ee3d0e44aeb2b2
2019-01-25 14:45:29 -08:00
Henry Fang 9082be6c95 Change make file to include cas@1.1
Change configure file for build system to include cas@1.1
Test: manual
Bug: 122472761

Change-Id: I360bc430ed879d7c900fe5d1f77c7d3c16cff1fa
2019-01-25 14:43:51 -08:00
Jiyong Park 54f1d8e052 Merge "Add APK container signing key/cert pairs for APEXes" am: 1ff476e216 am: 8bb658cb89
am: 60beb2863a

Change-Id: Iaf087514d7ffdef038dd94fab5cd34b89c54dbf4
2019-01-25 12:07:44 -08:00
Treehugger Robot 1ff476e216 Merge "Add APK container signing key/cert pairs for APEXes" 2019-01-25 19:46:08 +00:00
TreeHugger Robot 9e5c79841c Merge "Use go_handheld_core_hardware.xml for Go builds" 2019-01-25 18:46:28 +00:00
Jiyong Park 74f27716f3 Add APK container signing key/cert pairs for APEXes
Created via
openssl req -x509 -newkey rsa:4096 -nodes -days 999999 -keyout key.pem -out com.android.tzdata.x509.pem
openssl pkcs8 -topk8 -inform PEM -outform DER -in key.pem -out com.android.tzdata.pk8 -nocrypt

Test: m com.android.tzdata
jarsigner -verify -verbose -certs out/target/product/blueline/system/apex/com.android.tzdata.apex shows
...
X.509, CN=com.android.tzdata, OU=Android, O=Android, L=Mountain View, ST=California, C=US

Change-Id: I19f6efaaa6468e65e9891e4e61704fb48f0b986a
2019-01-26 02:19:58 +09:00
Suren Baghdasaryan 3a14d98f11 DO NOT MERGE: Revert "Revert "Add libprocessgroup into VNDK""
This reverts commit fec192e98f.

Reason for revert: AOSP is fixed with new vendor image

Change-Id: I2b7f4683139cf28bb5b8fa64c5c5273cf5c935a3
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-25 16:52:50 +00:00
Anton Hansson b4bb4308d9 Merge "Move PrintRecommendationService back to handheld_system" am: 673cbcd6f8 am: 6529ac841a
am: 67014e8f4a

Change-Id: I3bb0ba3a185ee6fe8cb25304b94927d15d23a6fe
2019-01-25 08:31:50 -08:00
Anton Hansson 6529ac841a Merge "Move PrintRecommendationService back to handheld_system"
am: 673cbcd6f8

Change-Id: I818fe4c0cadcaa7c368267e594cacfe9b82caa1e
2019-01-25 08:19:29 -08:00
Hung-ying Tyan 5ac10bee7f Add gsi_tool and DynamicAndroidInstallationService to base_system
Bug: 122015653
Test: run "adb shell am ..." to trigger DynamicAndroidInstallationService
      full command: adb shell am start-activity -a
        android.content.action.START_INSTALL -e KEY_SYSTEM_URL <file_url>
        --el KEY_SYSTEM_SIZE <system_image_size> --el KEY_USERDATA_SIZE 8589934592
Test: run "adb shell gsi_tool"

Change-Id: I4045a16dd50066c8a303be13c524ed4c09f60f87
2019-01-25 23:21:41 +08:00
Anton Hansson d5e069e405 Auto-include device_manifest.xml when necessary
It doesn't make sense to specify a DEVICE_MANIFEST_FILE but the
build not including it. The conditional definition of the module
makes it problematic to have it listed in the PRODUCT_PACKAGES
of a generic mk.

Test: build mainline_arm64 + mainline_system_arm64
Change-Id: I40e435ce114263ceabbd373d3d719318c592fc13
2019-01-25 13:50:47 +00:00
Anton Hansson 14fb72c15c Move mainline_arm64 over to use mainline device
Possible now that it has TARGET_COPY_OUT set for vendor and
product.

Update the whitelist too.

Bug: 120974093
Test: make
Change-Id: I99eb718f5f4e79b9224a4079f2ff4595cd2b7ae2
2019-01-25 11:29:26 +00:00
Anton Hansson 91fddbbd95 Add recovery_refresh to mainline_system
Needed by recovery on devices without a cache partition.

Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: I71fd35022b0928016f6767cea35971ce14bf03fe
2019-01-25 11:27:27 +00:00
Anton Hansson dca5c961a2 Move PrintRecommendationService back to handheld_system
This app is not intended to be moved to /product.

Bug: 122353713
Test: lunch mainline_arm64; m nothing
Change-Id: I65464975a77e187591b3e2de2521f1b2876b5abf
2019-01-25 11:14:47 +00:00
Dan Willemsen fee862995a Merge "Bump the remaining 32-bit arm configs to require neon" am: 1fdf5d789b am: 7ce2e247d9
am: f60131d3d8

Change-Id: If906225e372e1c278749ea0af8586dbdb4bdf77e
2019-01-24 20:14:23 -08:00
Dan Willemsen 7ce2e247d9 Merge "Bump the remaining 32-bit arm configs to require neon"
am: 1fdf5d789b

Change-Id: I51fd1a89aae654e9e34ecaa21eff5b66987b981f
2019-01-24 19:58:20 -08:00
Dan Willemsen 1fdf5d789b Merge "Bump the remaining 32-bit arm configs to require neon" 2019-01-25 03:52:17 +00:00
Ng Zhi An 4039feb041 Use go_handheld_core_hardware.xml for Go builds
Test: m, ! grep app_widgets $OUT/vendor/etc/permissions/handheld_core_hardware.xml
Change-Id: I5f1c43add007840356faad848a40b284e774883e
2019-01-24 16:46:33 -08:00
Siarhei Vishniakou b1c7fb3dc1 Add android.hardware.input.common HAL
This HAL is used to keep common definitions, potentially used by other
input HALs in the future.

Bug: 111480215
Test: make only
Change-Id: I499a7988211a6fc1253805038ac7edcf337bc4e2
2019-01-24 11:54:09 -08:00
Paul Duffin 96d0b82e52 Merge "Remove REMOVE_OAHL_FROM_BCP flag" am: 22efcc114e am: 5941366ce2
am: 7d2a8a5668

Change-Id: I7b3799cc92bda1f0a1a2b31902438e941d433044
2019-01-24 08:22:22 -08:00
Paul Duffin 5941366ce2 Merge "Remove REMOVE_OAHL_FROM_BCP flag"
am: 22efcc114e

Change-Id: I44119648a93a299a3d1901fcad695c57372743f9
2019-01-24 08:10:56 -08:00
Paul Duffin 22efcc114e Merge "Remove REMOVE_OAHL_FROM_BCP flag" 2019-01-24 16:01:40 +00:00
Dan Willemsen 53d62fed72 Bump the remaining 32-bit arm configs to require neon
Stop using armv7-a without neon for 32-bit unbundled apps, and update
generic_x86_arm to match the cuttlefish configuration that includes
neon.

Test: treehugger
Change-Id: Ieb6a2106655803a8ca609907c12168e628ee1b85
2019-01-23 22:27:33 -08:00
Suren Baghdasaryan fec192e98f DO NOT MERGE: Revert "Add libprocessgroup into VNDK"
This reverts commit 1877db4591.

Reason for revert: Broke AOSP

Change-Id: I4f4b8bae60966f1459365387bbde5a1f60c7b727
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-23 20:52:04 -08:00
Badhri Jagan Sridharan 04104dd964 Merge "USB: VNDK: Add USB V1.2 hal interface" 2019-01-24 02:03:20 +00:00
Henry Fang 686743d92c Merge "Update CEC hal to 2.0" 2019-01-24 01:02:05 +00:00
Ruchi Kandoi 4cb79e1412 add android.hardware.secure_element@1.1
Test: compiles
Bug: 122590188
Change-Id: Ibfbc3ecf5c19c42ea4ba695f2a9d6ad04cd9bf62
2019-01-23 14:31:39 -08:00
Yifan Hong 28ee89dda1 Add product_compatibitility_matrix.xml to base_product.
The module refers to framework compatibitlity matrix
that defined OEM modules.

Also, renamed framework_compatibility_matrix.xml
to system_compatibility_matrix.xml, since
framework_compatibility_matrix.xml consists of both
system and product compatibility matrices. This fixes
mainline build.

Test: build
Test: boot device with product compatibility matrix

Bug: 120600021
Change-Id: Ibfb12578c3ec77b6baede4eed852074e08022119
2019-01-23 12:22:04 -08:00
Badhri Jagan Sridharan 981a8d3219 USB: VNDK: Add USB V1.2 hal interface
Bug: 119642987

Test: TBD
Change-Id: Id34809f5f1553dbeb73ff721f9fdab046f0b839e
2019-01-23 10:38:55 -08:00
Anton Hansson 65c5b81745 Merge "Move ModuleMetadata to base_product" am: 2ec9fcd951 am: 999a9f4b28
am: f09d5ed23c

Change-Id: Ia65e553c5fe35ded9d88807c17eb3ebed511ae75
2019-01-23 03:42:33 -08:00
Anton Hansson 2ec9fcd951 Merge "Move ModuleMetadata to base_product" 2019-01-23 11:17:43 +00:00
Anton Hansson d596209561 Merge "Enable 64-bit mediadrmserver for mainline" am: 767569b489 am: 9c67ac4003
am: a9ea6d883c

Change-Id: I0d48bf4b3d529a425e30a7454a25f9adc8abaa38
2019-01-23 02:23:04 -08:00
Anton Hansson 767569b489 Merge "Enable 64-bit mediadrmserver for mainline" 2019-01-23 09:56:46 +00:00
Ivan Lozano 36440eaf11 Merge "Add mediacodec.policy to the mainline system." 2019-01-22 18:56:39 +00:00
Suren Baghdasaryan 1877db4591 Add libprocessgroup into VNDK
Include libprocessgroup into vndk because libprocessgroup now implements
sched_policy control functions.

Bug: 111307099
Test: builds, boots
Merged-In: If18227e8a824a1e606df78dfe01d9d2437c62792
Change-Id: If18227e8a824a1e606df78dfe01d9d2437c62792
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-22 18:16:56 +00:00
Anton Hansson f2d90e9143 Move ModuleMetadata to base_product
The app is moving from /system to /product.

Bug: 122353713
Test: make
Change-Id: I0987b46013527503eedf75350bc30b303722552b
2019-01-22 18:07:03 +00:00
Paul Duffin fd24c9fe1f Remove REMOVE_OAHL_FROM_BCP flag
The REMOVE_OAHL_FROM_BCP flag is always set to true and is no longer
necessary so this change removes any uses of the flag.

Bug: 18027885
Test: cts/tests/signature/runSignatureTest.sh
Change-Id: Ied8c3315b29094ad6acee539520af3e4c9e79839
2019-01-22 14:16:12 +00:00
TreeHugger Robot bf0574c5c3 Merge "Add updatable-media to bootclasspath" 2019-01-21 14:27:09 +00:00
Dan Willemsen 8ba31669e9 Merge "Add previously debug-tagged modules" am: 241d7cdba0 am: 2c4201eaca
am: 3b59a7b9ef

Change-Id: Idf89ceb2361ca0396904b5936607e3fd5c870b6b
2019-01-19 00:13:29 -08:00
Dan Willemsen 241d7cdba0 Merge "Add previously debug-tagged modules" 2019-01-19 07:39:56 +00:00
Dongwon Kang b83a586e4c Add updatable-media to bootclasspath
Test: build & boot & MediaPlayer2Test
Bug: 112766913
Change-Id: I138558b6f629b0adcfc86787ca21e1c078b7d3cd
2019-01-18 21:12:56 -08:00
Dongwon Kang da8e3d0735 Merge "Move UPDATABLE_BOOT_(MODULES|JARS) to base_system.mk for further extension" am: 082fd2c5bc am: e8b1110846
am: fad608125e

Change-Id: Ida46b54700de4306303517c34e030fb2bfc851d7
2019-01-18 21:09:45 -08:00
Dongwon Kang 167758a153 Move UPDATABLE_BOOT_(MODULES|JARS) to base_system.mk for further extension
Test: build & boot
Bug: 112766913

Change-Id: I5af02d44c4b4163acdc4e3078dcebd84556ee049
2019-01-18 17:06:18 -08:00