]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/log
android/platform-hardware-interfaces.git
5 years agohealth: convert README to markdown format.
Yifan Hong [Wed, 8 Aug 2018 20:27:51 +0000 (13:27 -0700)]
health: convert README to markdown format.
am: 388897c3f2

Change-Id: I3ba847787770a9333a37028a67a4822f346064b6

5 years agohealth: convert README to markdown format.
Yifan Hong [Wed, 8 Aug 2018 17:52:15 +0000 (10:52 -0700)]
health: convert README to markdown format.

Test: none
Change-Id: Ic9503d43a5e69cee0deb901193a99154d68f67b0
Fixes: 112277698
5 years agoMerge "Camera: allow to configure minimum stream size."
chenhg [Wed, 8 Aug 2018 17:58:17 +0000 (10:58 -0700)]
Merge "Camera: allow to configure minimum stream size."
am: c2f3b0bcf5

Change-Id: Ib156994e280c4ea24e8ac66f40333b659e3f39bf

5 years agovts fingerprint: IWYU utils/Condition.h
Steven Moreland [Wed, 8 Aug 2018 17:30:33 +0000 (10:30 -0700)]
vts fingerprint: IWYU utils/Condition.h
am: 75023074cf

Change-Id: I5dc38ac02ef286fef37dfeca5ef0739dd02c923e

5 years agoMerge "Camera: allow to configure minimum stream size."
Treehugger Robot [Wed, 8 Aug 2018 00:09:25 +0000 (00:09 +0000)]
Merge "Camera: allow to configure minimum stream size."

5 years agoCamera: allow to configure minimum stream size.
chenhg [Fri, 22 Jun 2018 20:27:50 +0000 (13:27 -0700)]
Camera: allow to configure minimum stream size.

HW video encoder usually has limitation to encode very small
stream. Camera should avoid to return such streams to avoid
video encoding failure.

BUG: 110654511
Test: CTS android.hardware.camera2.cts.RecordingTest#testSupportedVideoSizes
Change-Id: I6104f2d4efcf7831d1dc6d305c82309e2fd1999d

5 years agovts fingerprint: IWYU utils/Condition.h android-o-mr1-iot-release-1.0.3
Steven Moreland [Wed, 1 Aug 2018 01:27:38 +0000 (18:27 -0700)]
vts fingerprint: IWYU utils/Condition.h

The standard library should be used instead of this class in new code,
but for simplicity, just IWYU (exposed by removing some headers from
some HIDL).

Bug: 65843592
Test: m only
Change-Id: Ib27c4c89a6aae551ebaeed05fc1bbadd780f4ba0

5 years agoMerge Android Pie into master
Xin Li [Tue, 7 Aug 2018 21:20:12 +0000 (14:20 -0700)]
Merge Android Pie into master
am: f1482e2901

Change-Id: I702e4613a22169c988ecf162ce9e89cbfa19e384

5 years agoMerge Android Pie into master
Xin Li [Mon, 6 Aug 2018 23:51:05 +0000 (16:51 -0700)]
Merge Android Pie into master

Bug: 112104996
Change-Id: I38d5b10220684f653dfb8c7c9a1264eb67bc44fd

5 years agoRevert "Fixed VTS failure in no SIM case"
Shuo Qian [Thu, 2 Aug 2018 19:17:38 +0000 (12:17 -0700)]
Revert "Fixed VTS failure in no SIM case"
am: 9d0f0635b9

Change-Id: I2c85ff48e47094810bc4350197611969f94954e7

5 years agoRevert "Fixed VTS failure in no SIM case"
Shuo Qian [Thu, 26 Jul 2018 22:37:50 +0000 (22:37 +0000)]
Revert "Fixed VTS failure in no SIM case"

Since the EMERGENCY-type APN is a must set in the radio
setupDataCall request for modem to perform Emergency call,
and the given VTS test case does not set that emergency bit,
I think modem should treat the request as a normal call
request, and should not return "NONE" for no-sim.

This reverts commit 431eb118f84de14c94ec18f887197944ec17e712.

Reason for revert: after further discussion, NONE
is not acceptable given the test case.

Bug: 109767888
Change-Id: I3d1cc96120d53a9be0ae5059c26b091bf82dc352
Merged-In: I3d1cc96120d53a9be0ae5059c26b091bf82dc352
(cherry picked from commit 17fec3625d7094fd68c4a43966ddc2eb513658e4)

5 years agoIWYU: healthd IPCThreadState
Steven Moreland [Wed, 1 Aug 2018 01:16:41 +0000 (18:16 -0700)]
IWYU: healthd IPCThreadState

Bug: 65843592
Test: m
Change-Id: I6f235c8a851079f335cfbc15b9bdb6f9d34d91fe

5 years agoMerge "matrix: Enforce kernel requirements in OTA only when flag is set."
Yifan Hong [Mon, 30 Jul 2018 17:38:43 +0000 (10:38 -0700)]
Merge "matrix: Enforce kernel requirements in OTA only when flag is set."
am: 0084639ada

