Commit Graph

3186 Commits

Author SHA1 Message Date
SzuWei Lin 8b60c822ab Force generic system image to load dex pre-opt from system
Generic system image always generates dex pre-opt in system image,
to improve the time of first boot.

But the property ro.cp_system_other_odex could be defined in vendor
image, so we disable the property in generic system image to force
dex pre-opt be loaded from system image.

Bug: 62645784
Test: Test the patch on a A/B project with GSI, confirm the dex
      pre-opt is loaded from GSI.

Change-Id: I71b4a5bed517841b5f889d21d73429fa91da25ba
Merged-In: I71b4a5bed517841b5f889d21d73429fa91da25ba

(cherry picked from commit 5677b877fb)
2017-08-04 11:47:02 +08:00
Jeff Hao b454ee195a Add dirty-images-objects handling to boot image build.
Allows grouping of classes with dirty static fields to be grouped
together in the image to have fewer dirty pages.

(cherry-picked from commit 865d54caf2)

Bug: 62554875
Test: mm test-art-host

Merged-In: I2486d2704d74a192f1ecdc02589e569b61efa4ae
Change-Id: I2486d2704d74a192f1ecdc02589e569b61efa4ae
2017-08-03 11:04:11 -07:00
Bowgo Tsai 9afc0d5349 treble_common.mk: add the vbmeta.img to disable verification
AVB should be disabled for Treble VTS. Otherwise, OEM devices cannot boot
the generic system.img provided by Google.

Bug: 64055917
Test: Compiles and boot a device with the vbmeta.img
Change-Id: I0eaae7beebc8b901d0b4766c2cdc34a27ad02b59
2017-08-02 21:15:26 +08:00
Bo Hu e6e2566f07 Merge "Revert "Revert "emulator: create qemu images for system,vendor""" am: 5af2027e34 am: abd33cdba6 am: 1b86b7581c
am: d80d922083

Change-Id: I7bc9ad244fe32d494a1719338711579ce2aafc4b
2017-08-01 23:34:44 +00:00
Bo Hu d80d922083 Merge "Revert "Revert "emulator: create qemu images for system,vendor""" am: 5af2027e34 am: abd33cdba6
am: 1b86b7581c

Change-Id: I0c8bf4c8db0cb783c7116d2f9d0734b98341401a
2017-08-01 23:30:23 +00:00
Bo Hu 1b86b7581c Merge "Revert "Revert "emulator: create qemu images for system,vendor""" am: 5af2027e34
am: abd33cdba6

Change-Id: I4ec03f912aa03156114859432f4331f50b5d60b2
2017-08-01 23:26:17 +00:00
Bo Hu abd33cdba6 Merge "Revert "Revert "emulator: create qemu images for system,vendor"""
am: 5af2027e34

Change-Id: I61b9598d6b69d74a42ad0dc445c866e3034ff638
2017-08-01 23:22:17 +00:00
Bo Hu bc88ff69cf Revert "Revert "emulator: create qemu images for system,vendor""
This reverts commit 9b99ddc8a5.
and add syste-qemu.img to the dependency list of sdk target

BUG: 64235252

Test: build sdk target successfully

(cherry picked from commit f0d50bbef0)

Change-Id: I813233c7c3f06eb1eca18aad5ea890a55814eb1b
2017-08-01 14:34:15 -07:00
Bo Hu f0d50bbef0 Revert "Revert "emulator: create qemu images for system,vendor""
This reverts commit 9b99ddc8a5.
and add syste-qemu.img to the dependency list of sdk target

Test: build sdk target successfully

Change-Id: Idb0bee56275f3bfe33ba7d29463e4b8e0699ec33
2017-08-01 13:00:53 -07:00
Bo Hu c8aaab1f3f Merge "Revert "emulator: create qemu images for system,vendor"" am: a2ea9626e5 am: b7e5cf8b6d am: 471e2ba1d6
am: b0ca7302aa

Change-Id: Id5a4573dbaf9d2c7b3ad95592bf17edcb3264658
2017-08-01 07:10:37 +00:00
Bo Hu b0ca7302aa Merge "Revert "emulator: create qemu images for system,vendor"" am: a2ea9626e5 am: b7e5cf8b6d
am: 471e2ba1d6

Change-Id: I89357469dfcb50f03771e733a41ea704801ce044
2017-08-01 07:07:07 +00:00
Bo Hu 471e2ba1d6 Merge "Revert "emulator: create qemu images for system,vendor"" am: a2ea9626e5
am: b7e5cf8b6d

Change-Id: I2929dae53386a287864d3166d707bfe9137a7803
2017-08-01 07:03:36 +00:00
Bo Hu b7e5cf8b6d Merge "Revert "emulator: create qemu images for system,vendor""
am: a2ea9626e5

Change-Id: I0118d5355aa3ffcd728b22e964609f02561df2db
2017-08-01 07:00:06 +00:00
Bo Hu 9b99ddc8a5 Revert "emulator: create qemu images for system,vendor"
This reverts commit b5d0503758.

Change-Id: Ie46a3a3dd99dec42673b3e3bd5b9085ca0480a8d
2017-08-01 06:50:07 +00:00
bohu 34e0ca1577 Merge "emulator: create qemu images for system,vendor" am: 571e5d47b7 am: dbbd3311ae am: fe3b305516
am: 69121fd68c

Change-Id: Ic31e0551981bc9ee48586a1c2222817610d4500a
2017-08-01 02:18:45 +00:00
bohu 69121fd68c Merge "emulator: create qemu images for system,vendor" am: 571e5d47b7 am: dbbd3311ae
am: fe3b305516

Change-Id: I5cb77655098ff078c4677e083843e5d7e4a57f07
2017-08-01 02:12:16 +00:00
bohu fe3b305516 Merge "emulator: create qemu images for system,vendor" am: 571e5d47b7
am: dbbd3311ae

Change-Id: I00b15a3ab05ce7d64fad7e9700169fd67ae699fb
2017-08-01 01:58:40 +00:00
bohu dbbd3311ae Merge "emulator: create qemu images for system,vendor"
am: 571e5d47b7

Change-Id: Id80d452017384769146879bec205f39da79e37ae
2017-08-01 01:56:12 +00:00
bohu b5d0503758 emulator: create qemu images for system,vendor
For raw system.img and vendor.img do not have
partition table and init refuses to mount them
in first stage mounting.

For emulator build:
create partitioned system-qemu.img for system.img;
create partitioned vendor-qemu.img for vendor.img
if applicable.

Change-Id: I64fdcdafc303cf2f74a1e96653e7afe259f0af98
2017-07-31 16:28:40 -07:00
Niranjan Pendharkar 6edf4c64f0 update new HIDL interfaces in generic system image am: 4584215b55
am: 98a099cbcc

Change-Id: I74db11555e464e44125216d2e558a61aa4ff09fa
2017-07-31 18:59:40 +00:00
Niranjan Pendharkar 593767a780 update new HIDL interfaces in generic system image
am: 4584215b55

Change-Id: I644f7e1a1d4ceabbccecfb54914cc723021bac3b
2017-07-31 18:56:11 +00:00
Niranjan Pendharkar 98a099cbcc update new HIDL interfaces in generic system image
am: 4584215b55

Change-Id: I400ef38998d3b28f779244e91f6b6b286516015c
2017-07-31 18:50:41 +00:00
TreeHugger Robot d4083602cc Merge "Adds the Neural Networks lib to the base configuration." into oc-mr1-dev 2017-07-29 23:55:40 +00:00
Niranjan Pendharkar 4584215b55 update new HIDL interfaces in generic system image
Test: Boot to home screen
Bug: 36682246
Change-Id: Ia856ed0929caa0c089a62100d17f717519ae5ebf
2017-07-28 08:30:03 -07:00
SzuWei Lin 0f0cc8a17f Add new products aosp_x86_ab and aosp_x86_64_ab
The product is for GSI with x86 64-bits and 32-bits with A/B
update.

Bug: 38339398
Test: Build pass
Change-Id: I1f945a812e0fbf8c4266d2f91624c2c674941383
Merged-In: I1f945a812e0fbf8c4266d2f91624c2c674941383
(cherry picked from commit 06956fe54c)
2017-07-28 11:40:25 +08:00
SzuWei Lin e4648214e8 Add new products aosp_x86_a and aosp_x86_64_a
The product is for GSI with x86 64-bits and 32-bits without A/B
update.

Bug: 38339837
Test: Build pass and boot to home screen on 32/64-bits x86 emulator
      by replacing system image with GSI
Change-Id: I9f956bc35ba5700900df7c2fca45bf794684a418
Merged-In: I9f956bc35ba5700900df7c2fca45bf794684a418
(cherry picked from commit 4b189c810e)
2017-07-28 11:39:56 +08:00
SzuWei Lin e572132aa6 Add new product aosp_arm_ab
The product is for GSI with ARM 32-bits and A/B update.

Bug: 38339485
Test: Build pass
Change-Id: Ifad208d2e625f30d0a3dd964d53d81257eeefabf
Merged-In: Ifad208d2e625f30d0a3dd964d53d81257eeefabf
(cherry picked from commit fbc4835faa)
2017-07-28 11:39:40 +08:00
SzuWei Lin 9821e00caa Share system properties with all GSI project with treble_system.prop
Use TARGET_SYSTEM_PROP to assign a common system property file in each
GSI BoardConfig.mk

Bug: 62647757
Test: make and check the file system/build.prop in out folder
Change-Id: Ifb3e02356869f97573a3690a6d67c2b4a9471c46
Merged-In: Ifb3e02356869f97573a3690a6d67c2b4a9471c46
(cherry picked from commit 7e10169909)
2017-07-28 11:38:59 +08:00
Lucas Dupin 203de1108f Merge "Removed overlay from target" into oc-dr1-dev
am: eb42aa7438

Change-Id: If2720dcb6e3c376f968e454fb734f3443c5a3080
2017-07-25 23:23:03 +00:00
Lucas Dupin 2c0743601e Merge "Removed overlay from target" into oc-dr1-dev
am: eb42aa7438

Change-Id: I2880faeab223755faeca64335b0eac8fe798ec80
2017-07-25 17:48:02 +00:00
Lucas Dupin 3297613a43 Removed overlay from target
Lock screen colors won't be handled by overlays anymore.

Test: make
Bug: 63751714
Change-Id: I496575d62ab326e7bb774643fac6fcb8d6c801a1
2017-07-24 13:29:26 -07:00
Jeff Vander Stoep 9a8f6775ec sepolicy: remove all use of domain_deprecated
This attribute has been removed from public policy and is no longer
available.

Bug: 38316109
Test: build policy
Change-Id: I3407ced2d725de982e19b77345827de03d93c426
(cherry picked from commit ec488e1fee)
2017-07-24 08:17:39 -07:00
Jorim Jaggi 2145739ff4 Merge "Revert "Removed overlay from target"" into oc-dr1-dev
am: 8a7f2128b3

Change-Id: If4242cbe667e689662ba2323e986d35cf6c03f53
2017-07-24 14:13:41 +00:00
Jorim Jaggi 6aef32af4d Merge "Revert "Removed overlay from target"" into oc-dr1-dev
am: 8a7f2128b3

Change-Id: Ic108bd9ffcb6201671764d4dccdd6b460ad29f1e
2017-07-24 14:13:39 +00:00
Jorim Jaggi 8a7f2128b3 Merge "Revert "Removed overlay from target"" into oc-dr1-dev 2017-07-24 14:07:55 +00:00
Jorim Jaggi fa794173fe Revert "Removed overlay from target"
This reverts commit fd2b1807ca.

Fixes crashloop with lock pattern

Change-Id: I6f15c18e7a10d6755ab151bb976616e753e520a3
Fixes: 63980375
2017-07-24 13:55:19 +00:00
Lucas Dupin 33d42fbb0e Merge "Removed overlay from target" into oc-dr1-dev
am: 67afad200d

Change-Id: I4d01fdbffe8dd0c61c8adb9dd4c855b99dbf8ca3
2017-07-22 04:51:03 +00:00
Lucas Dupin 10bf90f60f Merge "Removed overlay from target" into oc-dr1-dev
am: 67afad200d

Change-Id: If5a32cc9bfa3d8116b9a69403fd7484eedf5dfe8
2017-07-22 04:51:03 +00:00
TreeHugger Robot 67afad200d Merge "Removed overlay from target" into oc-dr1-dev 2017-07-22 04:46:20 +00:00
Jean-Luc Brouillet 4f612c6f36 Adds the Neural Networks lib to the base configuration.
This will ensure that the library is on all devices even
if no builtin apps uses the lib.

Bug: 63905942
Test: Ran an application that uses the NN API.
Change-Id: I52ce6142f94d21ca55fa26875fab3f4926e2c6bb
2017-07-21 20:13:14 -07:00
Pawin Vongmasa 5309a4758e Merge "Add libstagefright_soft_flacdec to core_base.mk" into oc-dr1-dev
am: 8fc04cc40a

Change-Id: I083c28df9d9ba1b1ce656222bc3d4196cdc8ae2e
2017-07-20 23:11:43 +00:00
Pawin Vongmasa c194d53411 Merge "Add libstagefright_soft_flacdec to core_base.mk" into oc-dr1-dev
am: 8fc04cc40a

Change-Id: I841a7739d2ec7de3945b04dce1609d071287f8dc
2017-07-20 23:11:35 +00:00
TreeHugger Robot 8fc04cc40a Merge "Add libstagefright_soft_flacdec to core_base.mk" into oc-dr1-dev 2017-07-20 23:06:38 +00:00
Pawin Vongmasa a910353474 Add libstagefright_soft_flacdec to core_base.mk
Test: Play test file from b/37787245
Bug: 37794552
Change-Id: Ib5e4a26b9650e92047587d2e98f992c2df57eede
2017-07-19 13:49:34 -07:00
Suren Baghdasaryan 849929256e Add makefile to define PRODUCT_SHIPPING_API_LEVEL for O release am: 81a7690eb9
am: 033c79c4fa

Change-Id: Ifd5dbfe30a524336e60d02a3f7059c234f7c399e
2017-07-19 20:47:11 +00:00
Suren Baghdasaryan 033c79c4fa Add makefile to define PRODUCT_SHIPPING_API_LEVEL for O release
am: 81a7690eb9

Change-Id: I578a54bbd403493d4ffa40c43189d443f0ef119b
2017-07-19 20:44:14 +00:00
Suren Baghdasaryan 81a7690eb9 Add makefile to define PRODUCT_SHIPPING_API_LEVEL for O release
For Android O release PRODUCT_SHIPPING_API_LEVEL is set to 26.

