Commit graph

21 commits

Author SHA1 Message Date
Henry Fang
9bed3dc4fa Update cas@1.1 hal to cas@1.2.
Test: Manual
bug: 141783130
Change-Id: I0c3e9041a2057ce721a608cf3a9f0a9bb15a2305
2019-10-24 10:51:34 -07:00
Kevin Rocard
de7d06babb Convert audio HAL service mk to bp and rename the service
The service supports multiple versions and its name should not be
version dependant.

For backward compatibility, keep the target name
android.hardware.audio@2.0-service (32bit only), existing
PRODUCT_PACKAGES do not have to be updated.
New products should depend on android.hardware.audio.service:32.

Additionally migrate to Android.bp, dropping support for
AUDIOSERVER_MULTILIB. Previously the HAL service architecture (32 vs 64)
would be the same as the audio server. This in not wanted as all android
audio HAL are 32 bits.

Bug: 121208203
Test: # Compare following commands before and after patch:
      find $ANDROID_PRODUCT_OUT/vendor -name 'android.hardware.audio*'|xargs file
            adb shell reboot # check device boots to UI and
      # check the HAL restarts after the audioserver is killed
      adb shell ps |grep audio; adb shell killall audioserver; adb shell ps
Change-Id: I25f41735175a6687a051ca1e5a7fee670eb8115e
Signed-off-by: Kevin Rocard <krocard@google.com>
2019-10-07 16:34:26 +01:00
Sundong Ahn
e64a228861 Remove configstore 1.2
the configstore functionality was added in Q. But The configstore will
be deleted. So additional function is deleted.

Bug: 124531214
Test: build & boot
Test: adb shell lshal | grep configstore & check configstore 1.2
Change-Id: Idbb00b972bc082bd75bba94dbff9cee19df48b89
2019-02-27 12:22:54 +09:00
Steven Moreland
3cb3667e23 CleanSpec: cas@1.0 manifest fragments
Change-Id: Id96b46ffd9c443d6bcfdf87a16aa7758859b668c
Fixes: 124121446
Test: manual
2019-02-11 15:35:12 -08:00
Henry Fang
592b592734 Clean cas@1.0 file for Incremental build after enable cas@1.1
Clean cas@1.0 files from build for Incremental build
Test: Manual
bug: 124116613

Change-Id: I40a136dfbd0a8558e593897df3d3dd32114dd436
2019-02-08 11:31:16 -08:00
Jesse Hall
6389b829fe CleanSpec: Remove stale configstore@1.1-service.rc
Removing this file was inadvertently left out of commit 2b3f826.

Bug: 113292034
Test: build+flash from tree before 2b3f826, sync past 2b3f826,
      apply this change, build+flash again

Change-Id: Ic12e57e2426d2e105e6b846fa8ca076c6100c2ba
2018-08-29 13:52:24 -07:00
Peiyong Lin
2b3f82672a [ConfigStore] Add useColorManagement method.
Previously we couple wide color gamut display and color management together,
which is because we only do color management when we have wide color gamut
display. However, we would also want display that doesn't support wide color
gamut but is calibrated and is capable of managing sRGB gamut to have color
management. This means we will decouple wide color gamut display from color
management, a device can indicate that it's color managed without having wide
color gamut display and only manage color within sRGB gamut.

BUG: 111505327
Test: BUild, flash and check Natural/Boosted mode.
Change-Id: If1241ce040a6f691609d8f8d72a2d6f3141557cf
2018-08-21 15:21:54 -07:00
Jaesoo Lee
712ee82162 configstore: configstore HAL uprev'ed to 1.1
This change provides a reference implementation of the configstore HAL
v1.1.

Bug: 69691076
Test: tested on walleye-userdebug
Change-Id: I68ee224bcbda64f6fef91e8a0f95adb32d504aad
2018-05-23 15:48:36 -07:00
Sundong Ahn
b162f3f8dd Configstore HAL is down-revisioned to 1.0
Configstore was up-revisioned from 1.0 to 1.1. However no new
APIs were added to 1.1. Therefore configstore in master will be down
revisioned to 1.0.

Bug: 71555815
Test: lshal | grep configsotre
Test: "cat proc/<configstore pid>/status | grep Seccomp " return:
    Seccomp: 2

Change-Id: I65d2dc06fbe12d0c0ccc020bbd287e0b14320f2f
2018-01-04 16:15:56 +09:00
Jiyong Park
ec44d18dbe android.hardware.graphics.allocator@2.0 is no longer VNDK-SP
The interface lib has been in VNDK-SP because
android.hardware.graphics.mapper@1.0 was using it. However, since the
dependency has gone [1], there is no need keep it in VNDK-SP. The
VNDK-SP set should be kept as small as possible because libs in VNDK-SP
are subject to double-loading.

Unmark the 'support_system_process' property to exclude the lib from
VNDK-SP.

Bug: 69480083
Test: walleye boots to the UI
Change-Id: I8722c1ac15ddf56a627a12a0c649b4d734e5e5cd
2017-11-21 10:45:29 +09:00
Dan Willemsen
85f8d2ec19 Replace OUT with OUT_DIR
OUT is only defined if some functions in envsetup.sh are run, which is
not the case on the build servers. I'm looking at removing the
environment variable in local builds to keep things consistent.

In this case, OUT_DIR was actually expected, not OUT, which is
equivalent to PRODUCT_OUT.

Test: none
Change-Id: I1e5e9f40727104716212d696927d1a32d7a74fab
2017-11-08 17:25:00 -08:00
Jiyong Park
d47b8c7137 resolve merge conflicts of d8a2e2f0 to master
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ia7089a9e208961cc581bc7ee28de82e6b73bdccb
2017-09-08 08:21:35 +09:00
Jiyong Park
9a4b17e3e1 HAL interface libs for testing are now built as test lib
The HAL interfaces for testing were copied to /system/lib[64]/vndk
directory since they are built as cc_library and thus falsely recognized
as members of VNDK, which isn't true.

Build them as cc_test_library so that they are filtered out. To do so,
.hidl_for_test files are added for the test HALs and update-makefiles.sh
were ran.

Bug: 64776708
Test: no android.hardware.tests.*.so file in /system/lib[64]/vndk on
2017 pixel devices

Change-Id: I5314db6cc08a43bccfc4521d4b80b614a91e7e48
2017-09-01 09:54:16 +09:00
Sundong Ahn
169eeecb08 Configstore HAL is down-revisioned to 1.0
Configstore was up-revisioned from 1.0 to 1.1. However no new
APIs were added to 1.1. Therefore configstore in mr1 will be down
revisioned to 1.0.

Bug: 64999074
Test: lshal | grep configsotre
Test: "cat proc/<configstore pid>/status | grep Seccomp " return:
    Seccomp: 2
Change-Id: Ia2614439cd620fbe5fbd427571ab55a15089cc47
2017-08-25 17:05:29 +00:00
Tri Vo
22b2d68170 Build automotive hals with VNDK.
Bug: 37342627
Test: cd hardware/interfaces/automotive &&
BOARD_VNDK_VERSION=current mma -j64 -k
Change-Id: I89e9af8a5fded3a31eedb9942cfba8e8d9614f53
2017-07-12 16:25:27 -07:00
Jaesoo Lee
812e85e126 configstore: configstore HAL is up-revisioned to 1.1
This change provides a reference implementation of the configstore HAL
v1.1.

Bug: 37727469
Test: Built sailfish-userdebug and configstore-1.1 works
Change-Id: I75e7fd1da8e90ae48d779a3ba28957c5a93a5529
2017-05-17 15:30:17 +09:00
Steven Moreland
320b5134b5 Update makefiles.
Note cleanspec required because of b/38205169 (genrule
doesn't delete output files before building, so when
removing some, they get stale).

Test: power vts test compiles
Change-Id: Ie7ef0fc3d943a75fe898238cf861fb7f99f4146b
Fixes: 35813011
2017-05-12 13:09:49 -07:00
Steven Moreland
3c1adcab91 Actually fix build breakage with cleanspec.
OUT_DIR instead of OUT

Test: manual
Change-Id: I2e48c6f2f39ff2318517ff55cbfa6ca912c05021
2017-05-10 15:36:43 -07:00
Steven Moreland
19cc6a17a3 Add CleanSpec to hardware/interfaces.
Fixes build breakage from interface changing after -Lc++-sources
and -Lc++-headers was added to hidl-gen.

Test: manual
Change-Id: I9ee0a0e7b72f8f2a3253d205943a696c07129a64
2017-05-10 20:52:05 +00:00
Steven Moreland
6cf7d713b7 Bluetooth: move to vendor partition.
Bug: 35328775
Test: works in both binderized and passthrough modes
Change-Id: I18f21b53c2282e27342a58716475ae213a2837d4
2017-02-27 15:41:04 -08:00
Steven Moreland
ff4224809f Move hidl shims to the vendor partition.
We need google shims on the vendor partition because they are providing
an implementation of a vendor defined interface. They were written by
google just as a courtesy/to make the transition easier. They're
basically a set for vendors to assemble their hal implementations
from.

Bug: 34135607
Test: marlin persist.hal.binderization on/off
Change-Id: I3f86c77c147514fe470f08088a66de312ae32d4e
2017-02-13 15:03:33 -08:00