Commit Graph

11307 Commits

Author SHA1 Message Date
Hridya Valsaraju
be52e964a2 Merge "Add command to pass oem commands to HAL"
am: c369d81965

Change-Id: Ib49b90b70c3864cb1777a79ccd5d73893937ba2f
2018-09-20 22:37:56 -07:00
Treehugger Robot
c369d81965 Merge "Add command to pass oem commands to HAL" 2018-09-20 04:19:12 +00:00
Kevin Rocard
89425b1e86 Merge "Audio VTS: Always check for Result::isOk()" into pie-vts-dev am: 2070f8b0b8
am: c23b3a5dda

Change-Id: I736d5d3749a57569cee362e1b627ad9ac695b5d0
2018-09-18 11:12:54 -07:00
Kevin Rocard
c23b3a5dda Merge "Audio VTS: Always check for Result::isOk()" into pie-vts-dev
am: 2070f8b0b8

Change-Id: Icf4a294d1fef7626b8248500dffc6bcd0189571e
2018-09-18 10:57:50 -07:00
Treehugger Robot
2070f8b0b8 Merge "Audio VTS: Always check for Result::isOk()" into pie-vts-dev 2018-09-18 17:49:08 +00:00
Hridya Valsaraju
ddaa8ecb37 Add command to pass oem commands to HAL
Bug: 79480454
Bug: 78793464
Test: fastboot oem command

Change-Id: Ifa20badace91550812742702f3b16f5abe56be72
2018-09-17 15:37:42 -07:00
Steven Moreland
e37197c3fd Merge "ISafeUnion: add case w/ enum"
am: 9667078a6c

Change-Id: I81f84490d7b0949c4949c00ec0e0c81af5403102
2018-09-13 20:01:50 -07:00
Treehugger Robot
9667078a6c Merge "ISafeUnion: add case w/ enum" 2018-09-14 02:50:22 +00:00
Steven Moreland
429faabc73 ISafeUnion: add case w/ enum
Bug: 115638948
Test: hidl_test
Test: hidl_test_java
Change-Id: I26b5cc25bd29c420160686b5572a005a7629784c
2018-09-13 16:38:25 -07:00
Jeff Tinker
04f664a094 Merge "Fix failing drm 1.0 vts tests"
am: 9367cc5918

Change-Id: I970d19127c44e5e84108153fbed170fed11eed5c
2018-09-13 12:49:14 -07:00
Treehugger Robot
9367cc5918 Merge "Fix failing drm 1.0 vts tests" 2018-09-13 18:58:19 +00:00
Yifan Hong
bb51a7cfe9 Merge "health filesystem: update garbageCollect() function."
am: e1ca153525

Change-Id: I11cc775092927e93a75db411bd47035d14598d14
2018-09-13 10:07:38 -07:00
Yifan Hong
e1ca153525 Merge "health filesystem: update garbageCollect() function." 2018-09-13 16:22:25 +00:00
Jeff Tinker
5c2e29de11 Fix failing drm 1.0 vts tests
The shared library path was incorrectly set based on
the drm.64bit.enabled flag. It should be set based
on whether the drm service is running as 32-bit or
64-bit.

Test: vts-tradefed run commandAndExit vts -m VtsHalDrmV1_0Target

bug:111289939
Change-Id: I388dc87bd4566211dc2901feccf1e6e1c90bfe67
Merged-In: I388dc87bd4566211dc2901feccf1e6e1c90bfe67
2018-09-13 00:39:42 +00:00
Yifan Hong
a0082b80ba health filesystem: update garbageCollect() function.
Bug: 111655771
Test: run dev gc on vold

Change-Id: I2cef404f9e2720c1be7822895187a590837763c8
2018-09-12 10:43:49 -07:00
Xusong Wang
d7843fad9c Fix logics for floating-point comparision in VTS test. am: 39c865b3aa
am: fff86f4b4b

Change-Id: Iba6339e63dba2c74806d0b73faf21ea137d1a1e9
2018-09-11 17:17:11 -07:00
Xusong Wang
fff86f4b4b Fix logics for floating-point comparision in VTS test.
am: 39c865b3aa

Change-Id: Iccb497fc3aa87e05a361427e350a3f51dd6f273c
2018-09-11 17:03:51 -07:00
Roberto Pereira
fdea589ea0 keymaster 3.0: make service use nobody as user and remove system group
am: 848607a121

Change-Id: Ib91c3acfb7ba8c0bd6b4864dedb7c92e09f5f8d2
2018-09-10 14:44:54 -07:00
Roberto Pereira
848607a121 keymaster 3.0: make service use nobody as user and remove system group
Only the drmrpc group is necessary

Test: VtsHalKeymasterV3_0TargetTest
Change-Id: I2be255215df827c9f17ecaffcb9d0ba402dd3405
2018-09-10 12:44:42 -07:00
Steven Moreland
a8b9438aae Merge "Note confusion-causing breaks in HIDL convention."
am: 27b09c2cd9

Change-Id: I24f174a09e599e9a8760eba75290d1c925337f6a
2018-09-10 07:10:02 -07:00
Treehugger Robot
27b09c2cd9 Merge "Note confusion-causing breaks in HIDL convention." 2018-09-10 14:00:13 +00:00
Steven Moreland
146405b58a Note confusion-causing breaks in HIDL convention.
These were either made at a time when the convention was not fully
formed or missed during review.

It is somewhat misleading since method overloading isn't supported
and method names need this kind of prefix, but nothing else does.

The reason for this is that everything is namespaced, but methods are
all in the same namespace. The reason method overloading is not supported
in HIDL is because the HIDL types may map to types that collide in the
target languages, and this would cause any sort of overloading rules
to require complicated machinery.

Bug: N/A
Test: hidl-gen -Lcheck android.hardware.usb@1.1 android.hardware.vibrator@1.1 && echo ":)"
:)

Change-Id: Iac23c9311925ed140ff1e15d1366829b078c8866
2018-09-09 12:31:05 -07:00
Hridya Valsaraju
130bf82eb7 Merge "Get partition file system type from Fastboot HAL"
am: 6d9109f18e

Change-Id: Ib4907a642a669eab2241bd083eced2da6f112adc
2018-09-07 19:55:56 -07:00
Treehugger Robot
6d9109f18e Merge "Get partition file system type from Fastboot HAL" 2018-09-08 02:47:41 +00:00
Peiyong Lin
8a7dc8e57b Merge "[Graphics] Only validate display in PresentOrValidateDisplay."
am: 0a0fa7209e

Change-Id: I174b127b17f6e9c2198da681f8272b26b110139d
2018-09-06 23:40:55 -07:00
Treehugger Robot
0a0fa7209e Merge "[Graphics] Only validate display in PresentOrValidateDisplay." 2018-09-07 06:28:37 +00:00
Baranidharan Muthukumaran
65b9c173ea Skip NoUserConfirmation VTS test for Strongbox
am: 709aa5f453

Change-Id: I6dff83b19396fcf599cb8f3be235124d0073beaf
2018-09-06 21:14:02 -07:00
Baranidharan Muthukumaran
709aa5f453 Skip NoUserConfirmation VTS test for Strongbox
Since Confirmation UI is optional for Strongbox
implementation, skipping the test.

Bug: 112189538
Test: This is an update to the vts test
Change-Id: Ie3485a1de92444b0c49670b198de30ea25e0673e
Signed-off-by: Max Bires <jbires@google.com>
2018-09-07 02:37:12 +00:00
Xusong Wang
1d6deec5b7 Fix logics for floating-point comparision in VTS test.
am: f6235f8a09

Change-Id: I210ea84af58f59584e82dab5dabfacd2ed160200
2018-09-06 17:20:38 -07:00
Hridya Valsaraju
c83cec76fa Get partition file system type from Fastboot HAL
Partition type is required for fastbootd to
format partitions.

Test: make
Bug: 79480454
Change-Id: I49f21fe6f1626cf3da566b33cc84131b3e3c85ff
2018-09-06 14:47:01 -07:00
Xusong Wang
39c865b3aa Fix logics for floating-point comparision in VTS test.
Set the acceptable error range based on both absolute tolerance and
relative tolerance.

Currently, absolute tolerance is set to 1e-5 for FP32 and 5 epsilon
(~5e-3) for FP16 relaxed computation. The relative tolerance is set to
5ULP of the corresponding precision. Add a TODO mark for potential
future adjustment on error limit based on testing.

Bug: 111768023

Test: none
Change-Id: Idedcec3e09fd7de9696811b93c81d0f180e896ef
2018-09-06 21:41:06 +00:00
Xusong Wang
f6235f8a09 Fix logics for floating-point comparision in VTS test.
Set the acceptable error range based on both absolute tolerance and
relative tolerance.

Currently, absolute tolerance is set to 1e-5 for FP32 and 5 epsilon
(~5e-3) for FP16 relaxed computation. The relative tolerance is set to
5ULP of the corresponding precision. Add a TODO mark for potential
future adjustment on error limit based on testing.

Bug: 111768023

Test: none
Change-Id: Idedcec3e09fd7de9696811b93c81d0f180e896ef
2018-09-06 13:20:12 -07:00
Kevin Rocard
e8957a35ea Audio VTS: Always check for Result::isOk()
A test was not checking for the Result::isOk() resulting
in an assert being triggered in HIDL code if the HAL crashed.

Test: (sleep 0.3; adb shell pkill audio) &
      adb shell /data/nativetest64/VtsHalAudioV4_0TargetTest/VtsHalAudioV4_0TargetTest
      # Test finishes in failure but does not crash
