Commit Graph

28260 Commits

Author SHA1 Message Date
Roshan Pius
4cbd355b25 Merge changes I71097c3a,I872a1b3e
* changes:
  supplicant(vts): Stop adding empty instance for vendor HAL
  Revert "wifi: remove wifi instance name string check"
2020-09-25 21:51:16 +00:00
Treehugger Robot
b86b4cdf3d Merge "Clarify Health 2.1 design capacity type ranges" am: 80c84717d8 am: 75c766946f am: 55f5d51881 am: d613f40cf3 am: dfc474c1e2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437295

Change-Id: I0c7e8bb00aa6cf676510b3c5060407913e369e43
2020-09-25 19:51:39 +00:00
Treehugger Robot
841ceb0db3 Merge "Allow batteryFullChargeDesignCapacityUah to be 0" am: 2be786937c am: 4912a028cf am: 0c5dad9ce2 am: b2ab00e90d am: e81901720f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437294

Change-Id: I746591857c69da9c72c7bc3b06802ecd4d19a0ed
2020-09-25 19:50:48 +00:00
Treehugger Robot
dfc474c1e2 Merge "Clarify Health 2.1 design capacity type ranges" am: 80c84717d8 am: 75c766946f am: 55f5d51881 am: d613f40cf3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437295

Change-Id: I164adf9ef8146adc708807aa90405169cd93b4cb
2020-09-25 19:41:35 +00:00
Treehugger Robot
e81901720f Merge "Allow batteryFullChargeDesignCapacityUah to be 0" am: 2be786937c am: 4912a028cf am: 0c5dad9ce2 am: b2ab00e90d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437294

Change-Id: I69a3896f10edaca6d1e2011299727795b998ec2e
2020-09-25 19:41:23 +00:00
Roshan Pius
133389711d supplicant(vts): Stop adding empty instance for vendor HAL
We don't need to test supplicant in the presence of vendor HAL & without
it. For a given device, this behavior is fixed.

Bug: 161951052
Test: atest VtsHalWifiSupplicantV1_1TargetTest
Merged-In: I71097c3afef1765ca514abf2c350c423e3999020
Change-Id: I71097c3afef1765ca514abf2c350c423e3999020
2020-09-25 19:14:13 +00:00
Roshan Pius
f00ab8b77b Revert "wifi: remove wifi instance name string check"
This reverts commit 1c50a59eae.

Reason for revert: This was not needed. Does not fix the issue at hand.
Bug: 161951052
Merged-In: I872a1b3e87f17a43eb3c22c930e916c7e5e2d2a6
Change-Id: I872a1b3e87f17a43eb3c22c930e916c7e5e2d2a6
2020-09-25 19:13:45 +00:00
Treehugger Robot
d613f40cf3 Merge "Clarify Health 2.1 design capacity type ranges" am: 80c84717d8 am: 75c766946f am: 55f5d51881
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437295

Change-Id: I9520e5b8409b7488d2a6ef95faff165850d24662
2020-09-25 19:10:03 +00:00
Treehugger Robot
b2ab00e90d Merge "Allow batteryFullChargeDesignCapacityUah to be 0" am: 2be786937c am: 4912a028cf am: 0c5dad9ce2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437294

Change-Id: Iba499c16eb92851ac7e04fabc962a4e3cedfc2ec
2020-09-25 19:08:57 +00:00
Treehugger Robot
55f5d51881 Merge "Clarify Health 2.1 design capacity type ranges" am: 80c84717d8 am: 75c766946f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437295

Change-Id: I07e8a94bb2319cea56234fe6a35397dd69b40dbb
2020-09-25 18:40:48 +00:00
Treehugger Robot
0c5dad9ce2 Merge "Allow batteryFullChargeDesignCapacityUah to be 0" am: 2be786937c am: 4912a028cf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437294

Change-Id: Ib11c5e88b55bee8ce5121601f3574a53606544ad
2020-09-25 18:40:42 +00:00
Treehugger Robot
75c766946f Merge "Clarify Health 2.1 design capacity type ranges" am: 80c84717d8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437295

Change-Id: I04dad4241e56a0053b910557fb320af2fe54e89e
2020-09-25 18:35:26 +00:00
Treehugger Robot
4912a028cf Merge "Allow batteryFullChargeDesignCapacityUah to be 0" am: 2be786937c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437294

