Commit graph

23464 commits

Author SHA1 Message Date
Steven Moreland
6f32e963b1 *common: use package as name am: 014e70b1ea
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1364081

Change-Id: If2aaa0d17e8b77cba719b4a3515110ad8b36db26
2020-07-20 23:32:23 +00:00
Steven Moreland
1985ca3292 graphics common: fix AIDL BufferUsage calculation am: 2c7606b721
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1364097

Change-Id: I1d5607558a08753ff79995cc0d36ce3a548e2daf
2020-07-20 23:32:20 +00:00
Pawin Vongmasa
c1a5b51ab1 Add AIDL type for HardwareBuffer am: ae120eef52
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1364096

Change-Id: If23c0af55a237d0958d1bb4b43369b8e760afe13
2020-07-20 23:32:15 +00:00
Devin Moore
d0fd93097c Merge changes from topic "nativehandle"
* changes:
  *common: create current API dump
  *common: use package as name
  graphics common: fix AIDL BufferUsage calculation
  Add AIDL type for HardwareBuffer
2020-07-20 23:25:26 +00:00
Roman Kiryanov
411edccbb3 Provide defaults for android.hardware.audio@6.0-impl
This will allow vendors to create instances of
this library with other names. A different name
is required if a vendor wants to provide a custom
version (e.g. in HIDL) of
android.hardware.audio@6.0-impl and still
be able to use the library itself (e.g. to load
audio.r_submix.default) -
android.hardware.audio.service does not load both
libraries and prefers the default one.

Bug: 161485545
Test: boot emulator, check if audio works
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I55c4f9b1386be3464ad0f5f2568423843e7eae88
2020-07-20 16:08:17 -07:00
Inseob Kim
e396a3d004 Use shared variant of VNDK libmedia_helper
Vendor modules should use shared VNDK.

Bug: 137178339
Test: m && boot blueline
Change-Id: I56ad69125811ff768d8064af34acf5603b575b4b
Merged-In: I56ad69125811ff768d8064af34acf5603b575b4b
2020-07-20 16:08:00 -07:00
Treehugger Robot
b659a47fb2 Merge "Fix segfault." am: b278ae0c1e am: 5446c9c172
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1365592

Change-Id: I6502829205ede2de914b27e6c2c5c42916af2b39
2020-07-17 21:40:10 +00:00
Treehugger Robot
5446c9c172 Merge "Fix segfault." am: b278ae0c1e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1365592

Change-Id: Iefeda021f623ae7bfd7ee26173a9bb5af8827a2b
2020-07-17 21:29:19 +00:00
Treehugger Robot
b278ae0c1e Merge "Fix segfault." 2020-07-17 21:20:11 +00:00
Yifan Hong
339c986606 Fix segfault.
Fix code that incorrectly transforms a hidl_string to String8
by using size of another field.

Test: none
Fixes: 161210887
Change-Id: I54a11e9beab4c825905dda37b121e1fc85658215
2020-07-17 12:57:58 -07:00
Devin Moore
815e9dc82d *common: create current API dump
Generated files with:
m android.hardware.common-update-api
m android.hardware.graphics.common-update-api

Test: Builds
We don't want this commit merged into branches that have added
these types already, as they may have changed.
Merged-In: Ie1d92a50dddf7e3e1bd473e2a957279c6dadb865
Change-Id: I2d83dfdb1d0ba75c76774ded26c4ce93b1807097
2020-07-17 16:48:59 +00:00
android-build-team Robot
3fe3ba022e Snap for 6687127 from 30d2573834 to rvc-release
Change-Id: I8014289cf550f4291e9beabfdb7e2c639d27f4c7
2020-07-17 01:09:22 +00:00
Ady Abraham
8c33403a10 composer: 2.4: fix VTS usage of desired time am: 30d2573834
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12171999

Change-Id: I41b741a51c52e8e09e20e2dbd7f46c2b2238f840
2020-07-16 21:15:52 +00:00
Ady Abraham
30d2573834 composer: 2.4: fix VTS usage of desired time
Test_setActiveConfigWithConstraints is setting the desired time
for a config change to be before the test starts.
This causes the test to use the same value for all configurations,
which becomes stale the more configurations the device supports.
This fix is setting the desired time before calling
to setActiveConfigWithConstraints.

Bug: 161023185
Test: adb shell data/nativetest64/VtsHalGraphicsComposerV2_4TargetTest/VtsHalGraphicsComposerV2_4TargetTest
Change-Id: I236e5c9c16b4ba730677cd4c980a7071ba25840e
2020-07-16 20:00:44 +00:00
Slava Shklyaev
a2fbeefaa8 Fix typo in NNAPI documentation
Fix: 160960007
Test: m
Change-Id: I6c1af92f640fde833d2d93f7db4576c92a6f9719
Merged-In: I6c1af92f640fde833d2d93f7db4576c92a6f9719
(cherry picked from commit 3bbc2aedd0)
2020-07-16 11:50:23 +01:00
Slava Shklyaev
d23380f0a3 Fix stale NNAPI documentation
The scale and zeroPoint fields are applicable to other types since 1.2.

Also makes some whitespaces changes due to the generated documentation
getting out of sync with the template in frameworks/ml/nn.

Fix: 160406237
Test: generate_api.sh
Test: m
Change-Id: Icf594d40c73ff8c05044c320ac9eb6a9c5a89754
Merged-In: Icf594d40c73ff8c05044c320ac9eb6a9c5a89754
(cherry picked from commit 0d6cefe90b)
2020-07-16 11:49:56 +01:00
Steven Moreland
014e70b1ea *common: use package as name
In order to provide a more descriptive name, and to be consistent
with HIDL, the stable AIDL package names are switching from
vintf-*common format to the package format
(android.hardware.*common).

Bug: N/A
Test: all build time
Merged-In: Ie1d92a50dddf7e3e1bd473e2a957279c6dadb865
(cherry picked from commit 926aa80f04)
Change-Id: I82b2255986a7089e625e02a1b48906611178895d
2020-07-15 16:30:43 -07:00
Steven Moreland
2c7606b721 graphics common: fix AIDL BufferUsage calculation
This was hitting integer sanitization, which we are trying to turn on:
Before:
    VENDOR_MASK_HI = -65536L,
After:
    VENDOR_MASK_HI = -281474976710656L,

Bug: 148149098
Test: manually check output (see above).
Change-Id: I1e2d7c0225aec8bf67375eb6b0cdc919b4ece847
Merged-In: I1e2d7c0225aec8bf67375eb6b0cdc919b4ece847
(cherry picked from commit d9eb0d743c)
2020-07-15 14:37:43 -07:00
Pawin Vongmasa
ae120eef52 Add AIDL type for HardwareBuffer
This includes other types needed by HardwareBuffer.

Test: Builds

Bug: 145839204
Change-Id: I86c9d2f0cb04b597da9a93b7b6210b041312e1ac
Merged-In: I86c9d2f0cb04b597da9a93b7b6210b041312e1ac
(cherry picked from commit d535133127)
2020-07-15 14:36:31 -07:00
Shuo Qian
a1f7838ac7 [automerger skipped] Merge "Change range of SS-RSRQ per 3gpp" am: 32a90a06f4 am: 0e538f82a5 -s ours
am skip reason: Change-Id I377ef00015876b706ffeb20d9255c1b1ebf66c15 with SHA-1 074d9041e0 is in history

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

Change-Id: Ia9494517bef5187a7d9e47fdf2afc857e437acc7
2020-07-15 18:24:34 +00:00
Shuo Qian
1cb8ce1683 [automerger skipped] Merge "Change range of SS-RSRQ per 3gpp" am: a639d459a8 am: 4a15c88f69 -s ours
am skip reason: Change-Id I377ef00015876b706ffeb20d9255c1b1ebf66c15 with SHA-1 074d9041e0 is in history

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

Change-Id: I0b50b12e0956a3c90f814e53394e1104c8e1fa2a
2020-07-15 18:24:12 +00:00
Shuo Qian
0e538f82a5 Merge "Change range of SS-RSRQ per 3gpp" am: 32a90a06f4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1362181

Change-Id: I327d1f072644a54a24480c575befdb8c9cdb33aa
2020-07-15 18:04:46 +00:00
Shuo Qian
4a15c88f69 Merge "Change range of SS-RSRQ per 3gpp" am: a639d459a8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1362180

