Commit Graph

28512 Commits

Author SHA1 Message Date
Marin Shalamanov
ac6cc1f97e Clean ComposerClient cache on hotplug
On subsequent hotplug connected event for a display
SurfaceFlinger destroys the previous framebuffers and
recreates them. When the new buffers are created
ComposerClient still holds a handle to the old buffers and
they are not destroyed. This way the new framebuffers
may get allocated on non continuous memory causing garbled
screens for the user.

Bug: 160112047
Bug: 169255692
Test: 1. limit cma ion memory to 32 MB
      2. flash device
      3. plug hdmi out and in
      4. verify that the display image is not garbled
Change-Id: Idf7cdf7a070ffc83ecec34ac24c8a7d696f68aa6
2020-10-27 13:37:40 +01:00
Jimmy Chen
0a3d3f3645 Merge "wifi: add 60GHz Wi-Fi P2P support" 2020-10-20 06:39:20 +00:00
TreeHugger Robot
3b19a57c97 Merge "Revert "audio: Align lists of enum values between framework and HAL"" 2020-10-20 03:29:05 +00:00
Mikhail Naganov
b0c4bd081e Revert "audio: Align lists of enum values between framework and HAL"
Revert submission 12851233-hal-enum-strings

Reason for revert: breaks slider device
Reverted Changes:
I4f64a8b61:Use system/audio to/from string converters in Type...
Iddaa92bf2:Move enums shared with HAL to audio-hal-enums.h
Ie5896775b:audio: Align lists of enum values between framewor...

Bug: 171262726
Change-Id: I35c1acf6ed07b533292d1264b6237766458fd711
2020-10-20 01:29:53 +00:00
allenwtsu
b920bab390 [automerger skipped] [SMS] Define new SMS error code in HAL 1.6 am: 1c3dcd3289 am: bc32c6b69c am: 891d16506a am: 9a18505161 -s ours
am skip reason: Change-Id I3b8b3f238821f2a516f8590f90cba4d603d3783b with SHA-1 5bce081dbe is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1463523

Change-Id: I62182cef42c7229694cb6e894cdc28f3e8048d05
2020-10-20 00:50:30 +00:00
Steven Moreland
41b54c572c Merge "Update VNDK version for common graphics HALs." 2020-10-20 00:16:42 +00:00
allenwtsu
9a18505161 [SMS] Define new SMS error code in HAL 1.6 am: 1c3dcd3289 am: bc32c6b69c am: 891d16506a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1463523

Change-Id: Ic3423143c5bf102ee09700745c9ed5d725469358
2020-10-20 00:05:47 +00:00
allenwtsu
891d16506a [SMS] Define new SMS error code in HAL 1.6 am: 1c3dcd3289 am: bc32c6b69c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1463523

Change-Id: I7c08d4b37d4dec023e5a866c7116058ca44c11d5
2020-10-19 23:53:47 +00:00
allenwtsu
bc32c6b69c [SMS] Define new SMS error code in HAL 1.6 am: 1c3dcd3289
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1463523

Change-Id: If6912eb6bf44212b988675e3abe271ff6c46b62d
2020-10-19 23:34:56 +00:00
Ilya Matyukhin
aff41d866c Merge "Create OWNERS files for biometric AIDLs" 2020-10-19 22:53:17 +00:00
Ilya Matyukhin
103c80345a Merge "Remove sensorId and userId from all Session methods" 2020-10-19 22:52:52 +00:00
TreeHugger Robot
cec3aa412d Merge "audio: Align lists of enum values between framework and HAL" 2020-10-19 21:36:43 +00:00
Steven Moreland
e04821595c Update VNDK version for common graphics HALs.
We are adding things to them, and in order for core libraries like libui
to use them, the newer versions need to be in the VNDK.

Bug: 170435409
Test: build
Change-Id: I4094240656f357b5ae52194befd0e10627b9fe23
2020-10-19 18:07:57 +00:00
Ilya Matyukhin
ed282ac953 Merge "Move [generate|revoke]Challenge under ISession.aidl" 2020-10-17 00:10:47 +00:00
Mikhail Naganov
8d8dfcd8ed audio: Align lists of enum values between framework and HAL
Enum values defined in the XSD now correspond to the
"no system definitions" lists of enums in
system/media/audio/audio-hal-enums.h.

Added channel masks that used to be in s/m/a/audio-base-utils.h.
Removed use of "vectors of vectors" for channel masks
since individual channels are not allowed to be used
in the APM config and at the HAL transport level.

Fixed definition of the gain mode of audio ports:

1. Since it's a bit mask in the framework, it must be a list in
   the audio policy configuration XML file. Note that the old
   definition is compatible with the new one as one element is a
   valid list.
2. As gain mode is defined in the XSD file, it shouldn't be
   defined again in types.hal.

Added 'AUDIO_SOURCE_HOTWORD'.

Bug: 122858783
Bug: 142480271
Test: audio smoke tests
Change-Id: Ie5896775b6bc7dfd3ab158c4a7b497dbda827e9d
2020-10-16 23:01:13 +00:00
TreeHugger Robot
7e71096486 Merge "Add IGnssConfiguration AIDL HAL (hardware/interfaces)" 2020-10-16 19:44:17 +00:00
Yu-Han Yang
1e1a67651d Add IGnssConfiguration AIDL HAL (hardware/interfaces)
In default implementation, both AIDL HAL and the v2.1 HIDL HAL services
are running in the same process. The HIDL HAL implementation is able to
interact with the AIDL HAL implementation.

Bug: 168111993
Bug: 150192654
Test: on cuttlefish
Change-Id: Ib2770780b62a939f6ca447dfb6a6ab888c526fec
2020-10-16 10:39:58 -07:00
allenwtsu
1c3dcd3289 [SMS] Define new SMS error code in HAL 1.6
Define 3 SMS failure causes.
SIMULTANEOUS_SMS_AND_CALL_NOT_ALLOWD
ACCESS_BARRED
BLOCKED_DUE_TO_CALL

Test: build pass
Bug: 162364146
Change-Id: I3b8b3f238821f2a516f8590f90cba4d603d3783b
Merged-In: I3b8b3f238821f2a516f8590f90cba4d603d3783b
2020-10-16 14:03:03 +08:00
Allen Su
647b2cfaf0 Merge "[SMS] Define new SMS error code in HAL 1.6" 2020-10-16 05:11:35 +00:00
Ilya Matyukhin
3d54f4576c Move [generate|revoke]Challenge under ISession.aidl
Bug: 171002801
Test: m android.hardware.biometrics.fingerprint-update-api
Test: atest VtsHalBiometricsFingerprintTargetTest
Change-Id: I2aa266b7b81003b7fd0ab0328833e5500de99908
2020-10-16 04:53:27 +00:00
Ilya Matyukhin
e503481f87 Remove sensorId and userId from all Session methods
Bug: 168730443
Test: m android.hardware.biometrics.face-update-api
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: Icc4545f46e5de625127553373128663b9b5c9dbe
2020-10-15 21:49:36 -07:00
Jimmy Chen
2abc352787 wifi: add 60GHz Wi-Fi P2P support
Bug: 14749550
Test: atest VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I9ad8afa194999409c55e3606510ef6ed43f4960e
2020-10-16 12:00:46 +08:00
Jimmy Chen
3e554308b1 Merge "wifi: remove Wifi HIDL hash for S" 2020-10-16 02:43:06 +00:00
Ilya Matyukhin
53af9512bd Create OWNERS files for biometric AIDLs
Bug: none
Test: none
Change-Id: Idbe85483a66365095e0afab9bb64d4ea6068ddf7
2020-10-15 11:46:14 -07:00
Jing-yan, Jang
d48157470d Merge "authsecret: Notify LSS to generate secret" into rvc-qpr-dev am: fc9c51d1a4 am: edaef8bea0
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12771635

Change-Id: Ia8988721563627d924c118c5a386b1d34f74d6c2
2020-10-15 03:47:41 +00:00
Jing-yan, Jang
edaef8bea0 Merge "authsecret: Notify LSS to generate secret" into rvc-qpr-dev am: fc9c51d1a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12771635

Change-Id: I8ef34701cd303eb78a8303bd8e3e087fc777aac9
2020-10-15 02:54:10 +00:00
Jing-yan, Jang
fc9c51d1a4 Merge "authsecret: Notify LSS to generate secret" into rvc-qpr-dev 2020-10-15 02:30:25 +00:00
Jimmy Chen
efc13c0bfe wifi: remove Wifi HIDL hash for S
wifi HAL is still under working, freezing these wifi
intefaces results in unexpected merge conflict and
unnecessary hash changes.

Bug: 0
Test: build
Change-Id: I5d3066651358baf79a6c96feeb4e7c294f6a4c08
2020-10-15 10:13:04 +08:00
Subbaraman Narayanamurthy
a8acac65f8 health: Add CAP_BLOCK_SUSPEND am: 9ac41106d8 am: 9d0e9cb921 am: 83b70c2b8c am: c5eb4f8b20
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1461242

Change-Id: I7432548b0999573a380e26717ddd4d83c3448e38
2020-10-15 02:07:20 +00:00
Subbaraman Narayanamurthy
c5eb4f8b20 health: Add CAP_BLOCK_SUSPEND am: 9ac41106d8 am: 9d0e9cb921 am: 83b70c2b8c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1461242

Change-Id: I20c786771914ca2374288fdc73d5851b8e1df7bf
2020-10-15 01:11:18 +00:00
Subbaraman Narayanamurthy
83b70c2b8c health: Add CAP_BLOCK_SUSPEND am: 9ac41106d8 am: 9d0e9cb921
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1461242

Change-Id: I075151e70936fa48530d6f6ab7eee1c2bd700276
2020-10-15 00:43:45 +00:00
Subbaraman Narayanamurthy
9d0e9cb921 health: Add CAP_BLOCK_SUSPEND am: 9ac41106d8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1461242

Change-Id: Ib4f79f13505061c294b0f9b120765d866aad38cc
2020-10-15 00:16:19 +00:00
Amy Zhang
407272b06e Merge "Add API to configure media filter stream type for Demux Framing" 2020-10-14 22:43:48 +00:00
Ilya Matyukhin
8d40eb3a74 Merge changes from topic "IFace.aidl"
* changes:
  Default implementation skeleton for IFace
  Add VTS tests skeleton for IFace
  Define IFace
2020-10-14 22:11:59 +00:00
TreeHugger Robot
9c2a4a45d0 Merge "Define VHAL properties for car power policy" 2020-10-14 19:44:25 +00:00
Subbaraman Narayanamurthy
9ac41106d8 health: Add CAP_BLOCK_SUSPEND
Add CAP_BLOCK_SUSPEND to android.hardware.health@1.0 and
android.hardware.health@2.1 service so that when epoll_wait()
is waiting on uevents and timer_fd events it can block suspend
to take the necessary action. Without this permission, eventpoll
is going to ignore the flags EPOLLWAKEUP used in health HAL or
healthloop.

Bug: 169873088
Change-Id: If9b0e1f60e47d7bf54942f589acbfbb883b9bac8
2020-10-14 12:35:23 -07:00
Amy Zhang
57909db2e7 Add API to configure media filter stream type for Demux Framing
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 170339836
Change-Id: Ib42e041ddcd6de36df8af6732715c54097995e92
2020-10-13 15:33:17 -07:00
Hao Chen
674906314e [automerger skipped] Move Emulated User HAL to Emulated Vehicle Connector Class am: bc2d16b9f5 -s ours am: 06641ba48c -s ours
am skip reason: Change-Id Ib2545b7e0d6b2eea0734fe013451b1365ee0e8ff with SHA-1 057e2e8e7f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12793665

Change-Id: Ic1793d1f3e32b8a659604d3f5451768ca36eeaad
2020-10-13 20:56:00 +00:00
Hao Chen
06641ba48c [automerger skipped] Move Emulated User HAL to Emulated Vehicle Connector Class am: bc2d16b9f5 -s ours
am skip reason: Change-Id Ib2545b7e0d6b2eea0734fe013451b1365ee0e8ff with SHA-1 057e2e8e7f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12793665

