OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoandroid.hardware.tests.msgq@1.0: modify ITestMsgQ am: da96fb2a94
Iliyan Malchev [Fri, 9 Sep 2016 05:13:05 +0000 (05:13 +0000)]
android.hardware.tests.msgq@1.0: modify ITestMsgQ am: da96fb2a94
am: d529d22e11

Change-Id: I16bb702ecbfa8f94e8421e17090418a52c107439

7 years agoandroid.hardware.tests.msgq@1.0: modify ITestMsgQ
Iliyan Malchev [Fri, 9 Sep 2016 05:10:33 +0000 (05:10 +0000)]
android.hardware.tests.msgq@1.0: modify ITestMsgQ
am: da96fb2a94

Change-Id: Iee6a8ef2e1d183cbac53a96d29b449fd99cf9340

7 years agoandroid.hardware.tests.msgq@1.0: modify ITestMsgQ
Iliyan Malchev [Thu, 8 Sep 2016 22:12:36 +0000 (15:12 -0700)]
android.hardware.tests.msgq@1.0: modify ITestMsgQ

Modify the configure() method so that the implementation does not have
to rely on status_t to return service errors.

b/31367910
b/31348667

Change-Id: I0bc88c396ce4e55ed38b534b7e3ae2c0a4faad62
Signed-off-by: Iliyan Malchev <malchev@google.com>
7 years agointerfaces: update makefiles am: b350caf9dc
Iliyan Malchev [Thu, 8 Sep 2016 00:44:58 +0000 (00:44 +0000)]
interfaces: update makefiles am: b350caf9dc
am: 866e19d4c3

Change-Id: Ia8436b263f6889b93f663cd039f248e1078e45a5

7 years agointerfaces: update makefiles
Iliyan Malchev [Thu, 8 Sep 2016 00:41:00 +0000 (00:41 +0000)]
interfaces: update makefiles
am: b350caf9dc

Change-Id: Id3547a681a117406e931efe31da2d0b1bebbb33f

7 years agointerfaces: update makefiles
Iliyan Malchev [Wed, 7 Sep 2016 19:45:02 +0000 (12:45 -0700)]
interfaces: update makefiles

b/31015466
b/31045569

Change-Id: I07d54fd956fedc4b94622ace1c8f2be3f2f93b2b
Signed-off-by: Iliyan Malchev <malchev@google.com>
7 years agoMerge "Updated makefiles (includes java-library rules for applicable packages)."
TreeHugger Robot [Thu, 1 Sep 2016 00:08:22 +0000 (00:08 +0000)]
Merge "Updated makefiles (includes java-library rules for applicable packages)."

7 years agoUpdated makefiles (includes java-library rules for applicable packages).
Andreas Huber [Wed, 31 Aug 2016 16:10:55 +0000 (09:10 -0700)]
Updated makefiles (includes java-library rules for applicable packages).

Change-Id: I178faf37dddb5149c1bdc217fa1395b2566194d7
Bug: 31221188

7 years agoRevert "package android.hardware.tests.* as part of VTS (auto-generated)"
Keun Soo Yim [Wed, 31 Aug 2016 07:38:54 +0000 (07:38 +0000)]
Revert "package android.hardware.tests.* as part of VTS (auto-generated)"

This reverts commit afba0364c6fbf7e2fb5018b35b904c968f90ebd0.

Change-Id: I9d143d97ef7857502d88fef92b9ae336ee824bcd

7 years agoadd test for constant expression evaluation output
Yifan Hong [Thu, 18 Aug 2016 22:09:28 +0000 (15:09 -0700)]
add test for constant expression evaluation output

Simply run:

    # hidl_gen converts .hal to .h correctly
    make hidl_gen_test
    # converted .h can compile
    make android.hardware.tests.expression@1.0

to run the tests.

b/30951879: int8_t is same as char, and when emitting output the
    character corresponding to that number is emitted instead of
    the number itself.

Change-Id: Icacba6b6262cc0026a94f64527b80e2c0e35e72e

7 years agoMerge "Apache2 module license."
Iliyan Malchev [Wed, 31 Aug 2016 05:24:19 +0000 (05:24 +0000)]
Merge "Apache2 module license."

7 years agoApache2 module license.
Martijn Coenen [Tue, 30 Aug 2016 18:27:56 +0000 (11:27 -0700)]
Apache2 module license.

Bug: 31110244
Change-Id: I7ce63f940199e8cd7d193bdde39fc6cd448db802

7 years agoInterface 'IBaz' and friends used by "hidl_test_java".
Andreas Huber [Mon, 29 Aug 2016 17:23:17 +0000 (10:23 -0700)]
Interface 'IBaz' and friends used by "hidl_test_java".

Change-Id: If49d996e34ba5aa48488e92e71234208001bfddb

