Commit graph

9913 commits

Author SHA1 Message Date
Keun Soo Yim
e095cdc7b6 Merge "Add more drm@1.1 VTS structure tests" into pi-dev 2018-03-28 05:34:47 +00:00
Ahmed ElArabawy
ef8890b691 Merge changes from topic "propagate_eap_failure" into pi-dev
* changes:
  WiFi: Add vts tests for ISupplicantStaIface 1.1
  WiFi: supplicant HAL: Modify onEapFailure Callback
2018-03-28 00:04:57 +00:00
Jeff Tinker
2b46111ec8 Add more drm@1.1 VTS structure tests
Adding tests for:
 getKeyRequest_1_1
 getSecureStopIds
 releaseSecureStops
 removeSecureStop
 removeAllSecureStops

test:vts-tradefed run commandAndExit vts-staging-default -m VtsHalDrmV1_1Target
bug:73330999

Change-Id: Icd6c3e679ea674f899563a8d8e428321a7783633
2018-03-27 16:30:34 -07:00
TreeHugger Robot
c7d15e9f51 Merge "Camera2: Add distortion correction support" into pi-dev 2018-03-27 19:26:45 +00:00
Ahmed ElArabawy
c173cbb5cd WiFi: Add vts tests for ISupplicantStaIface 1.1
This Commit adds the tests for the ISupplicantStaIface for V1.1

Bug: 64612561
Test: Manual

Change-Id: Id5608d0f985004a22954f368ac0fa19886f7421d
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-03-27 11:12:42 -07:00
Ahmed ElArabawy
8b837b313b WiFi: supplicant HAL: Modify onEapFailure Callback
This commit modifies the onEapFailure call back to include the error code.
This enables the framework to react on the different errors reported by
the EAP methods.

Bug: 64612561
Test: Manual

Change-Id: I793b61b898df63f07dc2e40798a6d6761d8e259d
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-03-27 11:12:42 -07:00
Kevin Rocard
1641a23adf Audio V4: fix typo in XSD for VTS
Bug: 76165942
Bug: 74037175
Bug: 38184704
Change-Id: If8acbdfd27af726620d53fbded139f1107817ef4
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-03-27 16:32:00 +00:00
Tom Cherry
1e1dc2b068 Merge "Add capabilities to bluetooth HAL service" into pi-dev 2018-03-27 15:57:41 +00:00
Bernie Innocenti
28986e52e7 Merge "Wire readApfPacketFilterData() to the legacy hal" into pi-dev 2018-03-27 07:25:00 +00:00
TreeHugger Robot
6483c7cbc9 Merge "Add Vendor comand to ConfirmationUI support msg_formatting" into pi-dev 2018-03-26 21:10:46 +00:00
David Gross
fac7bca33e Merge "Add validation tests for consistency of model inputs and outputs." into pi-dev 2018-03-26 19:09:53 +00:00
TreeHugger Robot
3df7964f07 Merge "Fix AP_POWER_BOOTUP_REASON to be static" into pi-dev 2018-03-26 19:03:04 +00:00
Tom Cherry
345154cd0e Add capabilities to bluetooth HAL service
Bug: 74554159
Test: BT works on walleye
Change-Id: Ib2e1be66ae92ce742540a50cffc8c675db945655
(cherry picked from commit f03dbc6924)
2018-03-26 11:11:55 -07:00
Bernie Innocenti
7e6f71ad92 Wire readApfPacketFilterData() to the legacy hal
Bug: 73804303
Bug: 36221302
Change-Id: If5d9d3afd40758aea98832e4b350216f496fc3bd
Test: built and flashed, verified boot
(cherry picked from commit efbb9c3f59)
2018-03-26 14:07:26 +09:00
Enrico Granata
fc40e7d7f9 Merge "Make toInt() a little bit shorter by moving std::underlying_type to a template argument" into pi-dev 2018-03-23 22:42:01 +00:00
Enrico Granata
ad7b927993 Make toInt() a little bit shorter by moving std::underlying_type to a template argument
No feature change.

Bug: b/75328113
Test: build
Change-Id: I262493821da7bb06618680932cf93ec25671cfe4
2018-03-23 22:41:40 +00:00
Steve Paik
25aa123f7d Fix AP_POWER_BOOTUP_REASON to be static
Bug: 69284418
Test: VTS passes
Change-Id: Ia4816b4d9329c8bd02bf325aed6cfe5bdda30c70
2018-03-23 14:26:35 -07:00
Tom Cherry
a8617fa6c5 Merge "Add capabilities to wifi HAL service" into pi-dev 2018-03-23 19:59:47 +00:00
Tom Cherry
a46c622822 Add capabilities to wifi HAL service
Bug: 74554159
Test: wifi works on walleye
Change-Id: Ia6784e78a7faec914cbbecbe84800c4fbe46c00b
2018-03-23 19:46:51 +00:00
David Gross
7a76d8a7a8 Add validation tests for consistency of model inputs and outputs.
Test: VtsHalNeuralnetworksV1_1TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.1::IDevice/sample-all --gtest_filter=Flavor/NeuralnetworksInputsOutputsTest.*
Test: VtsHalNeuralnetworksV1_1TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.1::IDevice/sample-float-fast --gtest_filter=Flavor/NeuralnetworksInputsOutputsTest.*
Test: VtsHalNeuralnetworksV1_1TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.1::IDevice/sample-quant --gtest_filter=Flavor/NeuralnetworksInputsOutputsTest.*

Bug: 67828197
Change-Id: I245227dce095b9cbbb9b527ad99aa71d11f77c4f
2018-03-23 10:12:47 -07:00
Janis Danisevskis
f7e5f24ff8 Add Vendor comand to ConfirmationUI support msg_formatting
This is not a HAL change. It just adds a command to msg_formatting.h as
a service to vendors who have to augment the protocol between the HAL
service and the TA or other implementation with janitorial commands that
don't effect the HAL interface.

Bug: 76152930
Test: No functional change
Change-Id: I5d4e5dadea29d4c7d51753939eda6c3f3571fae1
2018-03-22 10:43:22 -07:00
TreeHugger Robot
4bca86e287 Merge "Audio V4: do not override V4 audo policy config XSD" into pi-dev 2018-03-22 06:35:14 +00:00
TreeHugger Robot
bd506eb539 Merge "Comment updated for privacy clarity" into pi-dev 2018-03-22 06:00:26 +00:00
TreeHugger Robot
a78f67cb72 Merge "fpc: keep fpc in system-background" into pi-dev 2018-03-22 03:29:24 +00:00
Wyatt Riley
e5c92bb789 Comment updated for privacy clarity
Clarifying model name does not allow device specific
indentification.

Bug: 73951626
Test: Build only (comment only)
Change-Id: Ib10176ec4db935fe87330b39977b7ab6b281808f
2018-03-21 17:29:33 -07:00
Tim Murray
d0fdb4431d fpc: keep fpc in system-background
The fingerprint HAL is insensitive to increased CPU throughput, but it also
has a tendency to spin while waiting for FP hardware. Limit FPC to the
system-background cpuset in order to avoid increased power consumption
when accidentally touching the fingerprint sensor.

bug 76115243
Test: fingerprint in system-background cpuset on taimen

Change-Id: Iaffe6f63bd76b7a1c4acaf0cae980840af515961
2018-03-21 15:42:09 -07:00
Kevin Rocard
a8da86e403 Audio V4: do not override V4 audo policy config XSD
The xsd did not have its version in its name, thus the V4 and V2 were
overwriting each other.

Bug: 38184704
Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV4_0Target
Change-Id: Id7e733729a9afcdcc582f88a5527b6eb1c7283bf
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-03-21 14:43:36 -07:00
TreeHugger Robot
3bf9a53ff3 Merge "Add strongbox KM instance as optional" into pi-dev 2018-03-21 21:22:42 +00:00
Emilian Peev
b99879b106 Camera: Remove length check in case of 'getCameraIdList' am: 51aba6781c
am: 07038cfde1

Change-Id: I3d49fb385056676f48fb9e16daa26467233d3ed2
2018-03-21 09:12:39 +00:00
Emilian Peev
07038cfde1 Camera: Remove length check in case of 'getCameraIdList'
am: 51aba6781c

Change-Id: I652a266528c2eac2e9f9f8531577e565363cb0e7
2018-03-21 09:06:07 +00:00
TreeHugger Robot
14dc815cdc Merge changes from topic "audio-hal-v4" into pi-dev
* changes:
  Audio V4: Update V2 tests to V4
  Fix issues in ReturnIn
  Audio V4: Duplicate V2 tests
2018-03-21 03:13:53 +00:00
TreeHugger Robot
d331fc27af Merge "Remove KM strongbox instance temporarily" into pi-dev 2018-03-20 23:25:58 +00:00
Eino-Ville Talvala
89ff1df0b4 Merge "Camera2: Deprecate LENS_RADIAL_DISTORTION, add LENS_DISTORTION" into pi-dev 2018-03-20 21:58:15 +00:00
nagendra modadugu
8862966152 Add strongbox KM instance as optional
The strongbox instance of the Keymaster 4.0 HAL
is optional, as not all P devices are expected
to provide an implementation.

Test: builds
Bug: 68112778
Change-Id: I96a18cb31058d82b04ba3486a88ceac26058a7d2
2018-03-20 14:21:42 -07:00
nagendra modadugu
597197a5bf Remove KM strongbox instance temporarily
Strongbox is not supported on all devices
and breaks device builds (cf_x86_phone-userdebug).

This change to be relanded once dependencies are resolved.

Test: builds
Bug: 68112778
Change-Id: I846cdbcfdf7d0a76e0c86518da8a1bb4eeed3caa
2018-03-20 14:08:46 -07:00
TreeHugger Robot
ce77a51349 Merge "Add 5.1.2, 5.1.4, 7.1.2, 7.1.4 output channel masks" into pi-dev 2018-03-20 20:03:33 +00:00
TreeHugger Robot
74978ebac9 Merge "Update Makefiles Missed In Previous Commits" into pi-dev 2018-03-20 18:33:17 +00:00
Emilian Peev
51aba6781c Camera: Remove length check in case of 'getCameraIdList'
Camera providers must be able to report 0 camera devices.

Bug: 75234850
Test: vts-tradefed run vts --skip-all-system-status-check
--skip-preconditions --primary-abi-only --module
VtsHalCameraProviderV2_4Target -l INFO
Change-Id: Id3103ddcb4336fee01ee287c9e450b6f204a3da3
2018-03-20 09:57:07 +00:00
nagendra modadugu
02d1bb7a96 Add strongbox KM instance to compatibilty matrix
Test: builds
Bug: 68112778
Change-Id: If04ff2b5ab95dd1a17c145f509657e5438d00bdc
2018-03-19 18:11:02 -07:00
Nathan Harold
c893754c0d Update Makefiles Missed In Previous Commits
When calling update-makefiles.sh there are
some unrelated changes that were missed in
previous commits.

Bug: 8675309
Test: compilation
Change-Id: I5bf67fbcc809de36bde1869ada7b835566a5198b
2018-03-19 16:37:46 -07:00
TreeHugger Robot
1d8a1c95a0 Merge "Fix order of compatibility matrix." into pi-dev 2018-03-19 20:55:47 +00:00
TreeHugger Robot
ba20b76deb Merge changes I20310606,Ic23b7fb2 into pi-dev
* changes:
  Camera: more external camera CTS fix
  Camera: various external camera CTS fixes
