• R/O
  • HTTP
  • SSH
  • HTTPS

提交列表

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/interfaces


RSS
Rev. 时间 作者
46cba44 2017-10-11 01:22:02 Kevin Rocard

Legacy wrapper: Use arbitrary limit on buffer size

The legacy HAL wrapper prepareForWrite and prepareForRead used
to return INVALID_ARGUMENTS if the computed buffer size just
under SIZE_MAX.

This meant that the limitation depended on the architecture (32 vs 64
bit size_t). This caused VTS test failure on 64 bits.

Instead of dynamically calculating an arbitrary max size,
choose a fixed one. This max buffer size has been chosen at 1GiB.
It should be enough for the foreseeable future and not too close
from the 4GiB max on 32 bit.

Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target
Bug: 67030516
Change-Id: I4cc3efda9bb66e6dae8b4e6785f52d9e51440aee
Signed-off-by: Kevin Rocard <krocard@google.com>

9fd5004 2017-10-10 16:27:15 android-build-team Robot

Snap for 4386596 from e5e339d2a5a5a98fc6fd3643ced6fa938e5bdc44 to oc-mr1-release

Change-Id: Id2551559c381d67cba9357665497f5e58560e592

e5e339d 2017-10-10 11:42:13 TreeHugger Robot

Merge "Refactor test harness for generated VTS tests" into oc-mr1-dev

5bf4edf 2017-10-10 05:57:42 I-Jui (Ray) Sung

Refactor test harness for generated VTS tests

Address comments in ag/2926388

Test: VtsHalNeuralnetworksV1_0TargetTest on Angler with sample driver
Bug: 67597726
Change-Id: Ie3118dcbfb11c25dbc84d2becdefbbae868ff28f

6d176aa 2017-10-10 04:38:13 Suresh Sivaraman

Added VTS tests for requiresSecureDecoderComponent and release API

Bug: 63914034
Bug: 65593293

Test:
Build & test vts:

> make vts -j64

> vts-tradefed run vts -m VtsHalCasV1_0Target

Change-Id: I465735768239f2d53427a18e5ad1fa0069f6e35c

eb92c84 2017-10-08 16:28:28 android-build-team Robot

Snap for 4383937 from 3021f1fafbfb1a4b464effa543aee381f42d8080 to oc-mr1-release

Change-Id: Ia2f03abe28796187082d7d7a71f79e42a8eb6640

3021f1f 2017-10-07 11:26:15 TreeHugger Robot

Merge "omxvts: exit gracefully during fatal fails" into oc-mr1-dev

239a450 2017-10-07 01:49:20 TreeHugger Robot

Merge "Added VTS tests for MediaCas - II" into oc-mr1-dev

806f872 2017-10-06 16:26:52 android-build-team Robot

Snap for 4380782 from 38cfeee30c4b6ff8d8feed57e721b5d0c0fdf4de to oc-mr1-release

Change-Id: I0daa56402c8dc6483971c440e241bb1490b98792

926a8e7 2017-10-06 10:51:46 Iris Chang

VTS: fix VtsHalKeymasterV3_0Target issue

Failed cases:
AttestationTest.RsaAttestation
AttestationTest.EcAttestation

Analysis:
The verify_attestation_record() in Keymaster_hidl_hal_test.cpp calls
parse_attestation_record() to set the value of att_challenge. It fails
to compare att_challenge with challenge by memcmp.
Because setToExternal() method uses buffer pointer to local variable
(record), not use memcpy to copy into itself buffer in
parse_attestation_record(). When it leaves the parse_attestation_record(),
we will get the att_challenge which is null buffer to compare with challenge
incorrectly.

Fix: use memcpy to copy the buffer.

Bug: 65039571
Test: build passed. VtsHalKeymasterV3_0Target -> PASSED: 106, FAILED: 0.
Change-Id: I700a9242cc9a5f4cb196b62860823601e4088531
Merged-In: I700a9242cc9a5f4cb196b62860823601e4088531
(cherry picked from 54ca32a130a0450b444848046199d62876b55301)

38cfeee 2017-10-06 07:22:23 Michael Butler

Add neuralnetworks HAL to the current.txt

Bug: 63905942
Test: None
Change-Id: I7c247381e8fd97b91d11531d3db595408d8f1b74

0645aec 2017-10-06 04:47:31 Suresh Sivaraman

Added VTS tests for MediaCas - II

Bug: 63914034
Bug: 65593293

Test:
Build & test vts:

> make vts -j64

> vts-tradefed run vts -m VtsHalCasV1_0Target

Change-Id: If5a0e7cb3d520843ba45147a085c43b94027e584

90379de 2017-10-06 04:06:36 Jean-Luc Brouillet

Corrected performanceInfo documentation

We'll be using relative numbers, change the doc to reflect that.

Bug: 63905942
Test: Compiled
Change-Id: Iad67621cfc76490c2dc471865a3f82cebf175440

7bb5670 2017-10-05 16:41:43 Ram Mohan M

omxvts: exit gracefully during fatal fails

Bug: 63796949

Change-Id: I735db42f7de6926adddd328db1a48de35faaa608

86d74b4 2017-10-05 16:24:14 android-build-team Robot

Snap for 4378450 from 0c7d0a9d0dba6f8d879b8b61cbc1c5b56a5cfd99 to oc-mr1-release

Change-Id: I7a709f6418fb267d2c4aad0d6cfd14e458181b71

0c7d0a9 2017-10-05 15:15:59 TreeHugger Robot

Merge "Fix VTS failures on tests with optional inputs" into oc-mr1-dev

959cd78 2017-10-05 12:49:57 I-Jui (Ray) Sung

Fix VTS failures on tests with optional inputs

RequestArgument for optional inputs should have its .hasNoValue set
and other fields left empty. The test harness was incorrectly ignoring
the hasNoValue field and initializing the offset field even for missing
arguments. That inconsistency was caught by the sample driver and caused
an invalid argument error. With this CL the test harness now populates
requests correctly for tests with intentionally missing inputs, and that
fixes lstm* and lsh_projection.

Test: VtsHalNeuralnetworksV1_0TargetTest on Angler
Bug: 63905942
Change-Id: I8729124b720f0d4163f4b9efd452f82b825b0885

13cbc53 2017-10-05 10:14:45 Michael Butler

Early test termination for unsupported models

Some service drivers won't be able to support all operations. In those
cases, try to prepare the model anyway. If it works, proceed with the
test; if it fails, terminate the test early.

For example, the hvx nn service does not support svdf, so it should
attempt to prepare the model, but the test should not fail if the hvx
driver reports an error.

Bug: 63905942
Test: mm, expected behavior when running on hvx service
Change-Id: I51aa1911145f0d17590906c21314d2bdc24cffea

e51f347 2017-10-05 08:49:51 Michael Butler

Merge "Only verify output of models a vendor nn service fully supports" into oc-mr1-dev

0897ab3 2017-10-05 04:31:08 Michael Butler

Only verify output of models a vendor nn service fully supports

Some service drivers won't be able to support all operations. In those
cases, run the test as far as it can go, but ignore the output data.

For example, the hvx nn service does not support svdf, so it should
attempt to prepare and execute the model, but the test should not fail
if the hvx driver reports an error. However, hvx indicates it is able to
run MAX_POOL_2D, so the test should fail if that output is incorrect.

Bug: 63905942
Test: mm
Test: run vts binary on hvx service
Change-Id: I3ebc05836c8e070b66daa2e38b107f96637ca812

d85a098 2017-10-05 01:38:02 TreeHugger Robot

Merge "Fix VtsHalDrmV1_0Target clearkey tests." into oc-mr1-dev

8f56a37 2017-10-04 22:41:00 TreeHugger Robot

Merge "Move android.hardware.tests.libhwbinder@1.0-impl to system.img" into oc-mr1-dev

f8bdc8c 2017-10-04 16:21:27 android-build-team Robot

Snap for 4376088 from 072811f5fbfcb98b31b9106f69683c04bbbb865b to oc-mr1-release

Change-Id: I61e48e8ece2ed1c880c8bfd9423627f53651d8ea

48311a8 2017-10-04 12:31:27 Edwin Wong

Fix VtsHalDrmV1_0Target clearkey tests.

1. Fix the following issues:
- queryKeyStatus is now implemented, do not return
ERROR_DRM_CANNOT_HANDLE anymore
- expectedKeyRequest and knownKeyResponse should use
'-' and '_' instead of '+' and '/' for base64Url encode;
one uint8_t change from 0x2b to 0x2d for each vector

2. Add tests to create clearkey drm and crypto plugin using
both common pssh box format system ID and clearkey scheme
UUID.

Test: Vts test on Marlin and Taimen
adb shell /data/nativetest/VtsHalDrmV1_0TargetTest/
VtsHalDrmV1_0TargetTest

Test: Cts ClearKeyTest on Marlin and Taimen
ANDROIOP= ./android-cts/tools/cts-tradefed run cts
-m CtsMediaTestCases
--test android.media.cts.ClearKeySystemTest

Test: ClearKey plugin unit tests
adb shell LD_LIBRARY_PATH="/vendor/lib/mediadrm"
/data/nativetest/ClearKeyDrmUnitTest/ClearKeyDrmUnitTest

Test: netflix and Play Movies & TV for sanity check

bug: 66327050
Change-Id: Icfbe715cf246a7c5253d5f104d0fd446618b18bd

072811f 2017-10-04 10:40:37 TreeHugger Robot

Merge "Fix problem passing null optional operands." into oc-mr1-dev

75d2b86 2017-10-04 09:07:22 TreeHugger Robot

Merge "NNAPI HAL: Change IEvent to explicit callbacks" into oc-mr1-dev

558d53c 2017-10-04 08:42:36 TreeHugger Robot

Merge "wifi(implementation): Increase stop timeout" into oc-mr1-dev

578b61c 2017-10-04 08:30:40 Jean-Luc Brouillet

Fix problem passing null optional operands.

Allow optional operands to be specified as having no value in the model.
Make sure that both these and model arguements that have no value can
be passed to through the HAL. Change the validation to ensure that all
required ops are there.

Bug: 63905942
Test: Compiled and ran runtime/test and VTS tests.

Change-Id: Ia20954b9712042f5c0571822967521aedb66150b

cf22a57 2017-10-04 03:01:29 Michael Butler

NNAPI HAL: Change IEvent to explicit callbacks

IEvent was a synchronization primitive which caused some confusion
in the interface. Originally the event object was paired with an
asynchronous task, and the asynchronous task would signal this event
when the corresponding output was ready to be used.

In the case of IDevice::prepareModel, the function call would return an
IPreparedModel object that was not guaranteed to be prepared until the
runtime had returned from waiting on the corresponding event object.
The event object has been changed to two explicit callbacks--
IPreparedModelCallback and IExecutionCallback. Now,
IDevice::prepareModel no longer returns an unfinished IPreparedModel;
instead, it will pass the IPreparedModel object to the runtime through
IPreparedModelCallback::notify. When the runtime retreives the
IPreparedModel object, the asynchronous task has already finished
preparing the model.

The two callbacks are used for different purposes. Each has its own
version of notify to pass the data back to the runtime:
* IPreparedModelCallback::notify(ErrorStatus, IPreparedModel)
* IExecutionCallback::notify(ErrorStatus)

Bug: 63905942
Test: mm, vts, ml/nn/runtime/tests
Change-Id: I0c88cd262ba762e0af15e9da31ebe813a5d150b2

e224f06 2017-10-03 04:35:32 Eino-Ville Talvala

Camera: Update VTS for new camera@3.3 interfaces

- Cross check device version in name with ICameraDeviceSession version
- Switch all calls to configureStreams to configureStreams_3_3 when
a v3.3 ICameraDeviceSession is available

Test: Test passes on v3.3 devices, doesn't regress on v3.2
Bug: 62358514
Change-Id: I7450e5d5119c5ec1fe9f1360bfc99fc8a47d0936