Change-Id: Ie1d5af375f2db95850fc5395d6a0c775dbfa046d
Merged-In: Ie1d5af375f2db95850fc5395d6a0c775dbfa046d
(cherry picked from commit f3251ac73b)
2017-07-19 19:52:20 +00:00
Shubham Ajmera d060624916 Merge "Add compiler filter for inactive app downgrade" 2017-07-18 17:09:07 +00:00
TreeHugger Robot 447ac999c6 Merge "Remove unnecessary configs" 2017-07-18 06:26:45 +00:00
TreeHugger Robot 30bd2f7e41 Merge "Add netutils-wrapper to generic system image" 2017-07-18 02:45:58 +00:00
Lucas Dupin fd2b1807ca Removed overlay from target
Lock screen colors won't be handled by overlays anymore.

Test: make
Bug: 63751714
Change-Id: Ia4767906cadae6b88b022e549ca099175a0e4017
2017-07-17 17:48:52 -07:00
Roshan Pius ae8228c5bd treble_common.mk: Add wifi 1.1 package am: ec35a22d2c
am: db0c3a570b

Change-Id: Ibe63bc9500c19397cd088b09a5fe2d0d93c30dda
2017-07-17 20:16:52 +00:00
Roshan Pius db0c3a570b treble_common.mk: Add wifi 1.1 package
am: ec35a22d2c

Change-Id: I23d907e900394e152842ab9f737b5a3ca4751c9f
2017-07-17 20:14:16 +00:00
Roshan Pius ec35a22d2c treble_common.mk: Add wifi 1.1 package
Bug: 63129484
Test: Compiles
Change-Id: Id254722a98dbd25c7016d0902c60151b6573d335
2017-07-17 11:13:17 -07:00
SzuWei Lin 2bc960fd9f Remove unnecessary configs
BOARD_USES_VENDORIMAGE is always true if TARGET_COPY_OUT_VENDOR
is 'vendor'.

Bug: 63609670
Test: build, flash and boot to home screen
Change-Id: I719a17f27e046448180e846a6597fa2fbf3c0726
2017-07-13 17:12:03 +08:00
SzuWei Lin 599fefae6b Add netutils-wrapper to generic system image
Bug: 63370530
Test: Build and check the files in system
Change-Id: I2b0f1e10dc5f09ac0fa39ee62df999a1de5e537f
2017-07-12 16:56:43 +08:00
Yifan Hong da8694d186 Add <kernel> entry to fwk compat mat.
Test: builds and verify that system/compatibility_matrix.xml
      has configs filled.
Test: `vintf | tail` on marlin shows that fwk compat mat
      is compatible with runtime info.

Bug: 38324908
Change-Id: I8a35ea582fea1faa083c409ec58813c3ac82dc9c
2017-07-10 16:59:57 -07:00
Sundong Ahn bbab8007c6 configstore: remove configstore 1.1
Configstore was up-revisioned from 1.0 to 1.1. However no new
APIs were added to 1.1. Therefore configstore in dr1 will be down
revisioned to 1.0.

Bug: 63440035
Test: build & run
Change-Id: Ife60328110c6d6cb3e8024fb4a5caabc4c7c034f
Merged-In: I21861448a5d607383b617f2f85bd378013e64090
2017-07-10 15:05:32 +09:00
Andreas Gampe ce2236d92a Merge "Build: More tombstones in userdebug" am: 5378d0a7eb
am: 205958cb38

Change-Id: Ie5390a231825f31fa2c945d1bdba228266302804
2017-07-07 15:26:41 +00:00
Andreas Gampe 205958cb38 Merge "Build: More tombstones in userdebug"
am: 5378d0a7eb

Change-Id: I414a28b22f8677099ab61812995ca6715f8f2563
2017-07-07 15:23:48 +00:00
Andreas Gampe d0d5e24d25 Build: More tombstones in userdebug am: 47e137f357
am: 0b24deb839

Change-Id: Id95c13128a215e5c0e02c7bf337c7bd28a281e6b
2017-07-07 07:00:37 +00:00
Andreas Gampe 0b24deb839 Build: More tombstones in userdebug
am: 47e137f357

Change-Id: I6dc83edb29170e1f5a3c70d823d5c3a8d0089a7e
2017-07-07 06:57:16 +00:00
Andreas Gampe 427e49e0da Build: More tombstones in userdebug
For devices using core_minimal, set the number of retained
tombstones in userdebug and eng builds to 50. This will help
with dogfooding.

(cherry picked from commit 47e137f357)

Bug: 63131375
Test: lunch bullhead_userdebug && m && fastboot flashall && adb getprop tombstoned.max_tombstone_count
Change-Id: I163d40f7a8f73df1af1228309d7a7a95511bdef9
2017-07-06 23:54:14 -07:00
Andreas Gampe 47e137f357 Build: More tombstones in userdebug
For devices using core_minimal, set the number of retained
tombstones in userdebug and eng builds to 50. This will help
with dogfooding.

Bug: 63131375
Test: lunch bullhead_userdebug && m && fastboot flashall && adb getprop tombstoned.max_tombstone_count
Change-Id: I163d40f7a8f73df1af1228309d7a7a95511bdef9
2017-07-06 21:20:54 -07:00
bohu 7b6320773a emulator: fix emulator booting
1. update rild libpath to vendor instead of system

Test: build sdk_phone_x86-eng and launch emulator
it should boot to home screen.

Change-Id: I7b9946e61de952e4b7ae89b740050b768be1cf99
2017-07-05 23:12:29 -07:00
bohu a3e5fcd03e emulator: get emulator booting am: d665b020f2 am: 0f4de2f8aa
am: 0b737d3248

Change-Id: Ia100f2f3394a9b89acebaeeb7557a420c28ddace
2017-07-06 02:32:37 +00:00
bohu 0b737d3248 emulator: get emulator booting am: d665b020f2
am: 0f4de2f8aa

Change-Id: I5fcbc47de2c46dbc468139e95a626ad071a2e0a2
2017-07-06 02:19:53 +00:00
bohu 0f4de2f8aa emulator: get emulator booting
am: d665b020f2

Change-Id: Idf376eae7d42242f17fdef99ce0d6de9067a2236
2017-07-06 02:17:22 +00:00
bohu e9ba09af7a emulator: get emulator booting
am: d665b020f2

Change-Id: I2d2399cca30f02b66dd243086839b35a336050bb
2017-07-06 02:17:22 +00:00
bohu d665b020f2 emulator: get emulator booting
1. add missing hals
2. setup missing selinux
3. install manifest.xml to vendor/
4. install emulator setup scripts and setup
   selinux domain

BUG: 63268696
Test: build sdk_gphone_x86-userdebug
and launch emulator, boot to home

Change-Id: Ibacea9c761bc06736a8baa39d891d1c2ed3d74f4
2017-07-05 17:02:56 -07:00
TreeHugger Robot ec67d4fa1c Merge "cas: add CAS hal to build" 2017-06-28 20:37:25 +00:00
SzuWei Lin 25ffd0b35d Merge "Update new HIDL interfaces in generic system image" into oc-dr1-dev am: e07c2ed19e
am: 87a643cfa1

Change-Id: Ida87aa7dde0bd0962dae4dd863575e9bca8d921d
2017-06-28 07:48:36 +00:00
SzuWei Lin 87a643cfa1 Merge "Update new HIDL interfaces in generic system image" into oc-dr1-dev
am: e07c2ed19e

Change-Id: I61cd06b0d9f5827b8c26728b2bed0647b7bab4d5
2017-06-28 07:44:37 +00:00
TreeHugger Robot e07c2ed19e Merge "Update new HIDL interfaces in generic system image" into oc-dr1-dev 2017-06-28 07:40:58 +00:00
Bowgo Tsai ea67794604 Removing vboot 1.0 verity metadata am: 952f6a458e
am: bd56083dcb

Change-Id: I3048aab17787f50117e62975becc68c48c3b0765
2017-06-28 06:06:00 +00:00
Bowgo Tsai bd56083dcb Removing vboot 1.0 verity metadata
am: 952f6a458e

Change-Id: Idf363438d6855a5c783e2e037c9bc9aca64c4653
2017-06-28 06:02:00 +00:00
SzuWei Lin 7db5d2c9f3 Update new HIDL interfaces in generic system image
Bug: 63051055
Test: Boot with GSI to home screen
Change-Id: Id5783355e9fae8f48088d4a9eaaf8429425adb45
2017-06-28 09:36:36 +08:00
Shubham Ajmera 572a3df7fc Add compiler filter for inactive app downgrade
Bug: 36598475
Test: Verified the property value on the device

Change-Id: I8afcffcb7064ff6a3b97c26ee18aa22f969ffef3
2017-06-27 17:34:02 -07:00
Bowgo Tsai 952f6a458e Removing vboot 1.0 verity metadata
The generic system.img shouldn't contain any specific verity metadata
because we don't mandate how to do verified boot. Plus, OC-DR devices
use AVB instead of vboot 1.0.

Bug: 62647718
Test: Boot a DR device with the generic system.img
Change-Id: I0966d88d4512621cce7b8abdc28a90a6e312a391
2017-06-27 18:13:56 +08:00
Tomasz Wasilczyk 16c8d3d3f3 Merge "Remove previous implementation of RadioService." 2017-06-26 20:58:53 +00:00
SzuWei Lin 2967975b70 Merge "Add wificond to Android makefiles" into oc-dr1-dev am: b1cbbaf528
am: 9df6f1c5ca

Change-Id: Ibfcce9046f8997336a0854a0d17a56f1ece7e691
2017-06-25 14:00:05 +00:00
SzuWei Lin 9df6f1c5ca Merge "Add wificond to Android makefiles" into oc-dr1-dev
am: b1cbbaf528

Change-Id: I584ad2a70099f1fb189766df79a1c19ac6927b73
2017-06-25 13:55:06 +00:00
TreeHugger Robot b1cbbaf528 Merge "Add wificond to Android makefiles" into oc-dr1-dev 2017-06-25 13:49:44 +00:00
Huan Ren b2c1e7db30 Merge "Add android.hardware.power service+impl and power.ranchu" into oc-dev am: 76946c6ab6 am: b2d7fa3d83
am: 65608038bc

Change-Id: I9f55bb0789cc81f0fb15ea1a0e2cd544290b1b8d
2017-06-23 19:57:02 +00:00
Huan Ren 65608038bc Merge "Add android.hardware.power service+impl and power.ranchu" into oc-dev am: 76946c6ab6
am: b2d7fa3d83

Change-Id: Ica1a7d3448f3ac7c44918df39fd84fb02cdb624c
2017-06-23 19:52:29 +00:00
Huan Ren b2d7fa3d83 Merge "Add android.hardware.power service+impl and power.ranchu" into oc-dev
am: 76946c6ab6

Change-Id: I1e48abd776c7fa9c1ae75a6a62e730bea0845c94
2017-06-23 19:47:29 +00:00
Huan Ren 874ee28b68 Merge "Add android.hardware.power service+impl and power.ranchu" into oc-dev
am: 76946c6ab6

Change-Id: I2a87da8ab334e8fa7a2076677dc27bc75a09dbff
2017-06-23 19:43:01 +00:00
Huan Ren 76946c6ab6 Merge "Add android.hardware.power service+impl and power.ranchu" into oc-dev 2017-06-23 18:33:16 +00:00
Tomasz Wasilczyk 4261cdc47c Remove previous implementation of RadioService.
Bug: b/36863239
Test: instrumentalization
Change-Id: Ic47b3aad2e7b9662059451bebf87ec55807a6c7c
2017-06-23 10:46:14 -07:00
Andreas Gampe 94a7b3df12 Merge "Merge "Build: Use ART phony packages in runtime_libart" am: 47b734db57 am: 2d3b1ca45a am: ac1a012d21" into oc-dr1-dev-plus-aosp
am: 2005f395de

Change-Id: Iaa633e690e19defc83bc337e645823a63974ae24
2017-06-23 02:11:32 +00:00
Bowgo Tsai 6530e2b722 Merge "Pass FRAMEWORK_VBMETA_VERSION to assemble_vintf" into oc-dr1-dev am: 9c2b22c487
am: 908577a4f4

Change-Id: Ia0786dd4e79b9bdf893d67ceb46777f880fd9d74
2017-06-23 02:10:23 +00:00
Android Build Merger (Role) 2005f395de Merge "Merge "Build: Use ART phony packages in runtime_libart" am: 47b734db57 am: 2d3b1ca45a am: ac1a012d21" into oc-dr1-dev-plus-aosp 2017-06-23 02:07:32 +00:00
Andreas Gampe 9d8d51a7e5 Merge "Build: Use ART phony packages in runtime_libart" am: 47b734db57 am: 2d3b1ca45a
am: ac1a012d21

Change-Id: I7b4cd4affb519b863df943c583260f69b7e13719
2017-06-23 02:06:58 +00:00
Bowgo Tsai 908577a4f4 Merge "Pass FRAMEWORK_VBMETA_VERSION to assemble_vintf" into oc-dr1-dev
am: 9c2b22c487

Change-Id: I5e076c940ea3b7a09d8f3ed4a6a5b87ce8aa0021
2017-06-23 02:06:16 +00:00
Andreas Gampe ac1a012d21 Merge "Build: Use ART phony packages in runtime_libart" am: 47b734db57
am: 2d3b1ca45a

Change-Id: I28d9d8369f374e7b20461a4e931e70aafe3a10eb
2017-06-23 02:01:57 +00:00
TreeHugger Robot 9c2b22c487 Merge "Pass FRAMEWORK_VBMETA_VERSION to assemble_vintf" into oc-dr1-dev 2017-06-23 02:00:42 +00:00
Andreas Gampe ae4916b0ad Build: Use ART phony packages in runtime_libart
Move definition of necessary packages for ART to art/Android.mk.
Use the phony packages defined there in runtime_libart.mk.

Bug: 62087184
Test: m
Test: Device boots
Change-Id: Iae6e5bba2184b098820783dc5e9f6b5f2a9836e9
2017-06-22 15:35:14 -07:00
Chong Zhang 3abc30baa5 cas: add CAS hal to build
bug: 22804304
Change-Id: I05604644854a561bc9356bb66bcd7d315e3f2d5a
2017-06-21 13:37:42 -07:00
SzuWei Lin ef8e26b220 Add audio.a2dp.default to generic system image
am: fbac1195e9

Change-Id: I0a5f13ec32cfac2caa5dbb8e979fb0dffa54be5e
2017-06-21 02:48:32 +00:00
SzuWei Lin 68ba24ab5d Merge "Add audio.a2dp.default to generic system image" into oc-dr1-dev am: 4e08677575
am: e7a5506e1f

Change-Id: Ife6d2b9ae9745ff54dfce9b7506fd3aa702f711e
2017-06-21 02:12:57 +00:00
SzuWei Lin e7a5506e1f Merge "Add audio.a2dp.default to generic system image" into oc-dr1-dev
am: 4e08677575

Change-Id: I45aa7f7055dd4fe874daa2b1c2c8f8f317fe2f5a
2017-06-21 02:06:57 +00:00
TreeHugger Robot 4e08677575 Merge "Add audio.a2dp.default to generic system image" into oc-dr1-dev 2017-06-21 01:57:53 +00:00
SzuWei Lin 03dad3be29 Merge "Remove unnecessary items in treble_common.mk" into oc-dr1-dev am: c7232cc5d5
am: 8e51a42f90