2018-03-19 20:06:27 +00:00
Steven Moreland
6684b2c65c Fix order of compatibility matrix.
Bug: 65028233
Test: N/A
Change-Id: I46a0f86d19ba74186fc6eac32fa7c7b2289bcbdb
2018-03-19 11:23:56 -07:00
Dean Wheatley
ce8b2734f7 Add 5.1.2, 5.1.4, 7.1.2, 7.1.4 output channel masks
They were supposed to be added by the change with id
I2f488462614114e4c82149460b030585981ae15e
but actually were not.

Also, rename OUT_TOP_CENTER_... to OUT_TOP_SIDE_...
according to Dean's suggestion.

Bug: 38184704
Bug: 63901775
Test: make
Change-Id: Ib263b06e4f3aa84525c2255f7a52f9bb39dbebcd
2018-03-19 09:38:00 -07:00
TreeHugger Robot
4f9ad09267 Merge "Camera: Don't limit the camera provider types" into pi-dev 2018-03-19 11:22:19 +00:00
Eino-Ville Talvala
7b5fd70ca9 Camera2: Add distortion correction support
This allows camera devices to correct geometric distortion in their
optics, when requested by the application.

The correction only applies to processed (YUV, JPEG, etc) outputs,
not RAW buffers, or the result metadata.

Test: New CTS test passes
Bug: 74434422
Change-Id: I3b4807b08399e9ab18f4b20e3029fc16be662f5b
2018-03-18 18:52:23 -07:00
TreeHugger Robot
7371502a1f Merge "VehicleHal::set() should not be able to tamper with a property's AVAILABLE status Properties being (UN)AVAILABLE is used as a one-way communication mechanism from the hardware to the operating system, and not viceversa." into pi-dev 2018-03-17 03:43:20 +00:00
Enrico Granata
74268e6490 VehicleHal::set() should not be able to tamper with a property's AVAILABLE status
Properties being (UN)AVAILABLE is used as a one-way communication mechanism from the hardware
to the operating system, and not viceversa.

Add safety checks in our default HAL implementation to:
  - prevent Android from marking a property as UNAVAILABLE;
  - prevent Android from writing to an UNAVAILABLE property.

The combined effect of these two check is that only AVAILABLE properties are writable,
and they can never be flipped to UNAVAILABLE outside of the HAL implementation itself.

Bug: 74805437
Test: manual
Change-Id: Ib830427d604579015fa142f0fa76f8b73a68a452
2018-03-16 18:31:27 -07:00
Yifan Hong
1d853503ef Update compatibility_matrix.current.xml.
Add the following:
    android.hardware.neuralnetworks@1.0::IDevice/hvx
    android.hardware.soundtrigger@2.1::ISoundTriggerHw/default
    android.hardware.usb.gadget@1.0::IUsbGadget/default
    android.hardware.vibrator@1.2::IVibrator/default
    android.hardware.wifi.hostapd@1.0::IHostapd/default
    android.hardware.wifi.supplicant@1.1::ISupplicant/default
    android.hardware.wifi@1.2::IWifi/default

Test: builds (checks VINTF data at build time)
Bug: 68112778
Change-Id: I3c48f2c35c1a7a63549b1a30c9c2bb02d707a4a2
2018-03-16 16:32:25 -07:00
Eino-Ville Talvala
9171b61588 Camera2: Deprecate LENS_RADIAL_DISTORTION, add LENS_DISTORTION
LENS_RADIAL_DISTORTION is inconsistently defined: in some places, it
is documented to operate on the range [-1...1], and in others, on a
range dependent on the camera lens's intrinsic calibration and focal
length.

Since fixing just the definition will not fix any existing devices
that define this value, deprecate the old key and add a new consistent
one to make sure applications only reference the consistent
definition.

Test: Adjusted camera CTS passes
Bug: 74641761
Change-Id: Icefa3150a5804de264f9e0e98982d038b4dcdb70
2018-03-16 16:17:49 -07:00