diff options
author | Ruchi Kandoi <kandoiruchi@google.com> | 2016-11-21 10:59:58 -0800 |
---|---|---|
committer | Ruchi Kandoi <kandoiruchi@google.com> | 2017-01-12 11:02:22 -0800 |
commit | 891d843b8c0bd8bdd54b1fde8b43a712a6f1475c (patch) | |
tree | f7ca9a2586e1d5d4428331b1e1850cead1ab6160 /nfc | |
parent | ea37e1ab66a503632bca80405178060bdea9c8c8 (diff) | |
download | platform_hardware_interfaces-891d843b8c0bd8bdd54b1fde8b43a712a6f1475c.tar.gz platform_hardware_interfaces-891d843b8c0bd8bdd54b1fde8b43a712a6f1475c.tar.bz2 platform_hardware_interfaces-891d843b8c0bd8bdd54b1fde8b43a712a6f1475c.zip |
NFC: vts: Update VTS driver files as per HAL changes
The return types for the NFC HAL have changed, this patches updates the
VTS driver files.
Test: Test Passes
Bug: 32748647
Change-Id: Ic31d25c3d6b4a1db05e2e481a948a7547b30f2d7
Singed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
(cherry picked from commit d9b830ff9b4148cc4497b9d2b401a8285b7ffd58)
Diffstat (limited to 'nfc')
-rw-r--r-- | nfc/1.0/vts/Nfc.vts | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/nfc/1.0/vts/Nfc.vts b/nfc/1.0/vts/Nfc.vts index c2313d533f..5882bf51b1 100644 --- a/nfc/1.0/vts/Nfc.vts +++ b/nfc/1.0/vts/Nfc.vts @@ -11,8 +11,8 @@ interface: { api: { name: "open" return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "int32_t" + type: TYPE_ENUM + predefined_type: "::android::hardware::nfc::V1_0::NfcStatus" } arg: { type: TYPE_HIDL_CALLBACK @@ -35,7 +35,7 @@ interface: { name: "write" return_type_hidl: { type: TYPE_SCALAR - scalar_type: "int32_t" + scalar_type: "uint32_t" } arg: { type: TYPE_VECTOR @@ -57,8 +57,8 @@ interface: { api: { name: "coreInitialized" return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "int32_t" + type: TYPE_ENUM + predefined_type: "::android::hardware::nfc::V1_0::NfcStatus" } arg: { type: TYPE_VECTOR @@ -77,8 +77,8 @@ interface: { api: { name: "prediscover" return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "int32_t" + type: TYPE_ENUM + predefined_type: "::android::hardware::nfc::V1_0::NfcStatus" } callflow: { next: "write" @@ -92,8 +92,8 @@ interface: { api: { name: "close" return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "int32_t" + type: TYPE_ENUM + predefined_type: "::android::hardware::nfc::V1_0::NfcStatus" } callflow: { exit: true @@ -103,8 +103,8 @@ interface: { api: { name: "controlGranted" return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "int32_t" + type: TYPE_ENUM + predefined_type: "::android::hardware::nfc::V1_0::NfcStatus" } callflow: { next: "write" @@ -118,8 +118,8 @@ interface: { api: { name: "powerCycle" return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "int32_t" + type: TYPE_ENUM + predefined_type: "::android::hardware::nfc::V1_0::NfcStatus" } callflow: { next: "write" |