]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/log
android/platform-hardware-interfaces.git
6 years agoMerge "Test extension -> Android.bp"
Steven Moreland [Thu, 5 Oct 2017 19:14:19 +0000 (19:14 +0000)]
Merge "Test extension -> Android.bp"
am: d35806414c

Change-Id: I939d2d836ebc530e2805f4c85bb05c00d54dbc5b

6 years agoMerge "Test extension -> Android.bp"
Treehugger Robot [Thu, 5 Oct 2017 19:10:42 +0000 (19:10 +0000)]
Merge "Test extension -> Android.bp"

6 years agoMerge "Convert usb service .mk -> .bp."
Steven Moreland [Thu, 5 Oct 2017 17:38:27 +0000 (17:38 +0000)]
Merge "Convert usb service .mk -> .bp."
am: 16b3e062ce

Change-Id: Ic8011399e470a1c62156c656a0ea1987ed999382

6 years agoMerge "Convert usb service .mk -> .bp."
Treehugger Robot [Thu, 5 Oct 2017 17:33:49 +0000 (17:33 +0000)]
Merge "Convert usb service .mk -> .bp."

6 years agoMerge "Vibrator service -> .bp"
Steven Moreland [Thu, 5 Oct 2017 16:04:02 +0000 (16:04 +0000)]
Merge "Vibrator service -> .bp"
am: 3a8a6f9147

Change-Id: I9369f18c88d8f64b5dfea28245bf102e647db31f

6 years agoMerge "Vibrator service -> .bp"
Treehugger Robot [Thu, 5 Oct 2017 15:59:25 +0000 (15:59 +0000)]
Merge "Vibrator service -> .bp"

6 years agoMerge "Remove Android.bp subdirs loop."
Steven Moreland [Thu, 5 Oct 2017 07:47:03 +0000 (07:47 +0000)]
Merge "Remove Android.bp subdirs loop."
am: a8c16c91cc

Change-Id: I74cd620dee37f7f65b0cef29a38b725afdcaf20e

6 years agoMerge "Remove Android.bp subdirs loop."
Treehugger Robot [Thu, 5 Oct 2017 07:38:52 +0000 (07:38 +0000)]
Merge "Remove Android.bp subdirs loop."

6 years agoTest extension -> Android.bp
Steven Moreland [Wed, 4 Oct 2017 23:12:50 +0000 (16:12 -0700)]
Test extension -> Android.bp

Test: mma
Bug: 33420795
Change-Id: Ida23369c5bffb44cb20fef1127fae68b92167459

6 years agoVibrator service -> .bp
Steven Moreland [Wed, 4 Oct 2017 23:07:57 +0000 (16:07 -0700)]
Vibrator service -> .bp

Test: none
Bug: 33420795
Change-Id: I420f7489a785cd9b41865674a176b478ff5437e8

6 years agoConvert usb service .mk -> .bp.
Steven Moreland [Wed, 4 Oct 2017 22:15:44 +0000 (15:15 -0700)]
Convert usb service .mk -> .bp.

Test: none
Bug: 33420795
Change-Id: I4b489a08d850b7c49231e0daadcb9d96e57a7e55

6 years agoRemove Android.bp subdirs loop.
Steven Moreland [Wed, 4 Oct 2017 22:46:55 +0000 (15:46 -0700)]
Remove Android.bp subdirs loop.

Test: m -j nothing
Change-Id: Ic40edd1986fd40be4bf752ecbe925e6539d0df32

6 years agoMerge "Update for hidl adapter module defaults."
Steven Moreland [Wed, 4 Oct 2017 21:45:09 +0000 (21:45 +0000)]
Merge "Update for hidl adapter module defaults."
am: 988c977079

Change-Id: I289818be1b30397391847ba1c532d1014fdbed27

6 years agoMerge "Update for hidl adapter module defaults."
Treehugger Robot [Wed, 4 Oct 2017 21:36:25 +0000 (21:36 +0000)]
Merge "Update for hidl adapter module defaults."

6 years agoMerge "Use -Werror in hardware/interfaces"
Chih-hung Hsieh [Wed, 4 Oct 2017 20:40:30 +0000 (20:40 +0000)]
Merge "Use -Werror in hardware/interfaces"
am: 85bb01dd6b

Change-Id: I9169eb99a256f3a1db9e6f82e11fd96228d9558a

6 years agoMerge "Use -Werror in hardware/interfaces"
Chih-hung Hsieh [Wed, 4 Oct 2017 20:18:52 +0000 (20:18 +0000)]
Merge "Use -Werror in hardware/interfaces"

6 years agoUpdate for hidl adapter module defaults.
Steven Moreland [Wed, 4 Oct 2017 19:47:03 +0000 (12:47 -0700)]
Update for hidl adapter module defaults.

Test: pass
Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf

6 years agoUse -Werror in hardware/interfaces
Chih-Hung Hsieh [Fri, 29 Sep 2017 22:15:48 +0000 (15:15 -0700)]
Use -Werror in hardware/interfaces

* Remove unused local variables.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I48dbbf670cc9eeff2391983788983420f8547cc9

6 years agoMerge "Add android.hardware.health@2.0 HAL"
Yifan Hong [Wed, 4 Oct 2017 18:02:40 +0000 (18:02 +0000)]
Merge "Add android.hardware.health@2.0 HAL"
am: b020127017

Change-Id: I0249412748434b22c1bbbd93a0d170d7e4c0a3e1

6 years agoMerge "Add android.hardware.health@2.0 HAL"
Yifan Hong [Wed, 4 Oct 2017 17:24:44 +0000 (17:24 +0000)]
Merge "Add android.hardware.health@2.0 HAL"

6 years agoAdd android.hardware.health@2.0 HAL
Yifan Hong [Fri, 23 Jun 2017 21:16:35 +0000 (14:16 -0700)]
Add android.hardware.health@2.0 HAL

Test: mma
Bug: 62229583

Change-Id: Icc5159424cf2623588a2f2acc7db5ff5bd7eeae8

6 years agoMerge "Update inheritance test implementation."
Steven Moreland [Tue, 3 Oct 2017 22:15:02 +0000 (22:15 +0000)]
Merge "Update inheritance test implementation."
am: 31fba8cd40

Change-Id: I57935d1a08f1976d2301eee692ed823fb81bfcf4

6 years agoMerge "Convert to Android.bp; rename libminijail_vendor"
Dan Willemsen [Tue, 3 Oct 2017 22:12:53 +0000 (22:12 +0000)]
Merge "Convert to Android.bp; rename libminijail_vendor"
am: cb47aaf493

Change-Id: I9a17fbb1693111074eb93519f5468020627776ba

6 years agoMerge "Update inheritance test implementation."
Treehugger Robot [Tue, 3 Oct 2017 21:49:34 +0000 (21:49 +0000)]
Merge "Update inheritance test implementation."

6 years agoMerge "Convert to Android.bp; rename libminijail_vendor"
Treehugger Robot [Tue, 3 Oct 2017 21:40:55 +0000 (21:40 +0000)]
Merge "Convert to Android.bp; rename libminijail_vendor"

6 years agoAdd OWNERS files to keymaster resources
Janis Danisevskis [Tue, 3 Oct 2017 21:22:58 +0000 (21:22 +0000)]
Add OWNERS files to keymaster resources
am: e6014f69ea

Change-Id: I71c2388fd278869daa652ae10fb8b7848b6e5443

6 years agoAdd OWNERS files to keymaster resources
Janis Danisevskis [Tue, 3 Oct 2017 20:26:04 +0000 (13:26 -0700)]
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

6 years agoUpdate inheritance test implementation.
Steven Moreland [Mon, 2 Oct 2017 21:47:35 +0000 (14:47 -0700)]
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

6 years agoMerge "Fix typo in update makefiles."
Steven Moreland [Tue, 26 Sep 2017 23:51:07 +0000 (23:51 +0000)]
Merge "Fix typo in update makefiles."
am: 9960148420

Change-Id: I949634e72f817f3a5411130e968acd8efd1d7725

6 years agoMerge "Fix typo in update makefiles."
Treehugger Robot [Tue, 26 Sep 2017 23:48:27 +0000 (23:48 +0000)]
Merge "Fix typo in update makefiles."

6 years agoMerge "Update base files script works anywhere."
Steven Moreland [Tue, 26 Sep 2017 22:22:18 +0000 (22:22 +0000)]
Merge "Update base files script works anywhere."
am: 7d54744e87

Change-Id: I80dde3f30fad77e3e465c92fbe24143363df0ef4

6 years agoMerge "Update base files script works anywhere."
Treehugger Robot [Tue, 26 Sep 2017 22:10:12 +0000 (22:10 +0000)]
Merge "Update base files script works anywhere."

6 years agoFix typo in update makefiles.
Steven Moreland [Tue, 26 Sep 2017 19:54:42 +0000 (12:54 -0700)]
Fix typo in update makefiles.