Signed-off-by: Kevin Rocard <krocard@google.com>

Change-Id: I97a6213fe82a5e9a6eb333dc1dc2476102610b58
2018-09-06 18:22:23 +00:00
Shuo Qian
12c69a74ba Merge "Add IRadioResponse/Indication 1.3 and Emergency Function HAL"
am: 5bc9799808

Change-Id: I5549c800af698064978c4c910a3b35e7093cd1f5
2018-09-05 12:31:47 -07:00
Shuo Qian
5bc9799808 Merge "Add IRadioResponse/Indication 1.3 and Emergency Function HAL" 2018-09-05 18:44:31 +00:00
Youming Ye
56acdf4cb0 Merge "Correct the comments for radio hal types"
am: 489b89768d

Change-Id: I8b5018fbf129af43d371a37ad71f5ba1e5760a59
2018-09-05 10:03:24 -07:00
Youming Ye
489b89768d Merge "Correct the comments for radio hal types" 2018-09-05 16:53:27 +00:00
sqian
8ffbfa5358 Add IRadioResponse/Indication 1.3 and Emergency Function HAL
- Add IRadioResponse/Indication in 1.3
- Add Emergency Functions:
1) getCurrentEmergencyNumberList/getCurrentEmergencyNumberListResponse
2) emergencyDial/emergencyDialResponse
3) currentEmergencyNumberList
4) EmergencyNumber/EmergencyServiceCategory

Test: compile (will add VTS later)
Bug: 112657134
Change-Id: Iafe12d5fd0e4c28fcf6e4d8e61cfb954db7fa68a
2018-09-04 12:50:05 -07:00
Youming Ye
f11cccda3b Correct the comments for radio hal types
The type of mcc and mnc is String instead of Int now. They should be an
empty string if unknown. Also added a test case for their values.

Bug: 111703979
Test: Vts
Change-Id: Ie0426453dc426ccc6cf203b315806e78511ce14d
2018-09-04 11:10:32 -07:00
Baranidharan Muthukumaran
3f200e078e Merge "Fix KM VTS tests for Strongbox implementations"
am: d6b4242d52

Change-Id: I52cd833dfa2c8cc4fb130544f5cb5d35217a0fc4
2018-09-04 03:55:02 -07:00
Treehugger Robot
d6b4242d52 Merge "Fix KM VTS tests for Strongbox implementations" 2018-09-04 10:44:18 +00:00
Yin-Chia Yeh
361f2f9a17 Merge "Camera: support torch control on external camera"
am: f8007c2000

Change-Id: I876d92c646f3c0cb189dfd6be4881f4706d991cf
2018-08-30 12:11:29 -07:00
Treehugger Robot
f8007c2000 Merge "Camera: support torch control on external camera" 2018-08-30 19:02:26 +00:00
Emilian Peev
7e0abbc7d8 [automerger skipped] Merge "Camera: Allow 3% ISO tolerance during ISO burst VTS" into pie-vts-dev am: 391eb588cf
am: 81221c2f6c  -s ours

Change-Id: Id219b9dc2c492bbc8024c65c4b5e5244f9c7e412
2018-08-30 10:39:22 -07:00
Kevin Rocard
a29aa05595 [automerger skipped] Merge "Allow getCapturePosition to return 0 frames for unprepared streams" into pie-vts-dev am: 137194ef5e
am: 30c2361ad4  -s ours

Change-Id: Ie8a72fe300beceb415f86b07b99be7e15952d5e3
2018-08-30 10:38:24 -07:00
Emilian Peev
81221c2f6c Merge "Camera: Allow 3% ISO tolerance during ISO burst VTS" into pie-vts-dev
am: 391eb588cf

Change-Id: Id897eee2251eee92267b4e32f7d245aca3eb1e88
2018-08-30 10:23:00 -07:00
Kevin Rocard
30c2361ad4 Merge "Allow getCapturePosition to return 0 frames for unprepared streams" into pie-vts-dev
am: 137194ef5e

Change-Id: Ibef9acb447f71a94c27ad62ffd93b87126637143
2018-08-30 10:22:35 -07:00
Treehugger Robot
391eb588cf Merge "Camera: Allow 3% ISO tolerance during ISO burst VTS" into pie-vts-dev 2018-08-30 17:15:35 +00:00
Treehugger Robot
137194ef5e Merge "Allow getCapturePosition to return 0 frames for unprepared streams" into pie-vts-dev 2018-08-30 17:15:19 +00:00
Yu-Han Yang
fdaba9a466 [automerger skipped] Merge "Set the floor value of time estimate as 2017 Jan 01 00:00:00 GMT" into pie-vts-dev am: 4e0c7c1760
am: 241ea6a582  -s ours

Change-Id: Iaaa8190afb55a3dcd74289e1207c954c420f972d
2018-08-29 17:26:23 -07:00