| component_class: HAL_HIDL |
| component_type_version: 1.0 |
| component_name: "INfc" |
| |
| package: "android.hardware.nfc" |
| |
| import: "android.hardware.nfc@1.0::INfcClientCallback" |
| import: "android.hardware.nfc@1.0::types" |
| |
| interface: { |
| api: { |
| name: "open" |
| return_type_hidl: { |
| type: TYPE_SCALAR |
| scalar_type: "int32_t" |
| } |
| arg: { |
| type: TYPE_HIDL_CALLBACK |
| predefined_type: "INfcClientCallback" |
| is_callback: true |
| } |
| } |
| |
| api: { |
| name: "write" |
| return_type_hidl: { |
| type: TYPE_SCALAR |
| scalar_type: "int32_t" |
| } |
| arg: { |
| type: TYPE_VECTOR |
| vector_value: { |
| type: TYPE_SCALAR |
| scalar_type: "uint8_t" |
| } |
| } |
| } |
| |
| api: { |
| name: "coreInitialized" |
| return_type_hidl: { |
| type: TYPE_SCALAR |
| scalar_type: "int32_t" |
| } |
| arg: { |
| type: TYPE_VECTOR |
| vector_value: { |
| type: TYPE_SCALAR |
| scalar_type: "uint8_t" |
| } |
| } |
| } |
| |
| api: { |
| name: "prediscover" |
| return_type_hidl: { |
| type: TYPE_SCALAR |
| scalar_type: "int32_t" |
| } |
| } |
| |
| api: { |
| name: "close" |
| return_type_hidl: { |
| type: TYPE_SCALAR |
| scalar_type: "int32_t" |
| } |
| } |
| |
| api: { |
| name: "controlGranted" |
| return_type_hidl: { |
| type: TYPE_SCALAR |
| scalar_type: "int32_t" |
| } |
| } |
| |
| api: { |
| name: "powerCycle" |
| return_type_hidl: { |
| type: TYPE_SCALAR |
| scalar_type: "int32_t" |
| } |
| } |
| |
| } |