Bug: 37518178
Test: pass
Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653

6 years agoAdd libhwminijail for sandboxing with seccomp filters
Jeff Vander Stoep [Tue, 26 Sep 2017 16:32:53 +0000 (16:32 +0000)]
Add libhwminijail for sandboxing with seccomp filters
am: 42b9254f23

Change-Id: I827daafadbd632a78b1f0adc7f86599c9d58d512

6 years agoUpdate base files script works anywhere.
Steven Moreland [Tue, 26 Sep 2017 01:43:27 +0000 (18:43 -0700)]
Update base files script works anywhere.

Test: update-base-files.sh
Change-Id: I8a7e935cc685c8d389a46b28e33ea20c61bcc1ac

6 years agoConvert to Android.bp; rename libminijail_vendor
Dan Willemsen [Tue, 26 Sep 2017 00:08:49 +0000 (17:08 -0700)]
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

6 years agoAdd libhwminijail for sandboxing with seccomp filters
Jeff Vander Stoep [Fri, 7 Jul 2017 05:29:12 +0000 (22:29 -0700)]
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

6 years agoUpdate makefiles for hidl adapter.
Steven Moreland [Mon, 25 Sep 2017 23:14:44 +0000 (23:14 +0000)]
Update makefiles for hidl adapter.
am: 26a0bb2762

Change-Id: I3a811f5cd49bd4e81e8fcd5c8e88922115812539

6 years agoSkip direct report test if sensor is not available
Peng Xu [Mon, 25 Sep 2017 23:04:16 +0000 (23:04 +0000)]
Skip direct report test if sensor is not available
am: 7728f0ce5c  -s ours

Change-Id: Iae6e06802af14ed98e09e1f745996d992132682a

6 years agoRelax accelerometer events norm check
Peng Xu [Mon, 25 Sep 2017 23:04:02 +0000 (23:04 +0000)]
Relax accelerometer events norm check
am: 5b036a21a4  -s ours

Change-Id: I8b39e202da0196a19b9130e2fb761ea133723c74

6 years agoOnly convert valid SharedMemInfo
Peng Xu [Mon, 25 Sep 2017 23:03:49 +0000 (23:03 +0000)]
Only convert valid SharedMemInfo
am: ce6e742eb6  -s ours

Change-Id: I347c3c9996ef93488b9217ca8cb0a8d5efc28244

6 years agoAugment HotSwitchOperation to test slow to fast case
Peng Xu [Mon, 25 Sep 2017 23:03:35 +0000 (23:03 +0000)]
Augment HotSwitchOperation to test slow to fast case
am: 44256a7fbd

Change-Id: Ieef5a22c97b06735f73a3d4534ad1418491c3cbd

6 years agoSensor VTS testBatchingOperation flakiness fix
Peng Xu [Mon, 25 Sep 2017 23:01:27 +0000 (23:01 +0000)]
Sensor VTS testBatchingOperation flakiness fix
am: 2aef4b48f0

Change-Id: I90a13d698c69768d8e52e3f48e18b5e29f3f080e

6 years agoUpdate makefiles for hidl adapter.
Steven Moreland [Fri, 22 Sep 2017 21:10:47 +0000 (14:10 -0700)]
Update makefiles for hidl adapter.

Bug: 37518178
Test: manual
Change-Id: I50e999907d3c64d2b039272b823971998da64d1b

6 years agoSkip direct report test if sensor is not available
Peng Xu [Thu, 3 Aug 2017 21:53:35 +0000 (14:53 -0700)]
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

6 years agoRelax accelerometer events norm check
Peng Xu [Wed, 5 Jul 2017 18:24:19 +0000 (11:24 -0700)]
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

6 years agoOnly convert valid SharedMemInfo
Peng Xu [Fri, 5 May 2017 00:14:42 +0000 (17:14 -0700)]
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

6 years agoAugment HotSwitchOperation to test slow to fast case
Peng Xu [Wed, 30 Aug 2017 23:55:13 +0000 (16:55 -0700)]
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

6 years agoSensor VTS testBatchingOperation flakiness fix
Peng Xu [Sat, 19 Aug 2017 00:50:57 +0000 (17:50 -0700)]
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

6 years agoMerge "hidl_test: update expression test"
Yifan Hong [Mon, 18 Sep 2017 20:09:27 +0000 (20:09 +0000)]
Merge "hidl_test: update expression test"
am: 9dc1284388

Change-Id: I042ea91d758d170c1508d0856887d1c5bc56a08b

6 years agoMerge "hidl_test: update expression test"
Yifan Hong [Mon, 18 Sep 2017 19:52:10 +0000 (19:52 +0000)]
Merge "hidl_test: update expression test"

6 years agoMerge "Add capability for sensor hal to use wakelock"
Peng Xu [Mon, 18 Sep 2017 18:18:10 +0000 (18:18 +0000)]
Merge "Add capability for sensor hal to use wakelock"
am: 2adf343f57

Change-Id: I67c4c90fcba7d2f6a4ee5ea293aabc19b696e484

6 years agoMerge "Add capability for sensor hal to use wakelock"
Peng Xu [Mon, 18 Sep 2017 18:11:58 +0000 (18:11 +0000)]
Merge "Add capability for sensor hal to use wakelock"

6 years agoMerge changes from topic "hidl_for_test_aosp"
Jiyong Park [Sat, 16 Sep 2017 01:09:06 +0000 (01:09 +0000)]
Merge changes from topic "hidl_for_test_aosp"
am: a7603c38ac

Change-Id: I92acd703df3ed100255e63c9ec511eec3c0a97a3

6 years agoHAL interface libs for testing are built w/o VNDK.
Jiyong Park [Sat, 16 Sep 2017 01:08:58 +0000 (01:08 +0000)]
HAL interface libs for testing are built w/o VNDK.
am: b5e9a6bdc3

Change-Id: Ia41d7362652a8aed5054d99dbaba79f2760a8b23

6 years agoMerge changes from topic "hidl_for_test_aosp"
Treehugger Robot [Sat, 16 Sep 2017 01:02:31 +0000 (01:02 +0000)]
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.

6 years agohidl_test: update expression test
Yifan Hong [Sat, 16 Sep 2017 00:45:33 +0000 (17:45 -0700)]
hidl_test: update expression test

Add more tests to constant expressions in HIDL.
Test: m hidl_test -j
Bug: 64613737

Change-Id: I9cd2bf7bbd8b911f49784f376a0cd834561cd0c8

6 years agoMerge "Add test for fq reference to local type."
Steven Moreland [Sat, 16 Sep 2017 00:19:31 +0000 (00:19 +0000)]
Merge "Add test for fq reference to local type."
am: d8d0ba281f

Change-Id: I154aba182e6939463123b5745b98ce93c410c96e

6 years agoMerge "Add test for fq reference to local type."
Treehugger Robot [Sat, 16 Sep 2017 00:15:56 +0000 (00:15 +0000)]
Merge "Add test for fq reference to local type."

6 years agoMerge "Add OWNERS file for sensors"
Peng Xu [Fri, 15 Sep 2017 18:08:13 +0000 (18:08 +0000)]
Merge "Add OWNERS file for sensors"
am: 9887905762

Change-Id: I487595f1b9eade05bc8bbcb2591db2f1d2d4c0a6

6 years agoMerge "Add OWNERS file for sensors"
Peng Xu [Fri, 15 Sep 2017 18:04:34 +0000 (18:04 +0000)]
Merge "Add OWNERS file for sensors"

6 years agoAdd OWNERS file for sensors
Ashutosh Joshi [Fri, 11 Aug 2017 00:11:27 +0000 (17:11 -0700)]
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

6 years agoMark android.hardware.tests.trie as a test HAL interface
Jiyong Park [Thu, 14 Sep 2017 03:35:46 +0000 (12:35 +0900)]
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

6 years agoHAL interface libs for testing are built w/o VNDK.
Jiyong Park [Tue, 29 Aug 2017 05:20:59 +0000 (14:20 +0900)]
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)

6 years agoMerge "Fix docstrings for RIL_CellIdentity"
nharold [Fri, 15 Sep 2017 00:57:57 +0000 (00:57 +0000)]
Merge "Fix docstrings for RIL_CellIdentity"
am: e4d5502c72  -s ours

Change-Id: Ica2db1dacd3c5a0dc9c5f7f5aff98bd79baff08a

6 years agoMerge "Fix docstrings for RIL_CellIdentity"
nharold [Thu, 14 Sep 2017 23:47:46 +0000 (23:47 +0000)]
Merge "Fix docstrings for RIL_CellIdentity"

6 years agoAdd capability for sensor hal to use wakelock
Peng Xu [Tue, 12 Sep 2017 21:52:22 +0000 (14:52 -0700)]
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

6 years agoMerge "Camera: synchronize access to mMemoryMap"
Yin-Chia Yeh [Thu, 14 Sep 2017 22:02:48 +0000 (22:02 +0000)]
Merge "Camera: synchronize access to mMemoryMap"
am: 2b888b349f

Change-Id: If68840c461ce96a8ff3749ae3d6628e9f548505d

6 years agoMerge "Camera: synchronize access to mMemoryMap"
Treehugger Robot [Thu, 14 Sep 2017 21:52:26 +0000 (21:52 +0000)]
Merge "Camera: synchronize access to mMemoryMap"

6 years agoCamera: synchronize access to mMemoryMap
Yin-Chia Yeh [Tue, 12 Sep 2017 23:35:29 +0000 (16:35 -0700)]
Camera: synchronize access to mMemoryMap

Test: stress test on partner device
Bug: 64831570
Change-Id: Ib9ece2f876ccb309c4f1bb8f90242a3e91081f47
Merged-In: Ib9ece2f876ccb309c4f1bb8f90242a3e91081f47

6 years agoAdd test for fq reference to local type.
Steven Moreland [Thu, 14 Sep 2017 19:00:59 +0000 (12:00 -0700)]
Add test for fq reference to local type.

Test: m hidl_test (checks are done statically)
Bug: 65597200
Change-Id: I6e73414dab00c3bf5a4684c5f839333e582e7cd7

6 years agoMerge "Fix docstrings for RIL_CellIdentity" into stage-aosp-master
Nathan Harold [Thu, 14 Sep 2017 17:34:56 +0000 (17:34 +0000)]
Merge "Fix docstrings for RIL_CellIdentity" into stage-aosp-master

6 years agoMerge "Print full name test"
Timur Iskhakov [Thu, 14 Sep 2017 05:19:59 +0000 (05:19 +0000)]
Merge "Print full name test"
am: b5aef5a54d

Change-Id: I27f2e99a2c8b81afe18a02080b79d169e1ee7a29

6 years agoMerge "Print full name test"
Treehugger Robot [Thu, 14 Sep 2017 03:21:32 +0000 (03:21 +0000)]
Merge "Print full name test"

6 years agoMerge "Test HIDL topological reordering"
Timur Iskhakov [Thu, 14 Sep 2017 01:44:43 +0000 (01:44 +0000)]
Merge "Test HIDL topological reordering"
am: 0495818b3b

Change-Id: Ic3c25df0ffdeae288847dada8f0705c0b59a865b

6 years agoMark hidl utils as vndk
Justin Yun [Thu, 14 Sep 2017 01:44:22 +0000 (01:44 +0000)]
Mark hidl utils as vndk
am: 52cadaec39

Change-Id: I551dd6c454443f07a0d64a0daac134361671adab

6 years agoMerge "Test HIDL topological reordering"
Treehugger Robot [Thu, 14 Sep 2017 01:39:56 +0000 (01:39 +0000)]
Merge "Test HIDL topological reordering"

6 years agoMark hidl utils as vndk
Justin Yun [Fri, 4 Aug 2017 06:02:42 +0000 (15:02 +0900)]
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)

6 years agoPrint full name test
Timur Iskhakov [Thu, 14 Sep 2017 00:35:10 +0000 (17:35 -0700)]
Print full name test

Bug: 65563308

Test: hidl_test

Change-Id: I629a5a7fa708b567591e27bdb39ed5626add4895

6 years agoMerge "Interface for hidl forward reference test"
Timur Iskhakov [Wed, 13 Sep 2017 22:42:28 +0000 (22:42 +0000)]
Merge "Interface for hidl forward reference test"
am: 1b08076ad5

Change-Id: I28a119c028c89595e63763dabef1eba82f2f9df1

6 years agoMerge "Update build for test hal: libhwbinder"
Zhuoyao Zhang [Wed, 13 Sep 2017 22:41:13 +0000 (22:41 +0000)]
Merge "Update build for test hal: libhwbinder"
am: 754d21772a

Change-Id: Icb1160fbd5798b31816169d908ebe2d35d9b2e28

6 years agoFix docstrings for RIL_CellIdentity
Nathan Harold [Wed, 30 Aug 2017 03:41:36 +0000 (20:41 -0700)]
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)

6 years agoTest HIDL topological reordering
Timur Iskhakov [Wed, 13 Sep 2017 21:13:51 +0000 (14:13 -0700)]
Test HIDL topological reordering

Bug: 65636464

