/system/netd/tests/ |
D | sock_diag_test.cpp | 145 SockDiag sd; in TEST_F() local 146 ASSERT_TRUE(sd.open()) << "Failed to open SOCK_DIAG socket"; in TEST_F() 149 int ret = sd.sendDumpRequest(IPPROTO_TCP, AF_INET, "127.0.0.1"); in TEST_F() 152 sd.readDiagMsg(IPPROTO_TCP, checkIPv4Dump); in TEST_F() 158 ret = sd.sendDumpRequest(IPPROTO_TCP, AF_INET6, "127.0.0.1"); in TEST_F() 161 sd.readDiagMsg(IPPROTO_TCP, checkIPv6Dump); in TEST_F() 165 ret = sd.sendDumpRequest(IPPROTO_TCP, AF_INET6, "::1"); in TEST_F() 169 sd.readDiagMsg(IPPROTO_TCP, checkIPv6Dump); in TEST_F() 213 SockDiag sd; in TEST_F() local 214 ASSERT_TRUE(sd.open()) << "Failed to open SOCK_DIAG socket"; in TEST_F() [all …]
|
D | binder_test.cpp | 2150 std::vector<IPAddress> findDnsSockets(SockDiag* sd, unsigned numExpected) { in findDnsSockets() argument 2171 EXPECT_EQ(0, sd->sendDumpRequest(IPPROTO_TCP, AF_INET, 1 << TCP_LISTEN)) in findDnsSockets() 2173 sd->readDiagMsg(IPPROTO_TCP, findDnsSockets); in findDnsSockets() 2189 SockDiag sd; in TEST_F() local 2190 ASSERT_TRUE(sd.open()) << "Failed to open SOCK_DIAG socket"; in TEST_F() 2250 std::vector<IPAddress> listenAddrs = findDnsSockets(&sd, 0); in TEST_F() 2259 listenAddrs = findDnsSockets(&sd, 2); in TEST_F()
|
/system/memory/libion/ |
D | ion_test.c | 119 int sd[2]; in ion_share_test() local 126 socketpair(AF_UNIX, SOCK_STREAM, 0, sd); in ion_share_test() 157 sendmsg(sd[0], &msg, 0); in ion_share_test() 158 if (recvmsg(sd[0], &msg, 0) < 0) in ion_share_test() 163 sendmsg(sd[0], &msg, 0); in ion_share_test() 165 if (recvmsg(sd[0], &msg, 0) < 0) in ion_share_test() 187 if (recvmsg(sd[1], &child_msg, 0) < 0) in ion_share_test() 208 sendmsg(sd[1], &child_msg, 0); in ion_share_test()
|
/system/netd/server/ |
D | VirtualNetwork.cpp | 50 SockDiag sd; in maybeCloseSockets() local 51 if (!sd.open()) { in maybeCloseSockets() 55 if (int ret = sd.destroySockets(uidRanges, protectableUsers, true /* excludeLoopback */)) { in maybeCloseSockets()
|
D | TcpSocketMonitor.cpp | 140 SockDiag sd; in dump() local 141 if (sd.open()) { in dump() 149 if (int ret = sd.getLiveTcpInfos(tcpInfoReader)) { in dump() 199 SockDiag sd; in poll() local 200 if (!sd.open()) { in poll() 218 if (int ret = sd.getLiveTcpInfos(tcpInfoReader)) { in poll()
|
D | PhysicalNetwork.cpp | 72 SockDiag sd; in destroySocketsLackingPermission() local 73 if (!sd.open()) { in destroySocketsLackingPermission() 77 if (int ret = sd.destroySocketsLackingPermission(mNetId, permission, in destroySocketsLackingPermission()
|
D | SockDiagTest.cpp | 150 SockDiag sd; in TEST_F() local 151 ASSERT_TRUE(sd.open()) << "Failed to open SOCK_DIAG socket"; in TEST_F() 153 int ret = sd.sendDumpRequest(IPPROTO_TCP, AF_INET, "127.0.0.1"); in TEST_F() 156 sd.readDiagMsg(IPPROTO_TCP, checkIPv4Dump); in TEST_F() 161 ret = sd.sendDumpRequest(IPPROTO_TCP, AF_INET6, "127.0.0.1"); in TEST_F() 164 sd.readDiagMsg(IPPROTO_TCP, checkIPv6Dump); in TEST_F() 167 ret = sd.sendDumpRequest(IPPROTO_TCP, AF_INET6, "::1"); in TEST_F() 171 sd.readDiagMsg(IPPROTO_TCP, checkIPv6Dump); in TEST_F()
|
D | NetlinkHandler.cpp | 156 SockDiag sd; in onEvent() local 157 if (sd.open()) { in onEvent() 158 int ret = sd.destroySockets(addrstr); in onEvent()
|
D | NetdNativeService.cpp | 417 SockDiag sd; in socketDestroy() local 418 if (!sd.open()) { in socketDestroy() 424 int err = sd.destroySockets(uidRanges, std::set<uid_t>(skipUids.begin(), skipUids.end()), in socketDestroy()
|
/system/apex/apexd/ |
D | apexservice_test.cpp | 2240 struct stat sd; in CheckRevertWasPerformed() local 2241 ASSERT_EQ(0, stat(kActiveApexPackagesDataDir, &sd)); in CheckRevertWasPerformed() 2242 ASSERT_EQ(0755u, sd.st_mode & ALLPERMS); in CheckRevertWasPerformed()
|
/system/core/fs_mgr/tests/ |
D | adb-remount-test.sh | 927 sd*)
|
/system/timezone/input_data/android/ |
D | countryzones.txt | 2868 isoCode:"sd"
|