7 years agobuild 32- and 64-bit libs (auto-generated)
Keun Soo Yim [Sat, 27 Aug 2016 01:55:21 +0000 (18:55 -0700)]
build 32- and 64-bit libs (auto-generated)

Change-Id: Iccb63cafc5db17abd423d589416d50ff21c89efa

7 years agoandroid.hardware.tests.foo@1.0::IFooCallback: add instrumentation
Iliyan Malchev [Sat, 20 Aug 2016 23:44:50 +0000 (16:44 -0700)]
android.hardware.tests.foo@1.0::IFooCallback: add instrumentation

Add two instrumentation methods to IFooCallback, to help with timing
measurements in gTest.

The first one, reportResults(), blocks the caller for a given length of
time while waiting for all the other methods to execute, then reports
whether these methods were executed within this length of time, for how
long their caller was blocked, and also how long the execution of the
bodies of each of them took.  Note that the execution time for a
method's body is independent of whether it is a oneway or a blocking
method.  For example, heyItsTheMeaningOfLife() is a oneway method, so it
returns immediately to the caller (so the caller-blocked time should be
very small).  However, if its body takes several seconds to run, then
this is the information that will be returned for
heyItsTheMeaningOfLife() as well.

The second instrumentation method, youBlockedMeFor(), is used by the
caller of IFooCallback to report how long the caller was blocked for.
This information is saved and passed by reportResults() as described
above.

b/30855757 Convert hidl test to gTest

Change-Id: I35ac708e424bcb143fce959609fcc747f1ec37fb
Signed-off-by: Iliyan Malchev <malchev@google.com>
7 years agoAdd test aidl file for benchmark binder performance.
Zhuoyao Zhang [Wed, 24 Aug 2016 22:05:11 +0000 (15:05 -0700)]
Add test aidl file for benchmark binder performance.

Bug: 31068579
Change-Id: Idf7d5da902eb17f166ac07dc966c009bc1d9c7ae

7 years agopackage android.hardware.tests.* as part of VTS (auto-generated)
Keun Soo Yim [Fri, 19 Aug 2016 01:20:09 +0000 (18:20 -0700)]
package android.hardware.tests.* as part of VTS (auto-generated)

this is to run the benchmarks continuously in the lab

Change-Id: Ia45c440a77ccc16db2cb1066ecde3b6521991ec9

7 years agoregenerate Android.mk files
Keun Soo Yim [Tue, 23 Aug 2016 00:25:48 +0000 (17:25 -0700)]
regenerate Android.mk files

Change-Id: I6a8b48943df469c9f345c05fb00c671f6f8dd393

7 years agoUpdated makefiles linking against libhidl.
Martijn Coenen [Fri, 19 Aug 2016 12:06:56 +0000 (14:06 +0200)]
Updated makefiles linking against libhidl.

Bug: 30839546
Change-Id: I8c68d0b8db0816f9bfe58fc3898114fb9e151ddc

7 years agoadd tests for parsing constant expressions.
Yifan Hong [Sat, 13 Aug 2016 00:39:44 +0000 (17:39 -0700)]
add tests for parsing constant expressions.

Change-Id: Ic1f524c604fc72b9d1b7b330b608ff38ce287921

7 years ago"import types" should never be necessary, it is implicit (if types.hal exists)
Andreas Huber [Tue, 16 Aug 2016 17:17:39 +0000 (10:17 -0700)]
"import types" should never be necessary, it is implicit (if types.hal exists)

Change-Id: I63e6a2104415a5a71bf3eb93c646f9bf32f1b079

7 years agoMerge "android.hardware.tests.foo@1.0::IFooCallback: use booleans"
Iliyan Malchev [Tue, 16 Aug 2016 14:46:00 +0000 (14:46 +0000)]
Merge "android.hardware.tests.foo@1.0::IFooCallback: use booleans"

7 years agoMerge "android.hardware.tests.foo@1.0: add oneway methods"
Iliyan Malchev [Tue, 16 Aug 2016 14:45:18 +0000 (14:45 +0000)]
Merge "android.hardware.tests.foo@1.0: add oneway methods"

7 years agoMerge "Move .hal for FMQ benchmark code to hardware/interfaces."
Hridya Valsaraju [Mon, 15 Aug 2016 23:53:34 +0000 (23:53 +0000)]
Merge "Move .hal for FMQ benchmark code to hardware/interfaces."

7 years agoMerge "Move .hal file for FMQ tests to harware/interfaces"
Hridya Valsaraju [Mon, 15 Aug 2016 16:56:09 +0000 (16:56 +0000)]
Merge "Move .hal file for FMQ tests to harware/interfaces"

7 years agoandroid.hardware.tests.foo@1.0::IFooCallback: use booleans
Iliyan Malchev [Sun, 14 Aug 2016 20:37:02 +0000 (13:37 -0700)]
android.hardware.tests.foo@1.0::IFooCallback: use booleans

b/30853785 auto-generation for bools is broken

Change-Id: Ia1c1e1f03360d5c7e4162b24a83082bc833a8a34
Signed-off-by: Iliyan Malchev <malchev@google.com>
7 years agoandroid.hardware.tests.foo@1.0: add oneway methods
Iliyan Malchev [Sun, 14 Aug 2016 06:05:56 +0000 (23:05 -0700)]
android.hardware.tests.foo@1.0: add oneway methods

b/30843534: oneway methods seem broken

Change-Id: I3e152d6bd70da60648157269a9465921afa661b3
Signed-off-by: Iliyan Malchev <malchev@google.com>
7 years agoMerge "Added mock interfaces"
Steven Moreland [Sat, 13 Aug 2016 00:04:28 +0000 (00:04 +0000)]
Merge "Added mock interfaces"

7 years agoMove .hal for FMQ benchmark code to hardware/interfaces.
Hridya Valsaraju [Tue, 9 Aug 2016 17:05:20 +0000 (10:05 -0700)]
Move .hal for FMQ benchmark code to hardware/interfaces.

This is required to convert to the new hidl-gen.

Change-Id: Ia4df37d993be45ac6cb69836fd159dceef10d75c

7 years agoMove .hal file for FMQ tests to harware/interfaces
Hridya Valsaraju [Mon, 8 Aug 2016 18:12:30 +0000 (11:12 -0700)]
Move .hal file for FMQ tests to harware/interfaces

This is required to convert to the new hidl-gen.

Change-Id: I87a5d3d006fe80ad16d4abb63d400b3c52a2bae9

7 years agoMerge "libhwbinder benchmark interface."
Martijn Coenen [Fri, 12 Aug 2016 11:07:36 +0000 (11:07 +0000)]
Merge "libhwbinder benchmark interface."

7 years agolibhwbinder benchmark interface.
Martijn Coenen [Wed, 10 Aug 2016 13:37:03 +0000 (15:37 +0200)]
libhwbinder benchmark interface.

Change-Id: I2863272033bfe986f70f75c51412b8c1a55a84f3

7 years agoAdd annotation of hal_type for Nfc/NfcCallback interface.
Zhuoyao Zhang [Thu, 11 Aug 2016 05:37:34 +0000 (22:37 -0700)]
Add annotation of hal_type for Nfc/NfcCallback interface.

Change-Id: I5bb53c396ea11a94fa556cf561b584b6f12f476c

7 years agoAdded mock interfaces
Steven Moreland [Thu, 11 Aug 2016 19:52:43 +0000 (12:52 -0700)]
Added mock interfaces

Change-Id: I227bb450e714e392a3959c0d314842b9879f8b99

7 years agoscript to auto-generate makefiles for HALs
Iliyan Malchev [Wed, 10 Aug 2016 15:02:31 +0000 (08:02 -0700)]
script to auto-generate makefiles for HALs

Change-Id: I9d21a811d8e2fc604702388ad1910476df16f43a
Signed-off-by: Iliyan Malchev <malchev@google.com>
7 years agoandroid.hardware.nfc@1.0: regenerate Android.mk
Iliyan Malchev [Wed, 10 Aug 2016 14:39:17 +0000 (07:39 -0700)]
android.hardware.nfc@1.0: regenerate Android.mk

hidl-gen \
-Lmakefile \
-randroid.hardware:hardware/interfaces \
android.hardware.nfc@1.0

Change-Id: Ib2d965db93fb248f74ce44efea02b3c4bb2dbe08
Signed-off-by: Iliyan Malchev <malchev@google.com>
7 years agofix the fix
Iliyan Malchev [Mon, 8 Aug 2016 20:29:22 +0000 (13:29 -0700)]
fix the fix

Change-Id: Ib371beb0c9f3792fbe3149d5dc4f50ae017b56c2
Signed-off-by: Iliyan Malchev <malchev@google.com>
7 years agofix build
Iliyan Malchev [Mon, 8 Aug 2016 16:56:14 +0000 (09:56 -0700)]
fix build

Add hidl-gen as a dependency on HAL modules, and set the -r path
properly in the absence of $TOP being defined.

Proper fix will include auto-generating the makefile correctly form
hidl-gen.

Change-Id: I9dbe27b80c6c9ab4be9f88bf50496bdfd7cee423
Signed-off-by: Iliyan Malchev <malchev@google.com>
7 years agonfc interfaces in the new style.
Andreas Huber [Fri, 29 Jul 2016 22:05:03 +0000 (15:05 -0700)]
nfc interfaces in the new style.

Change-Id: I989828d51a2ac1c79906d865b5bdab227457d2e6
Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years agoInitial empty repository
Thomas Joseph Avila [Thu, 14 Apr 2016 18:48:07 +0000 (11:48 -0700)]
Initial empty repository