This reverts commit 366cc53714.
Reason for revert: b/179207135. I1aa682644b9 is not a full revert
of the original CL, so properly revert the rest.
Bug: 179207135
Test: pass
Change-Id: Id81783c9e67e63c8717fcb216e52d0d6da203c60
Merged-In: Id81783c9e67e63c8717fcb216e52d0d6da203c60
This reverts commit 366cc53714.
Reason for revert: b/179207135. I1aa682644b9 is not a full revert
of the original CL, so properly revert the rest.
Bug: 179207135
Test: pass
Change-Id: Id81783c9e67e63c8717fcb216e52d0d6da203c60
Supports to enable/disable USB data signaling
Bug: 142105910
Bug: 161414036
Test: USB HAL V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I55ac262dbcdd89ab039193ed467b94f80664c9ba
Merged-In: I55ac262dbcdd89ab039193ed467b94f80664c9ba
(cherry picked from commit 64bd20e416)
The latest HAL allows the Contexthub service to enforce and attribute
permissions usage when using nanoapps which must be supported on
devices launching with S+
Fixes: 180100226
Test: compile
Change-Id: Ifff454b0757abe190b22089cb7de37204ee05ce7
Both 6.0 and 7.0 can be used for launching new
devices on S due to large amount of refactorings
in the interfaces. Vendors who don't need
the new features added in V7 are free to continue
using V6.
Bug: 142480271
Test: N/A
Change-Id: I133348b9a0a1a200ba28b2d67cac92f1962a3e09
* changes:
Implement VTS tests for NNAPI AIDL interface
Add utils for AIDL types conversions
Create first version of NNAPI AIDL interface
Add dynamic interface casting to NN utility code
HAL v1.1 introduces new constants in types enums to support the new
version of the HDMI CEC specification. The interfaces remain unchanged.
Bug: 169121290
Test: make -j
Change-Id: I535099c80f56d4c8ab4f5c725b83db33a9666359
* changes:
Add power.stats to compatibility matrix
power/stats: Rename readEnergyMeters to readEnergyMeter
power/stats: Add VTS tests for power stats hal
Specify version for aidl_interface explicitly
power/stats: Adding subsystem field to Channel
power/stats: Add EnergyConsumer types
power/stats: Add EnergyConsumerAttribution interface
power/stats: Add duration field to EnergyMeasurement
power/stats: Rename PowerStats HAL
power/stats: Move PowerStats HAL 2.0 to power/stats
This will give us an eventual path for dropping support for those old
versions, with minimal consequences, since upgrading those HAL
implementations is trivial.
Fixes: 179307730
Test: Compile
Change-Id: I9d8981126ef7be2acb9aca182de595a78630053b
This HAL version is not supported by the framework. Remove the code to
avoid confusion.
Bug: 178772241
Test: make
Change-Id: I278415d1945fbf5010539840efdc9e9502957f3f
This HAL is not supported by the framework. It was confirmed that
no devices were using this HAL version and it will be removed
following this change.
Bug: 178772241
Test: make
Change-Id: Ie73e78ffde79345331753eb9ed4616653616ddf3
With current setDataLimit API, tethering offload hardware will
stop offload and trigger callback when the given limit bytes is
reached.
However, for data usage warning to work, an API that allows
tethering offload hardware to report event without stopping
offload hardware is needed.
Test: hidl-gen -Lformat android.hardware.tetheroffload.control@1.1
Bug: 149467454
Bug: 170699770
Bug: 170179169
Change-Id: I804d15f92251ef902dd2e1ff1c31ba157fa91067
- Add IIdentityCredential.deleteCredentialWithChallenge()
- Deprecate IIdentityCredential.deleteCredential()
- Add IIdentityCredential.proveOwership()
- Add IIdentityCredential.updateCredential()
- Add ProofOfBinding CBOR to AuthenticationKey X.509 certificate
- Document which API versions new methods/features appeared in.
- Mention need to declare android.hardware.identity_credential system
feature (w/ feature version number) and do this for the default
implementation.
Bug: 170146643
Test: atest VtsHalIdentityTargetTest
Change-Id: Ib47c7caa5f3d6fff6919f019eee44a735dba9cf8
* Asks the device what set of capabilities are supported on the device
with respect to the Radio Hal
* The capabilities struct is left empty and will be filled
in once the first set of radio hal capabilities are nailed down later
in Android S
Test: Added cts, ran cts, and std tests
Bug: 163085807
Merged-In: I867f26bc649005e89ebf7a0b74f6fbeb2f44ac93
Change-Id: I837d82592e8ddfef5b1ff5eb0dd983a0d13383ed
If a device launching with S VINTF uses health storage HAL,
it must use AIDL. If HIDL health storage HAL is used,
a build error will occur to complain about deprecated HALs.
Test: manual test that if the HIDL HAL is served on cuttlefish, then
`m check-vintf-all` shows the following error:
android.hardware.health.storage@1.0::IStorage/default is deprecated
in compatibility matrix at FCM Version 6; it should not be served.
Bug: 177470478
Change-Id: I3c28352f5f8d491ed0e1f9292b80d2083699f829
* changes:
health storage AIDL VTS test.
health storage: refactor common code for test
Add default impl for health storage AIDL HAL
Add health.storage AIDL HAL
Refactor common implementation for health storage HAL.
This is reverted in AOSP because vibrator 2 has not been published
in AOSP, but relanded in internal because vibrator 2 is in internal.
This reverts commit 6135189a29.
Test: TH
Bug: 150034914
Change-Id: I94a663be8a07a24587127d3ca489647a16c0be7a
Revert submission 1540633
Reason for revert: AOSP not updated yet
Reverted Changes:
I418cd4fc5:Update AIDL IVibrator manifest version to 2.
I08b4b189d:matrix: IVibrator AIDL has version 2.
Change-Id: I429faacf309aa61aa044d72b873e23ba25ed5bca
Revert "libmemtrack: Add support for AIDL memtrack HAL"
Revert "Add stable aidl memtrack HAL to product packages"
Revert "Add stable aidl memtrack hal to vndk list"
Revert "Memtrack HAL stable aidl sepolicy"
Revert "Add android.hardware.memtrack-unstable-ndk_platform"
Revert submission 1518702-memtrack-aidl
Reason for revert: Broken tests and boot time regressions
Reverted Changes:
Ic4dd70e2c:Add android.hardware.memtrack-unstable-ndk_platfor...
Iaf99d0ca4:Add stable aidl memtrack HAL to product packages
Iac54ae2ba:Add stable aidl memtrack hal to vndk list
If310210a3:libmemtrack: Add support for AIDL memtrack HAL
Ib6c634def:Memtrack HAL: Add stable AIDL implementation
I5e1d0e006:Memtrack HAL stable aidl sepolicy
Change-Id: I4a9e3522afe9e9189b7eddc9520d5ef2e2b74520
1ffcdebadd
Bug: 175345910
Bug: 171429297
Exempt-From-Owner-Approval: re-landing topic with no changes in this CL.
Change-Id: I691cad252f188b54a8076589d9955774d74d4729
The existing HAL has a setter, but no getter for the active slot for
next boot. The information is useful. For example, clients may need
to figure out which build the device will boot into.
In the resume on reboot case, we want to put the vbmeta digest
together with an encrypted key. And the vbmeta digest is associated
with a set of images (depending on which slot to boot into).
Bug: 173808057
Test: run vts test on cuttlefish
Change-Id: Ia8578926c781eb8e006589f45ab35a95dfe4f9a0
* Asks the device what set of capabilities are supported on the device
with respect to the Radio Hal
* The capabilities struct is left empty and will be filled
in once the first set of radio hal capabilities are nailed down later
in Android S
Test: Added cts, ran cts, and std tests
Bug: 163085807
Change-Id: I867f26bc649005e89ebf7a0b74f6fbeb2f44ac93
Introduce interface for vibrator manager HAL.
A default implementation is made available to the existing
android.hardware.vibrator-service.example, which now provides a top
level devault IVibrator and a top level IVibratorManager with a
different vibrator in it.
VTS tests were also introduced for the new manager, and existing tests
for IVibrator where changed to run in all top level and managed HAL
instances found on a device.
Bug: 166586119
Test: atest VtsHalVibratorTargetTest
atest VtsHalVibratorManagerTargetTest
Change-Id: Iec9175167e795bc03c4f3d873e2ac6682ed52512
USB Gadget hal v1.2 include:
1. NCM function support
2. inquiry USB speed
3. inquiry HAL version
Bug: 168282708
Test: build pass and functions works normally
Change-Id: I16927a06cd3e311ac6ab945f490eb0747638e6da
- Updated APIs to use strings instead of enum for AudioUsages
- Updated dumpsys commands to take strings for usages instead of
integers
Bug: b/170335834
Test: build and run VTS tests
Change-Id: I1773383812e97e7dee6da2eba250ea842d59b8cb
All HIDL HALs defined in the source tree must be specified
in some framework compatibility matrix.
Bug: 110261831
Test: builds
Change-Id: I98a0798cc08761e8aa6a9ca920c67aa6f8155de4
Merged-In: I98a0798cc08761e8aa6a9ca920c67aa6f8155de4
This reverts commit 540dc2771a.
Reason for revert: reland because target-level 2 are fixed
Bug: 163419744
Change-Id: I293852d50de9a4eeaeec6ccf4c0290f1c1b0012d
Devices with legacy/O/O-MR1 VINTF won't be able to
update to Android S. Devices launching with pre-O,
O, or O-MR1 will need to update its VINTF to P and
above to work with Android S.
Test: builds
Bug: 163419744
Bug: 171260360
Bug: 171260613
Bug: 171260670
Bug: 171260715
Change-Id: I2a65f5a24c0731df9c4247bf9dd2616c2279042f
The fact that these variables are 'FILE' instead of 'FILES' is due to
historical changes, but updating comment to reflect this to avoid
confusion.
Bug: N/A
Test: N/A
Change-Id: I92b685eceaab99c7786384c08076dcf3bd087326
Also updates the compatibility matrix.
Bug: 166845383
Test: Run test on device with HAL 1.2 implemented, verify pass
Change-Id: Iac53e755cfa38fbd1322421279475de76b4bb572
Various wifi protocol MAC randomizations are mandatory in Android 11.
So, deprecate older versions of wifi HAL which don't support the
corresponding API's.
Bug: 169201652
Test: Compiles
Merged-In: I20f5b3665650c86fc0f976c544194f87157e6b90
Change-Id: I20f5b3665650c86fc0f976c544194f87157e6b90
Various wifi protocol MAC randomizations are mandatory in Android 11.
So, deprecate older versions of wifi HAL which don't support the
corresponding API's.
Bug: 169201652
Test: Compiles
Change-Id: I20f5b3665650c86fc0f976c544194f87157e6b90
When user input 'fastboot erase userdata' in fastbootd, may need an
oem specific API doOemSpecificErase() to wipe other userdata in device.
If oem doesn't need this specific API, oem could return NOT_SUPPORTED
to fastbootd.
Bug: 169173873
Change-Id: Ie12ede31ef071a3c15265777b55746536a861292
No requirement has changed because TV HALs are optional.
Also remove TV CEC and tuner from fcm_exclude list.
Bug: 110261831
Test: m check-vintf-all
Change-Id: Ia41575f97d9e81fcc4279d8b274e626a33fc9c60
Move exclude list from check_vintf to hardware/interfaces.
This is closer to the HALs. A HAL must either be declared
in hardware/interfaces/compatibility_matrices or be exempted
in hardware/interfaces/compatibility_matrices/exclude.
Test: builds
Bug: 110261831
Change-Id: I2437d92a97505ab66e47425ac17aa58319702685
All HIDL HALs defined in the source tree must be specified
in some framework compatibility matrix.
Bug: 110261831
Test: builds
Change-Id: I98a0798cc08761e8aa6a9ca920c67aa6f8155de4
The first feature to support in this new Tuner HAL is the 64-bit id.
In the current CL, we support Demux and Filter ids in 64-bit format.
More component ids will be suppored in 64-bit in the following CLs.
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: b/159058358
Change-Id: If05eb9f0cd76935064b2e51ff3ff1a3a477e3bd1
SOC manufacturers have requested that devices be allowed to ship with R
without using the IRadio 1.5 API.
Fixes: 153495340
Test: build flame
Change-Id: Iba2ac5902e69fc0af0c5f4d7cae4fed77204acd1
This HIDL was added to compatibility_matrix.5 in
I209db8a74665df98b4923cbfa11b2b2c9d6dabfa
Bug: 153012763
Test: build blueline-userdebug
Change-Id: I360c192992b63967c76227d6c47e9a52662aeae7
Modify the name of the Surround View interface to match the one in VTS
and the one in the default implementation.
fc614a63fa
Bug: 150412555
Test: m -j
Change-Id: Ie274e0501ce807bafe0211b6a8a9ba694e979341
Revert submission 10975707-revert-10941635-revert-10611042-surround-view-service-IWFFCKAOZD-LNGXTQTNXI
Reason for revert: bb in git_master-without-vendor aosp_x86-eng
Reverted Changes:
I36c2a9187:Modify the name of the SV interface to match VTS
I2732f1b25:Fix the build failure for aosp_x86-eng
I0e737d7fb:Revert^2 "Setup Surround View for Osprey"
I27def392d:Revert^2 "Selinux policy for SV service and app."
I20a2ecfcc:Revert^2 "Surround View Sample App"
Ifb91b6eeb:Revert^2 "Surround View Service implementation"
Change-Id: I24a09d5e0a69224e30f22595bb99b8e1e23cdafe
Modify the name of the Surround View interface to match the one in VTS
and the one in the default implementation.
Bug: 150412555
Test: m -j
Change-Id: I36c2a9187ae0973444ce441bda09c31d9b73809d
To reflect GMS core requirements, which have already been updated.
This HAL is replaced with system properties.
Bug: 124531214
Bug: 149806433
Test: checked by cuttlefish build
Change-Id: Ib710bf39b871365ebced845e3ccec6d333bee630
- Already added to compatibility_matrix.5.xml in change-id
I9673e35f2f9e667b66e1b9fbfa2fb13b975b7cb1
Bug: 148178269
Test: built target using V2 of IAudioControl
Change-Id: I7a49da8823d2c5f07a1abd3bbb177d9885a65cb0
configstore usage was replaced with sysprop usage
e.g. ro.surface_flinger.force_hwc_copy_for_virtual_displays
(and many others)
Bug: 124531214
Test: this is checked against devices at build time
Change-Id: Ifc8c699514ce426e5c61195f0e78f73ad9c7885c
Bug: 152310927
Test: build only (b/150215458 for enabling this on cf)
Change-Id: Id33494d8433ba58362c592deb2598fe89127561e
(cherry picked from commit 7f431d264a993ad0eda47299a59da4eb37fc2358)
Merged-In: Id33494d8433ba58362c592deb2598fe89127561e
To signify this as being ready for release.
Bug: 147496715
Test: build & boot cf (which is at target-level 5)
Change-Id: I7bb9d561506849bac2353d9356a6580f6e2393ab
To signify this as being ready for release.
Bug: 147496715
Test: build & boot cf (which is at target-level 5)
Change-Id: I7bb9d561506849bac2353d9356a6580f6e2393ab
(cherry picked from commit 0e0665efec1b61ef329a370b9483937b7ce9ac9f)
Merged-In: I7bb9d561506849bac2353d9356a6580f6e2393ab
These two are added because checkUnusedHals does not check for
inheritance. These two HALs are considered deprecated and are dropped
from the current matrix.
They are dropped from matrix.4.xml too because
GnssHalVersionCompatibility and ThermalHalVersionCompatibility ensures
devices with target FCM version 4 must implement GNSS2.0 and thermal
2.0.
Bug: 131717099
Test: m check-vintf-all
Change-Id: I2c7cbf8f51925e55026a9f85382c8a22897eabaa
Merged-In: I2c7cbf8f51925e55026a9f85382c8a22897eabaa
These two are added because checkUnusedHals does not check for
inheritance. These two HALs are considered deprecated and are dropped
from the current matrix.
They are dropped from matrix.4.xml too because
GnssHalVersionCompatibility and ThermalHalVersionCompatibility ensures
devices with target FCM version 4 must implement GNSS2.0 and thermal
2.0.
Bug: 131717099
Test: m check-vintf-all
Change-Id: I2c7cbf8f51925e55026a9f85382c8a22897eabaa
Merged-In: I2c7cbf8f51925e55026a9f85382c8a22897eabaa
Dropping requirement of configstore on devices
launching before or at P.
Test: pass
Bug: 150981985
Change-Id: I1c08bd7b18fe6006ee1555c39072e75ec4fb3210
Merged-In: I1c08bd7b18fe6006ee1555c39072e75ec4fb3210
Dropping requirement of configstore on devices
launching before or at P.
Test: pass
Bug: 150981985
Change-Id: I1c08bd7b18fe6006ee1555c39072e75ec4fb3210
This reverts commit b071f8ae53.
Reason for revert: Change will not be supported by vendor, so HAL for RadioConfig is no longer necessary.
Change-Id: I33bf652c6aa2f8516ee6ec1c462a1a575d2a5d27
Merged-In: I2eb83fd2356134ef45a782d99174fdd65f8c5a13
This reverts commit 83e3ca82e6.
Reason for revert: Change will not be supported by modem, so HAL for RadioConfig is no longer necessary.
Change-Id: I2eb83fd2356134ef45a782d99174fdd65f8c5a13
* changes:
Add VTS tests for Sensors HAL 2.1
Add Hinge Angle Sensor to default impl for HAL 2.1
Add default impl of Sensors HAL 2.1
Create wrapper for 2.0/2.1 sensor HALs
Add Sensors HAL 2.1
Extract some common functionality and add a new test for the newly-added
method in HAL v1.1.
Bug: 135951924
Test: atest VtsHalContexthubV1_0TargetTest \
VtsHalContexthubV1_1TargetTest
Change-Id: I1cd335d4972bc3242245b2379a7cfa42d1c683a6
Makes the AIDL Power HAL mandatory for new devices. As almost all of
the power hints are already optional, this is effectively just
requiring FIXED_PERFORMANCE mode, which is necessary for game tuning
and performance profiling.
Bug: 136285293
Test: N/A
Change-Id: Ie4c01f13661b2388d8c905159d957f9996c41ee6
This is a revision of the previous 2.0 HIDL-based light HAL.
It accomplishes 2 goals:
1) Support more than 1 light for a given type. This allows Assistant to
use the HAL on TV platforms that have usually 4 indicator lights.
2) Use AIDL, which is the more modern way of writing HALs.
The previous HAL is in hardware/interfaces/light/2.0 and the new one is
in versioned as aidl, as that supports forward compatibility.
Test: atest VtsHalLightTargetTest
Bug: 142715294, 142230898
Change-Id: I6d8c12b3df88e02f2a0fff8b6aa8543372b510c8
Merged-In: I08d831ca0380d8bb187e43f6d5c214810ff72f50
This change deprecates EvsEnumeratorHw, which has been a name for
EVS HAL Enumerator implementations, and uses regex names for them.
New method, isHardware(), is added to IEvsEnumerator and the clients
should use this method to tell whether current service is EVS manager
or driver.
Bug: 147010694
Test: m -j
Test: atest VtsHalEvsV1_1TargetTest
Change-Id: I89441936734fde0f0cc2f0151ee9b6622f61814d
Signed-off-by: Changyeon Jo <changyeon@google.com>
Deprecating light HIDL for launching devices so that we can remove
HIDL support after ~3+ years.
Bug: 142715294
Test: passes on cuttlefish (TH check)
Change-Id: I61c9c89c8c53050a959f4a1c432d880c7989d6b2
Deprecating vibrator HIDL for launching devices so that we can remove
HIDL support after ~3+ years.
Bug: 141828236
Test: passes on cuttlefish (TH check)
Change-Id: I2c8b35882a51af0defe8466b28272cff9b3cd151
The new version adds callback for physical sub-camera status callback.
Test: VtsHalCameraProviderV2_4TargetTest --hal_service_instance=android.hardware.camera.provider@2.6::ICameraProvider/internal/1
Bug: 119325027
Change-Id: I8148f6c55f80d7f4092d2fe5ccf92509bb8c069d
Add dumpstateBoard_1_1 to accept a mode parameter (e.g. for limiting
vendor logs to the right bug reports).
Add setDeviceLoggingEnabled for the user to toggle vendor logging on and
off.
Bug: 143183758
Bug: 143184495
Test: atest VtsHalDumpstateV1_1TargetTest
Change-Id: I5420e5e4ce88619c7e40cf967382f98babc3c3d5
Merged-In: I5420e5e4ce88619c7e40cf967382f98babc3c3d5
(cherry picked from commit c9e2c6d319)
Add dumpstateBoard_1_1 to accept a mode parameter (e.g. for limiting
vendor logs to the right bug reports).
Add setDeviceLoggingEnabled for the user to toggle vendor logging on and
off.
Bug: 143183758
Bug: 143184495
Test: atest VtsHalDumpstateV1_1TargetTest
Change-Id: I5420e5e4ce88619c7e40cf967382f98babc3c3d5
This is a revision of the previous 2.0 HIDL-based light HAL.
It accomplishes 2 goals:
1) Support more than 1 light for a given type. This allows Assistant to
use the HAL on TV platforms that have usually 4 indicator lights.
2) Use AIDL, which is the more modern way of writing HALs.
The previous HAL is in hardware/interfaces/light/2.0 and the new one is
in versioned as aidl, as that supports forward compatibility.
Test: atest VtsHalLightTargetTest
Bug: 142715294, 142230898
Change-Id: I08d831ca0380d8bb187e43f6d5c214810ff72f50
Allows IAllocator 2.0 and IMapper 2.1 so that Cuttlefish can advertise
API level 30 for R before 4.0 is implemented.
Bug: b/136016160
Test: Compiles and boots
Change-Id: I6d8ebc7013a2887521358b1ba73a2def14c20b9a
This was used in VINTF OTA metadata in update package, but VINTF metadata
is deleted in update package now.
Test: builds
Change-Id: I831d7547d7aee2ab1d344304e13fb0e1aeeb6bd6
This adds a HAL interface for escrowing a key over reboot during an OTA
that will unlock the Synthetic Password when the OTA has completed
successfully.
Bug: 63928581
Test: make
Test: atest VtsHalRebootEscrowTargetTest
Change-Id: I8485f3821157e67b6651f4fe425e46cb4499c710