Change-Id: Ibb2632b6b376aa53f04e9bbfce66dc8a6f1364a6
2017-06-20 17:13:43 +00:00
SzuWei Lin 8e51a42f90 Merge "Remove unnecessary items in treble_common.mk" into oc-dr1-dev
am: c7232cc5d5

Change-Id: I5e4f45335343b7e63db587ad6f9bfaa5c5eabad1
2017-06-20 17:11:14 +00:00
Lucas Dupin d625a80914 Require sysui overlay am: a426a60a6b
am: 2fb2b6f9cc

Change-Id: Ifc214dae6cc9e0f43466757d4d989950415a039f
2017-06-20 17:07:08 +00:00
TreeHugger Robot c7232cc5d5 Merge "Remove unnecessary items in treble_common.mk" into oc-dr1-dev 2017-06-20 17:06:42 +00:00
Lucas Dupin 2fb2b6f9cc Require sysui overlay
am: a426a60a6b

Change-Id: I036d14bc112f73d9372a0f2df56850f161bea98d
2017-06-20 16:58:23 +00:00
Bowgo Tsai 15fd373e3c Pass FRAMEWORK_VBMETA_VERSION to assemble_vintf
Note that this depends on a change in avbtool:
  https://android-review.googlesource.com/#/c/406374/

Bug: 38325029
Test: builds system.img, checks $OUT/system/compatibility_matrix.xml
      contains correct vbmeta-version
Change-Id: Iacc0a2687fb39600ad6b8e9cfbfe5c1a3b90b40b
2017-06-20 18:25:36 +08:00
SzuWei Lin fbac1195e9 Add audio.a2dp.default to generic system image
audio.a2dp.default is a system module. Generic system image includes
audio.a2dp.default to support A2DP if board has the capability.

Bug: 62649731
Test: build and check the file existance in system image
Merged-In: Iac4821b3daf993da9fc309b7b105db98ee4b89ce
Change-Id: I0d2194c4145927b21df5858a3787f8c210f2794c
(cherry picked from commit fe3191727b)
2017-06-20 17:54:07 +08:00
SzuWei Lin fe3191727b Add audio.a2dp.default to generic system image
audio.a2dp.default is a system module. Generic system image includes
audio.a2dp.default to support A2DP if board has the capability.

Bug: 62649731
Test: build and check the file existance in system image
Change-Id: Iac4821b3daf993da9fc309b7b105db98ee4b89ce
2017-06-19 17:59:20 +08:00
SzuWei Lin cbd421fd0e Remove unnecessary items in treble_common.mk
Bug: 62360563
Test: Build and check files are still exist in system image
Change-Id: Ie787969d072c5b89d377a2c0b01706764185d6a5
2017-06-19 17:58:30 +08:00
SzuWei Lin af505d5f2f Add wificond to Android makefiles
wificond is part of the framework, and shouldn't be modified by
vendor. The patch adds wificond to PRODUCT_PACKAGES list of
Android makefile, and removes it from treble_common.mk.

Bug: 62646878
Test: Build and check the file existance in system image
Change-Id: I92f2b64c1912ed5106a72a56e831bc989a70979e
2017-06-19 16:06:11 +08:00
Lucas Dupin a426a60a6b Require sysui overlay
All builds should include the 2 systemui themes

Bug: 62346335
Change-Id: Iacfe3c7494f81ee05118a6f782a96c96ce901bb3
2017-06-18 18:49:45 -07:00
Suren Baghdasaryan c9d52e2d32 Merge "Add makefile to define PRODUCT_SHIPPING_API_LEVEL for O release" 2017-06-16 21:10:23 +00:00
Igor Murashkin 5f5daa504e Merge "core: Move core.oat bootjar definitions into envsetup.mk" into oc-dev-plus-aosp
am: caa917ae3d

Change-Id: I312c7e60ef87dc2f400c992754e4093edfe300ee
2017-06-16 03:28:02 +00:00
Igor Murashkin cda3d10e56 core: Move core.oat bootjar definitions into envsetup.mk
TARGET_CORE_JARS and HOST_CORE_JARS define the minimal bootclasspath jars necessary to run
with dalvikvm/art.

Also refactor PRODUCT_BOOT_JARS in core-tiny.mk and core-minimal.mk to reuse TARGET_CORE_JARS.
The above variables can be used from scripts with get_build_var from envsetup.sh

  $> get_build_var TARGET_CORE_JARS
  <prints list of core jars>

(These changes are required to figure out what --bootclasspath_entry to pass to desugar).

Bug: 36902714
Test: make -j32 build-art-host build-art-target
Test: lunch aosp_angler-userdebug && make -j32
Test: make -j32 PRODUCT-sdk_google_aw_x86-sdk
Change-Id: If12569719343bfbba20c1cda9a5302ab541dbfc6
(cherry picked from commit f33a96c07f)
2017-06-16 03:08:33 +00:00
Treehugger Robot 6cb7688e85 Merge "core: Move core.oat bootjar definitions into envsetup.mk" 2017-06-16 02:06:02 +00:00
Suren Baghdasaryan f3251ac73b Add makefile to define PRODUCT_SHIPPING_API_LEVEL for O release
For Android O release PRODUCT_SHIPPING_API_LEVEL is set to 26.

Change-Id: Ie1d5af375f2db95850fc5395d6a0c775dbfa046d
2017-06-15 19:04:22 -07:00
Igor Murashkin 9d4639c8c2 core: Move core.oat bootjar definitions into envsetup.mk
TARGET_CORE_JARS and HOST_CORE_JARS define the minimal
bootclasspath jars necessary to run with dalvikvm/art.

Also refactor PRODUCT_BOOT_JARS in core-tiny.mk and core-minimal.mk
to reuse TARGET_CORE_JARS.

The above variables can be used from scripts with get_build_var
from envsetup.sh

  $> get_build_var TARGET_CORE_JARS
  <prints list of core jars>

(These changes are required to figure out what --bootclasspath_entry
to pass to desugar).

Bug: 36902714
Test: make -j32 build-art-host build-art-target
Test: lunch aosp_angler-userdebug && make -j32
Test: make -j32 PRODUCT-sdk_google_aw_x86-sdk
Merged-In: If12569719343bfbba20c1cda9a5302ab541dbfc6
Change-Id: If12569719343bfbba20c1cda9a5302ab541dbfc6
2017-06-16 00:54:47 +00:00
Igor Murashkin f33a96c07f core: Move core.oat bootjar definitions into envsetup.mk
TARGET_CORE_JARS and HOST_CORE_JARS define the minimal bootclasspath jars necessary to run
with dalvikvm/art.

Also refactor PRODUCT_BOOT_JARS in core-tiny.mk and core-minimal.mk to reuse TARGET_CORE_JARS.
The above variables can be used from scripts with get_build_var from envsetup.sh

  $> get_build_var TARGET_CORE_JARS
  <prints list of core jars>

(These changes are required to figure out what --bootclasspath_entry to pass to desugar).

Bug: 36902714
Test: make -j32 build-art-host build-art-target
Test: lunch aosp_angler-userdebug && make -j32
Test: make -j32 PRODUCT-sdk_google_aw_x86-sdk
Change-Id: If12569719343bfbba20c1cda9a5302ab541dbfc6
2017-06-15 14:51:36 -07:00
Lingfeng Yang d2fc242c34 Add android.hardware.power service+impl and power.ranchu
Bug: 37302997
Bug: 37863919

Change-Id: Ifc79b3498c48cf4b8ff5db433064a3bf9edc041b
(cherry picked from commit bc02d4274fde079d97fe18f5a0974a20757f3827)
2017-06-15 18:13:14 +00:00
Nicolas Geoffray 8be30c47d7 Merge "Add a new PRODUCT variable for forcing 'speed' preopt." into oc-dev
am: 0081d76597

Change-Id: I81039c2b5d1ae202e4cbca43e98322e15ab5c3e9
2017-06-15 14:42:18 +00:00
Nicolas Geoffray 0081d76597 Merge "Add a new PRODUCT variable for forcing 'speed' preopt." into oc-dev 2017-06-15 14:06:10 +00:00
Nicolas Geoffray cd2a171764 Merge "Add a new PRODUCT variable for forcing 'speed' preopt." am: 8c2c1ed667 am: eec5747912
am: 59514d2bae

Change-Id: I27dcc7cd5fca29fea557cb6d681ccfa570b84cb8
2017-06-15 11:51:26 +00:00
Nicolas Geoffray 59514d2bae Merge "Add a new PRODUCT variable for forcing 'speed' preopt." am: 8c2c1ed667
am: eec5747912

Change-Id: Iee5490ea2b74137612238282115478b148aed55e
2017-06-15 11:48:26 +00:00
Nicolas Geoffray c3ffeddc59 Add a new PRODUCT variable for forcing 'speed' preopt.
bug: 35872915
Test: build

(cherry picked from commit 4a0ad4ac61)

Change-Id: Idfea3c379a2b1dab30ee94a58ffe86d508f8522f
2017-06-15 12:40:15 +01:00
Nicolas Geoffray 8c2c1ed667 Merge "Add a new PRODUCT variable for forcing 'speed' preopt." 2017-06-15 11:38:24 +00:00
Mariano Giardina a43852fcdc Merge "Revert "core: Move core.oat bootjar definitions into core/config"" am: 1e14bc3b7b am: cc33b6005f
am: 78d9b75329

Change-Id: I1bd6af643810358d4ea8426338607c6f506dad72
2017-06-15 11:15:23 +00:00
Mariano Giardina 78d9b75329 Merge "Revert "core: Move core.oat bootjar definitions into core/config"" am: 1e14bc3b7b
am: cc33b6005f

Change-Id: I2f7465d6bd723c85aa0c028e8e8268d631c13d02
2017-06-15 11:12:23 +00:00
Mariano Giardina 1e14bc3b7b Merge "Revert "core: Move core.oat bootjar definitions into core/config"" 2017-06-15 11:01:29 +00:00
Mariano Giardina 2f137ee118 Revert "core: Move core.oat bootjar definitions into core/config"
This reverts commit 8c50798243.

Possible culprit of breakage in git_master sdk_google_aw_x86:
FAILED: out/target/product/generic_x86/dex_bootjars/system/framework/x86/boot.art 
ex2oatd E 06-15 03:56:00 47990 47990 runtime.cc:1761] Failed to return pre-allocated NoClassDefFoundError
dex2oatd F 06-15 03:56:00 47990 47990 thread.cc:3591] Check failed: new_exception != nullptr 

Testing if Treehugger passes with the rollback before submitting

https://android-build.googleplex.com/builds/submitted/4101897/sdk_google_aw_x86-sdk/latest/view/logs/build_error.log

Change-Id: Iceac31e775eaf3cd5fd9b3d2a17d3af200e35b27
2017-06-15 10:14:51 +00:00
Nicolas Geoffray 4a0ad4ac61 Add a new PRODUCT variable for forcing 'speed' preopt.
bug: 35872915
Test: build
Change-Id: Idfea3c379a2b1dab30ee94a58ffe86d508f8522f
2017-06-15 09:52:45 +01:00
Igor Murashkin ca811c825c Merge "core: Move core.oat bootjar definitions into core/config" am: 5e1aa20225 am: db52463bb3
am: 9c57325093

Change-Id: If1ec447b21e277a023b016868db1633379acc5e0
2017-06-15 03:19:07 +00:00
Igor Murashkin 9c57325093 Merge "core: Move core.oat bootjar definitions into core/config" am: 5e1aa20225
am: db52463bb3

Change-Id: I7fe90df0a8dae2fb5aa9f0dbcfc21a77b2700a87
2017-06-15 03:16:07 +00:00
Igor Murashkin 5e1aa20225 Merge "core: Move core.oat bootjar definitions into core/config" 2017-06-15 03:06:12 +00:00
Igor Murashkin 8c50798243 core: Move core.oat bootjar definitions into core/config
TARGET_CORE_JARS and HOST_CORE_JARS define the minimal
bootclasspath jars necessary to run with dalvikvm/art.

Also refactor PRODUCT_BOOT_JARS to reuse TARGET_CORE_JARS.

(These changes are required to figure out what --bootclasspath_entry
to pass to desugar).

Bug: 36902714
Test: make -j32 && make -j32 build-art-host build-art-target
Change-Id: I620e28be41047a1d501d7f144fe415ee4a0af36f
2017-06-14 10:02:09 -07:00
Paul Duffin 9a8b2f7d96 Merge "Added android.test.mock to PRODUCT_PACKAGES" am: 87b69b97f3 am: b349e09a18
am: f170ad5f55

Change-Id: I8f7a8633714905672694f5b44ec3f3209bbbea6f
2017-06-14 11:17:13 +00:00
Paul Duffin f170ad5f55 Merge "Added android.test.mock to PRODUCT_PACKAGES" am: 87b69b97f3
am: b349e09a18

Change-Id: I242537e012490770a7a3bbdd235dc6016984804b
2017-06-14 11:14:43 +00:00
SzuWei Lin c5971c7bff Merge "Add more libs into generic AOSP system image" into oc-dev am: 57fb2214ab
am: 47400c5e34

Change-Id: Iffefb631653a13b7c0d334aadffe30010114b10d
2017-06-14 09:12:04 +00:00
SzuWei Lin 4a421a28d0 Merge "Add more libs into generic AOSP system image" into oc-dev
am: 57fb2214ab

Change-Id: I011b16eb3c7ee21a52a04586d8249254e8d53dc8
2017-06-14 09:10:04 +00:00
SzuWei Lin 47400c5e34 Merge "Add more libs into generic AOSP system image" into oc-dev
am: 57fb2214ab

Change-Id: If56dc8c2a6417b527c243af0151b428677f16f55
2017-06-14 09:10:04 +00:00
TreeHugger Robot 57fb2214ab Merge "Add more libs into generic AOSP system image" into oc-dev 2017-06-14 09:06:45 +00:00
Isaac Chen 47a95bb673 Merge "Fix audio policy configuration for generic targets" into oc-dev am: 34d8c95fd7
am: ea97912057

Change-Id: I0ebf242f841c9c778e943b1cc2d31598e906476a
2017-06-14 08:25:05 +00:00
Isaac Chen 71891cdb3e Merge "Fix audio policy configuration for generic targets" into oc-dev
am: 34d8c95fd7

Change-Id: I16ab64f6955031bfced51e8049f96f95033624ef
2017-06-14 08:22:36 +00:00
Isaac Chen ea97912057 Merge "Fix audio policy configuration for generic targets" into oc-dev
am: 34d8c95fd7

Change-Id: I1d5a39cec809f91477e09c8545c6d1173152ea0f
2017-06-14 08:22:36 +00:00
SzuWei Lin 56d68a5192 Add more libs into generic AOSP system image
Includes:
- more HIDL interfaces
- explicitly specify all LL-NDK and SP-NDK (currently only
  libandroid_net is missing)
- add liblzma and libyuv

Bug: 38339299
Test: build aosp_arm64_ab and pass
Change-Id: Ic67d47990cf6b4ab51e1b74f0fed85e60ce3a817
2017-06-14 14:57:15 +08:00
SzuWei Lin 35998bb8e5 resolve merge conflicts of a24fcf6abc to oc-dr1-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I52993c61a80bc7aee3d49ce37b88413e8f40f832
2017-06-14 11:56:25 +08:00
SzuWei Lin 6fdff23df2 Normalize building generic system image with treble-common.mk
Move the common part from make file of generic AOSP system images into
treble_common.mk, and update the content of common part.

The common part inclueds:

- HAL interfaces
- VNDK libs
- VNDK-SP libs
- Some other modules supporting HAL interfaces
- Some Treble default configurations

Bug: 37927875
Test: boot to home screen with the generic system image
Merged-In: I4202454d57970cef713f7d6437191094df0009e9
Change-Id: I4202454d57970cef713f7d6437191094df0009e9
2017-06-13 03:15:39 +00:00
Isaac Chen 924e705c85 Fix audio policy configuration for generic targets
Changes in this CL:
1. Use ":=", instead of "+=", for PRODUCT_COPY_FILES so previous audio
policy related settings won't be overwritten.
2. Use basic audio policy XML files provided by audio team as default.

Bug: 62524944
Test: check if the XML files for audio policy configuration are under
      /system/etc and devices with generic system imagei, but without
      such configuration under /vendor/etc can boot with audio working.

Change-Id: I4ccffdfb131a9d2445d9c2f52a22ffcc97884479
2017-06-12 18:56:50 +08:00
Paul Duffin c45b7e3d98 Added android.test.mock to PRODUCT_PACKAGES
Adds android.test.mock.jar to the /system/framework
directory. That will allow it to be dynamically included
with a uses-library manifest entry.

Bug: 30188076
Test: flash and check contents of /system/framework
Change-Id: I3ea0e558276176edd21e24c8337980c5c02a652e
2017-06-09 13:34:13 +01:00
Bartosz Fabianowski bf1546c96d Revert "Revert "Normalize building generic system image with treble-common.mk""
We will selectively revert on a branch only.

This reverts commit 85c4945f46.

Change-Id: I0eb869a0f2385fe66bd3cd0bc18a298ebe5b47da
2017-06-08 10:12:43 +00:00
Bartosz Fabianowski 85c4945f46 Revert "Normalize building generic system image with treble-common.mk"
Revert by Build Cop. This change is causing build failures across builders and branches, e.g.:

ninja: error: 'out/target/product/generic_x86/obj/lib/android.hidl.base@1.0.so', needed by 'checkbuild', missing and no known rule to make it
09:08:08 ninja failed with: exit status 1

This reverts commit 76ada93856.

Change-Id: I5e7bfa65a70cf5d61fb233cdbdfe7f420fd5ab51
2017-06-08 09:44:49 +00:00
SzuWei Lin 78b8dd61b1 Normalize building generic system image with treble-common.mk
Move the common part from make file of generic AOSP system images into
treble_common.mk, and update the content of common part.

The common part inclueds:

- HAL interfaces
- VNDK libs
- VNDK-SP libs
- Some other modules supporting HAL interfaces
- Some Treble default configurations

Bug: 37927875
Test: boot to home screen with the generic system image
Change-Id: I4202454d57970cef713f7d6437191094df0009e9
2017-06-08 16:24:10 +08:00
SzuWei Lin 76ada93856 Normalize building generic system image with treble-common.mk
Move the common part from make file of generic AOSP system images into
treble_common.mk, and update the content of common part.

The common part inclueds:

- HAL interfaces
- VNDK libs
- VNDK-SP libs
- Some other modules supporting HAL interfaces
- Some Treble default configuations

Bug: 37927875
Test: boot to home screen with the generic system image
Change-Id: I4202454d57970cef713f7d6437191094df0009e9
Merged-In: I4202454d57970cef713f7d6437191094df0009e9
2017-06-08 10:13:23 +08:00
Robert Quattlebaum 22b005354f Merge "Revert "Support for android.net.lowpan and LoWPAN Service"" 2017-06-06 21:10:52 +00:00
Robert Quattlebaum 350911d726 Revert "Support for android.net.lowpan and LoWPAN Service"
This reverts commit b2cbafe06e.

Change-Id: Ib78a2ff1878900508db2d3dad0704182b75e9330
2017-06-06 21:03:23 +00:00
TreeHugger Robot 3f2be14109 Merge "Support for android.net.lowpan and LoWPAN Service" 2017-06-06 20:25:55 +00:00
TreeHugger Robot 17c19a6cb0 Merge "Add sysui dark theme dependency" 2017-06-02 01:49:00 +00:00
Lucas Dupin b5e44b0a0b Add sysui dark theme dependency
Bug: 38163994
Bug: 37014702
Test: make
Change-Id: I93253b07221e04717b0cbe0b650e9d1ec54da36b
2017-05-26 10:09:25 -07:00
Yifan Hong 73ebddca75 Accept multiple input files for device manifest.
Test: test with DEVICE_MANIFEST_FILE variable split
      into multiple files

Bug: 38217107
Change-Id: I1146898e4ccf0e8bac7d8541032f160476dbc148
2017-05-24 16:39:02 -07:00
TreeHugger Robot 24011de5d5 Merge "Switch to a shell_and_utilities phony module." into oc-dev 2017-05-23 23:02:29 +00:00
Elliott Hughes 98352342b3 Switch to a shell_and_utilities phony module.
(cherrypick of cb7d59687483c9532beecde60fe96053eda76948.)

Merged-In: I6416d9dded4cc225f57f0a521cf6114f39203ece
Bug: 36463595
Test: builds
Change-Id: I6416d9dded4cc225f57f0a521cf6114f39203ece
2017-05-23 12:46:32 -07:00
Isaac Chen 16ac33eef8 Merge "Generic AOSP system image for non-A/B arm devices" into oc-dev am: 66d4710933
am: 43c6e2b649

Change-Id: I4f42e58f4e88799eb44edacb00c50f210506c15a
2017-05-23 02:30:13 +00:00
Isaac Chen 43c6e2b649 Merge "Generic AOSP system image for non-A/B arm devices" into oc-dev
am: 66d4710933

Change-Id: I9d264f8e5a08984813e95b168eba8599b23ea521
2017-05-23 02:27:44 +00:00
Isaac Chen 1573baca1b Generic AOSP system image for non-A/B arm devices
aosp_arm_a: for non-A/B 32-bit arm devices
aosp_arm64_a: for non-A/B 64-bit arm devices
Both are based on aosp_arm64_ab (for A/B devices).

Bug: 36153731
Test: build with oc-dev and the resulted system image works on one
32-bit arm device successfully (no 64-bit arm device to test yet).
Change-Id: Ifb5c4239e5c22005e055cfa840feca9c0a92586f
2017-05-19 09:29:21 +00:00
Vijay Venkatraman ae432837c7 Merge "Replaced android.dvr.composer@1.0 with android.frameworks.vr.composer@1.0" into oc-dev am: f4c0009bf9
am: 2ad9b943fd

Change-Id: I7997309f7989967144f54b2eb3717b5b9a9fb4d0
2017-05-18 21:49:09 +00:00
Vijay Venkatraman 2ad9b943fd Merge "Replaced android.dvr.composer@1.0 with android.frameworks.vr.composer@1.0" into oc-dev
am: f4c0009bf9

Change-Id: Ifa5785c6a718313408abf8b333e6978e2989a058
2017-05-18 21:32:21 +00:00
TreeHugger Robot f4c0009bf9 Merge "Replaced android.dvr.composer@1.0 with android.frameworks.vr.composer@1.0" into oc-dev 2017-05-18 21:23:39 +00:00
Jaesoo Lee 11e89e9316 Merge "configstore: build configstore 1.1 instead of 1.0" 2017-05-18 13:05:41 +00:00
Pawin Vongmasa c744088b0f Merge "Add media_profiles_V1_0.dtd" into oc-dev
am: 8d66d58d1d

Change-Id: I160e09ee10f87c3ba4d0e83a5d75682082d700fb
2017-05-18 06:15:49 +00:00
TreeHugger Robot 8d66d58d1d Merge "Add media_profiles_V1_0.dtd" into oc-dev 2017-05-18 03:09:43 +00:00
Ben Fennema 29784780e6 Merge "Add HIDL base/manager packages to PRODUCT_BOOT_JARS (core_tiny)" into oc-dev am: 879b9c3bf7
am: 0c04c47240

Change-Id: I66f1bc694e9c578540aecf8ca97edff097a6a3be
2017-05-17 15:35:08 +00:00
Ben Fennema 0c04c47240 Merge "Add HIDL base/manager packages to PRODUCT_BOOT_JARS (core_tiny)" into oc-dev
am: 879b9c3bf7

Change-Id: I77f01301a4043077d1a2b68bc73e3064f3ffaeaf
2017-05-17 15:31:38 +00:00
TreeHugger Robot 879b9c3bf7 Merge "Add HIDL base/manager packages to PRODUCT_BOOT_JARS (core_tiny)" into oc-dev 2017-05-17 15:24:43 +00:00
Jaesoo Lee 1b6723497a configstore: build configstore 1.1 instead of 1.0
configstore is uprevisioned to 1.1.

Bug: 37727469
Test: Build and tested on sailfish

Change-Id: I21861448a5d607383b617f2f85bd378013e64090
2017-05-17 14:08:52 +09:00
Pawin Vongmasa afa2915563 Add media_profiles_V1_0.dtd
Test: media_profiles_V1_0.dtd exists in system/etc

Bug: 36430270
Merged-In: I847a774baf2172d83d414f1794794089b383ded3
Change-Id: I847a774baf2172d83d414f1794794089b383ded3
2017-05-16 19:08:12 -07:00
Vijay Venkatraman c1319fec67 Replaced android.dvr.composer@1.0 with
android.frameworks.vr.composer@1.0

Bug: 38349320
Test: build aosp_arm64_ab
Change-Id: Iaf4c5065bbd10763258dad3e65b69bffa8f94194
2017-05-16 21:58:14 +00:00
Jeff Vander Stoep 3eed2e5808 Merge "sepolicy: remove all use of domain_deprecated" into oc-dev am: 2e8ce7628d
am: 455a336fb4

Change-Id: Iee72bbc4a37450c70b10dc1085f7ad0f856d3fb6
2017-05-16 21:49:12 +00:00
Jeff Vander Stoep 455a336fb4 Merge "sepolicy: remove all use of domain_deprecated" into oc-dev
am: 2e8ce7628d

Change-Id: I1f3da139ee66b7c1b8bc40ad4a7961851bd43939
2017-05-16 21:46:03 +00:00
TreeHugger Robot 2e8ce7628d Merge "sepolicy: remove all use of domain_deprecated" into oc-dev 2017-05-16 21:36:39 +00:00
David Sehr 871ac3bbd8 Merge "Add dexdiag tool to images" into oc-dev am: 953ff9f7d8
am: b23a76ff71

Change-Id: I4bca2b71b91602238f4dfb90904de78594ceb6d7
2017-05-16 20:33:49 +00:00
David Sehr b23a76ff71 Merge "Add dexdiag tool to images" into oc-dev
am: 953ff9f7d8

Change-Id: I9ae6a4a67f9f2b55593ae6a1b0c49485d8a99676
2017-05-16 20:29:48 +00:00
David Sehr 5c2be9a291 Add dexdiag tool to images
Allow on-device analysis of dex memory usage by adding dexdiag to the
image.

Bug: 38181622
Test: adb shell "dexdiag"
Change-Id: I2142b5e42eae8cc01755d0e86c179c2fa86be00c
(cherry picked from commit 76f5fe5b63)
2017-05-16 11:41:49 -07:00
Ben Fennema 4276c22a67 Add HIDL base/manager packages to PRODUCT_BOOT_JARS (core_tiny)
Fix missing android.hidl.manager.V1_0.IServiceNotification$Stub
on wear (needed by com.android.server.wifi.HalDeviceManager)

Bug: 38320705
Test: no bootloop on android wear

Change-Id: I1bb297d13be0024dbc2be3788a2906e9f3cee437
Signed-off-by: Ben Fennema <fennema@google.com>
2017-05-15 17:40:02 -07:00
Jeff Vander Stoep ec488e1fee sepolicy: remove all use of domain_deprecated
This attribute has been removed from public policy and is no longer
available.

Bug: 38316109
Test: build policy
Change-Id: I3407ced2d725de982e19b77345827de03d93c426
2017-05-15 13:25:06 -07:00
David Sehr 76f5fe5b63 Add dexdiag tool to images
Allow on-device analysis of dex memory usage by adding dexdiag to the
image.

Bug: 38181622
Test: adb shell "dexdiag"
Change-Id: I2142b5e42eae8cc01755d0e86c179c2fa86be00c
2017-05-10 16:58:43 -07:00
Lingfeng Yang a70b40f60a Set emulator framebuffer display device buffer count to 3
Otherwise, we get deadlock.

bug: 36439031

Change-Id: Icffeca757120deb2b1392d8fc3531e3737d7cdc4
2017-05-09 22:36:07 +00:00
Pawin Vongmasa d0b9e62476 Add media_profiles_V1_0.dtd
Test: media_profiles_V1_0.dtd exists in system/etc

Bug: 36430270
Change-Id: I847a774baf2172d83d414f1794794089b383ded3
2017-05-05 04:47:15 -07:00
Steven Moreland 2b0022809d Remove redundant dependencies
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I2f13ad8151deff77850c4e18f6c84e2e55ba52d3
(cherry picked from commit c96c1de869)
2017-05-04 21:55:43 +00:00
TreeHugger Robot 7e34d174b4 Merge "Remove redundant dependencies" 2017-05-04 21:52:42 +00:00
TreeHugger Robot fb2454a3fb Merge "Remove redundant dependencies" into oc-dev-plus-aosp 2017-05-04 21:11:32 +00:00
Steven Moreland c96c1de869 Remove redundant dependencies
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I2f13ad8151deff77850c4e18f6c84e2e55ba52d3
2017-05-04 13:16:17 -07:00
Yifan Hong 2ae39fb213 Merge "Only checks compatibility for VINTF XMLs when PRODUCT_FULL_TREBLE" into oc-dev am: e3dc10aba7
am: debfef462e

Change-Id: I4a3ecee49ba3d760e3d97eedce35ff827860e4a5
2017-05-04 19:22:29 +00:00
Yifan Hong debfef462e Merge "Only checks compatibility for VINTF XMLs when PRODUCT_FULL_TREBLE" into oc-dev
am: e3dc10aba7

Change-Id: I41f15f258ff3be5310b3e4580b40257dcba442aa
2017-05-04 19:19:29 +00:00
TreeHugger Robot e3dc10aba7 Merge "Only checks compatibility for VINTF XMLs when PRODUCT_FULL_TREBLE" into oc-dev 2017-05-04 19:14:10 +00:00
Steven Moreland 0caf69d72d Remove redundant dependencies
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I69f280c36533ce13d5f3b3f2b2eb8d969982cb50
(cherry picked from commit b586105307)
2017-05-04 15:24:51 +00:00
Nicolas Geoffray b24b28ca92 Merge "Remove obsolete pm.dexopt properties." into oc-dev am: 64abb10c60
am: 124313d2e1

Change-Id: Icd60ee935aad9553405acbd223406b2ffa89ef10
2017-05-04 10:56:23 +00:00
Nicolas Geoffray 124313d2e1 Merge "Remove obsolete pm.dexopt properties." into oc-dev
am: 64abb10c60

Change-Id: I660f7b85efc77e7cabe3fabf84cc9416b2e8c0b6
2017-05-04 10:53:22 +00:00
Yifan Hong 4a352c9df0 Only checks compatibility for VINTF XMLs when PRODUCT_FULL_TREBLE
Bug: 37954458
Bug: 37321309

Test: build with lunch bullhead (PRODUCT_FULL_TREBLE=false)
Test: build with lunch marlin   (PRODUCT_FULL_TREBLE=true)
Change-Id: I2f3f8e4439e3986b9af635ac52c116f352215642
2017-05-03 16:33:23 -07:00
Steven Moreland b586105307 Remove redundant dependencies
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I69f280c36533ce13d5f3b3f2b2eb8d969982cb50
2017-05-03 11:12:53 -07:00
Nicolas Geoffray bf824a69db Remove obsolete pm.dexopt properties.
bug:33799337
bug:34715556

Test: build
Change-Id: I5620d6516a7283483272e888fad31cd97491cc0f
2017-05-03 13:28:45 +01:00
Robert Quattlebaum b2cbafe06e Support for android.net.lowpan and LoWPAN Service
Change-Id: I92b066797b474981655917202cd7a8476f63ead8
Bug: b/33073713
2017-05-02 18:06:24 +00:00
Nicolas Geoffray 10030bced5 Update build files to new compiler filters.
bug:34715556
Test: build and boot aosp bullhead

(cherry picked from commit 0576b5f24e)

Change-Id: I75586e2eaa40480470115c89cf1c049313850fe9
2017-05-02 12:36:40 +01:00
Yifan Hong c22e2140b4 Add compatibility check for system_manifest/compatibility_matrix.xml
am: c9ad35ce39

Change-Id: I29e4ff30ee5b5062d2c30088451a61c0abd90abd
2017-05-02 07:42:47 +00:00
Yifan Hong d9842ea1c9 Add device/fwk compatibility matrices to device.
am: b5cbe22b84

Change-Id: I739579f918fe233e153a6ef1dbce77f5863dd808
2017-05-02 07:42:41 +00:00
Yifan Hong c9ad35ce39 Add compatibility check for system_manifest/compatibility_matrix.xml
Add compatibility check against device vintf schemas
when framework schemas are built.

