Searched refs:StatusCode (Results 1 – 10 of 10) sorted by relevance
/system/netd/server/ |
D | NetdHwService.cpp | 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() [all …]
|
D | NetdHwService.h | 28 using StatusCode = android::system::net::netd::V1_1::INetd::StatusCode; variable 35 Return<StatusCode> destroyOemNetwork(uint64_t netHandle) override; 38 Return <StatusCode> addRouteToOemNetwork( 41 Return <StatusCode> removeRouteFromOemNetwork( 44 Return <StatusCode> addInterfaceToOemNetwork(uint64_t networkHandle, 46 Return <StatusCode> removeInterfaceFromOemNetwork(uint64_t networkHandle, 48 Return <StatusCode> setIpForwardEnable(bool enable) override; 49 Return <StatusCode> setForwardingBetweenInterfaces(const hidl_string& inputIfName,
|
/system/hardware/interfaces/net/netd/1.1/vts/functional/ |
D | VtsHalNetNetdV1_1TargetTest.cpp | 136 INetd::StatusCode status; in SetUp() 138 netd->createOemNetwork([&](net_handle_t n, uint32_t p, INetd::StatusCode s) { in SetUp() 144 ASSERT_EQ(INetd::StatusCode::OK, status); in SetUp() 151 void expectAddRoute(INetd::StatusCode expectedStatus, net_handle_t handle, const char* iface, in expectAddRoute() 153 Return<INetd::StatusCode> retStatus = in expectAddRoute() 159 expectAddRoute(INetd::StatusCode::OK, h, i, d, n); in expectAddRouteSuccess() 162 void expectRemoveRoute(INetd::StatusCode expectedStatus, net_handle_t handle, const char* iface, in expectRemoveRoute() 164 Return<INetd::StatusCode> retStatus = in expectRemoveRoute() 170 expectRemoveRoute(INetd::StatusCode::OK, h, i, d, n); in expectRemoveRouteSuccess() 187 Return<INetd::StatusCode> retStatus = netd->addInterfaceToOemNetwork(mNetHandle, sIfaceName); in TEST_F() [all …]
|
/system/hardware/interfaces/net/netd/1.0/vts/functional/ |
D | VtsHalNetNetdV1_0TargetTest.cpp | 59 INetd::StatusCode status; in TEST_F() 61 Return<void> ret = netd->createOemNetwork([&](net_handle_t n, uint32_t p, INetd::StatusCode s) { in TEST_F() 68 ASSERT_EQ(INetd::StatusCode::OK, status); in TEST_F() 75 Return<INetd::StatusCode> retStatus = netd->destroyOemNetwork(netHandle); in TEST_F() 76 ASSERT_EQ(INetd::StatusCode::OK, retStatus); in TEST_F() 85 Return<INetd::StatusCode> retStatus = netd->destroyOemNetwork(nh); in TEST_F() 86 ASSERT_EQ(INetd::StatusCode::INVALID_ARGUMENTS, retStatus); in TEST_F()
|
/system/hardware/interfaces/net/netd/1.1/ |
D | INetd.hal | 47 generates (StatusCode status); 70 generates (StatusCode status); 82 generates (StatusCode status); 94 generates (StatusCode status); 103 setIpForwardEnable(bool enable) generates (StatusCode status); 117 generates (StatusCode status);
|
/system/connectivity/wificond/scanning/offload/ |
D | offload_scan_manager.h | 68 enum StatusCode { enum 115 virtual StatusCode getOffloadStatus() const; 149 StatusCode offload_status_;
|
D | offload_scan_manager.cpp | 230 OffloadScanManager::StatusCode OffloadScanManager::getOffloadStatus() const { in getOffloadStatus() 281 OffloadScanManager::StatusCode status_result = OffloadScanManager::kNoError; in ReportError()
|
/system/hardware/interfaces/net/netd/1.0/ |
D | INetd.hal | 27 enum StatusCode : int32_t { 48 createOemNetwork() generates (uint64_t networkHandle, uint32_t packetMark, StatusCode status); 57 destroyOemNetwork(uint64_t networkHandle) generates (StatusCode status);
|
/system/connectivity/wificond/tests/ |
D | mock_offload_scan_manager.h | 46 MOCK_CONST_METHOD0(getOffloadStatus, OffloadScanManager::StatusCode());
|
/system/nvram/client/ |
D | nvram_client.c | 29 enum StatusCode { enum
|