Yuexi Ma | 689c6fb | 2017-01-06 13:52:46 -0800 | [diff] [blame^] | 1 | component_class: HAL_HIDL |
| 2 | component_type_version: 1.0 |
| 3 | component_name: "ISap" |
| 4 | |
| 5 | package: "android.hardware.radio" |
| 6 | |
| 7 | import: "android.hardware.radio@1.0::ISapCallback" |
| 8 | import: "android.hardware.radio@1.0::types" |
| 9 | |
| 10 | interface: { |
| 11 | api: { |
| 12 | name: "setCallback" |
| 13 | arg: { |
| 14 | type: TYPE_HIDL_CALLBACK |
| 15 | predefined_type: "ISapCallback" |
| 16 | is_callback: true |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | api: { |
| 21 | name: "connectReq" |
| 22 | arg: { |
| 23 | type: TYPE_SCALAR |
| 24 | scalar_type: "int32_t" |
| 25 | } |
| 26 | arg: { |
| 27 | type: TYPE_SCALAR |
| 28 | scalar_type: "int32_t" |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | api: { |
| 33 | name: "disconnectReq" |
| 34 | arg: { |
| 35 | type: TYPE_SCALAR |
| 36 | scalar_type: "int32_t" |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | api: { |
| 41 | name: "apduReq" |
| 42 | arg: { |
| 43 | type: TYPE_SCALAR |
| 44 | scalar_type: "int32_t" |
| 45 | } |
| 46 | arg: { |
| 47 | type: TYPE_ENUM |
| 48 | predefined_type: "::android::hardware::radio::V1_0::SapApduType" |
| 49 | } |
| 50 | arg: { |
| 51 | type: TYPE_VECTOR |
| 52 | vector_value: { |
| 53 | type: TYPE_SCALAR |
| 54 | scalar_type: "uint8_t" |
| 55 | } |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | api: { |
| 60 | name: "transferAtrReq" |
| 61 | arg: { |
| 62 | type: TYPE_SCALAR |
| 63 | scalar_type: "int32_t" |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | api: { |
| 68 | name: "powerReq" |
| 69 | arg: { |
| 70 | type: TYPE_SCALAR |
| 71 | scalar_type: "int32_t" |
| 72 | } |
| 73 | arg: { |
| 74 | type: TYPE_SCALAR |
| 75 | scalar_type: "bool_t" |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | api: { |
| 80 | name: "resetSimReq" |
| 81 | arg: { |
| 82 | type: TYPE_SCALAR |
| 83 | scalar_type: "int32_t" |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | api: { |
| 88 | name: "transferCardReaderStatusReq" |
| 89 | arg: { |
| 90 | type: TYPE_SCALAR |
| 91 | scalar_type: "int32_t" |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | api: { |
| 96 | name: "setTransferProtocolReq" |
| 97 | arg: { |
| 98 | type: TYPE_SCALAR |
| 99 | scalar_type: "int32_t" |
| 100 | } |
| 101 | arg: { |
| 102 | type: TYPE_ENUM |
| 103 | predefined_type: "::android::hardware::radio::V1_0::SapTransferProtocol" |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | } |