Commit Graph

104 Commits

Author SHA1 Message Date
Nicolas Geoffray
bd7ffbb943 Generate the apex image for wahoo devices. am: d4c0b2d1ba am: da4056b409
am: 416a6298c7

Change-Id: Ia5dfca4015e822978accc502316becd5f26703f0
2019-02-25 21:05:10 -08:00
Nicolas Geoffray
d4c0b2d1ba Generate the apex image for wahoo devices.
Bug: 119800099
Test: m
Change-Id: I18a76766590db27a4c32534dc948f55f78da166c
2019-02-22 16:09:41 +00:00
Paul Lawrence
1f10e3dba5 Merge "Enable user data checkpoint on Wahoo" 2019-02-13 13:13:21 +00:00
Paul Lawrence
e2740d3b24 Enable user data checkpoint on Wahoo
Bug: 119769411
Test: boots to SUW, upgrades and commits, can reboot in checkpoint
      mode many times to test restore
Change-Id: Ie3aa79b2838d654062bd9f5bd27b20561ce3e848
2019-02-12 14:12:13 -08:00
Tom Cherry
951d68b4c6 Move to config.fs am: 5434bb60e8 am: 75785c93bf
am: a5b2725d83

Change-Id: I2f2c69f33769d12a84d0dbe731c51ec04e0c00ca
2019-02-11 08:39:05 -08:00
Tom Cherry
5434bb60e8 Move to config.fs
TARGET_ANDROID_FILESYSTEM_CONFIG_H is soon to be deprecated, so move
to config.fs

Test: build
Change-Id: Ie987da844a8d6747eebc0886d70731eb1d0e4125
2019-02-08 17:58:38 -08:00
Justin Yun
4bcce943b3 Add option to increase inode count for test build am: 749615f25a am: f828e0e3ba
am: e1a2ca2ddb

Change-Id: Id183ff0e747f4a11724944f491114a5ef3d7f20d
2019-01-13 20:53:10 -08:00
Justin Yun
749615f25a Add option to increase inode count for test build
To build with VNDK snapshot libs we need more inode count for the
devices without product partition.

Define PRODUCT_INCREASE_INODE_COUNT=true to double the INODE_COUNT.
This is available only for test builds, since it will consume some
space for system image.

Bug: 122706619
Test: PRODUCT_EXTRA_VNDK_VERSIONS=28 \
      PRODUCT_INCREASE_INODE_COUNT=true m -j

Change-Id: I7e57cf3d4896dbe38e6a112ef983894320026b42
2019-01-14 09:58:00 +09:00
Peiyong Lin
311fe7cee8 Turn on WCG on Pixel 2 devices.
BUG: 111436479
Test: Build, flash and boot, verify with demo app.
Test: atest CtsGraphicsTestCases
Change-Id: Idce8c7806a6d5074ed35721b31536fa169d21b36
2019-01-04 12:59:55 -08:00
Jasmine Cha
c5f0cbc67a Revert "audio: Enable Waves effect" am: 03e0999ed7
am: 7fb9e62983

Change-Id: I6aade46df678e60fd12db146c71a221b7db488c3
2018-11-08 15:44:13 -08:00
Jasmine Cha
7fb9e62983 Revert "audio: Enable Waves effect"
am: 03e0999ed7

Change-Id: I0f0bac1371c12e9da8bd2d37b866e7dbccb3b79b
2018-11-08 15:35:47 -08:00
Jasmine Cha
03e0999ed7 Revert "audio: Enable Waves effect"
This reverts commit c1a57ef036.

Reason for revert:
There are regressions and it needs more time to debug.
We decide to revert it first since the cutoff data of Feb. QPR is close.
bug: 119152162

Change-Id: Iabf587b8da713dd79b734c27d912eed86635dd59
2018-11-08 07:44:02 +00:00
Jasmine Cha
8b6ec3fdf7 audio: Enable Waves effect am: c1a57ef036
am: 32e4687554

Change-Id: I244f055f4fbe9eb0e05a676110a942d5528daba9
2018-10-05 13:52:24 -07:00
Jasmine Cha
32e4687554 audio: Enable Waves effect
am: c1a57ef036

Change-Id: I1f0921367adb5a71d10b5b21279c475a1069533c
2018-10-05 13:44:57 -07:00
Jasmine Cha
c1a57ef036 audio: Enable Waves effect
- turn on config and add effect library for Waves effect

Bug: 111283341
Test: build pass and manual audio test on product/aosp

Change-Id: Idba8eb83a88e3aa4f254b5ab4beddaa6a4477cd8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2018-10-03 09:22:06 +00:00
Peiyong Lin
6fa3931614 Add TARGET_USE_COLOR_MANAGEMENT for Pixel 2017 devices.
BUG: 111505327
Test: Build, flash and check Natural/Boosted mode.
Change-Id: I7ccafdaa522f6bbfbbfea52e91e5e9b52de082ab
2018-08-08 10:03:37 -07:00
Dan Willemsen
c6a673fef9 taimen&walleye builds have overriding commands
am: 55a3497cda

Change-Id: I3121733556846b51e3134c636b8ee7419cfdf821
2018-06-20 10:01:54 -07:00
Dan Willemsen
55a3497cda taimen&walleye builds have overriding commands
These products have warnings about overriding build commands, which
means that there are multiple instructions on how to build a file, and
we've just picked one of them. Which one we pick is usually stable, but
it can change.

Bug: 77611511
Test: turn default to false, walleye still uses a warning
Change-Id: I11d194863b313f64b19291f65219682b169d9ced
2018-06-19 22:28:20 -07:00
Paul Crowley
5cb44010b2 Remove device-specific metadata policy that's now in platform.
Bug: 79781913
Test: compiles
Change-Id: Ie632d1a4c44f491415ae9bb2ceb1264f0cfa5096
2018-05-21 12:01:22 -07:00
Andrew Chant
4eb8b24b07 Change USB autosuspend delay to 7s by commandline.
b/71936484 has audio accessories failing to connect
when there's a transition to suspend when they're attempting
to enumerate.

Avoid this problem by increasing autosuspend delay
from the default 2s to 7s.

The longest I've seen a device take to enumerate after
vbus is ~3 seconds, this gives a 2x margin.

Test: booted on Walleye, saw no more messages:
[  472.412555] c0   5675 msm-dwc3 a800000.ssusb: DWC3 in low power mode
between device connection and enumeration.

Bug: 71936484
Change-Id: Ic655f2ce6dec429510cc7c00452da4d49f2392b0
2018-05-09 11:28:00 -07:00
Yifan Hong
fb257f8c76 Revert "health HAL: overrides healthd."
This reverts commit 6c41af4807.
This is a partial revert; CleanSpec.mk is not reverted.

Reason for revert: prevents boot with O-MR1 vendor + P system

Test: boots

Change-Id: Ib573f525da836f12201fd0f9793441a9fed31969
Fixes: 78550051
2018-04-25 14:18:57 -07:00
Yifan Hong
6c41af4807 health HAL: overrides healthd.
healthd should not be installed on the device

Test: lshal -i | grep IHealth/backup fails
Test: lshal debug android.hardware.health@2.0::IHealth/backup
      shows nothing
Test: vts_treble_vintf_test shows nothing about /backup
      instance

Bug: 77541952
Change-Id: I1479da3394ee7bb0f3fba8b6bcb4e12b50ed8190
2018-04-05 19:06:54 -07:00
Yifan Hong
0569fc6852 Specify DEVICE_FRAMEWORK_COMPAT_MATRIX
Test: builds (check vintf metadata)
Bug: 65028233

Change-Id: I6a0b6b7377a511be5a35a013712fd28795861b93
2018-03-23 17:00:27 -07:00
Petri Gynther
e176b1e9d1 Walleye/Taimen: switch to QCOM BT HAL
The flag definition:
BOARD_USES_SDM845_BLUETOOTH_HAL := true

adds SDM845 Bluetooth components to the build:
vendor/qcom/sdm845/proprietary/bluetooth/hidl_transport/Android.mk
vendor/qcom/sdm845/proprietary/bt/hci_qcomm_init/Android.mk

and removes MSM8998 Bluetooth components from the build:
vendor/qcom/msm8998/prebuilts/grease/target/product/msm8998/Android.mk
vendor/qcom/msm8998/proprietary/proprietary/bt/hci_qcomm_init/Android.mk

Effectively, Walleye/Taimen switch to the same QCOM BT HAL as B1/C1.

Bug: 73968979
Test: Manual build and test with BT A2DP headphones

(cherry picked from commit 7c2dc1679d)

Change-Id: I4d6444932a807e573f6e8d88c6ad4ba4de8f277a
2018-03-09 13:07:02 -08:00
Ajay Nambi
87b0264022 Move AtFwd hal from device to framework manifest.
AtFwd hal is implemented as an android service and
it stars from system partition, that is, it's not
a traditional vendor hal and hence it should be
declared in the framework manifest and not in the
device manifest.
This commit introduces new device specific framework
manifest (framework_manifest.xml) and moves AtFwd hal
from device to framework manifest.

Bug: 68662838
Test: vts_treble_vintf_test atcmdfwd service is served

Change-Id: I9df05206fbe067ddf19a96fc52aba6b2cc922172
(cherry picked from commit b2895ddbcf1cc0b8986b4a80a43a3f0b6eb9fd66)
2018-02-16 23:59:40 +00:00
Nicolas Geoffray
7108ed5b85 Remove copy/pasta code around DEX_PREOPT.
Test: m
Change-Id: I4300eb093ece3293071b81a7f908fa181fbdaacd
2018-01-17 11:23:33 +00:00
Chenjie Luo
d2afaced27 Revert "Use TARGET_EASEL_VARIANT := amber for Pixel 2017"
This reverts commit 2426e17acb.

Reason for revert: moved to vendor

Change-Id: I0971b89ad22599f01b3406fe4641bea9d2f721f5
2017-12-28 18:58:59 +00:00
Chenjie Luo
2426e17acb Use TARGET_EASEL_VARIANT := amber for Pixel 2017
Bug: 70639754
Test: Build pass
Change-Id: Ie2127b936318acd516deba975b1b37a45d4b1190
2017-12-27 10:01:25 -08:00
Isaac Chen
b74b44f09e Set TARGET_2ND_ARCH_VARIANT to armv8-a
Taimen and Walleye are armv8 devices. Setting TARGET_2ND_ARCH_VARIANT
to armv8-a, instead of armv7-a-neon, can silence the related warning
during build.

Bug: 68012286
Test: lunch aosp_taimen; make -j
      lunch aosp_walleye; make -j

Change-Id: I9c81e614a7f103cd93c9c2d915d53577e8d19d2d
Merged-In: I9c81e614a7f103cd93c9c2d915d53577e8d19d2d
(cherry picked from commit 2195c105e5)
2017-12-23 11:43:12 +00:00
Jiyong Park
53590fd551 Revert "Disable VNDK runtime enforcement temporarily"
VNDK is enforced at runtime for wahoo.
This reverts commit dfcb2806f2.

Bug: 37192038
Test: wahoo boots to the UI
Test: basic functionalities work (camera, camcorder - including slow-mo,
wifi, bt, youtube, call, message)
Test: No regression on VTS and CTS (http://b/64817148)
2017-08-22 13:56:29 +09:00
Jiyong Park
dfcb2806f2 Disable VNDK runtime enforcement temporarily
Bug: 37192038
Test: /system/etc/ld.config.txt is without the [vendor] section.
Test: build and boot
Change-Id: I1432df091f9e5f8539a18c4c93f5d5cc459f3ef9
2017-08-22 13:16:13 +09:00
Wei Wang
0866dda0f8 Merge "Skip RAID autodetect" into oc-mr1-dev 2017-08-19 01:43:31 +00:00
Wei Wang
e4205e7558 Skip RAID autodetect
Bug: 64848151
Test: Boot
Change-Id: Ic174b3c07ac71f94f08d13507805ddb02fde0f28
2017-08-18 15:02:33 -07:00
Steven Moreland
3ad11b9d1f Enable BOARD_VNDK_VERSION=current.
Test: boots to UI, camera (incl video and slow motion)
Test: YouTube works, wifi works
Bug: 37342627
(cherry picked from commit 374c6b66fa)
Change-Id: I9ab52c1002733c6757614dfd888167742ddb0127
2017-08-15 16:27:46 +00:00
Naveen Kalla
3f15848b9e Merge "Add selinux domain for verizon OBDM app" into oc-dr1-dev
am: 2a1b7561d9

Change-Id: I7a7e17f7bb1f47359ae9e48a7636ba0c5cea27c8
2017-08-10 21:51:43 +00:00
Naveen Kalla
cdddc5171c Add selinux domain for verizon OBDM app
Bug: 64546277
Test: Build and carrier testing
Change-Id: Ia2a996e6e726765b7452ee369f770acf295430c5
2017-08-10 16:20:45 +00:00
Fabrizio Basso
f2977020ec Switch to Easel build.
BUG: 36403152.

Merged-Id: Ic76aef8b6d966f130c7154c08b8b52f7d1dbc577
Change-Id: Ic76aef8b6d966f130c7154c08b8b52f7d1dbc577
2017-08-02 17:56:15 -07:00
Fabrizio Basso
f865e16939 Switch to Easel build.
BUG: 36403152.
Change-Id: Ic76aef8b6d966f130c7154c08b8b52f7d1dbc577
2017-08-02 09:40:19 -07:00
Wei Wang
d621cbbb07 Merge "init.hardware.rc: disable bus-dcvs during boot" into oc-dr1-dev
am: 64e0268253

Change-Id: I4227453b5b234febe7b20c3cec71943b1ddd921e
2017-07-22 08:19:26 +00:00
TreeHugger Robot
64e0268253 Merge "init.hardware.rc: disable bus-dcvs during boot" into oc-dr1-dev 2017-07-22 08:14:36 +00:00
Wei Wang
1dcf62a310 init.hardware.rc: disable bus-dcvs during boot
This CL will save 100ms towards system_server_ready and 200ms towards
BootComplete,  and also reduces the fluctuation per experiment.

- Enable powersaving in charger mode
- Enable bus-dcvs in boot_complete but not during boot
- Start perfd after init.power.sh completes
- Enable powerhint after perfd is started

Before
starting_zygote               : 3.4446  0.24937
nonencrypted                  : 3.678   0.23805
SystemServer_start            : 4.8719  0.25874
SystemUi_start                : 6.3992  0.36695
system_server_ready           : 6.7353  0.34765
BootAnimStopRequest           : 7.5966  0.3806
BootAnimEnd                   : 9.5259  0.399
BootComplete                  : 9.6221  0.42225

After:
starting_zygote               : 3.4261  0.22712
nonencrypted                  : 3.665   0.22334
SystemServer_start            : 4.8406  0.23445
SystemUi_start                : 6.2765  0.23754
system_server_ready           : 6.6392  0.23679
BootAnimStopRequest           : 7.7449  0.25752
BootAnimEnd                   : 9.2631  0.43299
BootComplete                  : 9.409   0.44021

Bug: 63644084
Test: 10 boot with packages/services/Car/tools/bootanalyze/bootanalyze.py
Change-Id: I975974dedea0cce23f74f15d842e7308e9797868
2017-07-21 22:23:54 -07:00
Siqi Lin
0c64a4f1ab Merge changes Id97d7cdf,I8743a2bb into oc-dr1-dev
am: fc754502a7

Change-Id: I9d7efde780cebdd7b90a6d93bbb5836dd3cd139e
2017-07-20 22:44:18 +00:00
Siqi Lin
14983536bf Remove no_console_suspend=1 from kernel command line
console_suspend defaults to Y in the kernel and we want
to control it in an init script where we set
console_suspend = Y if serial console is enabled and
console_suspend = N if serial console is disabled.

Bug: 63857173
Test: boot with serial console enabled / disabled
Change-Id: I8743a2bbda0d09596d46b9376c901e854677a0e5
2017-07-20 13:05:21 -07:00
Vineeta Srivastava
630e74c606 Merge "Remove USE_SENSOR_MULTI_HAL for wahoo." into oc-dr1-dev am: 121ad8516c
am: 0e73a3a329

Change-Id: I65512fd3ea8e6aff0c0e9c3727c35607e334c33b
2017-07-13 04:41:19 +00:00
Vineeta Srivastava
abe32c07d6 Remove USE_SENSOR_MULTI_HAL for wahoo.
Bug: 62973052
Test: verified on a device
Change-Id: Ib0780be3916b97e11278118f6231dc1aa9323495
2017-07-12 18:13:30 -07:00
Xin Li
79ca13fe71 Enable building easel libraries.
Bug: 36403152
Test: build
Change-Id: I23320a12ca3fe5442624b1ca55dc1bd7bd0605a4
2017-07-07 10:19:41 -07:00
Elliott Hughes
3c5d93de61 Remove obsolete ENABLE_CPUSETS.
Bug: N/A
Test: builds
Change-Id: I050189fe9ce2b4ee04e1e2fd5d3165c122296280
2017-06-27 13:28:45 -07:00
Vishwath Mohan
690f2543c7 Increase the size of the userdata partition.
This CL increases the size of the user-data partition, roughly
doubling the 10GB that it's currently set to and bringing it in line
with the size that's set for Angler. This gives ASAN builds (which
load sanitized libraries into userdata) more space to work with.

Bug: 62911335
Test: Userdata size is larger.
Change-Id: If34d74263f9715665621a4f1572ee430a5f74553
2017-06-23 15:35:59 +00:00
Vishwath Mohan
1a1e0b2402 Increase the size of the userdata partition.
This CL increases the size of the user-data partition, roughly
doubling the 10GB that it's currently set to and bringing it in line
with the size that's set for Angler. This gives ASAN builds (which
load sanitized libraries into userdata) more space to work with.

Bug: 62911335
Test: Userdata size is larger.
Change-Id: If34d74263f9715665621a4f1572ee430a5f74553
2017-06-23 08:31:57 -07:00
Patrick Tjin
c77349a45e Move system/vendor partition sizes to wahoo
Bug: 62445676
Test: OTA
Change-Id: I1d83190c7e5a5a237e5d9991505cfbdfa9ab11d5
2017-06-19 15:00:51 -07:00