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