Change-Id: I38e27585de3432ed5fa2b8aa4610a80a04beb034
2020-07-15 18:04:08 +00:00
Shuo Qian
32a90a06f4 Merge "Change range of SS-RSRQ per 3gpp" 2020-07-15 17:43:24 +00:00
Shuo Qian
a639d459a8 Merge "Change range of SS-RSRQ per 3gpp" 2020-07-15 17:43:09 +00:00
android-build-team Robot
593b5aefdd Snap for 6680390 from 32e3cd9a02 to rvc-release
Change-Id: Id6af9430088ead465faddebc5b4acb47a5d40679
2020-07-15 01:09:02 +00:00
sqian
b09dd7ab44 Change range of SS-RSRQ per 3gpp
Bug: 159761054
Test: VTS
Merged-In: I377ef00015876b706ffeb20d9255c1b1ebf66c15
(cherry picked from commit cd3fd87d47)
Change-Id: I7f9526e7073188c1a4c553da9c38d7892c55078d
2020-07-15 00:46:43 +00:00
Shuo Qian
f4f6ef3a75 Change range of SS-RSRQ per 3gpp
Bug: 159761054
Test: VTS
Merged-In: I377ef00015876b706ffeb20d9255c1b1ebf66c15
(cherry picked from commit 074d9041e0)
Change-Id: I1b1335ecffde2d625cb099d7631e9115f6582b6c
2020-07-15 00:41:53 +00:00
TreeHugger Robot
4b90115190 Merge "composer: 2.4: VTS using old value for parameter" into rvc-dev am: 32e3cd9a02
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12143287

Change-Id: I4e4e31b8d71af30dbc6aac64564b00d166a14a87
2020-07-14 19:15:46 +00:00
TreeHugger Robot
32e3cd9a02 Merge "composer: 2.4: VTS using old value for parameter" into rvc-dev 2020-07-14 19:02:16 +00:00
Nate Jiang
3acf2015e0 Merge "[VTS] Use primary channel to enable RTT responder" into rvc-dev am: cf95a2fe53
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12109459

Change-Id: Idcf73c3e6993a171958c34a3a8b581c1106b6c71
2020-07-14 18:36:46 +00:00
David Zeuthen
3052b3d88f [automerger skipped] Merge "Identity: Add VTS test to check empty and semi-empty requests work properly." into rvc-dev am: 4035b2a587 -s ours
am skip reason: Change-Id I3205f2c0ded2ea315857438a3114ddcf8ef557f9 with SHA-1 7067a73ed2 is in history

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

Change-Id: Ib17deaaa8807d0818cedc105ea5f6db45eb04707
2020-07-14 18:36:36 +00:00
Nate Jiang
cf95a2fe53 Merge "[VTS] Use primary channel to enable RTT responder" into rvc-dev 2020-07-14 18:29:36 +00:00
David Zeuthen
4035b2a587 Merge "Identity: Add VTS test to check empty and semi-empty requests work properly." into rvc-dev 2020-07-14 18:23:19 +00:00
Victor Khimenko
c2d45376d4 [automerger skipped] Merge "Make android.hardware.renderscript@1.0 buildable for native_bridge" into rvc-dev am: 284806014a -s ours
am skip reason: Change-Id If11376cdd583629c8edfea17efb130dd68dc9b8f with SHA-1 7cac9425b0 is in history

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

Change-Id: Id157b121390b3e07e4eef065051c6610fdc2dea5
2020-07-14 17:25:44 +00:00
Victor Khimenko
284806014a Merge "Make android.hardware.renderscript@1.0 buildable for native_bridge" into rvc-dev 2020-07-14 17:18:35 +00:00
android-build-team Robot
f6ffad5800 Snap for 6676900 from 88990e687c to rvc-release
Change-Id: I96ada7b39781b9d9fc612dae8e62a2cf157435e0
2020-07-14 01:14:45 +00:00
Ady Abraham
0a19601eae composer: 2.4: VTS using old value for parameter
Fix a test that is using the incorrect parameter.

