515 Commits

Author SHA1 Message Date
Michael Bestas
27b6b8c7a3 Merge tag 'android-15.0.0_r20' into staging/lineage-22.2_merge-android-15.0.0_r20
Android 15.0.0 Release 20 (BP1A.250305.019)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8epTgAKCRDorT+BmrEO
# eB59AJ91rMk2cTwTy3p3F4MjkF7XEORLJQCff5O1RGa2khd8+JlrZ7TVN54hRXo=
# =iJYQ
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 03:30:54 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

* tag 'android-15.0.0_r20': (412 commits)
  Undo NAN periodic ranging changes in the legacy HAL and AIDL conversion method.
  Update defaults for IVehicleGeneratedHeaders-V3.
  Add AIDL API feedback
  Add check volume group id uniqueness
  Added VEHICLE_PASSIVE_SUSPENSION_HEIGHT to HAL
  Added BRAKE_FLUID_LEVEL_LOW to HAL
  Added BRAKE_PAD_WEAR_PERCENTAGE to HAL
  Added BRAKE_PEDAL_COMPRESSION_PERCENTAGE to HAL
  Added ACCELERATOR_PEDAL_COMPRESSION_PERCENTAGE to HAL
  Added VEHICLE_DRIVING_AUTOMATION_TARGET_LEVEL to HAL
  Added INSTANTANEOUS_EV_EFFICIENCY to HAL
  Added INSTANTANEOUS_FUEL_ECONOMY to HAL
  Added VEHICLE_HORN_ENGAGED to HAL
  Import contexthub v4 from bluetooth socket hal
  Added SAE_J3400 enums to EvConnectorType.aidl
  Added TURN_SIGNAL_LIGHT_STATE and TURN_SIGNAL_SWITCH to HAL
  Revert "audio: update setAudioPatch"
  Remove ValueRange.
  Add min_sdk_version to vehicle HAL property protos Rust library
  audio: update setAudioPatch
  ...

Change-Id: I93a7a1bcca3de371750c2a16fc61849f20347383
2025-03-09 04:33:43 +02:00
Michael Bestas
5143e92494 Merge tag 'android-15.0.0_r6' into staging/lineage-22.0_merge-android-15.0.0_r6
Android 15.0.0 Release 6 (AP4A.241205.013)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssgAKCRDorT+BmrEO
# eAQDAJ0Y9tLkI/9E6JFvvf9DIGZxnCabgQCghIthWz3dPjsuoGGuJCLjmZMbBXs=
# =kzIy
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Dec  6 00:44:02 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2468 signatures in the past
#      3 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Yu Shan (18) and others
# Via Automerger Merge Worker (504) and others
* tag 'android-15.0.0_r6': (241 commits)
  [RESTRICT AUTOMERGE] HapticGenerator VTS: validate parameter before setting
  Inject getS2rS2dConfig through constructor.
  Use static libjsoncpp for unit tests.
  audio: Update FMQ error reporting handler
  Face VHAL for user build
  VtsHalBluetoothTargetTest: Check API level compatibility
  Align EffectContext workbuffer size to FMQ size
  Add RSN overriding feature flag
  wifi: Update Supplicant HAL to V4
  Replace "UDS_Public" with "UDS_Pub" for consistency
  Mark vhal property protos library to be available in any APEX
  VisualizerTest: Add tests for visualizer effect parameters
  Change documentation for AP_POWER_STATE_REQ
  Add frozen field to vibrator
  Nfc AIdl interface updated following
  Camera: Remove flag manual_flash_strength_control
  Do not force verbose logs on for anything including ComposerCommandBuffer.h
  Revert^2 "Support PER_DISPLAY_BRIGHTNESS."
  audio: Disable I/O tests for input MMap streams
  Enable Rust backend on Keymint, Fingerprint and Biometrics interfaces
  ...

Change-Id: I18ad17d1e07299d8fe23b8ce8b6b6bbee013765f
2024-12-10 17:46:03 +02:00
Yihan Dong
b5b9d33273 Merge "Add proposed trendy teams for VTS modules" into main am: bae2a41e3d am: d6005fda3a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3304546

Change-Id: Ie7dbe173519db52420b7ab26782ed68e3c9e7395
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-29 02:20:12 +00:00
LuK1337
19462c370c fpc: Fix potential nullptr derefs
If we fail to load the module, it's better to just return errors instead
of crashing. This can happen when the fpc sensor is broken.