Change-Id: Iad98f059fd3a15a7bd5dffa1c53300340e3f9e19

5 years agoMerge "matrix: Enforce kernel requirements in OTA only when flag is set."
Yifan Hong [Mon, 30 Jul 2018 17:29:51 +0000 (17:29 +0000)]
Merge "matrix: Enforce kernel requirements in OTA only when flag is set."

5 years agoRemove path from hidl_package_root.
Steven Moreland [Fri, 27 Jul 2018 21:10:27 +0000 (14:10 -0700)]
Remove path from hidl_package_root.
am: fb7de5c99b

Change-Id: Ib170114c6a620808b059b774bce6d16b7a96087c

5 years agomatrix: Enforce kernel requirements in OTA only when flag is set.
Yifan Hong [Thu, 26 Jul 2018 18:42:17 +0000 (11:42 -0700)]
matrix: Enforce kernel requirements in OTA only when flag is set.

Enforce only when PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS
is set. If a device does want to require kernel configs, it has to
provide info for new kernel in OTA package.
Bug: 111840577
Test: build and manual inspection

Change-Id: I36b3fcd9d14a9795aaf8d020bba6180c5e8681d1

5 years agoRemove path from hidl_package_root.
Steven Moreland [Fri, 27 Jul 2018 16:41:00 +0000 (09:41 -0700)]
Remove path from hidl_package_root.

This now defaults to the current path making references
to it relocatable.

Bug: 111366989
Test: make hidl interfaces under this package root
    (this exercises the new path)

Change-Id: I0d9dd1ebb00fcf514e374682497b8d26d0bfa353

5 years agoMerge "change kernel config naming convention"
Steve Muckle [Wed, 25 Jul 2018 23:31:47 +0000 (16:31 -0700)]
Merge "change kernel config naming convention"
am: f4fdfc325f

Change-Id: I4c9e0e3baa0ec27ecb9e74f4accff4e2d2b91790

5 years agoMerge "change kernel config naming convention"
Treehugger Robot [Wed, 25 Jul 2018 23:20:12 +0000 (23:20 +0000)]
Merge "change kernel config naming convention"

5 years agoMerge "Remove misleading comment in sample dumpstate impl"
Steven Moreland [Tue, 24 Jul 2018 18:08:12 +0000 (11:08 -0700)]
Merge "Remove misleading comment in sample dumpstate impl"
am: eac1c71ce4

Change-Id: I18041d79922f6c09161316d9fcf3249f0c46c6b0

5 years agoMerge "Remove misleading comment in sample dumpstate impl"
Treehugger Robot [Tue, 24 Jul 2018 17:57:00 +0000 (17:57 +0000)]
Merge "Remove misleading comment in sample dumpstate impl"

5 years agochange kernel config naming convention
Steve Muckle [Tue, 24 Jul 2018 00:27:25 +0000 (17:27 -0700)]
change kernel config naming convention

The kernel config naming convention is being modified
to use .config instead of .cfg.

Bug: 111762107
Test: builds
Change-Id: I33fb46226313abc2c8e854301cef1ac1b34342d2

5 years agoHack around wifi_legacy_hal.h transitive include bug.
Josh Gao [Thu, 19 Jul 2018 18:14:49 +0000 (11:14 -0700)]
Hack around wifi_legacy_hal.h transitive include bug.

Bug: http://b/111617490
Test: treehugger
Change-Id: Id87852f01fa22cbcf34862e5a37d27021a721dfa
(cherry picked from commit 339c3c2f1b56b62d9d44b8ca36d7bc59166db631)

5 years ago[automerger skipped] configstore: reduce restrictions in prctl()
Jeff Vander Stoep [Sat, 21 Jul 2018 00:14:16 +0000 (17:14 -0700)]
[automerger skipped] configstore: reduce restrictions in prctl()
am: 8de59b93bd  -s ours

Change-Id: Iaa82b5feb981905ceab52d962c043c0fe989fbab

5 years agoconfigstore: reduce restrictions in prctl()
Jeff Vander Stoep [Tue, 24 Oct 2017 17:34:46 +0000 (10:34 -0700)]
configstore: reduce restrictions in prctl()

Prevent configstore from crash-looping due to:
/vendor/bin/hw/android.hardware.configstore@1.0-service:
libminijail[22988]: blocked syscall: prctl

Bug: 68162846
Bug: 78363521
Test: Launch photos.
Merged-In: I1593ea1e03ec5f688ec7311e586178f2f952fed9
Change-Id: I1593ea1e03ec5f688ec7311e586178f2f952fed9
(cherry picked from commit 41534729e593c6db5805edef4aefea281092954c)

5 years agoRemove misleading comment in sample dumpstate impl
Steven Moreland [Fri, 20 Jul 2018 21:04:26 +0000 (14:04 -0700)]
Remove misleading comment in sample dumpstate impl

HIDL_FETCH_IDumpstateDevice isn't defined simply
because this is a binderized service and this function
would be called (to no great use) if it was installed
to a device.

Bug: N/A
Test: N/A
Change-Id: I9b660af3fe329977cdcd0c3f485af651c34416cb

5 years ago[automerger skipped] Merge "Hack around wifi_legacy_hal.h transitive include bug."
Josh Gao [Fri, 20 Jul 2018 00:11:27 +0000 (17:11 -0700)]
[automerger skipped] Merge "Hack around wifi_legacy_hal.h transitive include bug."
am: fdcdeb2a3a  -s ours

Change-Id: I1e47fa9072eeeafd4a0efe8aa7403998a4780cc6

5 years agoMerge "Hack around wifi_legacy_hal.h transitive include bug."
Treehugger Robot [Thu, 19 Jul 2018 22:49:15 +0000 (22:49 +0000)]
Merge "Hack around wifi_legacy_hal.h transitive include bug."

5 years agoHack around wifi_legacy_hal.h transitive include bug.
Josh Gao [Thu, 19 Jul 2018 00:24:21 +0000 (17:24 -0700)]
Hack around wifi_legacy_hal.h transitive include bug.

Bug: http://b/111617490
Test: treehugger
Merged-In: Ic98b8f253ae42107cddb90475044a063db2c666c
Change-Id: Ic98b8f253ae42107cddb90475044a063db2c666c

5 years agohealthd: add android.hardware.health@2.0-impl-default.recovery
Yifan Hong [Tue, 10 Jul 2018 22:49:21 +0000 (15:49 -0700)]
healthd: add android.hardware.health@2.0-impl-default.recovery

Test: build recovery
Bug: 80132328
Change-Id: I253bd1a756f3b94f6470da12bfc4488313a16aa4

5 years agoMerge changes from topic "health_recovery_available" into stage-aosp-master
Yifan Hong [Wed, 18 Jul 2018 19:54:58 +0000 (19:54 +0000)]
Merge changes from topic "health_recovery_available" into stage-aosp-master

* changes:
  health@2.0-impl: recovery_available: true
  health: libhealthstoragedefault: recovery_available

5 years agohealth@2.0-impl: recovery_available: true
Yifan Hong [Tue, 10 Jul 2018 18:47:21 +0000 (11:47 -0700)]
health@2.0-impl: recovery_available: true

... so that it can be installed to recovery image.
Test: build and inspect out dir
Test: boot to recovery and 'adb shell ls /vendor/lib64/hw'
Bug: 80132328

Change-Id: Icb33c9e9e648b54db33cac23ed877392cce4e76b
Merged-In: Icb33c9e9e648b54db33cac23ed877392cce4e76b
(cherry picked from commit 4e40086d39ac31692212ddefafb926dd8894f80c)

5 years agohealth: libhealthstoragedefault: recovery_available
Yifan Hong [Tue, 10 Jul 2018 20:41:04 +0000 (13:41 -0700)]
health: libhealthstoragedefault: recovery_available

Test: builds
Bug: 80132328

Change-Id: I2c4d880968e6938806cb9a2cf65352c73748f4ce
Merged-In: I2c4d880968e6938806cb9a2cf65352c73748f4ce
(cherry picked from commit 14d43837628ee3d1935fb2e33145eff0ba5c0273)

5 years agoModified ITestMsgQ hal service interface
Hans Chen [Tue, 17 Jul 2018 23:22:03 +0000 (16:22 -0700)]
Modified ITestMsgQ hal service interface
am: 58d52f70b3

Change-Id: Iaea0a9ebef6ff4ef5a2cb0beedafd05376d0c09c

5 years agoMerge "healthd use vintf_fragments" into stage-aosp-master
TreeHugger Robot [Tue, 17 Jul 2018 22:07:51 +0000 (22:07 +0000)]
Merge "healthd use vintf_fragments" into stage-aosp-master

5 years agohealthd use vintf_fragments
Yifan Hong [Fri, 27 Apr 2018 22:04:52 +0000 (15:04 -0700)]
healthd use vintf_fragments

This encourages device manufacturers to use
service.override over service and to remove healthd
on device, because it is one less step to do.

Test: make VINTF metadata
Bug: 66917623
Change-Id: I447395450060cdf17731514bb9a5e3ed912bbc66
Merged-In: I447395450060cdf17731514bb9a5e3ed912bbc66
(cherry picked from commit ae005c46101883a9c7938de9bc0286cfc4e7b7b8)

5 years agoModified ITestMsgQ hal service interface
Hans Chen [Sun, 15 Jul 2018 00:23:45 +0000 (17:23 -0700)]
Modified ITestMsgQ hal service interface

Test: make vts -j; fmq_test
Changes:
* Modified method that configures the synchronized queue. Now this method takes in a descriptor of an existing queue and creates a queue on the HAL server side.

Change-Id: I395d6311f3580af6a87556849b3e921fa9eaf097

5 years agohealth: remove unused flag HEALTHD_USE_HEALTH_2_0
Yifan Hong [Tue, 10 Jul 2018 18:53:58 +0000 (11:53 -0700)]
health: remove unused flag HEALTHD_USE_HEALTH_2_0

Test: boots
Bug: 79107699
Change-Id: Idc27ad452b799ef2ce4f18c787f2aa2afd1dd8cf
(cherry picked from commit 1ffc50ad70dea0d1964bd860a2a40bf8fd2682fc)

5 years agoMerge "Updated HALs to test structs/safe_unions containing interfaces"
Nirav Atre [Tue, 17 Jul 2018 00:16:02 +0000 (17:16 -0700)]
Merge "Updated HALs to test structs/safe_unions containing interfaces"
am: 76b383d5c2

Change-Id: Idbf119111f9d3a1e916b4753bc68aec35638a275

5 years agoAllow NOT_SUPPORTED for setLinkCapacityReportingCriteria on GERAN.
Amit Mahajan [Tue, 17 Jul 2018 00:14:06 +0000 (17:14 -0700)]
Allow NOT_SUPPORTED for setLinkCapacityReportingCriteria on GERAN.
am: 8b833740b2

Change-Id: I6389dcaa6a48338cddb9d6e45519941f8e1cd9f8

5 years agoMerge "Updated HALs to test structs/safe_unions containing interfaces"
Treehugger Robot [Mon, 16 Jul 2018 23:23:55 +0000 (23:23 +0000)]
Merge "Updated HALs to test structs/safe_unions containing interfaces"

5 years agoAllow NOT_SUPPORTED for setLinkCapacityReportingCriteria on GERAN.
Amit Mahajan [Mon, 25 Jun 2018 21:16:37 +0000 (14:16 -0700)]
Allow NOT_SUPPORTED for setLinkCapacityReportingCriteria on GERAN.

Test: run vts -m VtsHalRadioV1_2Target
Bug: 110716988
Change-Id: I9a5f014d498db00d818870cbd73e119f66562ef1
(cherry picked from commit c7896501db413c9a0fa44d2697da4079610075d8)

5 years agoUpdated HALs to test structs/safe_unions containing interfaces
Nirav Atre [Fri, 13 Jul 2018 23:03:31 +0000 (16:03 -0700)]
Updated HALs to test structs/safe_unions containing interfaces

Bug: 111019943
Test: Ran the hidl_test suite (C++ and Java)
Change-Id: I93e8fb9611327e263a02af8fccef1fc878746e02

5 years agoMerge "Fix unnecessary copy initialization warnings"
Chih-Hung Hsieh [Fri, 13 Jul 2018 22:59:07 +0000 (15:59 -0700)]
Merge "Fix unnecessary copy initialization warnings"
am: f110ea4893

Change-Id: If17584a8ed6fc53f3681a6ac298730dfbbaf4623

5 years agoMerge "Fix unnecessary copy initialization warnings" android-p-preview-5
Treehugger Robot [Fri, 13 Jul 2018 20:32:41 +0000 (20:32 +0000)]
Merge "Fix unnecessary copy initialization warnings"

5 years agoMerge "Make safeunion@1.0 test HAL Java-compatible"
Nirav Atre [Fri, 13 Jul 2018 19:49:56 +0000 (12:49 -0700)]
Merge "Make safeunion@1.0 test HAL Java-compatible"
am: 314f9503a9

Change-Id: Ieaad7392eb81605d1ae0b626db5c1f336eb6d10b

5 years agoMerge "Make safeunion@1.0 test HAL Java-compatible"
Treehugger Robot [Fri, 13 Jul 2018 19:41:21 +0000 (19:41 +0000)]
Merge "Make safeunion@1.0 test HAL Java-compatible"

5 years agoFix unnecessary copy initialization warnings
Chih-Hung Hsieh [Fri, 13 Jul 2018 18:48:16 +0000 (11:48 -0700)]
Fix unnecessary copy initialization warnings

Bug: 30413862
Test: build with WITH_TIDY=1
Change-Id: I5de56c163d26e7522141ca06020321c481eea233

5 years agoMerge "Fix IUsb version number in vts test"
Hsin-Yi Chen [Tue, 10 Jul 2018 02:47:57 +0000 (19:47 -0700)]
Merge "Fix IUsb version number in vts test"
am: a85e213544

Change-Id: If12009a78905e1e0639767a8b01acdabda17e715

5 years agoMerge "Fix IUsb version number in vts test" android-o-mr1-iot-release-1.0.2
Hsin-Yi Chen [Tue, 10 Jul 2018 02:35:41 +0000 (02:35 +0000)]
Merge "Fix IUsb version number in vts test"

5 years agoMake safeunion@1.0 test HAL Java-compatible
Nirav Atre [Sun, 8 Jul 2018 02:31:21 +0000 (19:31 -0700)]
Make safeunion@1.0 test HAL Java-compatible

This change removes Java-incompatible types (memory, handle) from the
safeunion@1.0 test HAL. Moving forward, the idea is to keep this HAL
Java & C++-friendly, and create another version (likely safeunion@2.0)
to regress on C++-only types; tracked by b/110269925.

Bug: n/a
Test: Ran the existing hidl_test suite
Change-Id: Ic7458c3f5b571e77e5f894a9854a2b201f53fe18