Change-Id: I2a9c9fe687b080e77a7650d3d1d5a4d326ca9f78
2020-09-25 18:29:31 +00:00
Treehugger Robot
80c84717d8 Merge "Clarify Health 2.1 design capacity type ranges" 2020-09-25 17:32:03 +00:00
Treehugger Robot
2be786937c Merge "Allow batteryFullChargeDesignCapacityUah to be 0" 2020-09-25 17:24:54 +00:00
Treehugger Robot
224824b2dc Merge "vts: Use global hostapd_ since teardown will call terminate function" am: 77c3b52888 am: 7ce0280a4d am: c663e086fd am: 45de416230 am: bd3a9bae8a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436771

Change-Id: I367f68fb2cd380085bc1423be4feea7118bd83f1
2020-09-25 07:50:03 +00:00
Treehugger Robot
bd3a9bae8a Merge "vts: Use global hostapd_ since teardown will call terminate function" am: 77c3b52888 am: 7ce0280a4d am: c663e086fd am: 45de416230
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436771

Change-Id: If17caa26b7dde0f77320ea9e5431b44f74c964ab
2020-09-25 07:35:03 +00:00
Treehugger Robot
45de416230 Merge "vts: Use global hostapd_ since teardown will call terminate function" am: 77c3b52888 am: 7ce0280a4d am: c663e086fd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436771

Change-Id: Ie115c353c00de1ed166c0bc34ad608a271493fb6
2020-09-25 07:18:32 +00:00
Treehugger Robot
c663e086fd Merge "vts: Use global hostapd_ since teardown will call terminate function" am: 77c3b52888 am: 7ce0280a4d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436771

Change-Id: I46da75297a7d58c4db18831a7aba491e3801c400
2020-09-25 07:07:34 +00:00
Treehugger Robot
7ce0280a4d Merge "vts: Use global hostapd_ since teardown will call terminate function" am: 77c3b52888
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436771

Change-Id: Iaa5db64487b56cc1bb78da2f437596d813bc5d16
2020-09-25 06:41:12 +00:00
Lakshman Annadorai
a1fcd09b46 Remove MIN and MAX checking for hidl_enum in UserHalHelper native library. am: bfaf79c9c6 am: fd45e7404b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12663093

Change-Id: I66dfdc8d517885c57e0bb840bcf243df84e3ca71
2020-09-25 05:35:18 +00:00
Daniel Bright
c7a52cb2fc Merge "Add Handover Failure Mode to Radio Hal" 2020-09-25 05:32:16 +00:00
Lakshman Annadorai
fd45e7404b Remove MIN and MAX checking for hidl_enum in UserHalHelper native library. am: bfaf79c9c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12663093

Change-Id: Icf2fa91a0bf466ce93c4b8365773801c8d7c9755
2020-09-25 05:24:55 +00:00
Treehugger Robot
77c3b52888 Merge "vts: Use global hostapd_ since teardown will call terminate function" 2020-09-25 05:01:41 +00:00
TreeHugger Robot
eab5bfbe10 Merge "Add explanation to VHAL_HEARTBEAT property" 2020-09-25 00:53:47 +00:00
Antonio Kantek
69e6fc6e15 Merge "Introducing OEM partner custom input type (HW_CUSTOM_INPUT)" 2020-09-24 20:32:26 +00:00
Yifan Hong
b1502e33c2 Merge "Allow batteryChargeTimeToFullNowSeconds to be -1" am: 4e2d45ba53 am: 0d35a17357 am: 0a09e17cc1 am: 738df72fc7 am: 591ad7c705
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436094

Change-Id: Ib4085261190a8207c70dd72ba9ecd8a87d7dcc0f
2020-09-24 20:10:41 +00:00
Yifan Hong
591ad7c705 Merge "Allow batteryChargeTimeToFullNowSeconds to be -1" am: 4e2d45ba53 am: 0d35a17357 am: 0a09e17cc1 am: 738df72fc7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436094

Change-Id: I0caa9ab29c8f4aaf911ef49bdf8e8eca1248b3e2
2020-09-24 19:37:55 +00:00
Stephane Lee
086a33b39d Clarify Health 2.1 design capacity type ranges
Bug: 166841711
Test: Compile
Change-Id: Iee623638dfb606df55a6e13bd58e58ae2e8dd305
2020-09-24 12:20:18 -07:00
Stephane Lee
6bed2f3207 Allow batteryFullChargeDesignCapacityUah to be 0
Bug: 166841711
Test: Run VtsHalHealthV2_1TargetTest with a battery design capacity of 0
Change-Id: I48bea0e2a8e4f8eeba8874e44a9bf6aa00bfd637
2020-09-24 12:19:52 -07:00
Yifan Hong
738df72fc7 Merge "Allow batteryChargeTimeToFullNowSeconds to be -1" am: 4e2d45ba53 am: 0d35a17357 am: 0a09e17cc1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436094

Change-Id: Ic6f5360566681967bfb589340ce85789d5534ecb
2020-09-24 18:58:39 +00:00
Yifan Hong
0a09e17cc1 Merge "Allow batteryChargeTimeToFullNowSeconds to be -1" am: 4e2d45ba53 am: 0d35a17357
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436094

Change-Id: If1dd391e0b7d83bae6cedea04ff40df126e53d66
2020-09-24 18:38:52 +00:00
Yifan Hong
0d35a17357 Merge "Allow batteryChargeTimeToFullNowSeconds to be -1" am: 4e2d45ba53
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436094

Change-Id: I9ceb70387f9ddad43a1443c63fda707a7f7e253c
2020-09-24 17:50:52 +00:00
Yifan Hong
4e2d45ba53 Merge "Allow batteryChargeTimeToFullNowSeconds to be -1" 2020-09-24 17:30:37 +00:00
lesl
b688ea7e73 vts: Use global hostapd_ since teardown will call terminate function
aosp/1427815 add invoke terminate function in teardown function.
It will cause Create Test case fail since Create killed global hostapd_
service to re-generate the local one.
Use global hostapd_ to replace local variable to make teardown function
work normally.

Bug: 169248773
Test: atest -c VtsHalWifiHostapdV1_2TargetTest
Test: atest -c VtsHalWifiHostapdV1_1TargetTest
Test: atest -c VtsHalWifiHostapdV1_0TargetTest
Change-Id: I6300a626db76e68873bbc34c489a9a8ee2d55e7a
2020-09-24 08:17:34 +00:00
Kevin Chyn
9041294443 Merge changes Ie78e42b9,Ibf2baa14
* changes:
  Tweaks to fingerprint AIDL
  Reformat biometric interface documentation to 100 cols
2020-09-24 00:28:06 +00:00
Kevin Chyn
749799387e Tweaks to fingerprint AIDL
1) Explicit numbering for Error enum, which contains intentionally
   skipped entries for backwards compatibility
2) Documentation for vendorCode. The vendorCodes must have a well
   defined behavior with the array API for things like GSI to work,
   e.g. generic system image with non-generic HAL implementation -
   with this explicit requirement, both components, as long as the
   contract is followed, would allow proper string feedback to be
   loaded/shown.

Bug: 168843220
Test: Builds
Change-Id: Ie78e42b926351a03162a4a6e40f3325641c34609
2020-09-23 15:48:42 -07:00
Kevin Chyn
3388eebde5 Reformat biometric interface documentation to 100 cols
Bug: 168843220
Test: Builds
Change-Id: Ibf2baa14f8c8bd47250dd964eab68307e3885b4c
2020-09-23 14:29:38 -07:00
Stephane Lee
c2dc510a0a Allow batteryChargeTimeToFullNowSeconds to be -1
Test: Run the test under an implementation that doesn't support
  batteryChargeTimeToFullNowSeconds
Bug: 166841711
Change-Id: I18fb11bb0a2233a9a89183a5f9ecf597e7719172
2020-09-23 14:27:53 -07:00
Kevin Chyn
ac378f41fa Merge changes I0b7e7ab3,I92db9b22,I24615333,I7ca0365b
* changes:
  Move lockout callbacks to ISessionCallback
  Finish remainder of documentation.
  Minor API changes and additional documentation for IFingerprint
  Update fingerprint #authenticate interfaces & documentation
2020-09-23 20:24:39 +00:00
Daniel Bright
ea8d801f54 Add Handover Failure Mode to Radio Hal
On a handover request failure, the modem can now determine
whether or not to fallback.  There is also the option to revert
to the legacy logic.  Following the legacy logic is the default
behavior.

Test: FrameworkTelephonyTests
Bug: 161572465
Change-Id: Iad778e83ffc264ee25f57f54ff58532d6a8c5cbf
2020-09-23 13:15:39 -07:00
Kevin Chyn
ef79d661ba Move lockout callbacks to ISessionCallback
Also fixes backward compatibility for AcquiredInfo and Error
constants.

For lockout-related changes:
1) If a session doesn't exist, it means the framework (or higher)
   doesn't care about its lockout state.
2) This allows the ISession#authenticate lifecycle to be clearer,
   e.g. no need for ILockoutCallback#onLockoutTimed followed by
   ISessionCallback#onError(LOCKOUT)

Bug: 168842956
Bug: 168843220

Test: make -j android.hardware.biometrics.fingerprint-update-api
Test: make -j
Test: make -j VtsHalBiometricsFingerprintTargetTest
Change-Id: I0b7e7ab3b89d0d1d7647535af07766c493a2067b
2020-09-23 11:40:13 -07:00
Kevin Chyn
8b3cd5db21 Finish remainder of documentation.
Note that this doesn't mean documentation is done, it just means that
previously undocumented areas now at least have some documentation.

Bug: 168843220
Test: Builds

Change-Id: I92db9b228d46b3925d3f7ae56698f7c52a0ae1bf
2020-09-23 11:27:01 -07:00
Kevin Chyn
1288c105a7 Minor API changes and additional documentation for IFingerprint
1) Removes vendorCode from onEnrollmentProgress. This is already
   being sent in ISessionCallback#onAcquired
2) Adds missing SessionState::INVALIDATING_AUTHENTICATOR_ID state

Test: make -j56 android.hardware.biometrics.fingerprint-update-api
Test: make -j56 VtsHalBiometricsFingerprintTargetTest
Test: make -j56

Change-Id: I246153339b336c029c9f156868127456aecf1a04
2020-09-23 11:07:59 -07:00
Eric Jeong
90a29284e2 Add explanation to VHAL_HEARTBEAT property
Bug: 168132371
Test: build okay
Change-Id: I0755779b09ba830fae9f4017306740ec05b2f949
2020-09-23 09:41:20 -07:00
Les Lee
8fa716a72f Merge "wifi: Add access network type support" 2020-09-23 14:02:37 +00:00
Kevin Chyn
64c13a083a Update fingerprint #authenticate interfaces & documentation
1) Split into onAuthenticationSucceeded and onAuthenticaitonFailed.
   No longer need to use "weird behavior" below:
   A) authenticated(id=0) == reject
   B) onEnrolled(id=0) --> previously forbidden
   C) remove(id=0) --> previously magic number to remove all
      enrollments. The new interface has remove(int[] ids).
2) Renames keystoreOperationId to operationId, since keystore
   is only one example of a valid use case. operationId and HATs
   can be used as attestation for any opaque operation.

Bug: 168842956
Bug: 168843220

Test: make -j56 android.hardware.biometrics.fingerprint-update-api
Test: make -j56 VtsHalBiometricsFingerprintTargetTest
Change-Id: I7ca0365be9cf82539d6cabc6d9fcec916badc323
2020-09-23 00:18:55 -07:00
Devin Moore
5152ded395 Merge changes from topic "revert-1433252-revert-1431616-thirtytwo-QKCUUIXLZL-QJYJJALHBY" am: 51dc008bd3 am: 359970caaf am: e30e9d9d67 am: 022d9abfae am: 172c490db6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1434354

Change-Id: Ie30e61029ba87e0c0f5cedc18683891502ae5b05
2020-09-22 22:29:32 +00:00
Devin Moore
3a79b5f5b5 Reland "Change HIDL fmq tests to use int32_t for payload" am: 7a26802481 am: 8980ac3b5f am: 99ace1c2f4 am: 7178223c75 am: 599e196d74
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1434353

Change-Id: I955ec3bb3fb375f2405519cdd9b02612cceb8959
2020-09-22 22:29:29 +00:00
Devin Moore
172c490db6 Merge changes from topic "revert-1433252-revert-1431616-thirtytwo-QKCUUIXLZL-QJYJJALHBY" am: 51dc008bd3 am: 359970caaf am: e30e9d9d67 am: 022d9abfae
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1434354

Change-Id: Id70f2a2b18bce22fbe7602a2ea70da7f78350b77
2020-09-22 22:00:30 +00:00