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()
115 Return <StatusCode> NetdHwService::removeRouteFromOemNetwork( in removeRouteFromOemNetwork()
125 Return <StatusCode> NetdHwService::addInterfaceToOemNetwork(uint64_t networkHandle, in addInterfaceToOemNetwork()
133 Return <StatusCode> NetdHwService::removeInterfaceFromOemNetwork(uint64_t networkHandle, in removeInterfaceFromOemNetwork()
141 Return <StatusCode> NetdHwService::setIpForwardEnable(bool enable) { in setIpForwardEnable()
147 return success ? StatusCode::OK : StatusCode::UNKNOWN_ERROR; in setIpForwardEnable()
150 Return <StatusCode> NetdHwService::setForwardingBetweenInterfaces( in setForwardingBetweenInterfaces()