5 years agoMerge "Adding HIDL interface type to safeunion test HAL"
Nirav Atre [Fri, 6 Jul 2018 20:08:29 +0000 (13:08 -0700)]
Merge "Adding HIDL interface type to safeunion test HAL"
am: 5f64ae9872

Change-Id: I232939e4bf2e846f44b948d540c27e0a42fc11a2

5 years agoMerge "Adding HIDL interface type to safeunion test HAL"
Treehugger Robot [Fri, 6 Jul 2018 20:03:36 +0000 (20:03 +0000)]
Merge "Adding HIDL interface type to safeunion test HAL"

5 years agoFix IUsb version number in vts test
Hsin-Yi Chen [Wed, 4 Jul 2018 02:35:01 +0000 (10:35 +0800)]
Fix IUsb version number in vts test

Bug: 110913709
Test: vts-tradefed run vts -m VtsHalUsbV1_1Target
Change-Id: I9ae6add2fe8ff7138e07797c3a191b6dfe611948

5 years agoMerge "Secure_element: vts: Modify openBasicChannel as per OMAPI standard"
Ruchi Kandoi [Tue, 3 Jul 2018 14:47:20 +0000 (07:47 -0700)]
Merge "Secure_element: vts: Modify openBasicChannel as per OMAPI standard"
am: 919dca6794

Change-Id: Ie11b42fbabc3bde32dbdd5a31abd0f5e4f07c663

5 years agoMerge "Secure_element: vts: Modify openBasicChannel as per OMAPI standard"
Treehugger Robot [Tue, 3 Jul 2018 14:38:41 +0000 (14:38 +0000)]
Merge "Secure_element: vts: Modify openBasicChannel as per OMAPI standard"

5 years agoAdding HIDL interface type to safeunion test HAL
Nirav Atre [Sun, 1 Jul 2018 20:48:44 +0000 (13:48 -0700)]
Adding HIDL interface type to safeunion test HAL

This change adds a new HIDL safe union, InterfaceTypeSafeUnion
(containing an interface+array) to the safeunion test HAL.

Bug: 79878527
Bug: 110269925
Test: Existing hidl_test suite passes successfully. Added more test-
cases to hidl_test_client.cpp to exercise InterfaceTypeSafeUnion
(included in a separate CL).

Change-Id: I04ffeeeabccc1dc2651aac9371569c36d37f4f87

5 years agoSecure_element: vts: Modify openBasicChannel as per OMAPI standard
Ruchi Kandoi [Mon, 2 Jul 2018 20:20:34 +0000 (13:20 -0700)]
Secure_element: vts: Modify openBasicChannel as per OMAPI standard

CHANNEL_NOT_AVAILABLE should be returned when opening basic channel
is not permitted on the secure element

Test: Test with SIM1 HAL
Bug: 110945797
Change-Id: I2dd4eafaf4c534b49a37690a9baadcc5ac93190c

5 years agoFix missed refactor of serial
sqian [Thu, 28 Jun 2018 01:31:08 +0000 (18:31 -0700)]
Fix missed refactor of serial
am: 0c3572e2f3

Change-Id: I308c5279fd50402efe6a2c06feaaf034cea4541d

5 years agoFix missed refactor of serial
sqian [Wed, 27 Jun 2018 19:12:26 +0000 (12:12 -0700)]
Fix missed refactor of serial

Bug: 109822806
Test: run vts
Change-Id: If88384699dbb4c2ddd1c580d2b35be38afd0f8e8
Merged-In: If88384699dbb4c2ddd1c580d2b35be38afd0f8e8
(cherry picked from commit c0e2e2b071df5cdff10193556163e2975f0b682c)

5 years agoFixed VTS failure in no SIM case
Jack Yu [Wed, 27 Jun 2018 20:14:54 +0000 (13:14 -0700)]
Fixed VTS failure in no SIM case
am: ac4e6051f9

Change-Id: I96717b5640c85223c5226e4b911e07d504623429

5 years agoFixed VTS failure in no SIM case
Jack Yu [Fri, 22 Jun 2018 20:31:09 +0000 (13:31 -0700)]
Fixed VTS failure in no SIM case

Added RadioError::NONE as a possible return value for data call
setup API. The data call could be setup for emergency purposes
when no SIM inserted.

Test: VTS
Bug: 109767888
Merged-In: I4469c371f999b99d35f4078df000f05ee1f3c84d
Change-Id: I4469c371f999b99d35f4078df000f05ee1f3c84d
(cherry picked from commit 431eb118f84de14c94ec18f887197944ec17e712)

5 years agoMerge "Add docs for setSignalStrengthReportingCriteria" into stage-aosp-master
Nathan Harold [Wed, 27 Jun 2018 17:13:05 +0000 (17:13 +0000)]
Merge "Add docs for setSignalStrengthReportingCriteria" into stage-aosp-master

5 years agoAdd docs for setSignalStrengthReportingCriteria
Nathan Harold [Thu, 21 Jun 2018 18:46:42 +0000 (11:46 -0700)]
Add docs for setSignalStrengthReportingCriteria

