Home
last modified time | relevance | path

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

/system/netd/tests/
Dsock_diag_test.cpp145 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 …]
Dbinder_test.cpp2279 std::vector<IPAddress> findDnsSockets(SockDiag* sd, unsigned numExpected) { in findDnsSockets() argument
2300 EXPECT_EQ(0, sd->sendDumpRequest(IPPROTO_TCP, AF_INET, 1 << TCP_LISTEN)) in findDnsSockets()
2302 sd->readDiagMsg(IPPROTO_TCP, findDnsSockets); in findDnsSockets()
2318 SockDiag sd; in TEST_F() local
2319 ASSERT_TRUE(sd.open()) << "Failed to open SOCK_DIAG socket"; in TEST_F()
2379 std::vector<IPAddress> listenAddrs = findDnsSockets(&sd, 0); in TEST_F()
2388 listenAddrs = findDnsSockets(&sd, 2); in TEST_F()
/system/memory/libion/
Dion_test.c119 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/
DTcpSocketMonitor.cpp140 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()
DSockDiagTest.cpp150 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()
DPhysicalNetwork.cpp72 SockDiag sd; in destroySocketsLackingPermission() local
73 if (!sd.open()) { in destroySocketsLackingPermission()
77 if (int ret = sd.destroySocketsLackingPermission(mNetId, permission, in destroySocketsLackingPermission()
DNetlinkHandler.cpp156 SockDiag sd; in onEvent() local
157 if (sd.open()) { in onEvent()
162 int ret = sd.destroySockets(addrstr, destroyIfaceIndex); in onEvent()
DNetdNativeService.cpp455 SockDiag sd; in socketDestroy() local
456 if (!sd.open()) { in socketDestroy()
462 int err = sd.destroySockets(uidRanges, std::set<uid_t>(skipUids.begin(), skipUids.end()), in socketDestroy()
/system/sepolicy/prebuilts/api/31.0/public/
Dinstalld.te160 #add for move app to sd card
/system/sepolicy/public/
Dinstalld.te160 #add for move app to sd card
/system/apex/apexd/
Dapexservice_test.cpp2304 struct stat sd; in CheckActiveApexContents() local
2305 ASSERT_EQ(0, stat(kActiveApexPackagesDataDir, &sd)); in CheckActiveApexContents()
2306 ASSERT_EQ(0755u, sd.st_mode & ALLPERMS); in CheckActiveApexContents()
/system/core/fs_mgr/tests/
Dadb-remount-test.sh962 sd*)
/system/timezone/output_data/android/
Dtzids.prototxt1548 isoCode: "sd"
/system/timezone/input_data/android/
Dcountryzones.txt2873 isoCode:"sd"