Bug: 161023185
Test: adb shell data/nativetest64/VtsHalGraphicsComposerV2_4TargetTest/VtsHalGraphicsComposerV2_4TargetTest
Change-Id: I8574abed50c23657f5d96e9d396709cb9b92e1fd
2020-07-13 23:30:05 +00:00
jack.cc-hsu
69e801624a Update nodeNamePattern rule am: 88990e687c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12134843

Change-Id: Ia0c61c9a02523ba45660e5f699a521ad1fb225fa
2020-07-13 20:32:54 +00:00
David Zeuthen
035a6f3239 Identity: Add VTS test to check empty and semi-empty requests work properly.
Some IC applications may perform two requests - one to get data
elements and a second empty request. The latter is to e.g. get an
empty DeviceSignedItems and corresponding MAC.

Extend VTS tests to check that the HAL does this correctly both for
the completely empty request and also for a request with an empty
namespace.

Bug: 160966911
Test: atest VtsHalIdentityTargetTest
Merged-In: I3205f2c0ded2ea315857438a3114ddcf8ef557f9
Change-Id: Ib718e6f0f0b287e39ff7dd3db5335cec1bc1804e
2020-07-13 13:21:27 -04:00
Treehugger Robot
347694c3cf Merge "Identity: Add VTS test to check empty and semi-empty requests work properly." am: 75e326e17d am: 925757c2eb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1360918

Change-Id: Ibdbb8583c23370a27ed1d7f900383b80594f26ff
2020-07-13 17:01:35 +00:00
Treehugger Robot
925757c2eb Merge "Identity: Add VTS test to check empty and semi-empty requests work properly." am: 75e326e17d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1360918

Change-Id: I0d43fa6fd281899c891f444de8f84560d7855b37
2020-07-13 16:50:47 +00:00
jack.cc-hsu
88990e687c Update nodeNamePattern rule
Include '_' which has always been allowed.

Bug: 158645317
Test: VtsHalMediaOmxV1_0TargetMasterTest : OK
Change-Id: Ia1cfc6004961ffad76843920fe4d5423f70244e7
2020-07-13 16:33:08 +00:00
Treehugger Robot
75e326e17d Merge "Identity: Add VTS test to check empty and semi-empty requests work properly." 2020-07-13 16:26:44 +00:00
Victor Khimenko
799e59292b Make android.hardware.renderscript@1.0 buildable for native_bridge
Bug: http://b/153609531

Test: m android.hardware.renderscript@1.0.native_bridge

Change-Id: If11376cdd583629c8edfea17efb130dd68dc9b8f
Merged-In: If11376cdd583629c8edfea17efb130dd68dc9b8f
2020-07-10 23:10:59 +02:00
Steven Moreland
970413f03f Avoid TREBLE_TESTING_OVERRIDE am: 56273ce0d2 am: 4a21409278
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1359802

Change-Id: Iedaa4d456d85fe608f186146e162dfe4187c41f4
2020-07-10 19:09:47 +00:00
Steven Moreland
4a21409278 Avoid TREBLE_TESTING_OVERRIDE am: 56273ce0d2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1359802

Change-Id: I33af63fd9003830332d44497dd9819bf72f26069
2020-07-10 18:57:40 +00:00
David Zeuthen
7067a73ed2 Identity: Add VTS test to check empty and semi-empty requests work properly.
Some IC applications may perform two requests - one to get data
elements and a second empty request. The latter is to e.g. get an
empty DeviceSignedItems and corresponding MAC.

Extend VTS tests to check that the HAL does this correctly both for
the completely empty request and also for a request with an empty
namespace.

Bug: 160966911
Test: atest VtsHalIdentityTargetTest
Change-Id: I3205f2c0ded2ea315857438a3114ddcf8ef557f9
2020-07-10 14:38:53 -04:00
android-build-team Robot
53df5a9e0c Snap for 6668007 from 074d9041e0 to rvc-release
Change-Id: I7438084d3b49345ce18b97645c2d2ac9c18ba1e6
2020-07-10 01:10:45 +00:00
Shuo Qian
f884fadddd Change range of SS-RSRQ per 3gpp am: 074d9041e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12109456

Change-Id: Ia206b023cd4c36467bd9c154d936c1899440f175
2020-07-09 22:45:42 +00:00