Because setSignalStrengthReportingCriteria only
supports a single measurement quantity, provide
further clarification on the applicability of the
API and how it may be used in various situations.

Bug: 110121199
Test: compilation - docstring-only change
Change-Id: If4236070fbc03368e5a78b0cf502cdc4a529a6ed

5 years agoMerge "Test HAL for HIDL safe_union construct"
Nirav Atre [Wed, 27 Jun 2018 01:06:24 +0000 (18:06 -0700)]
Merge "Test HAL for HIDL safe_union construct"
am: 0ee23b3c1b

Change-Id: I64c8d51228908d996476665efde88f374ddc2d72

5 years agoMerge "Test HAL for HIDL safe_union construct"
Treehugger Robot [Wed, 27 Jun 2018 00:57:51 +0000 (00:57 +0000)]
Merge "Test HAL for HIDL safe_union construct"

5 years agoTest HAL for HIDL safe_union construct
Nirav Atre [Fri, 8 Jun 2018 23:51:29 +0000 (16:51 -0700)]
Test HAL for HIDL safe_union construct

This change implements a basic HAL and server-side functionality to test
the HIDL implementation of safe unions.

Bug: 79878527
Test: Ran make, new tests in hidl_test/ pass successfully (included in a
separate CL).

Change-Id: Ia420137bc1dc0a188e04176081c7f5418e74449c

5 years agoCall notify for voiceReg and dataReg VTS tests
Eric Schwarzenbach [Tue, 26 Jun 2018 17:50:35 +0000 (10:50 -0700)]
Call notify for voiceReg and dataReg VTS tests
am: 9589ee1c36

Change-Id: Ie20c0329cd19da7ca2f86c7769ba6f7d3a3ca32b

5 years agoCall notify for voiceReg and dataReg VTS tests
Eric Schwarzenbach [Wed, 6 Jun 2018 23:09:58 +0000 (16:09 -0700)]
Call notify for voiceReg and dataReg VTS tests

Bug: 80554443
Test: vts
Change-Id: I19f7131f7b65323065f3c283a89668ff761815e3
Merged-In: I19f7131f7b65323065f3c283a89668ff761815e3
(cherry picked from commit 2bb626a2975ef3398adbcb12fe50804cf71efc39)

5 years agoMerge "Add setIndicationFilter response notification in 1.2 VTS"
sqian [Mon, 25 Jun 2018 22:50:52 +0000 (15:50 -0700)]
Merge "Add setIndicationFilter response notification in 1.2 VTS"
am: a086c5c3a9

Change-Id: I4b869026a0dad435a5ffdc752a1be0ad4ce87dfc

5 years agoMerge "Add setIndicationFilter response notification in 1.2 VTS" android-p-preview-4
Treehugger Robot [Mon, 25 Jun 2018 22:46:51 +0000 (22:46 +0000)]
Merge "Add setIndicationFilter response notification in 1.2 VTS"

5 years agoAllow REQUEST_NOT_SUPPORTED as an error for startNetworkScan
Amit Mahajan [Mon, 25 Jun 2018 21:17:24 +0000 (14:17 -0700)]
Allow REQUEST_NOT_SUPPORTED as an error for startNetworkScan
am: 6a5c36d73f

Change-Id: I6c5daa8b8cd440951e33f094a605a1073b3f64de

5 years agoAdd setIndicationFilter response notification in 1.2 VTS
sqian [Thu, 7 Jun 2018 05:35:20 +0000 (22:35 -0700)]
Add setIndicationFilter response notification in 1.2 VTS

Test: run vts
Bug: 109822806
Change-Id: I95102a148a26cab80235cc68ad83143a9bb6eb39
Merged-In: I95102a148a26cab80235cc68ad83143a9bb6eb39
(cherry picked from commit 0ff41b94b30a0db0ce4a6a5b29600ced5853a762)

5 years agoAllow REQUEST_NOT_SUPPORTED as an error for startNetworkScan
Amit Mahajan [Fri, 15 Jun 2018 18:16:28 +0000 (11:16 -0700)]
Allow REQUEST_NOT_SUPPORTED as an error for startNetworkScan

We are trying to tighten the APIs. However for this case since the
documentation was not updated, we are allowing NOT_SUPPORTED for
now and will be cleaned up in a later release.

Test: run vts -m VtsHalRadioV1_2Target
Bug: 110118713
Change-Id: Id9dd3d7bac99bed36ceb9c906189f1fea78d5a2c
(cherry picked from commit a7587b5a7fdace0d193ad333e6f5cda8b995570b)

5 years agoAdd REQUEST_NOT_SUPPORTED for changeIccPinForApp and changeIccPin2ForApp
sqian [Sat, 23 Jun 2018 02:43:22 +0000 (19:43 -0700)]
Add REQUEST_NOT_SUPPORTED for changeIccPinForApp and changeIccPin2ForApp
am: 617c98b537

Change-Id: I97e2ac6534ae7354fc66a5bcd6f1833fe0b20498

