Lines Matching refs:StatusCode
38 static StatusCode toHalStatus(int ret) { in toHalStatus()
41 return StatusCode::OK; in toHalStatus()
43 return StatusCode::INVALID_ARGUMENTS; in toHalStatus()
45 return StatusCode::ALREADY_EXISTS; in toHalStatus()
47 return StatusCode::NO_NETWORK; in toHalStatus()
49 return StatusCode::PERMISSION_DENIED; in toHalStatus()
52 return StatusCode::UNKNOWN_ERROR; in toHalStatus()
85 return StatusCode::INVALID_ARGUMENTS; \
88 Return<StatusCode> NetdHwService::destroyOemNetwork(uint64_t netHandle) { in destroyOemNetwork()
104 Return <StatusCode> NetdHwService::addRouteToOemNetwork( in addRouteToOemNetwork()
114 Return <StatusCode> NetdHwService::removeRouteFromOemNetwork( in removeRouteFromOemNetwork()
124 Return <StatusCode> NetdHwService::addInterfaceToOemNetwork(uint64_t networkHandle, in addInterfaceToOemNetwork()
132 Return <StatusCode> NetdHwService::removeInterfaceFromOemNetwork(uint64_t networkHandle, in removeInterfaceFromOemNetwork()
140 Return <StatusCode> NetdHwService::setIpForwardEnable(bool enable) { in setIpForwardEnable()
146 return success ? StatusCode::OK : StatusCode::UNKNOWN_ERROR; in setIpForwardEnable()
149 Return <StatusCode> NetdHwService::setForwardingBetweenInterfaces( in setForwardingBetweenInterfaces()