Merge "Remove Android.bp subdirs loop."
Remove Android.bp subdirs loop.
Test: m -j nothing
Change-Id: Ic40edd1986fd40be4bf752ecbe925e6539d0df32
Test: m -j nothing
Change-Id: Ic40edd1986fd40be4bf752ecbe925e6539d0df32
Merge "Update for hidl adapter module defaults."
Merge "Use -Werror in hardware/interfaces"
Update for hidl adapter module defaults.
Test: pass
Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
Test: pass
Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
Use -Werror in hardware/interfaces
* Remove unused local variables.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I48dbbf670cc9eeff2391983788983420f8547cc9
* Remove unused local variables.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I48dbbf670cc9eeff2391983788983420f8547cc9
Merge "Add android.hardware.health@2.0 HAL"
Add android.hardware.health@2.0 HAL
Test: mma
Bug: 62229583
Change-Id: Icc5159424cf2623588a2f2acc7db5ff5bd7eeae8
Test: mma
Bug: 62229583
Change-Id: Icc5159424cf2623588a2f2acc7db5ff5bd7eeae8
Merge "Update inheritance test implementation."
Merge "Convert to Android.bp; rename libminijail_vendor"
Add OWNERS files to keymaster resources
This patch adds swillden@ and jdanis@ as owners of keymaster/3.0/vts
and keymaster/3.0/default.
Test: No code changed
Change-Id: I04bc0f741e8fafd53aee7c9dd62954548b81263d
This patch adds swillden@ and jdanis@ as owners of keymaster/3.0/vts
and keymaster/3.0/default.
Test: No code changed
Change-Id: I04bc0f741e8fafd53aee7c9dd62954548b81263d
Update inheritance test implementation.
HIDL_FETCH_IParent returns a child object
when the "child" instance name is requested.
Bug: 67104214
Test: hidl's run_all_device_tests.sh
Change-Id: Ie4b85d657e5d066fb77832e188062af29bc2e7c6
HIDL_FETCH_IParent returns a child object
when the "child" instance name is requested.
Bug: 67104214
Test: hidl's run_all_device_tests.sh
Change-Id: Ie4b85d657e5d066fb77832e188062af29bc2e7c6
Merge "Fix typo in update makefiles."
Merge "Update base files script works anywhere."
Fix typo in update makefiles.
Bug: 37518178
Test: pass
Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
Bug: 37518178
Test: pass
Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
Update base files script works anywhere.
Test: update-base-files.sh
Change-Id: I8a7e935cc685c8d389a46b28e33ea20c61bcc1ac
Test: update-base-files.sh
Change-Id: I8a7e935cc685c8d389a46b28e33ea20c61bcc1ac
Convert to Android.bp; rename libminijail_vendor
libminijail_vendor is now just libminijail, now that it's been converted
to Soong.
See build/soong/README.md for more information about Soong.
Test: mmma hardware/interfaces/minijail
Change-Id: Iefa49fbbd96c1ae18c5da4367e2c9135d8c25a5c
libminijail_vendor is now just libminijail, now that it's been converted
to Soong.
See build/soong/README.md for more information about Soong.
Test: mmma hardware/interfaces/minijail
Change-Id: Iefa49fbbd96c1ae18c5da4367e2c9135d8c25a5c
Add libhwminijail for sandboxing with seccomp filters
This is a partial cherry-pick of the internal change, including just
libhwminijail. The user does not exist in AOSP yet.
Bug: 36453956
Test: mmma hardware/interface/minijail
Merged-In: Iab014ff357b7329085a5e18a92f51838d2c72371
Change-Id: I46b030efba25aac3c09cef9bfb782ecdc7187e70
This is a partial cherry-pick of the internal change, including just
libhwminijail. The user does not exist in AOSP yet.
Bug: 36453956
Test: mmma hardware/interface/minijail
Merged-In: Iab014ff357b7329085a5e18a92f51838d2c72371
Change-Id: I46b030efba25aac3c09cef9bfb782ecdc7187e70
Update makefiles for hidl adapter.
Bug: 37518178
Test: manual
Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
Bug: 37518178
Test: manual
Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
Skip direct report test if sensor is not available
Skip SensorsHidlTest.*AshmemDirectReportOperation* tests if sensor
is not available on device.
Bug: 64230704
Test: compiles and test pass for a pixel device with mag sensor
masked in hal.
Change-Id: I9bfbea6301891eaa2b272bd3d15b0e237799b5d6
Merged-In: I9bfbea6301891eaa2b272bd3d15b0e237799b5d6
Skip SensorsHidlTest.*AshmemDirectReportOperation* tests if sensor
is not available on device.
Bug: 64230704
Test: compiles and test pass for a pixel device with mag sensor
masked in hal.
Change-Id: I9bfbea6301891eaa2b272bd3d15b0e237799b5d6
Merged-In: I9bfbea6301891eaa2b272bd3d15b0e237799b5d6
Relax accelerometer events norm check
Current accelerometer norm check threshold is tight and cause
unnecessary test flakiness in test environment with small
inevitable vibration (e.g. from people walking by testing
lab).
This CL relax the threshold from 0.5m/s^2 to 1m/s^2.
Test: vts pass
Bug: 62811045
Change-Id: I5d7e736623c892b6e6c9b8ddc5d0f53fa8aaba77
Merged-In: I5d7e736623c892b6e6c9b8ddc5d0f53fa8aaba77
Current accelerometer norm check threshold is tight and cause
unnecessary test flakiness in test environment with small
inevitable vibration (e.g. from people walking by testing
lab).
This CL relax the threshold from 0.5m/s^2 to 1m/s^2.
Test: vts pass
Bug: 62811045
Change-Id: I5d7e736623c892b6e6c9b8ddc5d0f53fa8aaba77
Merged-In: I5d7e736623c892b6e6c9b8ddc5d0f53fa8aaba77
Only convert valid SharedMemInfo
This CL avoids passing nullptr to underlying HAL and cause
SEGFAULT.
Bug: 37589989
Test: compiles and VTS passing
Change-Id: Ic44409e64466e54a3a3027721897c0755ba34fc7
Merged-In: Ic44409e64466e54a3a3027721897c0755ba34fc7
This CL avoids passing nullptr to underlying HAL and cause
SEGFAULT.
Bug: 37589989
Test: compiles and VTS passing
Change-Id: Ic44409e64466e54a3a3027721897c0755ba34fc7
Merged-In: Ic44409e64466e54a3a3027721897c0755ba34fc7
Augment HotSwitchOperation to test slow to fast case
Originally, SamplingRateHotSwitchOperation only tests the case
in which requested sensor sampling rate goes from fast to slow.
Recent regression demonstrates that it is also worthwhile to test
transition in the other direction, i.e. from slow to fast. This
CL add the slow to fast transition test.
Bug: 65138983
Test: sailfish failed the test before being patched.
Test: sailfish passed after being patched (ag/2824590)
Change-Id: If02509c75f74145544f0a2ce5d2aaec24e7326b8
Merged-In: If02509c75f74145544f0a2ce5d2aaec24e7326b8
Originally, SamplingRateHotSwitchOperation only tests the case
in which requested sensor sampling rate goes from fast to slow.
Recent regression demonstrates that it is also worthwhile to test
transition in the other direction, i.e. from slow to fast. This
CL add the slow to fast transition test.
Bug: 65138983
Test: sailfish failed the test before being patched.
Test: sailfish passed after being patched (ag/2824590)
Change-Id: If02509c75f74145544f0a2ce5d2aaec24e7326b8
Merged-In: If02509c75f74145544f0a2ce5d2aaec24e7326b8
Sensor VTS testBatchingOperation flakiness fix
This CL is cherry-picked from internal branch oc-dev.
Bug: 64732324
Bug: 63529148
Test: testBatchingOperation passes consistently
Merged-In: Id4e8075e249f3658f5683d53d6dc8403ee32bc4a
Change-Id: Id4e8075e249f3658f5683d53d6dc8403ee32bc4a
This CL is cherry-picked from internal branch oc-dev.
Bug: 64732324
Bug: 63529148
Test: testBatchingOperation passes consistently
Merged-In: Id4e8075e249f3658f5683d53d6dc8403ee32bc4a
Change-Id: Id4e8075e249f3658f5683d53d6dc8403ee32bc4a
Merge "hidl_test: update expression test"
Merge "Add capability for sensor hal to use wakelock"
Merge changes from topic "hidl_for_test_aosp"
* changes:
Mark android.hardware.tests.trie as a test HAL interface
HAL interface libs for testing are built w/o VNDK.
* changes:
Mark android.hardware.tests.trie as a test HAL interface
HAL interface libs for testing are built w/o VNDK.
hidl_test: update expression test
Add more tests to constant expressions in HIDL.
Test: m hidl_test -j
Bug: 64613737
Change-Id: I9cd2bf7bbd8b911f49784f376a0cd834561cd0c8
Add more tests to constant expressions in HIDL.
Test: m hidl_test -j
Bug: 64613737
Change-Id: I9cd2bf7bbd8b911f49784f376a0cd834561cd0c8
Merge "Add test for fq reference to local type."
Merge "Add OWNERS file for sensors"
Add OWNERS file for sensors
Add owners file for default sensors HAL implementation and the
functional VTS tests.
Test: Build compiles
Change-Id: I54f28cb131f344d779ca34cdce027881bab5f59d
Merged-In: I54f28cb131f344d779ca34cdce027881bab5f59d
Add owners file for default sensors HAL implementation and the
functional VTS tests.
Test: Build compiles
Change-Id: I54f28cb131f344d779ca34cdce027881bab5f59d
Merged-In: I54f28cb131f344d779ca34cdce027881bab5f59d
Mark android.hardware.tests.trie as a test HAL interface
Bug: 64776708
Test: no android.hardware.tests.*.so file in
/system/lib[64]/vndk on 2017 pixel devices
Change-Id: I896798a77be2ee0295fbdc39ae0834492d29e3b9
Bug: 64776708
Test: no android.hardware.tests.*.so file in
/system/lib[64]/vndk on 2017 pixel devices
Change-Id: I896798a77be2ee0295fbdc39ae0834492d29e3b9
HAL interface libs for testing are built w/o VNDK.
The HAL interfaces for testing were copied to /system/lib[64]/vndk
directory since they are built as cc_library and thus falsely recognized
as members of VNDK, which isn't true.
Build them as non-VNDK so that they are filtered out. To do so,
.hidl_for_test files are added for the test HALs and update-makefiles.sh
were ran.
Bug: 64776708
Test: no android.hardware.tests.*.so file in /system/lib[64]/vndk on
2017 pixel devices
Merged-In: I6167da8572081adfb53f432b248ac3bbee39dc42
Change-Id: I6167da8572081adfb53f432b248ac3bbee39dc42
(cherry picked from commit 526a36ca2415e66a8b1b7b0d596fab26d8e18724)
The HAL interfaces for testing were copied to /system/lib[64]/vndk
directory since they are built as cc_library and thus falsely recognized
as members of VNDK, which isn't true.
Build them as non-VNDK so that they are filtered out. To do so,
.hidl_for_test files are added for the test HALs and update-makefiles.sh
were ran.
Bug: 64776708
Test: no android.hardware.tests.*.so file in /system/lib[64]/vndk on
2017 pixel devices
Merged-In: I6167da8572081adfb53f432b248ac3bbee39dc42
Change-Id: I6167da8572081adfb53f432b248ac3bbee39dc42
(cherry picked from commit 526a36ca2415e66a8b1b7b0d596fab26d8e18724)
Merge "Fix docstrings for RIL_CellIdentity"
Add capability for sensor hal to use wakelock
Bug: 63995095
Test: no more wake lock acquire failures in QCOM and nanohub sensor
hal
Change-Id: I2a5c2e29ecb66869a408f53998b6074ed07b493a
Merged-In: I2a5c2e29ecb66869a408f53998b6074ed07b493a
Bug: 63995095
Test: no more wake lock acquire failures in QCOM and nanohub sensor
hal
Change-Id: I2a5c2e29ecb66869a408f53998b6074ed07b493a
Merged-In: I2a5c2e29ecb66869a408f53998b6074ed07b493a
Merge "Camera: synchronize access to mMemoryMap"
Camera: synchronize access to mMemoryMap
Test: stress test on partner device
Bug: 64831570
Change-Id: Ib9ece2f876ccb309c4f1bb8f90242a3e91081f47
Merged-In: Ib9ece2f876ccb309c4f1bb8f90242a3e91081f47
Test: stress test on partner device
Bug: 64831570
Change-Id: Ib9ece2f876ccb309c4f1bb8f90242a3e91081f47
Merged-In: Ib9ece2f876ccb309c4f1bb8f90242a3e91081f47
Add test for fq reference to local type.
Test: m hidl_test (checks are done statically)
Bug: 65597200
Change-Id: I6e73414dab00c3bf5a4684c5f839333e582e7cd7
Test: m hidl_test (checks are done statically)
Bug: 65597200
Change-Id: I6e73414dab00c3bf5a4684c5f839333e582e7cd7
Merge "Print full name test"
Merge "Test HIDL topological reordering"
Mark hidl utils as vndk
As a VNDK module, Android.bp must have 'vndk' tag as well as
'vendor_available: true'.
The 'vndk' tag for VNDK module is formated as below:
vndk: {
enabled: true,
},
VNDK modules will be installed both in system/lib(64) as normal and
in system/lib(64)/vndk as a vendor variant.
Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Merged-In: If0eb0c1bddfa5bdc7ea0ca4635d4e53b59836582
Change-Id: If0eb0c1bddfa5bdc7ea0ca4635d4e53b59836582
(cherry picked from commit eff28dc3ba58bc734fc77fed478fc7a77fa9348e)
As a VNDK module, Android.bp must have 'vndk' tag as well as
'vendor_available: true'.
The 'vndk' tag for VNDK module is formated as below:
vndk: {
enabled: true,
},
VNDK modules will be installed both in system/lib(64) as normal and
in system/lib(64)/vndk as a vendor variant.
Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Merged-In: If0eb0c1bddfa5bdc7ea0ca4635d4e53b59836582
Change-Id: If0eb0c1bddfa5bdc7ea0ca4635d4e53b59836582
(cherry picked from commit eff28dc3ba58bc734fc77fed478fc7a77fa9348e)
Print full name test
Bug: 65563308
Test: hidl_test
Change-Id: I629a5a7fa708b567591e27bdb39ed5626add4895
Bug: 65563308
Test: hidl_test
Change-Id: I629a5a7fa708b567591e27bdb39ed5626add4895
Test HIDL topological reordering
Bug: 65636464
Test: hidl_test
Change-Id: I7eae65c89252bebf865803d24101b08a7088c669
Bug: 65636464
Test: hidl_test
Change-Id: I7eae65c89252bebf865803d24101b08a7088c669
Fix docstrings for RIL_CellIdentity
Update the documentation to match the current CTS
requirements for Cell Identity reporting.
-For LTE, WCDMA, and GSM require that the channel
number be reported.
-For LTE and WCDMA, require that the correct
physical channel identifier be reported. Note that
due to b/32774471 we still cannot require BSIC
to be reported.
Bug: 65174915
Test: none, comment-only change
Change-Id: I93fcce3b39401e8965f724722361c2cadc4a88cc
Merged-In: I93fcce3b39401e8965f724722361c2cadc4a88cc
(cherry picked from commit 8d2d747e9edcd6f3d20ddffe2c6ca80b61766c1e)
Update the documentation to match the current CTS
requirements for Cell Identity reporting.
-For LTE, WCDMA, and GSM require that the channel
number be reported.
-For LTE and WCDMA, require that the correct
physical channel identifier be reported. Note that
due to b/32774471 we still cannot require BSIC
to be reported.
Bug: 65174915
Test: none, comment-only change
Change-Id: I93fcce3b39401e8965f724722361c2cadc4a88cc
Merged-In: I93fcce3b39401e8965f724722361c2cadc4a88cc
(cherry picked from commit 8d2d747e9edcd6f3d20ddffe2c6ca80b61766c1e)
Merge "Interface for hidl forward reference test"
Merge "Update build for test hal: libhwbinder"
Interface for hidl forward reference test
Test proofs that forward reference can now be used.
Test contains trie implementation and some forward reference examples.
Bug: 31827278
Test: hidl_test
Change-Id: I55cdde500baea3e70ebf4466c681ad652b6ff9fd
Test proofs that forward reference can now be used.
Test contains trie implementation and some forward reference examples.
Bug: 31827278
Test: hidl_test
Change-Id: I55cdde500baea3e70ebf4466c681ad652b6ff9fd
Update build for test hal: libhwbinder
* Use cc_default to extract common build rules.
* Static link android.hardware.tests.libhwbinder@1.0 to the impl lib.
Bug: 65483634
Test: make vts
vts-tradefed run vts-performance
Change-Id: Ia6fc6593e3f833c1a7de91f817fb684280a8b555
* Use cc_default to extract common build rules.
* Static link android.hardware.tests.libhwbinder@1.0 to the impl lib.
Bug: 65483634
Test: make vts
vts-tradefed run vts-performance
Change-Id: Ia6fc6593e3f833c1a7de91f817fb684280a8b555
Merge "Sensor direct report test - gralloc support"
Merge changes from topic "fix-omx-dependencies"
* changes:
Make camera/drm helper classes available to system.
Remove dependency to libmediadrm from drm HAL
* changes:
Make camera/drm helper classes available to system.
Remove dependency to libmediadrm from drm HAL
6 years agoBluetooth: Remove credit check from Loopback tests android-o-mr1-preview-1 android-o-mr1-preview-2
Bluetooth: Remove credit check from Loopback tests
The Bluetooth specification doesn't require data credits
to come back within a specific timeframe, so the VTS test
can not require it.
Bug: 65269854
Test: VtsHalBlueoothV1_0TargetTest with simulated chip (no credits)
Change-Id: If2fc052d3b5236f6a3097f3d5403882226561404
The Bluetooth specification doesn't require data credits
to come back within a specific timeframe, so the VTS test
can not require it.
Bug: 65269854
Test: VtsHalBlueoothV1_0TargetTest with simulated chip (no credits)
Change-Id: If2fc052d3b5236f6a3097f3d5403882226561404
Sensor direct report test - gralloc support
Bug: 37794556
Test: sensor vts passes on 2016 and 2017 devices
Change-Id: Ibe1d076c24dc2cfe61dfd19aa5055c9075aa9e14
Merged-In: Ibe1d076c24dc2cfe61dfd19aa5055c9075aa9e14
Bug: 37794556
Test: sensor vts passes on 2016 and 2017 devices
Change-Id: Ibe1d076c24dc2cfe61dfd19aa5055c9075aa9e14
Merged-In: Ibe1d076c24dc2cfe61dfd19aa5055c9075aa9e14
Make camera/drm helper classes available to system.
As VTS tests are considered system and link against these.
Bug: 38302533
Bug: 62523241
Test: builds
Change-Id: Iac5c872c58ec9646d6d6974aacceb930daad7e5e
As VTS tests are considered system and link against these.
Bug: 38302533
Bug: 62523241
Test: builds
Change-Id: Iac5c872c58ec9646d6d6974aacceb930daad7e5e
Remove dependency to libmediadrm from drm HAL
drm HAL has been using libmediadrm for android::SharedLibrary class and
android::PluginLoader class. This is a Treble violation since
libmediadrm is a framework-only library that is not available to
vendors.
To solve the problem, the two classes are copied into this directory
to form a small static library android.hardware.drm@1.0-helper.a.
Bug: 38302533
Test: mm under /hardware/interfaces/drm/1.0/default and
/hardware/interfaces/drm/1.0/vts/functional
Change-Id: I7b4e5cdb3bc815e971e0c3b7ec99ea86042e13eb
drm HAL has been using libmediadrm for android::SharedLibrary class and
android::PluginLoader class. This is a Treble violation since
libmediadrm is a framework-only library that is not available to
vendors.
To solve the problem, the two classes are copied into this directory
to form a small static library android.hardware.drm@1.0-helper.a.
Bug: 38302533
Test: mm under /hardware/interfaces/drm/1.0/default and
/hardware/interfaces/drm/1.0/vts/functional
Change-Id: I7b4e5cdb3bc815e971e0c3b7ec99ea86042e13eb
Check array dimenstion order
Bug: 65257916
Test: mma
Change-Id: I5dcd859120800909b6fc4811c5e5a0d2f8790bcd
Bug: 65257916
Test: mma
Change-Id: I5dcd859120800909b6fc4811c5e5a0d2f8790bcd
Bluetooth: AsyncFdWatcher: Fix FD leak
AsyncFdWatcher thread notification pipe fds without close
which causes FD leak under Bluetooth on/off stress test.
Close the notification pipe fds when shut down Bluetooth.
Test: Bluetooth on/off stress test
Change-Id: I7575adec49161f9764f0e070ef3c1043b8295a97
AsyncFdWatcher thread notification pipe fds without close
which causes FD leak under Bluetooth on/off stress test.
Close the notification pipe fds when shut down Bluetooth.
Test: Bluetooth on/off stress test
Change-Id: I7575adec49161f9764f0e070ef3c1043b8295a97
VTS tests now static link to HAL def libs.
And use VtsHalTargetTestDefaults.
This is a partial cherry-pick of ag/2657080.
Bug: 64040096
Test: compiles, works fine in internal master
Merged-In: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
Change-Id: I76d47d8546416b57055841851a9d343026cd3210
And use VtsHalTargetTestDefaults.
This is a partial cherry-pick of ag/2657080.
Bug: 64040096
Test: compiles, works fine in internal master
Merged-In: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
Change-Id: I76d47d8546416b57055841851a9d343026cd3210
Bluetooth: Remove random MAC addresses
Bug:65014945
Test: boot a wiped device with no property set, check the Bluetooth address
Change-Id: I905f9dbf2f0782e19de64a8f798d1e26ffd9f1bf
Bug:65014945
Test: boot a wiped device with no property set, check the Bluetooth address
Change-Id: I905f9dbf2f0782e19de64a8f798d1e26ffd9f1bf
Merge "Bluetooth: Check H4 HCI packet types"
Bluetooth: Return false when not shut down
Do not crash in the vendor layer. The stack will crash
when it fails to initialize.
Bug: 64535243
Test: Bluetooth starts/stops
Change-Id: I69fdd2879c80fa2f006c50f0a42a85e9289b14fe
Do not crash in the vendor layer. The stack will crash
when it fails to initialize.
Bug: 64535243
Test: Bluetooth starts/stops
Change-Id: I69fdd2879c80fa2f006c50f0a42a85e9289b14fe
Bluetooth: Check H4 HCI packet types
An invalid type byte can cause an access outside
the bounds of the array.
Bug: 64565737
Test: Bluetooth On/Off
Change-Id: Ie11dd62942f66b9fc60ebce2e4339c37d597fdf0
An invalid type byte can cause an access outside
the bounds of the array.
Bug: 64565737
Test: Bluetooth On/Off
Change-Id: Ie11dd62942f66b9fc60ebce2e4339c37d597fdf0
Move android.hardware.tests.libhwbinder@1.0-impl to system.img
am: d536358066
Change-Id: Ic407842046122563020b00d7df6b0e13d27aab74
am: d536358066
Change-Id: Ic407842046122563020b00d7df6b0e13d27aab74
Move android.hardware.tests.libhwbinder@1.0-impl to system.img
Bug: 64723866
Test: make vts
vts-tradefed run vts-performance
Change-Id: Ib5e993d98f7fa12dcb2b418a995887b59394c849
Bug: 64723866
Test: make vts
vts-tradefed run vts-performance
Change-Id: Ib5e993d98f7fa12dcb2b418a995887b59394c849
Updating all makefiles.
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
Merged-In: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
Change-Id: I170fa1c4fe39f8109b1670db58ef99bb11afc0be
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
Merged-In: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
Change-Id: I170fa1c4fe39f8109b1670db58ef99bb11afc0be
Merge "Add the error code "OPERATION_NOT_ALLOWED" and log the error."
am: fe9cb04ec1
Change-Id: If1c8a16729f9d405ea0507a8a9ec2f5e4a5237d1
am: fe9cb04ec1
Change-Id: If1c8a16729f9d405ea0507a8a9ec2f5e4a5237d1
6 years agoMerge "Add the error code "OPERATION_NOT_ALLOWED" and log the error." android-o-iot-preview-5
Merge "Add the error code "OPERATION_NOT_ALLOWED" and log the error."
Merge "Bluetooth: Check the number of file descriptors"
am: 6b75bccdce
Change-Id: I16d0c95de17649cd5750aad13a7578c3e7c007b0
am: 6b75bccdce
Change-Id: I16d0c95de17649cd5750aad13a7578c3e7c007b0
Merge "Bluetooth: Check the number of file descriptors"
Merge "Bluetooth: Add OWNERS file for default/"
am: 7b351292fe
Change-Id: I34716c300678db8d1ae6a4d5aada936d8ce009fc
am: 7b351292fe
Change-Id: I34716c300678db8d1ae6a4d5aada936d8ce009fc
Merge "Bluetooth: Add OWNERS file for default/"
NFC: Add OWNERS file for default/
am: 31439b1d24
Change-Id: I124b2274c0226527853c48f9a383ec0edbd8857a
am: 31439b1d24
Change-Id: I124b2274c0226527853c48f9a383ec0edbd8857a
Bluetooth: Add OWNERS file for default/
Test: build
Change-Id: Ib4cbd5502ac0791d4bc700f28de68d0548256de6
Test: build
Change-Id: Ib4cbd5502ac0791d4bc700f28de68d0548256de6
NFC: Add OWNERS file for default/
Test: build
Change-Id: I6e854923fdd66991bcc7ed3446106d148abea982
Test: build
Change-Id: I6e854923fdd66991bcc7ed3446106d148abea982
Bluetooth: Check the number of file descriptors
Opening the serial port(s) returns -1 when it fails, check
that the number of file descriptors is greater than 0 and
less than the size of the array.
Test: VtsHalBluetoothV1_0TargetTest, Bluetooth start/stop
Bug: 64420262
Change-Id: Icbffa5bd8c02030e389bac03aa5e1e78cc3c6057
Opening the serial port(s) returns -1 when it fails, check
that the number of file descriptors is greater than 0 and
less than the size of the array.
Test: VtsHalBluetoothV1_0TargetTest, Bluetooth start/stop
Bug: 64420262
Change-Id: Icbffa5bd8c02030e389bac03aa5e1e78cc3c6057
Add the error code "OPERATION_NOT_ALLOWED" and log the error.
Cherry-picked cleanly from:
https://googleplex-android-review.git.corp.google.com/#/c/platform/hardware/interfaces/+/2678915/
Test: Telephony sanity tests, run vts -m VtsHalRadioV1_1Target
Bug: 64426938
Merged-in: Id4f06842186b10a52640372c23bc2b368cc1e9ab
Change-Id: Id4f06842186b10a52640372c23bc2b368cc1e9ab
(cherry picked from commit 41815045237eaa7ba6431411bdb222736ceaf9df)
Cherry-picked cleanly from:
https://googleplex-android-review.git.corp.google.com/#/c/platform/hardware/interfaces/+/2678915/
Test: Telephony sanity tests, run vts -m VtsHalRadioV1_1Target
Bug: 64426938
Merged-in: Id4f06842186b10a52640372c23bc2b368cc1e9ab
Change-Id: Id4f06842186b10a52640372c23bc2b368cc1e9ab
(cherry picked from commit 41815045237eaa7ba6431411bdb222736ceaf9df)
Manually update makefile for vndk-sp hidl libs.
am: 282278fa9e
Change-Id: Iab8a3fe2dba402804ef47b3dbb09b87ceec490d6
am: 282278fa9e
Change-Id: Iab8a3fe2dba402804ef47b3dbb09b87ceec490d6
Update makefiles for vndk enabled.
am: 5e59402492
Change-Id: I08414d68d5275df82336653cb91765af7235f914
am: 5e59402492
Change-Id: I08414d68d5275df82336653cb91765af7235f914
Manually update makefile for vndk-sp hidl libs.
vndk-sp is not automatically tagged by hidl-gen.
For vndk-sp libs, "support_system_process: true" is manually added
in "vndk" property.
Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Merged-In: I2b18d691411e58dc55bcdfa39ecb3659242c8437
Change-Id: I2b18d691411e58dc55bcdfa39ecb3659242c8437
(cherry picked from commit f2bd6c12a2417fd10f512b3194bb0670be2e5fa5)
vndk-sp is not automatically tagged by hidl-gen.
For vndk-sp libs, "support_system_process: true" is manually added
in "vndk" property.
Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Merged-In: I2b18d691411e58dc55bcdfa39ecb3659242c8437
Change-Id: I2b18d691411e58dc55bcdfa39ecb3659242c8437
(cherry picked from commit f2bd6c12a2417fd10f512b3194bb0670be2e5fa5)
Update makefiles for vndk enabled.
Test: none
Bug: 63866913
Merged-In: I29174fdadca2828455ef49f14e53bc95c5238dbb
Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb
(cherry picked from commit c716b8c3070f560c11fcc0d7d9b8b19af6bbaf28)
Test: none
Bug: 63866913
Merged-In: I29174fdadca2828455ef49f14e53bc95c5238dbb
Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb
(cherry picked from commit c716b8c3070f560c11fcc0d7d9b8b19af6bbaf28)
Merge "Add Owners for radio vts"
am: 6a63f13176
Change-Id: Ia686d57c519a7ac2c4c546d89bbffe331847a8cc
am: 6a63f13176
Change-Id: Ia686d57c519a7ac2c4c546d89bbffe331847a8cc
Merge "Add Owners for radio vts"
Update comments for VtsHalTargetTestDefaults.
am: e6ca2b3d63
Change-Id: Icdb947e2bdb2a4ceffc368c725c49d13bfdf9e1d
am: e6ca2b3d63
Change-Id: Icdb947e2bdb2a4ceffc368c725c49d13bfdf9e1d
Update comments for VtsHalTargetTestDefaults.
Bug: 64040096
Test: only comments added
Merged-In: I4a38aa0ed339c65aa4ffbe5c46489f27c745d5d6
Change-Id: I4a38aa0ed339c65aa4ffbe5c46489f27c745d5d6
(cherry picked from commit 1ef659eeda83c758e4f4bd0cc0f8143821d3b49c)
Bug: 64040096
Test: only comments added
Merged-In: I4a38aa0ed339c65aa4ffbe5c46489f27c745d5d6
Change-Id: I4a38aa0ed339c65aa4ffbe5c46489f27c745d5d6
(cherry picked from commit 1ef659eeda83c758e4f4bd0cc0f8143821d3b49c)
Add Owners for radio vts
Test: no need
Bug: 64220334
Change-Id: I9614d88942f9adf06d60fe6f4702b7b3a7dd8027
Test: no need
Bug: 64220334
Change-Id: I9614d88942f9adf06d60fe6f4702b7b3a7dd8027
[AWARE] Fix validity check on PMK + export PASSPHRASE lengths
Bug: 62376042
Test: unit tests + integrated (sl4a) tests
Test: hidl-gen -L check android.hardware.wifi@1.0
Merged-In: I4c0e19a21a268fe7f2d38e82f3743ac5a8e2c6cb
Change-Id: I90f6f64d587331ad16538291b82ffa1b50fe5e0c
Bug: 62376042
Test: unit tests + integrated (sl4a) tests
Test: hidl-gen -L check android.hardware.wifi@1.0
Merged-In: I4c0e19a21a268fe7f2d38e82f3743ac5a8e2c6cb
Change-Id: I90f6f64d587331ad16538291b82ffa1b50fe5e0c
Merge changes from topic 'go-away-static-hidl-java'
am: f4c58cd48c
Change-Id: I3502ad1d51868cd82bbe811bdf2b96ec45ccfbe6
am: f4c58cd48c
Change-Id: I3502ad1d51868cd82bbe811bdf2b96ec45ccfbe6
Merge changes from topic 'go-away-static-hidl-java'
* changes:
Update makefiles.
Add an empty 1.1 ISap interface.
[AWARE] Fix validity check on PMK + export PASSPHRASE lengths
* changes:
Update makefiles.
Add an empty 1.1 ISap interface.
[AWARE] Fix validity check on PMK + export PASSPHRASE lengths
Merge "Add vts test for setCarrierInfoForImsiEncryption"
am: afcdb1effb
Change-Id: I08ab4ff325457ee5242060a5b40e56ce0c227ad4
am: afcdb1effb
Change-Id: I08ab4ff325457ee5242060a5b40e56ce0c227ad4
Merge "Add vts test for setCarrierInfoForImsiEncryption"
Update makefiles.
Removes redundant "java-static" target.
Note, targets aren't removed here which have internal
targets that depend on them.
Bug: 36376126
Test: pass
Change-Id: I830f02e5f219d2d58721132c358d2783c3942eac
Removes redundant "java-static" target.
Note, targets aren't removed here which have internal
targets that depend on them.
Bug: 36376126
Test: pass
Change-Id: I830f02e5f219d2d58721132c358d2783c3942eac
Add an empty 1.1 ISap interface.
This is needed since manifest doesn't support different versions
for different interfaces in a package. Since there's a 1.1 for
IRadio, there needs to be a 1.1 for ISap as well.
Test: build
Bug: 63598469
Bug: 62371412
Change-Id: I7537b0074f772fab4a26d4ed97d346610784eeac
Merged-In: I9a0bd898e5d236f05d6574b3e3093521d0f57d52
This is needed since manifest doesn't support different versions
for different interfaces in a package. Since there's a 1.1 for
IRadio, there needs to be a 1.1 for ISap as well.
Test: build
Bug: 63598469
Bug: 62371412
Change-Id: I7537b0074f772fab4a26d4ed97d346610784eeac
Merged-In: I9a0bd898e5d236f05d6574b3e3093521d0f57d52
[AWARE] Fix validity check on PMK + export PASSPHRASE lengths
Bug: 62376042
Bug: 36376126
Test: unit tests + integrated (sl4a) tests
Change-Id: I90de33a36bdfdd746710b0c5b0e25458fe3c06c7
Merged-In: I4c0e19a21a268fe7f2d38e82f3743ac5a8e2c6cb
Bug: 62376042
Bug: 36376126
Test: unit tests + integrated (sl4a) tests
Change-Id: I90de33a36bdfdd746710b0c5b0e25458fe3c06c7
Merged-In: I4c0e19a21a268fe7f2d38e82f3743ac5a8e2c6cb
Merge changes from topic 'vts_deps'
am: 7d149a564f
Change-Id: Idf236b741d7ff2cc529002218c34a3b4f0cf625c
am: 7d149a564f
Change-Id: Idf236b741d7ff2cc529002218c34a3b4f0cf625c
Merge changes from topic 'vts_deps'
* changes:
VTS tests now static link to HAL def libs.
Add cc_defaults VtsHalTargetTestDefaults
* changes:
VTS tests now static link to HAL def libs.
Add cc_defaults VtsHalTargetTestDefaults
Add vts test for setCarrierInfoForImsiEncryption
Currently there is no implementation for this api by vendor code.
So we should check only for REQUEST_NOT_SUPPPORTED or NONE
as error returned at present.
Test: run vts
Bug: 64073713
Change-Id: I27f544cf6521d2f913f97e1b8f662a05166ddc11
Merged-In: I27f544cf6521d2f913f97e1b8f662a05166ddc11
Currently there is no implementation for this api by vendor code.
So we should check only for REQUEST_NOT_SUPPPORTED or NONE
as error returned at present.
Test: run vts
Bug: 64073713
Change-Id: I27f544cf6521d2f913f97e1b8f662a05166ddc11
Merged-In: I27f544cf6521d2f913f97e1b8f662a05166ddc11
VTS tests now static link to HAL def libs.
And use VtsHalTargetTestDefaults.
Bug: 64040096
Test: compiles
Change-Id: I3cfb1a64f6abcf3145337a736800b72d92a0b152
And use VtsHalTargetTestDefaults.
Bug: 64040096
Test: compiles
Change-Id: I3cfb1a64f6abcf3145337a736800b72d92a0b152
nfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0
am: c901276e60
Change-Id: Ia846b4a158889cd236e5e8b1b6e128b71266abf3
am: c901276e60
Change-Id: Ia846b4a158889cd236e5e8b1b6e128b71266abf3
nfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0
Bug: 64245250
Test: run vts test
Change-Id: I4ca434fb1fb44a6278942f020ddd02b162d7f605
Bug: 64245250
Test: run vts test
Change-Id: I4ca434fb1fb44a6278942f020ddd02b162d7f605
Add cc_defaults VtsHalTargetTestDefaults
Makes it easier to control how vts tests link to system libs.
Also, removes a lot of redundant lines in test make rules.
Bug: 64040096
Test: compiles
Change-Id: I10796e3fa8f61a307dbb7edace537a96ec83bea7
Makes it easier to control how vts tests link to system libs.
Also, removes a lot of redundant lines in test make rules.
Bug: 64040096
Test: compiles
Change-Id: I10796e3fa8f61a307dbb7edace537a96ec83bea7