Change-Id: I88df93401298a0d4ac47e2583d7d9c7b14516737
2024-10-19 18:15:12 +03:00
Yihan Dong
15b8210b8e Add proposed trendy teams for VTS modules
Change-Id: Ic9efa4c70c15f3e98c356ededac106c769b09bd4
Test: build locally
Bug: 368362374
2024-10-12 09:06:29 +00:00
Jeff Pu
a3c5736d5d Face VHAL for user build
Bug: 326227403
Test: atest android.hardware.biometrics.face.* -c
Test: atest CtsBiometricsTestCases -c
Ignore-AOSP-First: Not release until 25q2
Change-Id: Ic300cca9f91af3dec3816f16e729656e91f36024
2024-09-19 15:32:34 +00:00
Patryk Duda
2d00cd0b68 Enable Rust backend on Keymint, Fingerprint and Biometrics interfaces
This is necessary to implement fingerprint HAL in Rust.

Bug: 366409699
Test: Build pass
Merged-In: I6d925fadb94252cd9d66f93b3085c231ff52fe86
Change-Id: I6d925fadb94252cd9d66f93b3085c231ff52fe86
2024-09-16 11:33:43 +00:00
Patryk Duda
658daed838 Enable Rust backend on Keymint, Fingerprint and Biometrics interfaces
This is necessary to implement fingerprint HAL in Rust.

