Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 1 | component_class: HAL_HIDL |
| 2 | component_type_version: 1.0 |
| 3 | component_name: "IWifi" |
| 4 | |
| 5 | package: "android.hardware.wifi" |
| 6 | |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame] | 7 | import: "android.hardware.wifi@1.0::IWifiApIface" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 8 | import: "android.hardware.wifi@1.0::IWifiChip" |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame] | 9 | import: "android.hardware.wifi@1.0::IWifiChipEventCallback" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 10 | import: "android.hardware.wifi@1.0::IWifiEventCallback" |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame] | 11 | import: "android.hardware.wifi@1.0::IWifiIface" |
| 12 | import: "android.hardware.wifi@1.0::IWifiNanIface" |
| 13 | import: "android.hardware.wifi@1.0::IWifiNanIfaceEventCallback" |
| 14 | import: "android.hardware.wifi@1.0::IWifiP2pIface" |
| 15 | import: "android.hardware.wifi@1.0::IWifiRttController" |
| 16 | import: "android.hardware.wifi@1.0::IWifiRttControllerEventCallback" |
| 17 | import: "android.hardware.wifi@1.0::IWifiStaIface" |
| 18 | import: "android.hardware.wifi@1.0::IWifiStaIfaceEventCallback" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 19 | import: "android.hardware.wifi@1.0::types" |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame] | 20 | import: "android.hidl.base@1.0::types" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 21 | |
| 22 | interface: { |
| 23 | api: { |
| 24 | name: "registerEventCallback" |
| 25 | return_type_hidl: { |
| 26 | type: TYPE_STRUCT |
| 27 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 28 | } |
| 29 | arg: { |
| 30 | type: TYPE_HIDL_CALLBACK |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame] | 31 | predefined_type: "::android::hardware::wifi::V1_0::IWifiEventCallback" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 32 | } |
| 33 | callflow: { |
| 34 | entry: true |
| 35 | } |
| 36 | callflow: { |
| 37 | next: "*" |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | api: { |
| 42 | name: "isStarted" |
| 43 | return_type_hidl: { |
| 44 | type: TYPE_SCALAR |
| 45 | scalar_type: "bool_t" |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | api: { |
| 50 | name: "start" |
| 51 | return_type_hidl: { |
| 52 | type: TYPE_STRUCT |
| 53 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 54 | } |
| 55 | callflow: { |
| 56 | entry: true |
| 57 | } |
| 58 | callflow: { |
| 59 | next: "registerEventCallback" |
| 60 | next: "start" |
| 61 | next: "stop" |
| 62 | next: "getChip" |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | api: { |
| 67 | name: "stop" |
| 68 | return_type_hidl: { |
| 69 | type: TYPE_STRUCT |
| 70 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 71 | } |
| 72 | callflow: { |
| 73 | exit: true |
| 74 | } |
| 75 | callflow: { |
| 76 | next: "registerEventCallback" |
| 77 | next: "start" |
| 78 | next: "stop" |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | api: { |
| 83 | name: "getChipIds" |
| 84 | return_type_hidl: { |
| 85 | type: TYPE_STRUCT |
| 86 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 87 | } |
| 88 | return_type_hidl: { |
| 89 | type: TYPE_VECTOR |
| 90 | vector_value: { |
| 91 | type: TYPE_SCALAR |
| 92 | scalar_type: "uint32_t" |
| 93 | } |
| 94 | } |
| 95 | callflow: { |
| 96 | next: "*" |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | api: { |
| 101 | name: "getChip" |
| 102 | return_type_hidl: { |
| 103 | type: TYPE_STRUCT |
| 104 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 105 | } |
| 106 | return_type_hidl: { |
| 107 | type: TYPE_HIDL_INTERFACE |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame] | 108 | predefined_type: "::android::hardware::wifi::V1_0::IWifiChip" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 109 | } |
| 110 | arg: { |
| 111 | type: TYPE_SCALAR |
| 112 | scalar_type: "uint32_t" |
| 113 | } |
| 114 | callflow: { |
| 115 | next: "*" |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | } |