Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp4053 void expectPacketSentOnNetId(uid_t uid, unsigned netId, int fd, int selectionMode) { in expectPacketSentOnNetId() argument
4055 const bool doConnect = (selectionMode != UNCONNECTED_SOCKET); in expectPacketSentOnNetId()
4060 expected.explicitlySelected = (selectionMode == EXPLICITLY_SELECT); in expectPacketSentOnNetId()
4061 if (uid == AID_ROOT && selectionMode == EXPLICITLY_SELECT) { in expectPacketSentOnNetId()
4066 if (selectionMode == UNCONNECTED_SOCKET) { in expectPacketSentOnNetId()
4075 void expectUnreachableError(uid_t uid, unsigned netId, int selectionMode) { in expectUnreachableError() argument
4077 const bool doConnect = (selectionMode != UNCONNECTED_SOCKET); in expectUnreachableError()
4082 expected.explicitlySelected = (selectionMode == EXPLICITLY_SELECT); in expectUnreachableError()
4083 if (uid == AID_ROOT && selectionMode == EXPLICITLY_SELECT) { in expectUnreachableError()
4088 if (selectionMode == UNCONNECTED_SOCKET) { in expectUnreachableError()