Change-Id: Iaf4b265b57a3b94cba3a5533cf0f974c8b4f12ec
2020-10-13 20:42:02 +00:00
Devin Moore
1e30fc4ff1 Merge changes from topic "move_fmq" am: 1fa07549e1 am: 1af8658a9b am: f88f876f3d am: c11d5fcc1f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1456140

Change-Id: Ie0e659de876786a0e539f092d7fc349b86d70c14
2020-10-13 16:14:18 +00:00
Devin Moore
c11d5fcc1f Merge changes from topic "move_fmq" am: 1fa07549e1 am: 1af8658a9b am: f88f876f3d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1456140

Change-Id: I92e4ac1f6e8c53c3f6bc113b0179efa0eaa857d8
2020-10-13 15:50:33 +00:00
Devin Moore
f88f876f3d Merge changes from topic "move_fmq" am: 1fa07549e1 am: 1af8658a9b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1456140

Change-Id: Id59edf5972e64c4245e4082cafe9411f223d28ad
2020-10-13 15:21:51 +00:00
Devin Moore
1af8658a9b Merge changes from topic "move_fmq" am: 1fa07549e1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1456140

Change-Id: I6e299ec1a9e5ea564ff0b752c96d16eab754a472
2020-10-13 15:08:08 +00:00
Devin Moore
1fa07549e1 Merge changes from topic "move_fmq"
* changes:
  Add android.hardware.common.fmq to fcm_exclude
  Move AIDL FMQ types from android.hardware.common
2020-10-13 14:58:08 +00:00
allenwtsu
5bce081dbe [SMS] Define new SMS error code in HAL 1.6
Define 3 SMS failure causes.
SIMULTANEOUS_SMS_AND_CALL_NOT_ALLOWD
ACCESS_BARRED
BLOCKED_DUE_TO_CALL

Test: build pass
Bug: 162364146
Change-Id: I3b8b3f238821f2a516f8590f90cba4d603d3783b
2020-10-13 15:50:18 +08:00
josephjang
4c521b0745 authsecret: Notify LSS to generate secret
In order to prevent storing testing secret to Citadel
during authsecret testing, we try to notify lock setting
service to generate PIN code send corresponding secret to
Citadel before authsecret VTS testing.

LSS will not generate new secret if it had ever generated
PIN code/Password/Pattern before.

Bug: 150929955
Bug: 163064036
atest VtsHalAuthSecretV1_0TargetTest

Change-Id: I6b58bf90d16db16ce2a78d8b73298e042c049fc3
2020-10-13 13:46:36 +08:00
TreeHugger Robot
28ba211ae0 Merge "Convert mask types from uint32_t to enum type" 2020-10-13 05:05:42 +00:00
TreeHugger Robot
46f06b1345 [automerger skipped] Merge "Merge ab/6749736 in stage." into stage-aosp-master am: 251697bd9b -s ours am: a808d5db2c -s ours am: 9270f79d6f -s ours
am skip reason: Change-Id I6756cad681e4cfa01868450214da0d7b2d5261e4 with SHA-1 7dd6ab3d88 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12804414

Change-Id: I06db1c201c43f3a9c151fba9436b6e2dfc9f98b4
2020-10-13 04:50:35 +00:00
TreeHugger Robot
9270f79d6f [automerger skipped] Merge "Merge ab/6749736 in stage." into stage-aosp-master am: 251697bd9b -s ours am: a808d5db2c -s ours
am skip reason: Change-Id I6756cad681e4cfa01868450214da0d7b2d5261e4 with SHA-1 7dd6ab3d88 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12804414

Change-Id: I06bd3acd106c508400b91927357604937ee85934
2020-10-13 04:22:44 +00:00
TreeHugger Robot
a808d5db2c [automerger skipped] Merge "Merge ab/6749736 in stage." into stage-aosp-master am: 251697bd9b -s ours
am skip reason: Change-Id I6756cad681e4cfa01868450214da0d7b2d5261e4 with SHA-1 7dd6ab3d88 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12804414

Change-Id: Ia5929e438cf080ce735671b9678cd50fe5c52704
2020-10-13 03:51:06 +00:00