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>
This commit is contained in:
Ruchi Kandoi
2016-11-21 10:59:58 -08:00
parent 9ea2824097
commit d9b830ff9b

View File

@@ -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"