5 years agoAdd REQUEST_NOT_SUPPORTED for changeIccPinForApp and changeIccPin2ForApp
sqian [Fri, 15 Jun 2018 21:24:31 +0000 (14:24 -0700)]
Add REQUEST_NOT_SUPPORTED for changeIccPinForApp and changeIccPin2ForApp

Bug: 110037298
Test: run vts -m VtsHalRadioV1_0Target
Change-Id: Iaba800814c5a6950d086a2f105714d01fdaa14a4
Merged-In: Iaba800814c5a6950d086a2f105714d01fdaa14a4
(cherry picked from commit 7470cbd04dbb90ec4a6481d08db54c6a8c5f2efd)

5 years agoRevert "graphics: restart HWC when SurfaceFlinger stops"
Daniel Solomon [Mon, 11 Jun 2018 19:40:48 +0000 (12:40 -0700)]
Revert "graphics: restart HWC when SurfaceFlinger stops"

This reverts commit 399a5b8d60dd845b86c43cf4de55dda4d47384c6; this
change is no longer needed and is causing instability on some devices.

Bug: 74199279
Change-Id: Ia8ee7ae0958df029beac9eb1d343995c54fa8798

5 years agoSomething fishy in 1.1
Nathan Harold [Thu, 21 Jun 2018 21:57:21 +0000 (14:57 -0700)]
Something fishy in 1.1
am: de56860a9b

Change-Id: Ia4c28870eaa23ec3241c11f4a68566ce6906dad5

5 years agoSomething fishy in 1.1
Nathan Harold [Thu, 21 Jun 2018 18:53:55 +0000 (11:53 -0700)]
Something fishy in 1.1

Change-Id: I39efa4355cf37b45f3d1068821ec25bc387c37d7

5 years agoresolve merge conflicts of ad2db12b3a6d1cd72b50a09ae19164e9815eb219 to stage-aosp...
David Gross [Tue, 19 Jun 2018 18:38:15 +0000 (11:38 -0700)]
resolve merge conflicts of ad2db12b3a6d1cd72b50a09ae19164e9815eb219 to stage-aosp-master

BUG: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I11175cd1624734e50adc30e63cb32f652c8f1380

5 years agoresolve merge conflicts of 2a970cb851cf10115cc876190c03e0e049167ee3 to stage-aosp...
David Gross [Tue, 19 Jun 2018 16:24:13 +0000 (09:24 -0700)]
resolve merge conflicts of 2a970cb851cf10115cc876190c03e0e049167ee3 to stage-aosp-master

BUG: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I587517c463d2d334f1f16eb614923d06d2dcaaaf

5 years agoDocumentation improvements.
David Gross [Thu, 7 Jun 2018 23:09:59 +0000 (16:09 -0700)]
Documentation improvements.

Document that every model must have at least one input and one output.

Document graph constraints.

Elaborate a bit on "execution order".

Indicate how operands of different lifetimes are defined (or not).

Fix ANEURALNETWORKS_L2_NORMALIZATION documentation for output shape.

ANEURALNETWORKS_SPACE_TO_DEPTH has inconsistent names for dimensions.

ANEURALNETWORKS_PAD documentation doesn't clearly describe rank or
dimensions of output tensor.

Bug: 66478689
Bug: 67601776
Bug: 69631404
Bug: 79482779
Bug: 79539157
Bug: 79539928

Test: mma at tree root

Change-Id: I6227bea2a486d4b45022d590915e10a124d323d4
Merged-In: I6227bea2a486d4b45022d590915e10a124d323d4

5 years agoDocumentation improvements.
David Gross [Thu, 7 Jun 2018 02:57:27 +0000 (19:57 -0700)]
Documentation improvements.

Fix Model::pools documentation.

Specify that an output cannot overlap with an output/input/constant.

Document circumstances under which a prepared model should be expected to execute correctly.

Bug: 87805381
Bug: 79888238
Bug: 77237715

Test: mma at tree root

Change-Id: Ibf3daacad79f1d7e6127acf3887bd98b7c6bdf4e
Merged-In: Ibf3daacad79f1d7e6127acf3887bd98b7c6bdf4e

5 years ago[automerger skipped] Merge "Document unspecified dimensions."
David Gross [Sat, 16 Jun 2018 05:46:24 +0000 (22:46 -0700)]
[automerger skipped] Merge "Document unspecified dimensions."
am: 485c5cd192  -s ours

Change-Id: Ib1852d7abb31459e789956789e99acf9e29597e5

5 years agoMerge "Document unspecified dimensions."
David Gross [Fri, 15 Jun 2018 22:46:17 +0000 (22:46 +0000)]
Merge "Document unspecified dimensions."

5 years agoDocument unspecified dimensions.
David Gross [Tue, 5 Jun 2018 19:51:08 +0000 (12:51 -0700)]
Document unspecified dimensions.

Test: mm