Bug: 366409699
Test: Build pass
Ignore-AOSP-First: Get around auto-merger conflict with main
(cherry picked from https://android-review.googlesource.com/q/commit:eb11ce8129f7f84ce52669a64318de405d0f4431)

Merged-In: I6d925fadb94252cd9d66f93b3085c231ff52fe86
Change-Id: I6d925fadb94252cd9d66f93b3085c231ff52fe86
2024-09-13 17:38:58 +00:00
Jake Weinstein
75dd803ae7 Revert "fpc: keep fpc in system-background"
While Google found that fingerprint HAL is insensitive to
increased CPU throughput, we have not found that to be the
case and allowing more CPUs makes fingerprint unlock up to
2x faster in some tests.

This reverts commit d0fdb4431d.

Change-Id: I817f52e36530114cbd9185d88e44f38f379ff93b
2024-09-09 03:02:05 +03:00
Jeff Pu
e0263c404a Bind Fingerprint Virutal HAL with IVirtual interface
Bug: 326227403
Test: atest CtsBiometricsTestCases -c
Ignore-AOSP-First: CLs of other related projects needs this  CL to run
    presubmit tests
Change-Id: I295925d7c26235dc66c7c9481d08661095c8dc92
2024-09-03 11:50:15 -04:00
Jeff Pu
b00dade599 Fix fingerprint vhal permanent lockout
Separate timed lockout failure count from permanent one, so
it can be reset independently

Bug: 357671325
Test: atest android.hardware.biometrics.fingerprint.* -c
Change-Id: I08a8283a8eb464201b0f06c9c9bb7ba7635a54ac
2024-08-06 17:23:23 -04:00
Jeff Pu
5dadb93d1b Warning if finger is down before HAL operation
Bug: 340126007
Test: atest android.hardware.biometrics.fingerprint.* -c
Change-Id: I43aa9bd1c7826262c10c0df4cec1597fcafdf792
2024-06-04 12:48:42 -04:00
Jeff Pu
ea388ef0c5 Merge "Added more methods in IVirtualHal interface" into main 2024-04-29 18:44:56 +00:00
Jeff Pu
3bc1f0667f Added more methods in IVirtualHal interface
Bug: 326227403
Test: atest android.hardware.biometrics.fingerprint.* -c
Change-Id: If5cdd5e5cfea96ef941852ea286f865a99ef8ba8
2024-04-29 16:50:48 +00:00
Joe Bolinger
53ece58051 Update owners.
Change-Id: Ib3bc7197161de63e8b202f0935d66826104fb3ed
Fix: 335274653
Test: N/A
2024-04-23 20:21:33 +00:00
Ronish Kalia
7dbbfcd17a Merge "Migrate Test Targets to New Android Ownership Model" into main am: 98ef872235 am: 8d119d3d0c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2946535

Change-Id: I1349263068518c882bb0944c9bf7709534819033
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-22 15:41:18 +00:00
Ronish Kalia
98ef872235 Merge "Migrate Test Targets to New Android Ownership Model" into main 2024-04-22 15:01:56 +00:00
Jeff Pu
eda68e4ffe Dump fingerprint configurations on CLI dumpsys command
Bug: 326227403
Test: adb shell dumpsys android.hardware.biometrics.fingerprint.IFingerprint/virtual
Change-Id: I75e11b7baef3566411588ea5231f6336d271dc77
2024-04-15 12:35:00 -04:00
Jeff Pu
c2f76afc4c Add biometric virtual HAL tests to presubmit
Bug: 333743980
Test: atest --test-mapping

Change-Id: I4efc51473194ee431ee8ca4bb2c8a5dfb629ad87
2024-04-11 13:35:47 +00:00
Jeff Pu
df81c964df Added Fingerprint Virtual HAL AIDL extension
Bug: 326227403
Test: atest android.hardware.biometrics.fingerprint.* -c
Change-Id: I967c009c99f8dc279f89c21a59cf0462d9590296
2024-03-18 15:11:03 -04:00
Jeff Pu
6904bf18f7 Merge "Refactor biometric virtual HAL config/control" into main 2024-03-04 14:13:20 +00:00
Jeff Pu
6ccd956117 Refactor biometric virtual HAL config/control
for additional ways besides system property
Bug: 326227403
Test: atest android.hardware.biometrics.common.ConfigTest

Change-Id: Id0aa4961cc732c23f5da140eca81470316834b70
2024-02-29 15:20:35 -05:00
Devin Moore
a8efdb127e Vendor API level 202404 is now frozen
Ignore-AOSP-First: VINTF 202404 Finalization
Bug: 279809333
Test: build
Change-Id: Ie6d38d27a287e258c30516e0030ad8c931d06432
2024-02-20 21:05:23 +00:00
Steven Moreland
2a59b89a84 AIDL: disable Rust explicitly
Now that it's enabled by default, because this
doesn't compile in Rust.

Bug: 321267339
Test: m
Change-Id: I01e0af965827944ba2b4b168a6e8d6c4cf81cfff
Merged-In: I01e0af965827944ba2b4b168a6e8d6c4cf81cfff
(cherry picked from commit 62105fb264)
2024-02-06 17:36:03 +00:00
Aditya Choudhary
04ef2121cd Migrate Test Targets to New Android Ownership Model
This CL is created as a best effort to migrate test targets to the new Android ownership model.
It is based on historical data from repository history and insights from git blame.
Given the nature of this effort, there may be instances of incorrect attribution. If you find incorrect or unnecessary
attribution in this CL, please create a new CL to fix that.

For detailed guidelines and further information on the migration please refer to the link below,
go/new-android-ownership-model

Bug: 304529413
Test: N/A
Change-Id: Ibe1360ca3f7eb919834715aa90b0b842fbcd0692
2024-02-02 14:00:43 +00:00
Steven Moreland
62105fb264 AIDL: disable Rust explicitly
Now that it's enabled by default, because this
doesn't compile in Rust.

Bug: 321267339
Test: m
Change-Id: I01e0af965827944ba2b4b168a6e8d6c4cf81cfff
2024-01-30 23:47:32 +00:00
Jeff Pu
1e93ca6c74 Support configuration reset and dump
Bug: 294254230
Test: atest android.hardware.biometrics.face.* -c
      adb shell cmd android.hardware.biometrics.face.IFace/virtual resetconfig
      adb shell dumpsys face
Change-Id: I6dc5657104da103860cca133beba21e1b10cb423
2024-01-24 12:52:35 -05:00
Jeff Pu
53cf8ca74d Merge "Fix Fingperint Virtual Hal cancellation while waiting finger touch" into main 2024-01-12 21:04:55 +00:00
Jeff Pu
74e25d2dec Fix Fingperint Virtual Hal cancellation while waiting finger touch
Bug: 319146424
Test: atest BiometricsE2eTests:BiometricPromptAuthSuccessTest
Test: atest android.hardware.biometrics.fingerprint.*
Change-Id: I26a2dde01608177411cce3f9c68ee6fd1fd6aab8
2024-01-11 18:23:00 +00:00
Jeff Pu
b515d81fb7 Merge "Support Face Virtual HAL operation latency randomization" into main 2024-01-08 22:18:08 +00:00
Austin Delgado
7b690750fe Add isHardwareIgnoringTouches to OperationContext
Bug: 313763144
Test: atest SystemUITests:com.android.systemui.biometrics
Flag: None
Change-Id: If337f491b809d5e9c9fdfedad86a3d63a3431102
2024-01-05 16:02:15 -08:00
Jeff Pu
4aca35e205 Support Face Virtual HAL operation latency randomization
Bug: 294254230
Test: atest android.hardware.biometrics.face.*
Change-Id: I1e0c2ba2f0f6756c79375b56c7d1a10f7f3bf5c4
2024-01-05 16:02:50 +00:00
Joshua Mccloskey
f6bc1288c5 Merge "Freezing face api" into main 2023-12-12 16:18:36 +00:00
Joshua McCloskey
93ee24e67f Freezing face api
Test: N/A
Change-Id: I0c0ac52fbdc96ae2a416922ff4c994f0f2909802
2023-12-11 22:17:40 +00:00
Jeff Pu
3e7448dc2b Face Virtual HAL lockout support
Bug: 294254230
Test: atest android.hardware.biometrics.face.FakeFaceEngineTest
Test: atest android.hardware.biometrics.face.FakeLockoutTrackerTest
Change-Id: I4ed3ada4734f595d5f9ac70cf5ed2a94bed378c6
2023-12-11 14:47:46 +00:00
Vincent Wang
76de03f7df Merge "Update biometrics HAL interface version(2/2)" into main 2023-12-08 16:13:34 +00:00
Vincent Wang
50f12d7bd9 Merge "Update biometrics HAL interface version(1/2)" into main 2023-12-08 16:13:34 +00:00
Liana Kazanova
30f558a8fa Merge "Revert "Freezing face api"" into main 2023-12-07 21:59:08 +00:00
Liana Kazanova
d43d834d76 Revert "Freezing face api"
This reverts commit b3a55af391.

Reason for revert: Potential culprit for b/315354499 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: Iab8a208df0704007b9ee29a3673c623eb968ce1b
2023-12-07 20:59:34 +00:00
Joshua Mccloskey
b9fe5cd8de Merge "Freezing face api" into main 2023-12-07 19:41:19 +00:00
Vincent Wang
774a9c0f44 Update biometrics HAL interface version(2/2)
In order to pass fold/unfold information to HAL during face auth,
add a new filed into OperationContext.aidl and update biometric
HAL interface version

Test: Build pass
Bug: 305284901
Change-Id: I886440a6332ba8c2555b29322c05f27edb7a5d44
2023-12-07 03:59:12 +00:00
Diya Bera
ef2dcff171 Merge "Add @hide to AIDL interfaces" into main 2023-12-06 23:13:52 +00:00
Joshua McCloskey
b3a55af391 Freezing face api
Test: N/A
Change-Id: Ibc6f6130a3e825ed20dcf27d30bbdc3f13d29cc3
2023-12-06 20:00:36 +00:00
Vincent Wang
890be57151 Update biometrics HAL interface version(1/2)
In order to pass fold/unfold information to HAL during face auth,
add a new filed into OperationContext.aidl and update biometric
HAL interface version

Test: Build pass
Bug: 305284901
Change-Id: Iddb2be85a4aae8ab0fa7880258151ebe9f5cf6c3
2023-12-06 09:16:02 +00:00
Jeff Pu
3cb30e7be7 Merge "Face Virtual HAL enrollment basic support via SUW" into main 2023-12-05 18:24:50 +00:00
Diya Bera
0afb3e8202 Add @hide to AIDL interfaces
Test: N/A
Bug: 303480396
Change-Id: I51aab72929a9242b513dfa836e682ed29bf4cbc0
2023-12-05 10:15:35 -08:00
Jeff Pu
84c60185f1 Face Virtual HAL enrollment basic support via SUW
Bug: 294254230
Test: Manually perform face enrollment via Settings
Change-Id: I30f6ffc3cde615b9cab55ef060623464a7799100
2023-12-05 14:16:03 +00:00
Vincent Wang
241aeca469 Mark frozen false to make sure native could reference
android.hardware.biometrics.common-V4-ndk is an unfrozen development version,
and it can't be used if it's explicitly marked as `frozen: true`

Bug: b/305284901
Test: Build pass

Change-Id: Ie3f82da032d5b9d201f094ced2636592cc3f8844
2023-11-30 08:15:53 +00:00
Vincent Wang
7b0194374b Merge "Add a new filed into OperationContext.aidl" into main 2023-11-17 00:23:14 +00:00
Vincent Wang
06523c6fb1 Add a new filed into OperationContext.aidl
In order to pass fold/unfold information to HAL during face auth,
add a new filed into OperationContext.aidl

Test: Build pass
Bug: 305284901
Change-Id: I03d7b4c97df89232f8393d094e02b1472921200b
2023-11-14 01:14:33 +00:00