Searched refs:createWifiStatus (Results 1 – 10 of 10) sorted by relevance
/hardware/interfaces/wifi/1.3/default/ |
D | wifi_status_util.cpp | 52 WifiStatus createWifiStatus(WifiStatusCode code, in createWifiStatus() function 57 WifiStatus createWifiStatus(WifiStatusCode code) { in createWifiStatus() function 58 return createWifiStatus(code, ""); in createWifiStatus() 66 return createWifiStatus(WifiStatusCode::ERROR_NOT_AVAILABLE, desc); in createWifiStatusFromLegacyError() 69 return createWifiStatus(WifiStatusCode::ERROR_NOT_SUPPORTED, desc); in createWifiStatusFromLegacyError() 73 return createWifiStatus(WifiStatusCode::ERROR_INVALID_ARGS, desc); in createWifiStatusFromLegacyError() 76 return createWifiStatus(WifiStatusCode::ERROR_UNKNOWN, in createWifiStatusFromLegacyError() 80 return createWifiStatus(WifiStatusCode::ERROR_UNKNOWN, in createWifiStatusFromLegacyError() 84 return createWifiStatus(WifiStatusCode::ERROR_UNKNOWN, in createWifiStatusFromLegacyError() 88 return createWifiStatus(WifiStatusCode::ERROR_BUSY); in createWifiStatusFromLegacyError() [all …]
|
D | wifi.cpp | 96 return createWifiStatus(WifiStatusCode::ERROR_UNKNOWN); in registerEventCallbackInternal() 98 return createWifiStatus(WifiStatusCode::SUCCESS); in registerEventCallbackInternal() 103 return createWifiStatus(WifiStatusCode::SUCCESS); in startInternal() 105 return createWifiStatus(WifiStatusCode::ERROR_NOT_AVAILABLE, in startInternal() 136 return createWifiStatus(WifiStatusCode::SUCCESS); in stopInternal() 138 return createWifiStatus(WifiStatusCode::ERROR_NOT_AVAILABLE, in stopInternal() 173 return {createWifiStatus(WifiStatusCode::SUCCESS), std::move(chip_ids)}; in getChipIdsInternal() 178 return {createWifiStatus(WifiStatusCode::ERROR_NOT_STARTED), nullptr}; in getChipInternal() 181 return {createWifiStatus(WifiStatusCode::ERROR_INVALID_ARGS), nullptr}; in getChipInternal() 183 return {createWifiStatus(WifiStatusCode::SUCCESS), chip_}; in getChipInternal() [all …]
|
D | wifi_chip.cpp | 659 return {createWifiStatus(WifiStatusCode::SUCCESS), chip_id_}; in getIdInternal() 665 return createWifiStatus(WifiStatusCode::ERROR_NOT_SUPPORTED); in registerEventCallbackInternal() 670 return {createWifiStatus(WifiStatusCode::ERROR_NOT_SUPPORTED), 0}; in getCapabilitiesInternal() 692 return {createWifiStatus(WifiStatusCode::ERROR_UNKNOWN), 0}; in getCapabilitiesInternal_1_3() 694 return {createWifiStatus(WifiStatusCode::SUCCESS), hidl_caps}; in getCapabilitiesInternal_1_3() 699 return {createWifiStatus(WifiStatusCode::SUCCESS), modes_}; in getAvailableModesInternal() 706 return createWifiStatus(WifiStatusCode::ERROR_INVALID_ARGS); in configureChipInternal() 710 return createWifiStatus(WifiStatusCode::SUCCESS); in configureChipInternal() 735 return {createWifiStatus(WifiStatusCode::ERROR_NOT_AVAILABLE), in getModeInternal() 738 return {createWifiStatus(WifiStatusCode::SUCCESS), current_mode_id_}; in getModeInternal() [all …]
|
D | wifi_rtt_controller.cpp | 135 return {createWifiStatus(WifiStatusCode::SUCCESS), bound_iface_}; in getBoundIfaceInternal() 142 return createWifiStatus(WifiStatusCode::SUCCESS); in registerEventCallbackInternal() 150 return createWifiStatus(WifiStatusCode::ERROR_INVALID_ARGS); in rangeRequestInternal() 202 return {createWifiStatus(WifiStatusCode::ERROR_UNKNOWN), {}}; in getCapabilitiesInternal() 204 return {createWifiStatus(WifiStatusCode::SUCCESS), hidl_caps}; in getCapabilitiesInternal() 212 return createWifiStatus(WifiStatusCode::ERROR_INVALID_ARGS); in setLciInternal() 224 return createWifiStatus(WifiStatusCode::ERROR_INVALID_ARGS); in setLcrInternal() 243 return {createWifiStatus(WifiStatusCode::ERROR_UNKNOWN), {}}; in getResponderInfoInternal() 245 return {createWifiStatus(WifiStatusCode::SUCCESS), hidl_responder}; in getResponderInfoInternal() 254 return createWifiStatus(WifiStatusCode::ERROR_INVALID_ARGS); in enableResponderInternal() [all …]
|
D | wifi_sta_iface.cpp | 270 return {createWifiStatus(WifiStatusCode::SUCCESS), ifname_}; in getNameInternal() 274 return {createWifiStatus(WifiStatusCode::SUCCESS), IfaceType::STA}; in getTypeInternal() 280 return createWifiStatus(WifiStatusCode::ERROR_UNKNOWN); in registerEventCallbackInternal() 282 return createWifiStatus(WifiStatusCode::SUCCESS); in registerEventCallbackInternal() 303 return {createWifiStatus(WifiStatusCode::ERROR_UNKNOWN), 0}; in getCapabilitiesInternal() 305 return {createWifiStatus(WifiStatusCode::SUCCESS), hidl_caps}; in getCapabilitiesInternal() 320 return {createWifiStatus(WifiStatusCode::ERROR_UNKNOWN), {}}; in getApfPacketFilterCapabilitiesInternal() 322 return {createWifiStatus(WifiStatusCode::SUCCESS), hidl_caps}; in getApfPacketFilterCapabilitiesInternal() 353 return {createWifiStatus(WifiStatusCode::ERROR_UNKNOWN), {}}; in getBackgroundScanCapabilitiesInternal() 355 return {createWifiStatus(WifiStatusCode::SUCCESS), hidl_caps}; in getBackgroundScanCapabilitiesInternal() [all …]
|
D | hidl_return_util.h | 50 hidl_cb(createWifiStatus(status_code_if_invalid)); in validateAndCall() 66 hidl_cb(createWifiStatus(status_code_if_invalid)); in validateAndCallWithLock() 85 hidl_cb(createWifiStatus(status_code_if_invalid), in validateAndCall() 107 hidl_cb(createWifiStatus(status_code_if_invalid), in validateAndCall()
|
D | wifi_status_util.h | 32 WifiStatus createWifiStatus(WifiStatusCode code, 34 WifiStatus createWifiStatus(WifiStatusCode code);
|
D | wifi_nan_iface.cpp | 708 return {createWifiStatus(WifiStatusCode::SUCCESS), ifname_}; in getNameInternal() 712 return {createWifiStatus(WifiStatusCode::SUCCESS), IfaceType::NAN}; in getTypeInternal() 718 return createWifiStatus(WifiStatusCode::ERROR_UNKNOWN); in registerEventCallbackInternal() 720 return createWifiStatus(WifiStatusCode::SUCCESS); in registerEventCallbackInternal() 731 return createWifiStatus(WifiStatusCode::ERROR_NOT_SUPPORTED); in enableRequestInternal() 736 return createWifiStatus(WifiStatusCode::ERROR_NOT_SUPPORTED); in configRequestInternal() 750 return createWifiStatus(WifiStatusCode::ERROR_INVALID_ARGS); in startPublishRequestInternal() 772 return createWifiStatus(WifiStatusCode::ERROR_INVALID_ARGS); in startSubscribeRequestInternal() 794 return createWifiStatus(WifiStatusCode::ERROR_INVALID_ARGS); in transmitFollowupRequestInternal() 819 return createWifiStatus(WifiStatusCode::ERROR_INVALID_ARGS); in initiateDataPathRequestInternal() [all …]
|
D | wifi_p2p_iface.cpp | 55 return {createWifiStatus(WifiStatusCode::SUCCESS), ifname_}; in getNameInternal() 59 return {createWifiStatus(WifiStatusCode::SUCCESS), IfaceType::P2P}; in getTypeInternal()
|
D | wifi_ap_iface.cpp | 89 return {createWifiStatus(WifiStatusCode::SUCCESS), ifname_}; in getNameInternal() 93 return {createWifiStatus(WifiStatusCode::SUCCESS), IfaceType::AP}; in getTypeInternal()
|