Commit Graph

24764 Commits

Author SHA1 Message Date
Tim Lin
e29df60bdc add new RadioError
Support RadioError:RF_HARDWARE_ISSUE and RadioError:NO_RF_CALIBRATION_INFO for
setRadioPowerResponse_1_6().

Bug: 170938075
Test: build. VTS on Cuttlefish.
Change-Id: Iaf582c31f439810db34693c61e58ff1f4dfd19fd
2020-10-23 00:59:16 +00:00
Daniel Bright
f8e858b478 Merge "Add Handover Failure Mode to Radio Hal" 2020-10-22 21:38:58 +00:00
Yifan Hong
a53f69e158 Merge "Reland "Remove legacy/O/O-MR1 matrices."" 2020-10-22 17:24:50 +00:00
Treehugger Robot
f3d65e5278 Merge "Modify VTS NoStaleEvents test to omit on-change sensors" 2020-10-21 22:07:51 +00:00
Daniel Bright
64c8da6fa0 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
Merged-In: Iad778e83ffc264ee25f57f54ff58532d6a8c5cbf
2020-10-21 13:44:26 -07:00
Treehugger Robot
61c62c6b56 Merge "Update VNDK version for common graphics HALs." 2020-10-20 23:56:51 +00:00
Yifan Hong
6777f8aede Reland "Remove legacy/O/O-MR1 matrices."
This reverts commit 540dc2771a.

Reason for revert: reland because target-level 2 are fixed

Bug: 163419744
Change-Id: I293852d50de9a4eeaeec6ccf4c0290f1c1b0012d
2020-10-20 19:28:34 +00:00
Yifan Hong
305fa1d5fe Merge "Revert "Remove legacy/O/O-MR1 matrices."" 2020-10-20 19:26:59 +00:00
Yifan Hong
540dc2771a Revert "Remove legacy/O/O-MR1 matrices."
Revert "Remove O/O-MR1 kernel configs."

Revert submission 1465685-remove_o_vintf

Reason for revert: target-level 2 devices aren't properly cleaned up

Bug: 171317032

Reverted Changes:
I5a08d616e:Remove O/O-MR1 kernel configs.
I2a65f5a24:Remove legacy/O/O-MR1 matrices.

Change-Id: I47670918183b3f419c6976ab922b87c97c9644cf
2020-10-20 18:59:13 +00:00
Yifan Hong
0d7adccb53 Merge "Remove legacy/O/O-MR1 matrices." 2020-10-20 17:07:23 +00:00
Yifan Hong
0b5c62fd79 Remove legacy/O/O-MR1 matrices.
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
2020-10-19 17:37:11 -07:00
Treehugger Robot
cdf176e17b Merge "Merge redfin/bramble support." 2020-10-19 23:20:08 +00:00
Steven Moreland
67f5d0f838 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
Merged-In: I4094240656f357b5ae52194befd0e10627b9fe23
2020-10-19 21:04:14 +00:00
Eric Hefner
812d9b50f6 Modify VTS NoStaleEvents test to omit on-change sensors
- add utility function to select non one-shot, non on-change and
  non special-report sensors
- apply to NoStaleEvents test case
- remove unnecessary checks related to on-change sensors

b/170315229

Change-Id: I349fe8be35fd1fa6f9ff1e0844b09815006a18b8
2020-10-19 13:34:16 -05:00
Xin Li
625bfc25bb Merge redfin/bramble support.
Bug: 171218636
Merged-In: Ib4f79f13505061c294b0f9b120765d866aad38cc
Change-Id: I13240f1a052fe887219e5ecf30e86a2a6b294528
2020-10-19 10:08:21 -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
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
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
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
TreeHugger Robot
251697bd9b Merge "Merge ab/6749736 in stage." into stage-aosp-master 2020-10-13 03:31:34 +00:00
Steven Moreland
8e69ad680f Merge "camera 2.4: conditionally disable memory init" am: 6c6fd401a8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1449141

Change-Id: I0ca8708661ca5834fc311d14a29adb1a17509aa3
2020-10-12 17:22:07 +00:00
Steven Moreland
6c6fd401a8 Merge "camera 2.4: conditionally disable memory init" 2020-10-12 16:59:23 +00:00
Devin Moore
23a52ecdb9 Add android.hardware.common.fmq to fcm_exclude
There is no top level interface in this package.

Test: m
Bug: 142326204
Change-Id: I895561ba265ea534b2da1f29f1d3056d0a9e452d
2020-10-09 13:37:12 -07:00
Devin Moore
14b2cbe96d Move AIDL FMQ types from android.hardware.common
Moved the types to andrdoid.hardware.common.fmq.
This allows modules to depend on the unstable version of the library
without conflicting with modules that depend on the stable version of
android.hardware.common.

Test: atest fmq_unit_tests fmq_test
Bug: 142326204
Change-Id: I3091f52c4e763a15fd9a1b7451a1455a06fb4c30
2020-10-09 13:00:16 -07:00
Grzegorz Kolodziejczyk
a1663edb70 Introduce LE Audio software provider for bluetooth audio 2.1 am: b5f2d23e26
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1404810

Change-Id: I65a6147393994eafa71fbfcd152ef24586cb1bb5
2020-10-09 18:07:48 +00:00
Grzegorz Kolodziejczyk
b5f2d23e26 Introduce LE Audio software provider for bluetooth audio 2.1
Patch introduces LE Audio software encoding provider for bluetooth audio 2.1.

Bug: 150670922
Tag: #feature
Test: vts-tradefed run vts -m VtsHalBluetoothAudioV2_1TargetTest
Sponsor: jpawlowski@
Change-Id: If668593be7a46c9abcc45d21c5bdb9b493864cc1
2020-10-09 17:54:44 +00:00
Xin Li
50393137ed Merge ab/6749736 in stage.
Bug: 167233921
Merged-In: I6756cad681e4cfa01868450214da0d7b2d5261e4
Change-Id: Ia529ecf4f48248d5af63673f359916486f71bc35
2020-10-08 23:22:52 -07:00
Treehugger Robot
4e7d50fe01 Merge "doc: DEVICE_*_MATRIX_FILE specifies absolute paths" am: cc6279316f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1455056

Change-Id: Idc8ef4e5fed0d6a328f4d905cb6af211302f6801
2020-10-08 22:35:36 +00:00
Treehugger Robot
cc6279316f Merge "doc: DEVICE_*_MATRIX_FILE specifies absolute paths" 2020-10-08 22:33:11 +00:00
Blair Prescott
bd7b0bceee wifi: Fix VTS error for non-p2p devices am: 230e96521d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1453396

Change-Id: I24c7f0abc78d065d0fec4f0c158501295603a9dc
2020-10-08 22:16:21 +00:00
Steven Moreland
3aa4754785 doc: DEVICE_*_MATRIX_FILE specifies absolute paths
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
2020-10-08 17:16:32 +00:00
Blair Prescott
230e96521d wifi: Fix VTS error for non-p2p devices
Fix VtsHalWifiSupplicantP2pV1_0TargetTest to skip tests
in such a way that VTS reports the module as complete on
devices that don't support Wifi Direct.

Bug: 170326147
Test: run vts -m VtsHalWifiSupplicantP2pV1_0TargetTest
Change-Id: Ia418c4bb72f4772422d724636453395c4ba9fb2d
2020-10-07 19:54:39 +00:00
Michael Butler
b175b10734 Merge "Create conversions to/from NNAPI canonical types" am: f77f02bf50
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1449138

Change-Id: Ic1a7e29d28a9c6ac3213a2fe95b5732206a0da85
2020-10-06 21:49:31 +00:00
Michael Butler
f77f02bf50 Merge "Create conversions to/from NNAPI canonical types" 2020-10-06 21:22:49 +00:00
Treehugger Robot
06640f702b Merge "Remove vts10 reference vts_target_tests_defaults" am: c576a3ccba
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1449815

Change-Id: I372939a9814fb5f93a2178f695d0c8253b291fd2
2020-10-05 23:46:34 +00:00
Steven Moreland
590f44eeed camera 2.4: conditionally disable memory init
This needs to be disabled on Pixel 3, but this is the only place w/
source code visible in AOSP. So, it is implemented as a mechanism.

Bug: 166675194
Test: atest android.hardware.camera2.cts.PerformanceTest
Change-Id: I0d91389432906a917696d27d27b4d6d96e64d09f
2020-10-05 23:45:34 +00:00
Treehugger Robot
c576a3ccba Merge "Remove vts10 reference vts_target_tests_defaults" 2020-10-05 23:34:35 +00:00
Treehugger Robot
60ce011e2f Merge "wifi: Deprecate older versions of wifi HAL" am: 3d2cde64ee
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1448439

Change-Id: I73569302fbf6af2bc53e438e8558caf5a704993f
2020-10-05 20:49:10 +00:00
Treehugger Robot
3d2cde64ee Merge "wifi: Deprecate older versions of wifi HAL" 2020-10-05 20:30:20 +00:00
Michael Butler
b98aa6d6bf Create conversions to/from NNAPI canonical types
This CL creates the following primary sets of functions:
* V1_X::utils::convert(<canonical_type>) -- Converts a canonical type
  to the corresponding HAL version type.
* nn::convert(<V1_X_HAL_type>) -- Converts a HAL version type to the
  corresponding canonical type.
* neuralnetworks::utils::hasNoPointerData -- Indicates if the object
  contains no pointer-based data that could be relocated to shared
  memory.
* neuralnetworks::utils::flushDataFromPointerToShared -- Relocate
  pointer-based data to shared memory.
* neuralnetworks::utils::unflushDataFromSharedToPointer -- Undoes
  `flushDataFromPointerToShared` on a Request object. More
  specifically, `unflushDataFromSharedToPointer` copies the output
  shared memory data from the transformed Request object back to the
  output pointer-based memory in the original Request object.

It also introduces some other minor utility code, including
makeQuantized8PerformanceConsistentWithP, countNumberOfConsumers,
validate, valid, and validatedConvertToCanonical.

Bug: 160667419
Test: mma
Change-Id: I0732e658c1f4ed40cd122f1ca8581fb40b056757
Merged-In: I0732e658c1f4ed40cd122f1ca8581fb40b056757
(cherry picked from commit a685c3dbf4)
2020-10-05 12:47:57 -07:00
Treehugger Robot
d66b12008f Merge "Skip GnssMeasurement VTS for Android Automotive OS." am: d8a767a847
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1443915

Change-Id: Ic934f94ed2cb553ba473e3d2cd1074a140048328
2020-10-05 18:42:05 +00:00
Treehugger Robot
d8a767a847 Merge "Skip GnssMeasurement VTS for Android Automotive OS." 2020-10-05 18:38:50 +00:00
Dan Shi
f27b504a10 Remove vts10 reference vts_target_tests_defaults
The module is obsoleted.

Bug: 169581727
Test: build
Change-Id: I55853a2cde4c042c489b0e6ac8bcab93fc47be73
2020-10-05 10:48:24 -07:00
Roshan Pius
5a3efa4878 wifi: Deprecate older versions of wifi HAL
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
2020-10-05 09:11:13 -07:00
Joseph Jang
a174737057 Merge "fastboot: add a new oem command for post wipe userdata" am: 4433d35af9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1435112

Change-Id: Id0987ef9d4b6e5de171940e9ac28f5d8fa4bb881
2020-10-05 02:53:10 +00:00
Joseph Jang
4433d35af9 Merge "fastboot: add a new oem command for post wipe userdata" 2020-10-05 02:34:52 +00:00
Steven Moreland
10f1f66898 Merge "hidl_test_java interfaces: use generic interfaces" am: 730aef9a78
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1445778

Change-Id: Ic61e26ed271f748df3a5da83878b2e10fec734f1
2020-10-02 16:51:13 +00:00
Steven Moreland
730aef9a78 Merge "hidl_test_java interfaces: use generic interfaces" 2020-10-02 16:32:25 +00:00
Steven Moreland
c0236f06e7 hidl_test_java interfaces: use generic interfaces
In places where we are passing interfaces, pass around
android.hidl.base.IBase to give flexibility to the test implementation,
specifically in order to avoid passing local binders to Java process,
which is a disabled feature.

Bug: 169369810
Test: atest hidl_test hidl_test_java
Change-Id: I7721a6ec7e72b96915a0dc66aa8e75c327032d1f
2020-10-01 23:20:44 +00:00