Searched refs:expectOk (Results 1 – 7 of 7) sorted by relevance
/system/netd/server/ |
D | NFLogListener.cpp | 154 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()
|
D | NetlinkListener.cpp | 67 expectOk(NetlinkListener::subscribe(kNetlinkMsgErrorType, rxErrorHandler)); in NetlinkListener() 81 expectOk(sys.write(mEvent, makeSlice(data)).status()); in ~NetlinkListener()
|
D | WakeupController.cpp | 117 expectOk(mListener->unsubscribe(NetlinkManager::NFLOG_WAKEUP_GROUP)); in ~WakeupController()
|
D | TrafficController.cpp | 294 expectOk(mSkDestroyListener->subscribe(kSockDiagMsgType, rxHandler)); in start() 303 expectOk(mSkDestroyListener->subscribe(kSockDiagDoneMsgType, rxDoneHandler)); in start()
|
/system/netd/libnetdutils/ |
D | UniqueFd.cpp | 29 expectOk(sys.close(fd)); in reset()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Status.h | 88 inline void expectOk(const Status& /*status*/) { in expectOk() function
|
/system/netd/tests/ |
D | binder_test.cpp | 186 bool allocateIpSecResources(bool expectOk, int32_t* spi); 391 bool NetdBinderTest::allocateIpSecResources(bool expectOk, int32_t* spi) { in allocateIpSecResources() argument 394 RETURN_FALSE_IF_NEQ(status.ok(), expectOk); in allocateIpSecResources() 399 RETURN_FALSE_IF_NEQ(status.ok(), expectOk); in allocateIpSecResources() 402 return expectOk == XfrmController::ipSecAddTunnelInterface("ipsec_test", "::", "::1", 0xF00D, in allocateIpSecResources()
|