Test: hidl_test
Change-Id: I7eae65c89252bebf865803d24101b08a7088c669

6 years agoFix docstrings for RIL_CellIdentity
Nathan Harold [Wed, 30 Aug 2017 03:41:36 +0000 (20:41 -0700)]
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)

6 years agoMerge "Interface for hidl forward reference test"
Treehugger Robot [Wed, 13 Sep 2017 19:59:05 +0000 (19:59 +0000)]
Merge "Interface for hidl forward reference test"

6 years agoMerge "Update build for test hal: libhwbinder"
Zhuoyao Zhang [Wed, 13 Sep 2017 16:58:17 +0000 (16:58 +0000)]
Merge "Update build for test hal: libhwbinder"

6 years agoInterface for hidl forward reference test
Timur Iskhakov [Sat, 9 Sep 2017 18:43:04 +0000 (11:43 -0700)]
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

6 years agoUpdate build for test hal: libhwbinder
Zhuoyao Zhang [Fri, 8 Sep 2017 21:41:23 +0000 (14:41 -0700)]
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

6 years agoMerge "Sensor direct report test - gralloc support"
Peng Xu [Tue, 12 Sep 2017 20:09:59 +0000 (20:09 +0000)]
Merge "Sensor direct report test - gralloc support"
am: b7841f02e2

Change-Id: I815c61af5b807fd9a8ebd9d7ccf2842a60f1a1f6

6 years agoMerge "Sensor direct report test - gralloc support"
Peng Xu [Tue, 12 Sep 2017 18:06:24 +0000 (18:06 +0000)]
Merge "Sensor direct report test - gralloc support"

6 years agoMerge changes from topic "fix-omx-dependencies"
Martijn Coenen [Mon, 11 Sep 2017 20:53:17 +0000 (20:53 +0000)]
Merge changes from topic "fix-omx-dependencies"
am: d429b1f9e7

Change-Id: Ic50e4bc973f6a16f0ed1a1f051dc354e69b0e39d

6 years agoMerge changes from topic "fix-omx-dependencies"
Treehugger Robot [Mon, 11 Sep 2017 20:42:27 +0000 (20:42 +0000)]
Merge changes from topic "fix-omx-dependencies"

* 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
Myles Watson [Thu, 7 Sep 2017 01:36:03 +0000 (01:36 +0000)]
Bluetooth: Remove credit check from Loopback tests
am: 0e06a63c76

Change-Id: I44b24e0e5fc18af73edbdb81806ebb2454bb41f5

6 years agoBluetooth: Remove credit check from Loopback tests android-o-mr1-preview-1 android-o-mr1-preview-2
Myles Watson [Wed, 6 Sep 2017 23:26:49 +0000 (16:26 -0700)]
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

6 years agoSensor direct report test - gralloc support
Peng Xu [Tue, 22 Aug 2017 01:35:28 +0000 (18:35 -0700)]
Sensor direct report test - gralloc support

Bug: 37794556
Test: sensor vts passes on 2016 and 2017 devices
Change-Id: Ibe1d076c24dc2cfe61dfd19aa5055c9075aa9e14
Merged-In: Ibe1d076c24dc2cfe61dfd19aa5055c9075aa9e14

6 years agoMake camera/drm helper classes available to system.
Martijn Coenen [Tue, 20 Jun 2017 15:56:12 +0000 (08:56 -0700)]
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

6 years agoRemove dependency to libmediadrm from drm HAL
Jiyong Park [Mon, 19 Jun 2017 13:06:41 +0000 (22:06 +0900)]
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

6 years agoCheck array dimenstion order
Timur Iskhakov [Fri, 1 Sep 2017 06:04:32 +0000 (06:04 +0000)]
Check array dimenstion order
am: a3b0f1f431

Change-Id: Ia6e5ef02bc7be0c64a619347d61c627af120f9d3

6 years agoCheck array dimenstion order
Timur Iskhakov [Thu, 31 Aug 2017 22:18:45 +0000 (15:18 -0700)]
Check array dimenstion order

Bug: 65257916
Test: mma
Change-Id: I5dcd859120800909b6fc4811c5e5a0d2f8790bcd

6 years agoBluetooth: AsyncFdWatcher: Fix FD leak
Peng Qi [Tue, 29 Aug 2017 20:06:38 +0000 (20:06 +0000)]
Bluetooth: AsyncFdWatcher: Fix FD leak
am: 5c6da2669c

Change-Id: Ia7b6d7357f0df7141ab55e4fc31478fd36d16f43