Home
last modified time | relevance | path

Searched refs:expectOk (Results 1 – 7 of 7) sorted by relevance

/system/netd/server/
DNFLogListener.cpp154 expectOk(mListener->subscribe(kNFLogPacketMsgType, rxHandler)); in NFLogListener()
163 expectOk(mListener->subscribe(kNetlinkDoneMsgType, rxDoneHandler)); in NFLogListener()
167 expectOk(mListener->unsubscribe(kNFLogPacketMsgType)); in ~NFLogListener()
168 expectOk(mListener->unsubscribe(kNetlinkDoneMsgType)); in ~NFLogListener()
171 expectOk(cfgCmdUnbind(sendFn, key)); in ~NFLogListener()
DNetlinkListener.cpp67 expectOk(NetlinkListener::subscribe(kNetlinkMsgErrorType, rxErrorHandler)); in NetlinkListener()
81 expectOk(sys.write(mEvent, makeSlice(data)).status()); in ~NetlinkListener()
DWakeupController.cpp117 expectOk(mListener->unsubscribe(NetlinkManager::NFLOG_WAKEUP_GROUP)); in ~WakeupController()
DTrafficController.cpp297 expectOk(mSkDestroyListener->subscribe(kSockDiagMsgType, rxHandler)); in start()
306 expectOk(mSkDestroyListener->subscribe(kSockDiagDoneMsgType, rxDoneHandler)); in start()
/system/netd/libnetdutils/
DUniqueFd.cpp29 expectOk(sys.close(fd)); in reset()
/system/netd/libnetdutils/include/netdutils/
DStatus.h88 inline void expectOk(const Status& /*status*/) { in expectOk() function
/system/netd/tests/
Dbinder_test.cpp150 bool allocateIpSecResources(bool expectOk, int32_t* spi);
334 bool NetdBinderTest::allocateIpSecResources(bool expectOk, int32_t* spi) { in allocateIpSecResources() argument
337 RETURN_FALSE_IF_NEQ(status.ok(), expectOk); in allocateIpSecResources()
342 RETURN_FALSE_IF_NEQ(status.ok(), expectOk); in allocateIpSecResources()
345 return expectOk == XfrmController::ipSecAddTunnelInterface("ipsec_test", "::", "::1", 0xF00D, in allocateIpSecResources()