42 Commits

Author SHA1 Message Date
Kyle Lin
38a2f3ff35 wahoo: Switch to use stable power HAL
Bug: 154570109
Test: build and capture the trace to check
Change-Id: I4794f44266762672ef3b6ad9bf1353f6784e34d6
2024-06-08 21:54:49 +08:00
Alastair Donaldson
46293b1723 Add android.software.vulkan.deqp.level, version 2020-03-01
This change sets the new Vulkan dEQP level feature flag to the value
corresponding to the Vulkan dEQP tests for Android 11.

Change-Id: Ia70f8e432bf8b32420904587c9b45529e4045959
2020-02-13 08:48:59 +00:00
George Chang
522f17b72f Add com.nxp.mifare feature flag am: 34141cf3b9 am: 251d47231f am: 11c09b365c
am: 118501e46f

Change-Id: I6def70c548f05b0cf7601ffc7624f6ea5bcdcfa7
2019-07-09 02:42:52 -07:00
George Chang
251d47231f Add com.nxp.mifare feature flag
am: 34141cf3b9

Change-Id: I2a38ed212b10baae812d8efb8f23cc2c0eea76da
2019-07-09 02:14:04 -07:00
George Chang
34141cf3b9 Add com.nxp.mifare feature flag
Bug: 136627156
Test: Check system feature from PackageManager
Change-Id: I5fb4de92437967c37de3b7c5c9ff03d5c3f0d2e1
2019-07-05 12:07:11 +08:00
Harpreet "Eli" Sangha
35777c03c6 vibrator: Rename from Wahoo to DRV2624
Bug: 132131929
Test: PTS, VTS, Manual
Change-Id: I1e1d89180e4da80afbd20591c782220daaa64184
Signed-off-by: Harpreet "Eli" Sangha <eliptus@google.com>
2019-06-05 11:33:15 +09:00
Tao Bao
7375122722 Revert^2 "Deprecate PRODUCT_STATIC_BOOT_CONTROL_HAL.""
This reverts commit d83c2cc22b.

The previous landing broke checkbuild targets due to namespace issue.
See the commit message for hardware/qcom/msm8998 change.

Bug: 34254109
Test: Build and boot taimen on device to home screen.
Test: Sideload on taimen.
Change-Id: I775026345eb5fc0ec580ba4ca0282835106a1d35
Merged-In: I775026345eb5fc0ec580ba4ca0282835106a1d35
(cherry picked from commit 4fa8e49020)
2019-05-22 15:41:22 -07:00
Tao Bao
a849cfd45b Revert^2 "Deprecate PRODUCT_STATIC_BOOT_CONTROL_HAL.""
This reverts commit d83c2cc22b.

The previous landing broke checkbuild targets due to namespace issue.
See the commit message for hardware/qcom/msm8998 change.

Bug: 34254109
Test: Build and boot taimen on device to home screen.
Test: Sideload on taimen.
Change-Id: I775026345eb5fc0ec580ba4ca0282835106a1d35
Merged-In: I775026345eb5fc0ec580ba4ca0282835106a1d35
(cherry picked from commit 4fa8e49020)
2019-05-22 15:01:15 -07:00
Tao Bao
4fa8e49020 Revert^2 "Deprecate PRODUCT_STATIC_BOOT_CONTROL_HAL.""
This reverts commit d83c2cc22b.

The previous landing broke checkbuild targets due to namespace issue.
See the commit message for hardware/qcom/msm8998 change.

Bug: 34254109
Test: Build and boot taimen on device to home screen.
Test: Sideload on taimen.
Change-Id: I775026345eb5fc0ec580ba4ca0282835106a1d35
2019-05-21 23:13:47 -07:00
Tao Bao
d83c2cc22b Revert "Deprecate PRODUCT_STATIC_BOOT_CONTROL_HAL."
This reverts commit 74e2a5d857.

Reason for revert: broken aosp_x86-eng checkbuild

Bug: 34254109
Change-Id: I704acab3d2aac89906d03623032d8fd71a96b104
2019-05-15 16:41:50 +00:00
Tao Bao
74e2a5d857 Deprecate PRODUCT_STATIC_BOOT_CONTROL_HAL.
Bug: 34254109
Test: Build and boot taimen on device to home screen.
Test: Sideload on taimen.
Change-Id: I6d9161fa831854ec5a2c1052b96180c65ec9c2f9
2019-05-09 13:48:27 -07:00
Wei Wang
4dd9895619 Move PowerHAL into Pixel common
Bug: 129495482
Test: Build
Change-Id: I5eb2e75092cba8a3dd6e108e26bb3baae0a907d3
2019-04-04 01:31:02 +08:00
Brad Ebinger
72fd5a6407 Enable FEATURE_TELEPHONY_IMS for this device.
Bug: 118823723
Test: checkbuild
Merged-In: Ibdd8cfad8fa26b147d1c318eb43e4bf181ae4037
Change-Id: Ibdd8cfad8fa26b147d1c318eb43e4bf181ae4037
2019-03-14 23:06:19 +00:00
Brad Ebinger
95b9deb31e Enable FEATURE_TELEPHONY_IMS for this device.
Bug: 118823723
Test: checkbuild
Change-Id: Ibdd8cfad8fa26b147d1c318eb43e4bf181ae4037
2019-03-11 17:38:53 -07:00
Chia-I Wu
1a731bb1c8 wahoo: switch to IMapper 2.1
Test: Check system boots.  Run display CTS.
Bug: 66876469
Change-Id: I33be48cd40457ceabc24ff5e085fa8ddaa4670e4
2019-01-22 17:20:49 -08:00
Edwin Wong
683c1ced68 Update Widevine HIDL service to 1.2.
Widevine HIDL service added new v1.2 media APIs,
update the service version to 1.2.

Test: Netflix and Play Movies & TV (streaming and offline playback)

Test: GTS WidevineH264PlaybackTests test
  e.g. ANDROID_BUILD_TOP= ./android-gts/toolsefed run gts -m GtsMediaTestCases
  --test com.google.android.media.gts.WidevineH264PlaybackTests#testL1With480P30

bug: 117570686
Change-Id: I75f3c0d3ec1922a84b00b8e1ba42ff27b704b0cf
2018-11-27 17:21:15 -08:00
Anton Hansson
e4d02b86f5 Move libnfc-nci.conf to /product on wahoo
Device-specific files belong off /system.

Bug: 117878616
Test: make
Change-Id: I012a64dda5e8dbb5506a98e6c569bb1218b18e84
2018-10-22 18:06:41 +01:00
Shawn Willden
2f1fec3c6f Remove keymaster4
Wahoo devices don't have keymaster4 hardware, just a software
implementation that was used for testing.

Bug: 77307896
Test: Check that the KM4 binary and RC are no longer on the device
Change-Id: I607937921c09bf24bb971bb7ef089aab2346debd
2018-05-11 17:00:57 -06: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
Edwin Wong
e3894648fe Rename Widevine HIDL service to v1.1.
Widevine HIDL service added new v1.1 media APIs,
the service version is updated to 1.1.

Test: Netflix and Play Movies & TV (streaming and offline playback)

Test: GTS WidevineH264PlaybackTests test
  e.g. ANDROID_BUILD_TOP= ./android-gts/toolsefed run gts -m GtsMediaTestCases
  --test com.google.android.media.gts.WidevineH264PlaybackTests#testL1With480P30

bug: 69674645
Change-Id: I287d48bf7cef5b3bb30e21b3794cc7422701ca6c
2018-03-31 00:19:54 +00:00
Kevin Rocard
2697312928 Migrate pixel 2 to audio V4
Test: regression test on the board
Bug: 38184704
Change-Id: Ife559125850277865451f92ea862e7ec47fc9da7
Merged-In: Ife559125850277865451f92ea862e7ec47fc9da7
Cherry-picked from master
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-03-06 11:30:47 -08:00
Steven Moreland
aa948d8357 Only include bitness of hal impls that is used.
Bug: 73829928
Test: boot walleye, check directories, no errors during boot
Change-Id: Ia1272b2bcc5006fa75a50631861fbaccdeed7bee
2018-03-02 17:27:31 +00:00
Michael Wright
3e8e659997 Upgrade vibrator to HAL 1.2
Bug: 64184692
Test: build, flash and play with device
Change-Id: I44d82371e6a6d7dc7e05e740aa5f2fdb5c3f8df6
2018-02-22 12:25:36 -08:00
Wei Wang
920bd9af1f Remove PowerHAL in CleanSpec.mk
Test: Build
Change-Id: If06a71df9abfd7833a691a77951b22ce8363bf26
2018-01-12 21:34:26 -08:00
Hridya Valsaraju
c5a707bc2f Add health service for Wahoo
Bug: 68388678
Test: vts-tradefed run vts -m VtsHalHealthV2_0

Change-Id: I37c2c66d26b1af04ccfedb59a24bb4e4aa492041
2018-01-11 10:43:09 -08:00
Janis Danisevskis
c426d90f15 Remove KM4 reference HAL.
On wahoo devices we see bootloops due to failure to get KM4 HAL service
from hwservicemanager despite being running and registered.
This patch removes the reference KM4 HAL for now.

Test: N/A
Change-Id: I06cc6ce46d1fd754eefaff287e5e3cd8720507e3
2018-01-03 17:54:44 -08:00
Jiyong Park
787a4648f2 android.hardware.thermal@1.0-wahoo can be a static lib
thermal_engine, which is a proprietary module for msm8998, is now
statically linking to this library.

Bug: 70551668
Test: walleye is buildable and boots to the UI
Change-Id: I1417a9632f89869f2f8e3dc786c3f1c9fae9e45a
2017-12-13 13:25:27 +09:00
Sundong Ahn
3fbb539907 delete ro.vendor.vndk.version property
ro.vendor.vndk.version property is used by system and vendor.
So, this property is no longer vendor property. This property is deleted
and "ro.vndk.version" property is added in build/make/

Bug: 66072863
Test: Build & run
Change-Id: Ia14f12b2507c68bc19cc014b9802ced84dab57d3
2017-10-11 14:05:39 +09:00
Bowgo Tsai
4a6503bf52 Only copy init.recovery.$(PRODUCT_HARDWARE).rc to recovery root
Currently it's copied to normal root, for build system to copy
init.recovery.*.rc to recovery root. However, with the following fix
from AOSP, this isn't needed. We can only copy init.recovery.*.rc to
recovery root.

  https://android-review.googlesource.com/#/c/platform/build/+/493017/

Bug: 65570851
Test: recovery/normal boot the device
Change-Id: I9e996a8ed30775ed633ed8ec3fc0b7b9970ff0fb
2017-09-26 15:58:54 +08:00
qingxi
8356e93cf8 Remove testing OTA images.
Bug: 63811095
Test: make & TreeHugger
Change-Id: Ie13af94d0acbcefd1399e61655782e4e08ebe456
2017-08-07 11:02:58 -07:00
Logan Chien
1b65c6d094 Revert "Copy libz.so to vndk-sp"
This reverts commit b5f9e31877.  This
commit removes libz.so from /system/lib[64]/vndk-sp.

We have to remove libz.so from vndk-sp because we don't have a good
mechanism to stop "classloader" linker namespace from loading
/system/lib[64]/vndk-sp/libz.so.  Other alternatives require significant
changes to dynamic linker or CTS test cases.

Let's temporarily revert the commit to fix b/62195853 for oc-dr1-dev.
The long-term solution will be discussed in b/37617391.

Bug: 62195853
Bug: 37617391
Test: Boot sailfish to home screen.
Change-Id: I8591c153a1159ccfce6591b6cdc75722364e564b
2017-07-05 11:17:31 +08:00
Mikhail Naganov
4f3f9535d4 Remove Broadcast Radio HAL impl library
There is no support for FM radio on this line of devices.
Having this HAL impl in place was confusing VTS tests runner
as broadcast radio HAL was present in the output of 'lshal'.

Bug: 33050893
Test: audio works, no impl lib in /vendor/lib[64]/hw,
      no broadcastradio in lshal output

Change-Id: I35b4d6329de8b04032b456fb048b0b8728024a64
2017-06-30 10:36:21 -07:00
David Lin
e2ac78d27f haptics: implements vibrator 1.1 HAL
Obtain tick/click effect duration from system property and implement the
new perform 1.1 function for supporting tick effect.

Bug: 62176703
Test: VtsHalVibratorV1_1TargetTest
Change-Id: Icbd50c2e7d05fd520aeda4511ba95151dde2a5ed
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-05 16:21:17 -07:00
SzuWei Lin
8333cc4fb8 Move lowi.conf to vendor
Bug: 62283103
Bug: 37927875
Test: check the files in folder vendor/etc
Test: test gps by test app
Change-Id: I57c08e4257ba650293e9731431933b355953c214
2017-06-02 08:30:37 +00:00
Jaesoo Lee
9127ae4ff6 Revert "vndk: remove vndk/Android.mk"
This reverts commit 1362a69046.

Test: Built sailfish and boots
Change-Id: I3a92adcd40e5dc1354744903000baea69868fe3d
2017-05-31 17:23:42 +09:00
Jiyong Park
1362a69046 vndk: remove vndk/Android.mk
It is moved to development/vndk. VNDK-related modules are all behind a
phony module vndk-<version>.

Bug: 38356823
Bug: 37522144
Bug: 38210782
Test: muskie builds and boots
Change-Id: I5f37f1bdbda92f3eb606a271dbcd84b5e5b1a353
2017-05-24 16:33:20 +09:00
SzuWei Lin
60270793ab Move audio relative configs to vendor
Bug: 37927875
Test: check these files in folder vendor/etc
Test: play sound in settings
Change-Id: I9846b40cdb9ae531ec7fcb316480f92094649da9
2017-05-23 11:01:31 +08:00
SzuWei Lin
b4e345f78c Move sec_config to vendor
Bug: 37927875
Test: check the files in folder /vendor/etc
Change-Id: I7cd478315961e00f88c99cae309d51ca7b1daeb7
2017-05-19 15:54:28 +08:00
Isaac Chen
c0cae510d2 lights.$(TARGET_DEVICE): moved to vendor partition
Move it to vendor to work with generic AOSP system image.

Bug: 37927875
Test: The lib is under /vendor/lib(64)/hw instead of /system/lib(64)/hw
and the resulted system/vendor images work on the device.

Change-Id: I8218120bc870b64959f5a9929c5fdea703b7fb0c
2017-05-17 15:44:41 +08:00
SzuWei Lin
1956321915 Move etc/wifi/* to vendor for build split
Bug: 37927875
Test: check these files in folder vendor/etc/wifi
Test: check wifi trun on/off
Change-Id: I6765befe6333aa7c15d91a2086e4eb96aee7071e
2017-05-15 17:12:15 +08:00
SzuWei Lin
314aea5bc9 Move permissions to vendor
Move all permission XML files form:

  system/etc/permissions/*

to

  vendor/etc/permissions/*

Bug: 37927875
Test: check these files in folder vendor/etc/permissions
Change-Id: Iaebed412a99c26bb89f7024618e3c2c4bf63ca4b
2017-05-15 17:12:08 +08:00
Isaac Chen
b635787205 Move configuration files to vendor for build split
The following configuration files need to reside in vendor
partition to work with generic AOSP system image.

Move uevent.*.rc to /vendor
Move fstab.* to /vendor/etc
Move init.*.rc and init.wahoo.usb.rc to /vendor/etc/init.

Also the following two make file variables need to be set:
  - BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
  - PRODUCT_ENFORCE_RRO_TARGETS := framework-res

Change path (to /vendor/bin) for init.*.sh, and add
path (to /vendor/etc) for fstab.* in init.hardware.rc.

Bug: 37927875
Test: These files are under /vendor instead of / or /system,
paths (in rc files) are changed to vendor accordingly,
and the resulted system/vendor images work on the device.

Change-Id: I64c8a899ab1c6837d51853e289160e35910b5b9a
2017-05-12 11:16:45 +08:00