Test: build with lunch marlin (that has manifest.xml)
Test: build with mini_emulator_arm64 (that doesn't have manfiest.xml)

Bug: 37321309

Change-Id: I87db152754d0185938bcef0c4395f477b8fd269b
2017-05-01 22:29:16 -07:00
Yifan Hong b5cbe22b84 Add device/fwk compatibility matrices to device.
Also renamed matrix.xml to compatibility_matrix.xml.

Test: make and ensure vendor/compatibility_matrix.xml is there.
Test: adb shell vintf (see matrices, compatible = true)

Bug: 37321309
Change-Id: I4ebbedf47a576a50a42df53b72e507ed31ef2e56
2017-05-01 21:49:18 -07:00
Colin Cross d1c7f53aa4 Merge "Install sqlite3 on userdebug builds" am: 5821266790 am: 1ddf97bafb
am: f7365b6137

Change-Id: I1292f19401ba3a65fedff3a75eea72bcc8ad53bc
2017-05-02 02:49:09 +00:00
Colin Cross 9418749c48 Install sqlite3 on userdebug builds
sqlite3 had LOCAL_MODULE_TAGS := debug, which was not passed
through when converting to soong.  We prefer PRODUCT_PACKAGES_DEBUG
instead, so add it there.

Bug: 37627999
Test: sqlite3 is in installed-files.txt
Change-Id: Idb8b3aea7b7482109aa4ed3ac0016bd84dd23f22
2017-05-01 21:39:40 +00:00
Nicolas Geoffray b08ada1daa Introduce a whitelist for core apps used by system server.
And by default 'speed' compile those apps at build time.

bug:33799337
Test: m -j32

(cherry picked from commit 9af483488a)

Change-Id: I66f1c675369fccc03b6529c08cb030264d15ba1c
2017-04-28 10:38:41 +01:00
Joe LaPenna 0f35ca4165 Merge "Remove NetworkRecommendation from platform." into oc-dev
am: e5181610d4

Change-Id: Ib86914507b37842863c122d83eebdddf69b8ae9c
2017-04-27 16:51:11 +00:00
Nicolas Geoffray 2987311985 resolve merge conflicts of 225fd8057f to oc-dev-plus-aosp
Test: build

Change-Id: Iae46079ffda4ef5d6b1408044bfcb786ac08a7a6
2017-04-27 13:51:08 +01:00
Nicolas Geoffray 6c8c20dd5b Merge "Update build files to new compiler filters." 2017-04-27 11:40:07 +00:00
Joe LaPenna 885f8f7576 Remove NetworkRecommendation from platform.
It no longer provides platform functionality, so can be removed.

Bug: 37357264,37686309
Test: make aosp_bullhead-userdebug and make bullhead-userdebug
Change-Id: Iedaa1dd764678f12eaeda292e6047485aae236ac
2017-04-25 19:16:28 -07:00
Vikas Marwaha e560372ab2 Merge "Added make files for variable Nougat MR1" am: b27fb9f528 am: d7214ec091
am: 3c11b00837

Change-Id: I390e249cea2024d88f481dba853f21160226710c
2017-04-25 20:34:41 +00:00
Nicolas Geoffray 0576b5f24e Update build files to new compiler filters.
bug:34715556
Test: build and boot aosp bullhead
Change-Id: I95c7bbabd68a58206e8c79a017337a7f9a518569
2017-04-25 12:25:33 +01:00
Diego Wilson 65d0388037 Remove BOARD_USES_RECOVERY_AS_BOOT from aosp_arm64_ab
am: 77fcc43b6c

Change-Id: Ibcc1e93459168a004bba574c629c9dad299cb8af
2017-04-21 20:37:45 +00:00
Diego Wilson 77fcc43b6c Remove BOARD_USES_RECOVERY_AS_BOOT from aosp_arm64_ab
The target does not have a kernel so this flag does
not make sense.

Bug: 37443196
Test: flash aosp_arm64_ab system.img on sailfish
Change-Id: I1f22866dd5ecdd16615c02fdc8aa898b1ec2ddbd
2017-04-20 11:36:50 -07:00
Jaesoo Lee 6d2e0afa1b fixed build errors for aosp generic system image
am: 41e5dff370

Change-Id: Ie989a23d6649694e016368dabce771bdcd32c60e
2017-04-17 16:41:28 +00:00
Jaesoo Lee 41e5dff370 fixed build errors for aosp generic system image
Following files are missing in AOSP and not needed
- device/google/marlin/init.recovery.common.rc
- vendor/google/products/marlin/bootanimation-1440-256col.zip
- vendor/google/certs/devkeys/devkey

Bug: 37259658
Test: built systemimage and tested it work with other sailfish images
Change-Id: I95e180b6adbe8d08348794fd6b5f41e810999aea
2017-04-17 12:33:02 +09:00
Jiyong Park 57ff671b5c install android.hidl.*-java.jar files by default
am: 279e3c2ae3

Change-Id: I8fff4ae0a271e37e384e47d8196e303d1f09a75e
2017-04-15 08:12:06 +00:00
Jiyong Park 279e3c2ae3 install android.hidl.*-java.jar files by default
Without this, the jar files are not installed to /system/framework and
thus the classes in the libraries become unaccessible during the direct
boot mode, where java code is directly interpreted from the jar files
instaed of the odex file.

Bug: 37363533
Test: android.hidl.*-java.jar are installed at /system/framework
Test: no crash of com.qualcomm.qti.telephonyservice upon boot (with data
partition protected with pin or pattern)

Change-Id: Ib3d5f9b7abd907d89a793e7501055c289145b239
2017-04-15 15:01:28 +09:00
Jiyong Park 709cb01dd8 Merge "Change ld.config.txt to a module" into oc-dev
am: 9fdd426c91

Change-Id: I73a88e93ac2982ccc51ec81ecc8fbe4d66665dc7
2017-04-15 02:04:23 +00:00
TreeHugger Robot 9fdd426c91 Merge "Change ld.config.txt to a module" into oc-dev 2017-04-15 01:47:40 +00:00
Yifan Hong 9c20c473ef Merge changes from topic 'assemble_vintf' into oc-dev
am: ffd66c35bf

Change-Id: I73f8430739e3d129716c3569c000433786099bf1
2017-04-15 01:31:39 +00:00
TreeHugger Robot ffd66c35bf Merge changes from topic 'assemble_vintf' into oc-dev
* changes:
  Use assemble_vintf to verify framework manifests.
  Use assemble_vintf to verify device manifests.
2017-04-15 01:21:23 +00:00
Yifan Hong aa21221f80 Use assemble_vintf to verify framework manifests.
Test: builds, and verify that system/manifest.xml is there.

Bug: 36681384 Runtime-Collectible information must be statically
collectible
Bug: 36983271 VINTF checked at build time

Change-Id: Ic3bb50211311fa423a2ad56bd2891cb57d7dc1a5
2017-04-14 16:29:55 -07:00
Yifan Hong 283af596eb Use assemble_vintf to verify device manifests.
Test: builds, and verify that vendor/manifest.xml has
sepolicy version.

Bug: 36681384 Runtime-Collectible information must be statically
collectible
Bug: 36983271 VINTF checked at build time

Change-Id: I10e4cff6ed1b78a7cb9239e822ab054e1b90e7d3
2017-04-14 16:29:04 -07:00
Justin Klaassen 16c24c350b Merge "Add "android.software.preview_sdk" feature" into oc-dev
am: 89f74db432

Change-Id: I6dc6a8361400d36e52b47b12f4267739575bca37
2017-04-14 22:44:00 +00:00
Justin Klaassen 89f74db432 Merge "Add "android.software.preview_sdk" feature" into oc-dev 2017-04-14 22:39:59 +00:00
Martijn Coenen f9c5581621 Merge "Add HIDL base/manager packages to PRODUCT_BOOT_JARS." into oc-dev
am: d75be23640

Change-Id: Id696903b1dab45c9373bcf77c4f6f5e708c33225
2017-04-14 05:53:15 +00:00
Martijn Coenen d75be23640 Merge "Add HIDL base/manager packages to PRODUCT_BOOT_JARS." into oc-dev 2017-04-14 05:43:49 +00:00
Michael Schwartz b4baff4961 Merge "Rule to copy device manifest to device" into oc-dev
am: ceeaa7be20

Change-Id: Ibd3b2ffbc591e22682539e2cdb49b0b622549f54
2017-04-14 03:41:01 +00:00
Martijn Coenen cc50370515 Merge "Add NfcNci to default builds." into oc-dev
am: 53b345dd22

Change-Id: I009dce5613b66b5bf8bcc63a6945a47c3ada9252
2017-04-14 03:40:48 +00:00
Michael Schwartz ceeaa7be20 Merge "Rule to copy device manifest to device" into oc-dev 2017-04-14 03:25:55 +00:00
Martijn Coenen 53b345dd22 Merge "Add NfcNci to default builds." into oc-dev 2017-04-14 03:18:40 +00:00
Steven Moreland dfabcc5566 Add HIDL base/manager packages to PRODUCT_BOOT_JARS.
Bug: 36603742
Bug: 36565056
Test: marlin boots, dynamically linking against these works
Change-Id: I1bfb73f2bce858823ad6ba8d826e42bd38cc2317
2017-04-13 19:30:48 -07:00
Justin Klaassen 2bfe0943c8 Add "android.software.preview_sdk" feature
Conditionally add the "android.software.preview_sdk" feature to any
targets that have a Build.VERSION.CODENAME != "REL". This allows clients
to filter out platforms that are not running official Android releases.

Bug: 31064561
Test: verified using PackageManager#getSystemAvailableFeatures()
Change-Id: I539e9537f5f9a572db0a15489b14710e2e8eb0c0
2017-04-13 20:57:50 +00:00
Martijn Coenen 96d62d7fb7 Add NfcNci to default builds.
The package won't be started if the feature is not
present on the device, but we need it for generic
builds.

Bug: 36873979
Test: marlin builds
Change-Id: Ib8110e5af00f8365f45f50b147fe5fb42f1a14e1
2017-04-13 11:13:46 -07:00
Michael Schwartz 4d9cb56866 Rule to copy device manifest to device
The device manifest defines the collection of HAL interfaces exposed by
the vendor. Create a common rule so each target need not define their own.

Bug: 36810913
Test: Ran marlin build and inspected file was copied
Change-Id: I9f53796fdd85e706f91664d275aff6dbd785213f
2017-04-13 08:42:42 -07:00
Martijn Coenen d997015f4b Merge "Add hwservice_contexts to default builds." into oc-dev
am: 14d363fa42

Change-Id: Ibe4ad09dfa98fa438eeb840845cf32216ecd103b
2017-04-13 03:43:42 +00:00
Martijn Coenen 14d363fa42 Merge "Add hwservice_contexts to default builds." into oc-dev 2017-04-13 03:34:49 +00:00
Jiyong Park 93cae68532 Change ld.config.txt to a module
ld.config.txt is changed to a module. So, installing it via
PRODUCT_PACKAGES intead of PRODUCT_COPY_FILES.

Bug: 37138083
Test: sailfish boots
Change-Id: I8689b7c090901d4f157c5da8a67326c97373ed29
2017-04-13 11:29:24 +09:00
Jaekyun Seok b1be172535 Merge "Remove resource overlay" into oc-dev
am: 86d479d33e

Change-Id: Ic5241b44ea208c4301c592a7420fe2f4590e6022
2017-04-13 01:46:58 +00:00
Martijn Coenen bcd029c587 Add hwservice_contexts to default builds.
Bug: 34454312
Test: marlin boots
Change-Id: Ifff8c2842b4131dba6a480c87c6db1e65497e6ef
2017-04-12 12:43:26 -07:00
Jaekyun Seok 0d16dd1942 Remove resource overlay
Test: building succeeded and tested with sailfish vendor image.
Bug: 36231603

Change-Id: I5d2d6d882ef3fc8a807a8b0ecd2f59f8a4a03e1f
2017-04-12 18:35:19 +09:00
Martijn Coenen 01371056bb Add 'vndservice' to default builds.
am: 1fe4f23a04

Change-Id: Ib6015b8ce6abb634963e251aea825d660bf59968
2017-04-07 20:07:14 +00:00
Martijn Coenen 1fe4f23a04 Add 'vndservice' to default builds.
To query vndservicemanager and its services.

Bug: 36987120
Test: vndservice present and works
Change-Id: Ic65acbde17a1be5b728eeeac0f799a86c1d8c1fa
2017-04-07 10:49:22 -07:00
doheon1.lee 8250dc4837 Added make files for variable Nougat MR1
Nougat MR1 has different API LEVEL from previous releases,
PRODUCT_SHIPPING_API_LEVEL should be set to 25.

Change-Id: Ib3679bba4105dc99b96224c5f5554c1f0e4ab127
2017-04-05 19:45:50 +00:00
Martijn Coenen 31ee76a1e0 Merge "Add vndservicemanager to default builds." into oc-dev
am: a4f90284c7

Change-Id: I13148e6efb9f7ecb57c95000b69392d6ec69b65f
2017-04-05 15:59:06 +00:00
Martijn Coenen ca1fd78190 Add vndservicemanager to default builds.
vndservicemanager will be used for AIDL/binder
communication between processes running from
the /vendor partition. While technically only
required on full-treble devices, it is useful
to have on Android devices by default, since it
allows vendors to distribute a single binary talking
to vndservicemanager, instead of having to maintain
two versions that talk to different servicemanagers.

On devices that don't have a new kernel prebuilt with
/dev/vndbinder yet, vndservicemanager will simply
block indefinitely.

Also add new vndservice_contexts target, that
defines the service contexts for vendor services.

Bug: 36052864
Test: Marlin boots with and without /dev/vndbinder
Change-Id: I7334b5cb357dc6d4c5de8632e835dd892cd2f174
2017-04-04 14:06:04 -07:00
Steven Moreland 64a5de1116 Merge "ENABLE_TREBLE is deprecated" into oc-dev
am: ef8716c93a

Change-Id: I6bbfbcec37b30278c3343248e4c10f55e025d446
2017-04-04 16:38:22 +00:00
Elliott Hughes d36d82a117 resolve merge conflicts of 7206a3b38c to oc-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ib00dfc08b1ca7223d49b18fceab780c5dbec0d7e
2017-04-03 10:48:05 -07:00
Elliott Hughes b7b29357ae Merge "Switch to a shell_and_utilities phony module."
am: cdcc4c52aa

Change-Id: Idb8a4ce418a64ac8691df9d1890d60f32102c1cc
2017-04-03 17:19:35 +00:00
Elliott Hughes c86ea11fe9 Switch to a shell_and_utilities phony module.
(cherrypick of cb7d59687483c9532beecde60fe96053eda76948.)

Bug: N/A
Test: builds
Change-Id: I6416d9dded4cc225f57f0a521cf6114f39203ece
2017-04-03 17:13:58 +00:00
Steven Moreland 417fc4f445 ENABLE_TREBLE is deprecated
ENABLE_TREBLE is deprecated...removing obsolete code fragments related
to the flag.

Test: marlin boots/works
aosp_arm64_ab boots/works on sailfish/marlin

Bug: 32978887
Change-Id: I59b4509e4e7ec11cfa138200bccc4418c10b44f3
2017-04-03 12:27:51 +09:00
TreeHugger Robot 4afcb8c6b6 Merge "Add vr binary to commands" into oc-dev 2017-03-31 23:48:25 +00:00
Karthik Ravi Shankar 35aed3da10 Add vr binary to commands
Bug: 36071574

Change-Id: I8a953950a4eb96d9ffa2ee5789e3c8cd98b4dd0e
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
2017-03-31 11:17:59 -07:00
Nicolas Geoffray 7d32b8bb4f Introduce a whitelist for core apps used by system server.
And by default 'speed' compile those apps at build time.

bug:33799337
Test: m -j32
Change-Id: I7be3bbfef59c020a34b9a82ef038bd27210bc9d7
(cherry picked from commit 9af483488a)
2017-03-30 11:47:13 +00:00
Jiyong Park 6fdf938751 Remove marlin/sailfish specific sepolicy
Don't use sepolicy dir for marlin/sailfish.

Bug: 36231802
Test: aosp_arm64_ab should boot
Change-Id: I0e76841530cec2c51b61251ffde802bd7ec10663
2017-03-30 14:25:41 +09:00
Sunny Goyal 4f49a94fe7 Including WallpaperPicker in SDK build
Bug: 35724630
Test: None
Change-Id: I5b066171b70899d4d980d3cdedd32ad58ade9b90
2017-03-29 01:32:47 +00:00
Esteban Talavera deb26ad395 Revert "Remove resource overlays"
This reverts commit 1dcf689c3b.

The CL broke git_master/sailfish-userdebug_P and oc-release/marlin_svelte

Bug: 36231603
Test: "make" works again for oc-release/marlin_svelte after reverting both CLs from this topic

Change-Id: I861b8b11c29293fb4a0c746768c03bc4eb986807
2017-03-28 17:02:20 +01:00
TreeHugger Robot 0b1e95f08b Merge "Remove resource overlays" 2017-03-28 01:02:54 +00:00
Jeff Vander Stoep b8093c0e87 Merge "embedded.mk: Make phony selinux_policy" am: b30c12df3e am: 6d418a86b7
am: 856b00b8db

Change-Id: Ib3fc261851e1a19eea91513f0ea2fbe3dde5ba1c
2017-03-27 20:12:11 +00:00
Jeff Vander Stoep 6d418a86b7 Merge "embedded.mk: Make phony selinux_policy"
am: b30c12df3e

Change-Id: Iba9b4c92d1772f50f77a112747b32d4c4290e363
2017-03-27 20:06:41 +00:00
Treehugger Robot b30c12df3e Merge "embedded.mk: Make phony selinux_policy" 2017-03-27 20:03:04 +00:00
Jiyong Park d68246c8e4 Remove mailin/sailfish fstab from the generic system image
fstab files are now in /vendor/etc. No need to have it in system.

Bug: 36229492
Test: aosp_arm64_ab should boot in sailfish/marlin
Change-Id: I9ced5361ce3e3a98722d45124ee58d4411f06273
2017-03-27 15:46:34 +09:00
Jaekyun Seok 1dcf689c3b Remove resource overlays
Test: building succeeded and tested on sailfish and marlin with
http://ag/2009238.
Bug: 36231603

Change-Id: I82d672cbdca3b8597de71c821df8fb92f27318f3
2017-03-27 14:52:57 +09:00
Jeff Vander Stoep 2064364765 embedded.mk: Make phony selinux_policy
Moves selinux policy build decisions to system/sepolicy/Android.mk.
This is done because the PRODUCT_FULL_TREBLE variable isn't available
in embedded.mk and TARGET_SANITIZE isn't available to dependencies of
init.

Test: Build/boot Bullhead PRODUCT_FULL_TREBLE=false
Test: Build/boot Marlin PRODUCT_FULL_TREBLE=true
Test: Build Marlin TARGET_SANITIZE=address. Verify asan rules are
      included in policy output.

Bug: 36138508
Change-Id: I792786cd867bae3e1baeb824167a848948a719df
2017-03-26 14:51:38 -07:00
Dimitry Ivanov b5bbf1ad0f Merge "Add ld.config.txt to rootdir/etc" am: 86559441a1 am: 3fd5bf0f82
am: 4926df7b5f

Change-Id: Ie5ba33fe45bfaa069f3454e50b5eaf3ca5df1deb
2017-03-25 05:26:21 +00:00
Dimitry Ivanov 3fd5bf0f82 Merge "Add ld.config.txt to rootdir/etc"
am: 86559441a1

Change-Id: I35da84dceb546c04494e16106745b63cc80234b0
2017-03-25 05:21:15 +00:00
Treehugger Robot 86559441a1 Merge "Add ld.config.txt to rootdir/etc" 2017-03-25 05:17:32 +00:00
TreeHugger Robot d4bcd158a5 Merge "Use HWC2 for all emulator images." 2017-03-24 21:03:37 +00:00
Jiyong Park 06241051e8 Make telephony work on generic system image
Bug: 36070427
Test: modem is up and emergency call can be made
Change-Id: Ic09200943a7ae7c51e420c6485f3b1b95c702265
2017-03-24 08:47:47 +00:00
TreeHugger Robot e496c6a76f Merge "Add libion to the generic sytem image for camera" 2017-03-24 07:56:57 +00:00
TreeHugger Robot 75187d0d8e Merge "Add wifi support to the generic system image" 2017-03-24 07:51:34 +00:00
Jiyong Park a14bf425f7 Add libion to the generic sytem image for camera
Camera HAL is using libion. I believe libion is generic library, so put
it in this generic system image.

Bug: 36043196
Test: make, flash and check that libion.so is in /system/lib.
Change-Id: I2e6b68e5899e27c603476ad7c5cd64f3cd5a8c53
2017-03-24 06:29:02 +00:00
TreeHugger Robot 74922e8dfb Merge "Remove dependency on marlin sepolicy" 2017-03-23 22:30:19 +00:00
TreeHugger Robot c003af00a1 Merge "Remove media config file copy rule" 2017-03-23 20:14:37 +00:00
Lingfeng Yang 450cd0ba62 Use HWC2 for all emulator images.
bug: 36375335

Change-Id: I1a220d7ea0174a87713e3009ceba22a5e3f66f25
2017-03-23 19:33:33 +00:00
Diego Wilson f4efd73e96 Remove dependency on marlin sepolicy
Now that the selinux policy has been split between the system and
vendor partitions the aosp_arm64_ab build variant no longer
depends on the marlin selinux policy to work on marlin and sailfish.

Test: build and flash aosp_arm64_ab system.img on marlin and sailfish
Change-Id: I7681207284d783ffca1acccf44dbb159ea3b521c
2017-03-23 13:30:04 -04:00
Diego Wilson 70251beb44 Add libaudioroute.so to aosp_arm64_ab
libaudioroute.so is required in the system.img
in order for audio to be functional.

Test: hear tones on dialer in marlin and sailfish
Change-Id: I477aff9d041a8c60c88e7c74aab3b6802d43724f
2017-03-22 11:12:21 -07:00
Michael Wright 32c89d462f Merge "Remove inputflinger from the builds." 2017-03-22 15:16:53 +00:00
TreeHugger Robot 76c194e2a3 Merge "Change mediacodec to android.hardware.media.omx@1.0-service" 2017-03-22 06:15:40 +00:00
Jiyong Park 3e213c849b Add wifi support to the generic system image
Added wifi-related packages (except those not generic such as
wpa_supplicant) to the generic system image.

Bug: 36015569
Test: Wifi works with this generic image on sailfish.

Change-Id: Ib4d07facd4eb1ca0f375d9135a75b892d0ef80a4
2017-03-22 02:20:34 +00:00
Jaesoo Lee 58f8dfa5a6 Merge "removed "android.hardware.configstore@1.0-impl" from PRODUCT_PACKAGES" am: 946af3fa5d am: 3973c2af63
am: 9c41aa58eb

Change-Id: Ic2a10e7fe09eec97680619779b65fb36ede00758
2017-03-22 01:07:50 +00:00
Jaesoo Lee 3973c2af63 Merge "removed "android.hardware.configstore@1.0-impl" from PRODUCT_PACKAGES"
am: 946af3fa5d

Change-Id: I59d10ade7c801359365d847d6c433d719a4128c2
2017-03-22 01:04:26 +00:00
Jaesoo Lee a1d99c1351 removed "android.hardware.configstore@1.0-impl" from PRODUCT_PACKAGES
This change removes the passthough mode implemention of Configstore.

Bug: 35325577
Test: android.hardware.configstore@1.0-impl.so not exist in outputs and
    Configstore works in binderized mode

Change-Id: Ie9ec24c33701356b7fa8c4f6cfc372c09051f62c
Merged-In: Ic16d5ebe30fabfd62ba4e444fe2775ddfbe2a18a
2017-03-21 11:01:53 +09:00
TreeHugger Robot 616966821c Merge "Add clear key CAS plugin (libclearkeycasplugin.so) to build." 2017-03-20 22:25:47 +00:00
Diego Wilson bc372ec3ec Add libdynamic_sensor_ext to aosp_arm64_ab
This library was added as a dependency of the
sensors HAL.

Test: build and load aosp_arm64_ab on sailfish and marlin.
Change-Id: Iaa413d3572ec12e1f022539a5ade1f3c2d793999
2017-03-20 13:02:53 -07:00
Diego Wilson a2d55b58d8 Move device specific properties to /vendor
By setting BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED on aosp_arm64_ab
the device specific properties like ro.product.board
are hosted in /vendor/build.prop.

Test: build and flash aosp_arm64_ab system.img on sailfish and marlin.
Change-Id: I8062ff81221a3026626736b012ceaf99d8ca2d12
2017-03-20 13:02:53 -07:00
Pawin Vongmasa 022cf53b82 Change mediacodec to android.hardware.media.omx@1.0-service
Test: Manual use of Camera and YouTube apps.
Bug: 35328855
Change-Id: I505fc96384fdeb3fa4ad2ba69d93cc64cd8e6b9e
2017-03-17 17:46:36 -07:00
bohu 7a0f58cfd7 Merge "Emulator: Enable logcat -Q to run in emulator" am: 406d3b6df1 am: 5c8080cc18
am: 4e0937222d

Change-Id: I93add2438689c5c02eb2155e68ba8514d8f8b81f
2017-03-17 16:38:34 +00:00
bohu 5c8080cc18 Merge "Emulator: Enable logcat -Q to run in emulator"
am: 406d3b6df1

Change-Id: I9f429980942e043ea874ad45bb88646d1c036f5b
2017-03-17 16:30:33 +00:00
Michael Wright 7d4944da37 Remove inputflinger from the builds.
Some day... some day...

Test: builds
Change-Id: I1a0390c7bfa15f7590a869ba5e12e112ec510602
2017-03-16 14:38:36 -07:00
Chong Zhang ad3bb1b0f2 Add clear key CAS plugin (libclearkeycasplugin.so) to build.
bug: 22804304
Change-Id: Ie1bbe563740d7002f0fc082b4e10ca04d80c1277
2017-03-16 12:38:01 -07:00
Lingfeng Yang ad1a1ac03f Add hwcomposer to emulator image build
Change-Id: Ifa366f54ab5a380f71171b953168c597b2c5603f
2017-03-16 12:26:56 -07:00
Jaekyun Seok a7e65dbf90 Remove media config file copy rule
ag/1923309 and ag/1918350 have already moved them into vendor
partition.

Test: building succeeded.
Bug: 35653062
Change-Id: Idcf1b481fb043867bb64ff7c63800c44a151f32d
2017-03-16 17:48:41 +09:00
bohu 8c3364bd59 Emulator: Enable logcat -Q to run in emulator
Create qemu_cmdline property and make sure logcat
can read it.

Change-Id: I83261a1ba29ecf9fd9b51a815425742177018c87
2017-03-15 22:27:08 -07:00
Dimitry Ivanov d994a73989 Add ld.config.txt to rootdir/etc
This file is used by linker to create custom namespace
configuration for binaries.

Bug: http://b/30706810
Test: m
Change-Id: Ifc4e43ed51c6906c75a7f0d9f00a816b5e16c4d8
2017-03-15 14:47:35 -07:00
Alex Klyubin 71d223b8c3 Merge "Remove unused /selinux_version" am: f32107fbb2 am: ac5ac23bb3
am: 561e101ec9

Change-Id: I25fed6576441cbd329bb0228ff47c625172c8444
2017-03-15 20:15:42 +00:00
Alex Klyubin ac5ac23bb3 Merge "Remove unused /selinux_version"
am: f32107fbb2

Change-Id: Iba4f3d7eca37bbf20d9527245baf44f32b67c07f
2017-03-15 20:05:15 +00:00
Alex Klyubin 4fe461d2a0 Remove unused /selinux_version
This file is no longer needed because it was needed for supporting
reloadable/dynamic SELinux policy which is no longer supported.

Test: Clean build, flash, device boots without additional denials.
      Reboot to recovery works, no additional denials.
Bug: 33642277
Change-Id: Ie65e74b8c8437694bc1ea019ab844f60f9e89ade
2017-03-15 09:47:36 -07:00
TreeHugger Robot 54ac816381 Merge "Add aosp_arm64_ab for generic system image for A/B-ready devices" 2017-03-14 23:47:31 +00:00
Jaesoo Lee 371f5d502c Merge "configstore: add default implementation of configstore@1.0 HAL"
am: 2b61f19254

Change-Id: Ie122892697d2073575fcbb7dae4ba9838778517e
2017-03-14 06:50:30 +00:00
Jaesoo Lee 2b61f19254 Merge "configstore: add default implementation of configstore@1.0 HAL" 2017-03-14 06:44:13 +00:00
Jeff Vander Stoep 4d9e183836 Merge "Include file_contexts conditionally elsewhere" am: e65af5ce72 am: 10539b3253
am: 96377665f2

Change-Id: Ib46554b2ebccd930a4b2a827c7fdd8a9ff0f15db
2017-03-11 00:06:42 +00:00
Jeff Vander Stoep 10539b3253 Merge "Include file_contexts conditionally elsewhere"
am: e65af5ce72

Change-Id: Ib781e0237f2bd68431d50890b9d9beaeff86bf74
2017-03-10 23:59:39 +00:00
Jiyong Park 4ed780c454 configstore: add default implementation of configstore@1.0 HAL
This change adds default implementation of configstore@1.0 HAL to all
embedded devices.

Bug: 34314793
Test: build. make sure /system/bin/hw has file
android.hardware.configstore@1.0-service

cherry-picked
1d6ab958c configstore: add default implementation of configstore@1.0 HAL

Merged-in: I65f416560de9d65c57e6cfcb9a6fe26b0140d4a6
Change-Id: Ib68fa325a0f0ce60db0701e16a5a9056411fb398
2017-03-10 10:13:17 +09:00
Jiyong Park 38f8aacf3b Add aosp_arm64_ab for generic system image for A/B-ready devices
aosp_arm64_ab is added as a product to build a generic system image for
all devices with ARM64 and A/B ready partitions. For now, it only
supports sailfish/marlin devices because following items are not yet
split.

- fstab
- overlays
- sepolicy

Bug: 35653062
Test: build and flash it to sailfish (or marlin)

$ source build/envsetup.sh; choosecombo 1 sailfish userdebug
$ ENABLE_EARLY_MOUNT=true ENABLE_TREBLE=true m -j 80
$ fastboot flashall
(For now, the two ENABLE_* are required to install  *.rc and *.prop
files into vendor partition. This restriction will be removed in the
future.)

$ source build/envsetup.sh; choosecombo 1 aosp_arm64_ab userdebug
$ m -j 80 systemimage
$ fastboot flash system out/target/product/generic_arm64_ab/system.img
$ fastboot -w reboot

Change-Id: Ia91163f2d51e90a488c9451cba23242887ea82ba
2017-03-09 17:14:37 +09:00
Jeff Vander Stoep f57a154f2e Include file_contexts conditionally elsewhere
Test: Marlin and Bullhead build and boot with no new denials.
Test: Marlin and Bullhead recovery boots with no new denials.
Test: Bullhead boots with file_contexts.bin in /
Test: Marlin boot with /system/etc/selinux/plat_file_contexts and
      /vendor/etc/selinux/nonplat_file_contexts.
Bug: 36002414

Change-Id: I25af653e060c0c72ea6ad08db8869132885adff8
2017-03-08 21:12:47 -08:00
bohu 7154859047 Emulator: enable GPS hidl service and impl
BUG: 36052760
Change-Id: I3fa3b6bd11e5791f284676fa82b3106725aaaa17
2017-03-08 16:27:56 -08:00
bohu 318905fff4 Emulator: Enable sensors hal support for hidl passthrough mode.
BUG: 35990227
Change-Id: Ia534f87727d59e5497ce46ed413aff739e5cf701
2017-03-07 00:18:28 +00:00
Alex Klyubin 5a8d726ced Merge "Include secilc and sepolicy conditionally, elsewhere" am: 3e78704825 am: 8fe478de64
am: d485d2a10c

Change-Id: Ic2da20423482bb5d8aff2d61a29044a547c42753
2017-03-03 04:02:10 +00:00
Alex Klyubin 8fe478de64 Merge "Include secilc and sepolicy conditionally, elsewhere"
am: 3e78704825

Change-Id: I00b1084eca64b0c42ea4f814f75a9e1f53a87879
2017-03-03 03:55:46 +00:00
Treehugger Robot 3e78704825 Merge "Include secilc and sepolicy conditionally, elsewhere" 2017-03-03 03:50:48 +00:00
Calin Juravle a5ab384e1c Merge "Enable secondary dex compilation in the background dexopt job"
am: 34200a1ad1

Change-Id: I6414d7e0a2a2bc783e85094f9cb11fe0290ac0e4
2017-03-02 23:58:24 +00:00
Calin Juravle 34200a1ad1 Merge "Enable secondary dex compilation in the background dexopt job" 2017-03-02 23:54:24 +00:00
Calin Juravle 148d23106b Enable secondary dex compilation in the background dexopt job
Test: adb shell cmd package bg-dexopt-job
Bug: 32871170

(cherry picked from commit dc308c1b1d)

Change-Id: I21664d5e11dada868dab502498b7c5e598852289

Merged-In: I473e291a26335bd766c8845d2ea28c4f1e45db53
2017-03-02 13:04:17 -08:00
Alex Klyubin 8e87853a04 Include secilc and sepolicy conditionally, elsewhere
This removes the unconditional inclusion of secilc and sepolicy.
These artefacts are now conditionally included by system/core/init.
The reason for declaring the conditional inclusion there is because
the desired conditional inclusion based on PRODUCT_FULL_TREBLE cannot
be declared here because PRODUCT_FULL_TREBLE is not yet available when
this file is interpreted.

Test: Device boots, no additional SELinux denials. This test is
      performed on a device with PRODUCT_FULL_TREBLE set to true, and
      on a device with PRODUCT_FULL_TREBLE set to false.
Test: Device with PRODUCT_FULL_TREBLE set to true contains secilc and
      the three *.cil files, but does not contain the sepolicy file.
      Device with PRODUCT_FULL_TREBLE set to false contains sepolicy
      file but does not contain the secilc file or any *.cil files.
Bug: 31363362

Change-Id: Ia3f38948b71a054918f5f63c594ba62a033e1066
2017-03-02 12:58:38 -08:00
Yifan Hong 8c86bc72b4 Merge "sintf.xml => manifest.xml" am: aeec3bfde7 am: 28070816fb
am: 1b510a9705

Change-Id: I6fb3f8c4f44d4f3fe68a915b1a6f85fc7db5c107
2017-03-02 03:55:56 +00:00
Yifan Hong 28070816fb Merge "sintf.xml => manifest.xml"
am: aeec3bfde7

Change-Id: Ice2fd7685dc57f05b3911d5b74a922d2731c8669
2017-03-02 03:46:30 +00:00
Yifan Hong c3373a32e4 sintf.xml => manifest.xml
Bug: 35870239
Test: make -j64 and ensure manifest.xml is there.
Change-Id: I5eccc6dcdc04a3caadc3ccce1d8b58c12f5950ee
2017-03-01 18:09:28 -08:00
Philip P. Moltmann 46c821d577 Merge "Ship BuiltInPrintService in default repo" am: 779ba5e692 am: d73c40d73c
am: 7d91f81dfb

Change-Id: I7f88828e279abf0cdf154dbeefc4a48359646886
2017-03-01 19:35:53 +00:00
Philip P. Moltmann d73c40d73c Merge "Ship BuiltInPrintService in default repo"
am: 779ba5e692

Change-Id: Iee8e4c9a0b7ebd555c94865e8781fbd1a996e56c
2017-03-01 19:30:52 +00:00
Philip P. Moltmann 779ba5e692 Merge "Ship BuiltInPrintService in default repo" 2017-03-01 19:21:48 +00:00
Yifan Hong b5d70b3a77 Merge "Add system/manifest.xml on device" am: 569cb34dc0 am: 40517f3ea3
am: 65460a8fb9

Change-Id: I1943a06d7480363df5352d0fe88cdc6a69825153
2017-03-01 03:02:26 +00:00
Yifan Hong 40517f3ea3 Merge "Add system/manifest.xml on device"
am: 569cb34dc0

Change-Id: Id838f4f9f25694c6347c35ca6470ff781fa7db42
2017-03-01 02:57:58 +00:00
Treehugger Robot 569cb34dc0 Merge "Add system/manifest.xml on device" 2017-03-01 02:54:52 +00:00
Yifan Hong 7ebc342b86 Add system/manifest.xml on device
Similar to vendor/manifest.xml on device, this file lists
all HALs defined in the framework (and hence go
to the system image). IServiceManager / IMemory /
etc. getService should consult this file (via VINTF
object under /system/libvintf) to return the HAL in the correct
transport mode.

Bug: 34772739 Create system/manifest.xml
Bug: 35219444 Need interface + instance entry

Test: compiles and manually confirm that system/manifest.xml exist.
Change-Id: I5b3c79b068841e47062cbab6f72d70555801a21d
2017-02-28 16:13:42 -08:00
Alex Klyubin c3a1650f6c Merge "Make secilc available" am: bbdd0e8745 am: 22bcc5db9d
am: b5846d8453

Change-Id: Ib805383037565df6a403a1725da1b34d10d432ef
2017-02-27 23:27:48 +00:00
Alex Klyubin 22bcc5db9d Merge "Make secilc available"
am: bbdd0e8745

Change-Id: I6ce67f392ab6523f2ac96e4f32e37a93e9272095
2017-02-27 23:23:57 +00:00
Philip P. Moltmann fa064b30ef Ship BuiltInPrintService in default repo
Bug: 31992514
Test: Built
Change-Id: I074a14ea9141866dffe9dfa128f18927230314c7
2017-02-27 14:55:35 -08:00
Alex Klyubin 46dd574918 Make secilc available
The SELinux policy compiler needs to be available on-device to compile
SELinux policy at boot on some devices. For now, we're including this
unconditionally, but, going forward, we will include this binary only
on devices which need it.

Test: Device boots -- secilc is not yet used anyway
Bug: 31363362
Change-Id: I7712b70d7c5b4c57bec2cdb44519b42d26758d09
2017-02-27 13:28:42 -08:00
Colin Cross 9a02b183fd Merge "Revert "Replace hardware features conf file to be emulator specific""
am: 557ce055e7

Change-Id: I559d7aa1a6f6bf65da33327c9a900b08c78869e0
2017-02-21 23:31:31 +00:00
Colin Cross 557ce055e7 Merge "Revert "Replace hardware features conf file to be emulator specific"" 2017-02-21 23:25:07 +00:00
Colin Cross 0c59db87be Revert "Replace hardware features conf file to be emulator specific"
This reverts commit a118a21b00.

Change-Id: I2c4140667a2c00abad3c6337c680542070dd7caa
2017-02-18 13:36:18 -08:00
Colin Cross efa6ae84ca Revert "Replace hardware features conf file to be emulator specific"
This reverts commit a118a21b00.

Change-Id: I2c4140667a2c00abad3c6337c680542070dd7caa
2017-02-18 20:05:24 +00:00
Pulkit Bhuwalka 23575449a8 Merge "Replace hardware features conf file to be emulator specific" am: afd7f4f453 am: 7be6f4c9fd
am: 7072f50067

Change-Id: I471cae79973e6a0cb13d6c2b2c6eb5de1c23fd74
2017-02-18 06:21:23 +00:00
Steven Moreland dc7d29ed86 Merge "embedded.mk: allocator service"
am: 0aef0b59af

Change-Id: I1e76d88e7d79082006bc4671087987e7d0df2966
2017-02-18 01:52:57 +00:00
Treehugger Robot 0aef0b59af Merge "embedded.mk: allocator service" 2017-02-18 01:49:07 +00:00
Pulkit Bhuwalka 7be6f4c9fd Merge "Replace hardware features conf file to be emulator specific"
am: afd7f4f453

Change-Id: I52b0bc325e8fb8d72e40d947cd7e683ab415d10c
2017-02-17 23:28:19 +00:00
Pulkit Bhuwalka a118a21b00 Replace hardware features conf file to be emulator specific
full_base_telephoney.mk file gets used only for emulators which should
have bluetooth disabled. Using the default handheld_core_hardware.xml
file has bluetooth enabled. We should use the generic
handheld_core_hardware.xml file for emulators which has bluetooth
disabled.

Its presence causes problems upstream in SystemServer when
BluetoothService starts and requires an extra emulator config change
which should not be there.

Bug: 35361545
Test: Verified by launching Android Emulator. It works fine and does not
start bluetooth.

Change-Id: I484c3d5867f46853fb49f28422dd72ab362ed768
2017-02-17 13:46:01 -08:00
Steven Moreland f086747106 embedded.mk: allocator service
We are splitting android.hidl.memory into android.hidl.allocator and
android.hidl.memory to reflect the fact that we have two separate
interfaces which are served over different transports.

Bug: 35327976
Test: hidl_test, device boots with allocator

Merged-In: I36b1554d20f89ecd60a836c04f788ac83e0a1f5c
Change-Id: I36b1554d20f89ecd60a836c04f788ac83e0a1f5c
2017-02-17 20:47:16 +00:00
Steven Moreland 69249f1f53 embedded.mk: allocator service
We are splitting android.hidl.memory into android.hidl.allocator and
android.hidl.memory to reflect the fact that we have two separate
interfaces which are served over different transports.

Bug: 35327976
Test: hidl_test, device boots with allocator
Change-Id: I36b1554d20f89ecd60a836c04f788ac83e0a1f5c
2017-02-17 12:36:54 -08:00
Phil Burk 80f830969c Merge "libaaudio: changed name from liboboe" 2017-02-10 21:41:14 +00:00
Eugene Susla e7215aa2d2 Merge "Include CompanionDeviceManager in build/make/target/product/core.mk" 2017-02-10 20:29:28 +00:00
Phil Burk 85417bcd73 libaaudio: changed name from liboboe
Bug: 34749573
Test: CTS test_aaudio.cpp
Change-Id: Id4a817eaff1655aa0d213c4b678de166fa322ecd
Signed-off-by: Phil Burk <philburk@google.com>
2017-02-10 17:28:52 +00:00
Calin Juravle dc308c1b1d Enable secondary dex compilation in the background dexopt job
Test: adb shell cmd package bg-dexopt-job
Bug: 32871170
Change-Id: I473e291a26335bd766c8845d2ea28c4f1e45db53
2017-02-07 10:25:21 -08:00
Eugene Susla 2e83763928 Include CompanionDeviceManager in build/make/target/product/core.mk
Test: ensure there's no build error
Change-Id: I731543b8ac1fffcb191a2fc8a706b719df3c5b07
2017-02-06 16:11:30 -08:00
Jim Kaye 7cf8429738 Merge "[Emulator] Include the "Cell Broadcast Receiver" app" 2017-02-06 19:31:37 +00:00
bohu 225f804e30 Emulator: set correct rild library path for 64bit arch
BUG: 34861221
Test: build and run sdk_google_phone_x86_64 with emulator
and check radio logcat to make sure it does not complain
about the 32bit library system/lib/libreference-ril.so
being used. Also check the kernel message to make sure
rild is launched properly

Change-Id: I6cbd5abcf64bec9a504066a43fefc55fa698a864
2017-02-01 12:52:48 -08:00
Jiyong Park 6a220471eb Merge "configstore: add default implementation of configstore@1.0 HAL" 2017-02-01 04:23:12 +00:00
Sandeep Patil d79c65f085 SELinux: split property_contexts into platform and non-platform components. am: b0481560e4 am: e0ccdc0e42 am: ba742d7dde
am: fac4996610

Change-Id: I14d2d100c3b6e3970fd3852b5d9fd0a88895e151
2017-01-30 19:32:41 +00:00
Sandeep Patil ba742d7dde SELinux: split property_contexts into platform and non-platform components. am: b0481560e4
am: e0ccdc0e42

Change-Id: I1abe5be8c7c0d6db35a9039954be8f89aa660669
2017-01-30 19:25:14 +00:00
Eino-Ville Talvala 3665e64109 Emulator builds: Disable camera service Treble mode for now
Until all backwards-compatibility support is in place, the emulator
targets need to not use the Treble path.

Bug: 32991422
Bug: 32989965
Test: Built aosp_x86_64-eng and verified build.prop has the new key
Change-Id: I72487126b0ec7c7794bb3f57f4b1a649a2ec140b
2017-01-26 16:21:38 -08:00
Sandeep Patil b0481560e4 SELinux: split property_contexts into platform and non-platform components.
Bug: 33746484
Test: Successfully boot with original service and property contexts.
      Successfully boot with split serivce and property contexts.

Change-Id: I1932684f600dd34d5136e72ac053fae13f0c3eba
Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-01-26 15:30:31 -08:00
Yifan Hong 74fb50800c Merge "Add lshal to embedded.mk." am: cbc8f16656 am: 1a375ded9a am: 1030be9543
am: 21a7e626f2

Change-Id: I930f8a5cccc341178e0d25c1c8599753bb7a4e47
2017-01-26 18:32:15 +00:00
Yifan Hong 1030be9543 Merge "Add lshal to embedded.mk." am: cbc8f16656
am: 1a375ded9a

Change-Id: Ie627b77505bfcd27ec2a08e847f58b5a13b2de7f
2017-01-26 18:25:44 +00:00
Yifan Hong 7dbae043ff Add lshal to embedded.mk.
Test: make -j64 and flash the device and
ensure that lshal is available on the device.

Bug: 34712252
Change-Id: If61047afb27f9da9f8825ce18e2dfc0b3dec10e2
2017-01-26 18:17:36 +00:00
Jim Kaye 680cee4af5 [Emulator] Include the "Cell Broadcast Receiver" app
The Cell Broadcast Receiver app deal with special notifications
such as AMBER Alerts.

Some CTS Verifier tests check the user's ability to configure this app.

BUG: 32504713
Test: Manual and CTS Verifier

(cherry picked from 194e96d944fd736a0db0d97426ca2686d7a59a35)

Change-Id: Ia18bd5c763330f7520c9f445e15d9c3b197d796f
2017-01-25 19:54:21 -08:00
TreeHugger Robot 4b9795bf38 Merge "Add keymaster hal implementation and service" 2017-01-26 00:39:25 +00:00
Joshua Duong 87da7c9b63 Merge "Add screenrecord to master (emulator)" 2017-01-25 22:12:28 +00:00
Joshua Lang bf0bd16cda Merge changes from topic 'yahan_incr_image_size'
* changes:
  Increase system image size for arm64 to 2.5G to fix buildbot
  Increase system image size for x64 to 2.5G
  Increase system image size to 2GB for the emulator
2017-01-25 21:53:58 +00:00
Joshua Lang 1e123c1ac0 Add keymaster hal implementation and service
Fixes emulator boot

Test: boot emulator
Change-Id: I28b2fb81a7f740406fc06512d5dee336bc64d1e0
2017-01-25 13:29:41 -08:00
Grigory Dzhavadyan b9a8e208b1 Add screenrecord to master (emulator)
Change-Id: Idda25f9bd0195f608efb20a0b16e277ba09a18bd
(cherry picked from commit c3de1a6cca058a67924f06be21bce092d502a846)
2017-01-25 18:04:24 +00:00
Ray Essick 90c7ca19e2 Merge "change mediaanalytics to mediametrics" 2017-01-25 01:01:09 +00:00
Calin Juravle c4af711004 Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES" am: eddf3adec7 am: 9be4363048 am: 79ff8975b6
am: e674f92620

Change-Id: I7a891430c883e7e6f4b79c7daacb8b9ce58929bb
2017-01-24 22:27:00 +00:00
Calin Juravle 79ff8975b6 Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES" am: eddf3adec7
am: 9be4363048

Change-Id: I09bb657dfa3a3d5ca5a2410313ee061235f56c74
2017-01-24 22:21:28 +00:00
Calin Juravle eddf3adec7 Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES" 2017-01-24 22:14:11 +00:00
Yahan Zhou ad9bf7b3e6 Increase system image size for arm64 to 2.5G to fix buildbot
This CL increases system image size for arm64 to 2.5G to fit in the
packages.

Change-Id: I5ae52c5f64e7d54b70e36bb0bce68e8197365017
2017-01-24 12:33:11 -08:00
Yahan Zhou c363436272 Increase system image size for x64 to 2.5G
x64 uses more space than others.

Change-Id: I67674823960874164f6d40ad07c6e865eaacefc5
2017-01-24 12:33:10 -08:00
Yahan Zhou 93d1636508 Increase system image size to 2GB for the emulator
This is needed as GTS requires us to pre-install more google apps into
the system image.

Change-Id: Iaf72f745df97604c2d0bc3fbdca01730ca7be94d
2017-01-24 12:30:07 -08:00
Jiyong Park 1d6ab958ca configstore: add default implementation of configstore@1.0 HAL
This change adds default implementation of configstore@1.0 HAL to all
embedded devices.

Bug: 34314793
Test: build. make sure /system/bin/hw has file
android.hardware.configstore@1.0-service

Change-Id: I65f416560de9d65c57e6cfcb9a6fe26b0140d4a6
2017-01-24 12:50:53 +09:00
Ray Essick 32e3c4bc40 change mediaanalytics to mediametrics
mediaanalytics has been renamed to mediametrics; set up
so that we build the new component name instead of the old one.

Bug: 34615027
Test: clean build, proper binary generated
2017-01-23 12:04:17 -08:00
Hiroshi Yamauchi 34826908e6 Increase the generic_arm64 system image partition size to to 2G.
Bug: 34571380
Test: build sdk_google_phone_arm64.

Change-Id: I53c8980417bfac3651d71c13111a0c1dc0022d6c
2017-01-23 10:49:43 -08:00
Joshua Lang 7f729e0068 Merge changes from topic 'emu_audio_fixes'
* changes:
  Add audio HIDL *-impl and -service libraries to product packages
  Add default audio_submix module to sdk_base build
  Switch video codec config xml to goldfish version
  Adding goldfish_audio_legacy hal to emulator build
  Switch emulator sdk build audio_conf to goldfish
2017-01-20 21:34:00 +00:00
Joshua Lang 149363c026 Add audio HIDL *-impl and -service libraries to product packages
Test: check files on the device

BUG: 34470377
Change-Id: I397bb945b92caeff4255bfaca7deb2939a98ba59
2017-01-20 02:53:33 +00:00
Christopher Tate ad71d65dc0 Add framework sysconfig content to the build
Bug 30953212

Change-Id: I2f9f301a38c9d2e7214222f00a44f8ef23f36e6f
2017-01-19 15:22:53 -08:00
Joshua Lang 39e586071b Add default audio_submix module to sdk_base build
Bug:32612452
Test: Build emu and check file copied
Change-Id: Iadfa4bbf56feabf1080b7b4bc1959d7152bfd1b2
2017-01-19 12:47:36 -08:00
Joshua Lang c7fb1e1c18 Switch video codec config xml to goldfish version
Need to have custom configuration for goldfish video codecs.

Bug:31648354
Test: Build emu and check correct file copied
Change-Id: I30282bc3c4bdb0e88d98a76908bebb2939fd0d64
(cherry picked from commit 9d9cefd03e3f794d6a5aafb9ba2ec4c4d262c224)
2017-01-19 12:47:36 -08:00
Joshua Lang 207a88b183 Adding goldfish_audio_legacy hal to emulator build
Test: Build emu and check file copied
Change-Id: Ib089f58d067905dc21ec32bca341b1c67046152b
(cherry picked from commit 3d65ad3e1e13a8099a78b2814e5cc1ae8ef5ace6)
(cherry picked from commit a1675ce1ab1b58b0994a197ee2c6b81cc7bbf3dd)
2017-01-19 12:47:36 -08:00
Joshua Lang 56296dd5cf Switch emulator sdk build audio_conf to goldfish
Test: Build emu and check correct file copied
Change-Id: I553f8e5a024d51903e51c2ac9520d8d7b9f639af
(cherry picked from commit c1378c053cbc111f7ac20c6aa3c0881ef84b7cba)
2017-01-19 12:47:36 -08:00
Chris Tate 2b22ec459d Revert "Add framework sysconfig content to the build"
This reverts commit d68045446f.

Change-Id: I86b3c0fbe3eaec915f7dcf92623382d77d008734
2017-01-19 01:12:11 +00:00
TreeHugger Robot 4264d79e50 Merge "emulator: fingerprint: switch to using fingerprint HIDL interface" 2017-01-19 00:50:01 +00:00
Josh Gao 748cc8640a Merge "Add crash_dump and tombstoned products." am: 6651199eeb am: 7cf55a4581 am: 1df77bc0c7
am: 85d13bcb8e

Change-Id: Ifffa02acab8d00a6d400c78ef27e0583f36b80ea
2017-01-19 00:41:16 +00:00
Josh Gao 1df77bc0c7 Merge "Add crash_dump and tombstoned products." am: 6651199eeb
am: 7cf55a4581

Change-Id: Icf8f7ec6d0a9a74fdad5c7b49c88a5ef71dedd3c
2017-01-18 23:42:40 +00:00
Josh Gao 6651199eeb Merge "Add crash_dump and tombstoned products." 2017-01-18 23:04:09 +00:00
TreeHugger Robot 7d3fc02dfb Merge "Add framework sysconfig content to the build" 2017-01-18 22:32:13 +00:00
bohu 390e1720a7 emulator: fingerprint: switch to using fingerprint HIDL interface
BUG: 34387576
Change-Id: Ia203ee1540f5c7c80e17d7a17abd3ce126579551
2017-01-18 12:23:39 -08:00
Nimrod Gileadi 001a362523 Copy IDC for goldfish_rotary to /system/usr/idc am: 8570bcea52 am: edfdd39433
am: ab0fd43472

Change-Id: I860f993f1d82bb98ce921cc4749f93c098596bc7
2017-01-18 17:06:24 +00:00
Nimrod Gileadi ab0fd43472 Copy IDC for goldfish_rotary to /system/usr/idc am: 8570bcea52
am: edfdd39433

Change-Id: I140c793c21fa7ec9b9422c94558aa842e013bb22
2017-01-18 16:59:52 +00:00
Nimrod Gileadi a5b069e38b Copy IDC for goldfish_rotary to /system/usr/idc
am: 8570bcea52

Change-Id: If6276de7e9eb16b4b627bc3c76599937a5100198
2017-01-18 16:53:23 +00:00
Jorim Jaggi 82968395c1 Revert "SELinux: split property_contexts into platform and non-platform components." am: 8cbd925748
am: b909e2c1aa

Change-Id: I4549c025a473768a504a908acf388abc0266f616
2017-01-18 16:47:43 +00:00
Jorim Jaggi 8cbd925748 Revert "SELinux: split property_contexts into platform and non-platform components."
This reverts commit c5ffdd4bb4.

Change-Id: I4c5fa6c68cbf0124117153660a2fd363f72388b6
2017-01-18 15:37:30 +00:00
Jorim Jaggi 84fcd62cb4 Revert "SELinux: split property_contexts into platform and non-platform components."
This reverts commit c5ffdd4bb4.
2017-01-18 16:28:54 +01:00
Nimrod Gileadi 8570bcea52 Copy IDC for goldfish_rotary to /system/usr/idc
This IDC file won't be used by the emulator, unless there's an input
device called goldfish_rotary. That device is being added to the kernel
in http://r.android.com/321420.

Once that device is present, EventHub will look for a file named
goldfish_rotary.idc in the system/usr/idc directory to get the device
configuration.

Bug: 33292948
Change-Id: I384f29980d802280e626915844bddc49bc46110d
2017-01-18 11:02:02 +00:00
Sandeep Patil 3d425305ee SELinux: split property_contexts into platform and non-platform components. am: c5ffdd4bb4 am: a94ae916ce am: eec071a34a
am: 8a3f41af27

Change-Id: I7d859256d4e0b3fed0a58932d5ddc9498a69c1eb
2017-01-18 06:27:05 +00:00
Sandeep Patil eec071a34a SELinux: split property_contexts into platform and non-platform components. am: c5ffdd4bb4
am: a94ae916ce

Change-Id: I91f8f35dbf12f97ba81d7d45951323eccf298cf2
2017-01-18 06:16:59 +00:00
Sandeep Patil 1b8d3bc0e2 SELinux: split service_contexts into platform and non-platform components. am: e4ade08f63 am: 0068df10f6 am: 29c9cb811d
am: d091ce20b1

Change-Id: I3331c1b48a75374f675d8527255d3d28ed3251bd
2017-01-18 00:55:09 +00:00