Bug: 77234888
Bug: 109687058
Change-Id: Ia8928e494d8c712bc9cfb592d67476fde9753f45
(cherry picked from commit 8939b5df129777b6597f5f973552ae99ab956b35)
Merged-In: Ia8928e494d8c712bc9cfb592d67476fde9753f45

5 years agoMerge "Revert "configstore: include crash_dump seccomp policy""
Jeffrey Vander Stoep [Fri, 15 Jun 2018 17:02:44 +0000 (10:02 -0700)]
Merge "Revert "configstore: include crash_dump seccomp policy""
am: aeb792be28

Change-Id: I636f1db4864b0c20a113f7a82e4ecda5ee253f40

5 years agoMerge "Revert "configstore: include crash_dump seccomp policy""
Treehugger Robot [Fri, 15 Jun 2018 16:55:17 +0000 (16:55 +0000)]
Merge "Revert "configstore: include crash_dump seccomp policy""

5 years agoRevert "configstore: include crash_dump seccomp policy"
Jeffrey Vander Stoep [Fri, 15 Jun 2018 14:21:11 +0000 (14:21 +0000)]
Revert "configstore: include crash_dump seccomp policy"

This reverts commit 1ca0e947a49a8c9624d83dc4947c101ba7fc3eb6.

Reason for revert: This change caused a configstore crash on Hikey

Change-Id: Ied327b331ac084349bf4d10c34f5702b4da7aab0

5 years agoAllow general errors for getImsiForApp().
Amit Mahajan [Thu, 14 Jun 2018 20:06:28 +0000 (13:06 -0700)]
Allow general errors for getImsiForApp().
am: 2c36d90716

Change-Id: Id8832fa06f2e1b67210deeea06890a88b3bc45e2

5 years agoAllow general errors for getImsiForApp().
Amit Mahajan [Tue, 12 Jun 2018 22:23:39 +0000 (15:23 -0700)]
Allow general errors for getImsiForApp().

This is to match it with other 1.0 tests where general errors are
allowed. For newer tests we have decided to not allow these errors,
but a failure for this old test is reported when run with SIM
present.

Test: run vts -m VtsHalRadioV1_0Target
Bug: 109889468
Change-Id: If36083b7832706a50805932e8ba08e4eb397f3fe

5 years agoMerge "configstore: include crash_dump seccomp policy"
Jeff Vander Stoep [Wed, 13 Jun 2018 18:16:58 +0000 (11:16 -0700)]
Merge "configstore: include crash_dump seccomp policy"
am: 25080b1fff

Change-Id: I54535004faf8beebef7222989d025fa0b999f9a6

5 years agoMerge "configstore: include crash_dump seccomp policy"
Treehugger Robot [Wed, 13 Jun 2018 18:06:36 +0000 (18:06 +0000)]
Merge "configstore: include crash_dump seccomp policy"

5 years agoconfigstore: include crash_dump seccomp policy
Jeff Vander Stoep [Wed, 13 Jun 2018 14:01:58 +0000 (07:01 -0700)]
configstore: include crash_dump seccomp policy

Change-Id: I37ebd0da5747c7c475e9d2d63dc5f9fdc511f8e7
Fixes: 78776142
Test: Crash configstore, verify useful crash info in the logs.

5 years agoMerge "Include libhidl-gen-utils to HAL tests"
Zhuoyao Zhang [Wed, 13 Jun 2018 00:28:52 +0000 (17:28 -0700)]
Merge "Include libhidl-gen-utils to HAL tests"
am: 23802f8200

Change-Id: Ib21f9babcf4b0b921ca8422dc6bbc437ffdb03db

5 years agoMerge "Include libhidl-gen-utils to HAL tests"
Zhuoyao Zhang [Wed, 13 Jun 2018 00:05:50 +0000 (00:05 +0000)]
Merge "Include libhidl-gen-utils to HAL tests"

5 years agoMerge "Do not install assembled framework matrix to device."
Yifan Hong [Tue, 12 Jun 2018 20:05:11 +0000 (13:05 -0700)]
Merge "Do not install assembled framework matrix to device."
am: c70978d890

Change-Id: I607c056eb99e558b9adf172262392767434243cc

5 years agoMerge "Do not install assembled framework matrix to device."
Treehugger Robot [Tue, 12 Jun 2018 19:26:14 +0000 (19:26 +0000)]
Merge "Do not install assembled framework matrix to device."

5 years agoDo not install assembled framework matrix to device.
Yifan Hong [Tue, 12 Jun 2018 01:07:53 +0000 (18:07 -0700)]
Do not install assembled framework matrix to device.

Test: `m` dist
Test: make system matrix incompatible, `m` dist fails
Test: `m` and /system/etc/vintf files are installed
Bug: 110056937
Change-Id: If0bf2023f48ef31fffaf8636b3893cbfb40270ee

5 years agoMerge pi-dev-plus-aosp-without-vendor into stage-aosp-master
Xin Li [Fri, 8 Jun 2018 18:07:51 +0000 (11:07 -0700)]
Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master

Bug: 79597307
Change-Id: Ifa37597ef6090bfbf1b41307a60cf65cfa1f563d