Yuexi Ma | faad789 | 2017-01-06 13:52:46 -0800 | [diff] [blame] | 1 | component_class: HAL_HIDL |
| 2 | component_type_version: 1.0 |
| 3 | component_name: "ISapCallback" |
| 4 | |
| 5 | package: "android.hardware.radio" |
| 6 | |
| 7 | import: "android.hardware.radio@1.0::types" |
Zhuoyao Zhang | 65c99d7 | 2017-01-24 13:33:21 -0800 | [diff] [blame] | 8 | import: "android.hidl.base@1.0::types" |
Yuexi Ma | faad789 | 2017-01-06 13:52:46 -0800 | [diff] [blame] | 9 | |
| 10 | interface: { |
| 11 | api: { |
| 12 | name: "connectResponse" |
| 13 | arg: { |
| 14 | type: TYPE_SCALAR |
| 15 | scalar_type: "int32_t" |
| 16 | } |
| 17 | arg: { |
| 18 | type: TYPE_ENUM |
| 19 | predefined_type: "::android::hardware::radio::V1_0::SapConnectRsp" |
| 20 | } |
| 21 | arg: { |
| 22 | type: TYPE_SCALAR |
| 23 | scalar_type: "int32_t" |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | api: { |
| 28 | name: "disconnectResponse" |
| 29 | arg: { |
| 30 | type: TYPE_SCALAR |
| 31 | scalar_type: "int32_t" |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | api: { |
| 36 | name: "disconnectIndication" |
| 37 | arg: { |
| 38 | type: TYPE_SCALAR |
| 39 | scalar_type: "int32_t" |
| 40 | } |
| 41 | arg: { |
| 42 | type: TYPE_ENUM |
| 43 | predefined_type: "::android::hardware::radio::V1_0::SapDisconnectType" |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | api: { |
| 48 | name: "apduResponse" |
| 49 | arg: { |
| 50 | type: TYPE_SCALAR |
| 51 | scalar_type: "int32_t" |
| 52 | } |
| 53 | arg: { |
| 54 | type: TYPE_ENUM |
| 55 | predefined_type: "::android::hardware::radio::V1_0::SapResultCode" |
| 56 | } |
| 57 | arg: { |
| 58 | type: TYPE_VECTOR |
| 59 | vector_value: { |
| 60 | type: TYPE_SCALAR |
| 61 | scalar_type: "uint8_t" |
| 62 | } |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | api: { |
| 67 | name: "transferAtrResponse" |
| 68 | arg: { |
| 69 | type: TYPE_SCALAR |
| 70 | scalar_type: "int32_t" |
| 71 | } |
| 72 | arg: { |
| 73 | type: TYPE_ENUM |
| 74 | predefined_type: "::android::hardware::radio::V1_0::SapResultCode" |
| 75 | } |
| 76 | arg: { |
| 77 | type: TYPE_VECTOR |
| 78 | vector_value: { |
| 79 | type: TYPE_SCALAR |
| 80 | scalar_type: "uint8_t" |
| 81 | } |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | api: { |
| 86 | name: "powerResponse" |
| 87 | arg: { |
| 88 | type: TYPE_SCALAR |
| 89 | scalar_type: "int32_t" |
| 90 | } |
| 91 | arg: { |
| 92 | type: TYPE_ENUM |
| 93 | predefined_type: "::android::hardware::radio::V1_0::SapResultCode" |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | api: { |
| 98 | name: "resetSimResponse" |
| 99 | arg: { |
| 100 | type: TYPE_SCALAR |
| 101 | scalar_type: "int32_t" |
| 102 | } |
| 103 | arg: { |
| 104 | type: TYPE_ENUM |
| 105 | predefined_type: "::android::hardware::radio::V1_0::SapResultCode" |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | api: { |
| 110 | name: "statusIndication" |
| 111 | arg: { |
| 112 | type: TYPE_SCALAR |
| 113 | scalar_type: "int32_t" |
| 114 | } |
| 115 | arg: { |
| 116 | type: TYPE_ENUM |
| 117 | predefined_type: "::android::hardware::radio::V1_0::SapStatus" |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | api: { |
| 122 | name: "transferCardReaderStatusResponse" |
| 123 | arg: { |
| 124 | type: TYPE_SCALAR |
| 125 | scalar_type: "int32_t" |
| 126 | } |
| 127 | arg: { |
| 128 | type: TYPE_ENUM |
| 129 | predefined_type: "::android::hardware::radio::V1_0::SapResultCode" |
| 130 | } |
| 131 | arg: { |
| 132 | type: TYPE_SCALAR |
| 133 | scalar_type: "int32_t" |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | api: { |
| 138 | name: "errorResponse" |
| 139 | arg: { |
| 140 | type: TYPE_SCALAR |
| 141 | scalar_type: "int32_t" |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | api: { |
| 146 | name: "transferProtocolResponse" |
| 147 | arg: { |
| 148 | type: TYPE_SCALAR |
| 149 | scalar_type: "int32_t" |
| 150 | } |
| 151 | arg: { |
| 152 | type: TYPE_ENUM |
| 153 | predefined_type: "::android::hardware::radio::V1_0::SapResultCode" |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | } |