Home
last modified time | relevance | path

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

/system/netd/tests/
Dsock_diag_test.cpp146 SockDiag sd; in TEST_F() local
147 ASSERT_TRUE(sd.open()) << "Failed to open SOCK_DIAG socket"; in TEST_F()
150 int ret = sd.sendDumpRequest(IPPROTO_TCP, AF_INET, "127.0.0.1"); in TEST_F()
153 sd.readDiagMsg(IPPROTO_TCP, checkIPv4Dump); in TEST_F()
159 ret = sd.sendDumpRequest(IPPROTO_TCP, AF_INET6, "127.0.0.1"); in TEST_F()
162 sd.readDiagMsg(IPPROTO_TCP, checkIPv6Dump); in TEST_F()
166 ret = sd.sendDumpRequest(IPPROTO_TCP, AF_INET6, "::1"); in TEST_F()
170 sd.readDiagMsg(IPPROTO_TCP, checkIPv6Dump); in TEST_F()
214 SockDiag sd; in TEST_F() local
215 ASSERT_TRUE(sd.open()) << "Failed to open SOCK_DIAG socket"; in TEST_F()
[all …]
Dbinder_test.cpp2693 std::vector<IPAddress> findDnsSockets(SockDiag* sd, unsigned numExpected) { in findDnsSockets() argument
2714 EXPECT_EQ(0, sd->sendDumpRequest(IPPROTO_TCP, AF_INET, 1 << TCP_LISTEN)) in findDnsSockets()
2716 sd->readDiagMsg(IPPROTO_TCP, findDnsSockets); in findDnsSockets()
2732 SockDiag sd; in TEST_F() local
2733 ASSERT_TRUE(sd.open()) << "Failed to open SOCK_DIAG socket"; in TEST_F()
2793 std::vector<IPAddress> listenAddrs = findDnsSockets(&sd, 0); in TEST_F()
2802 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.cpp151 SockDiag sd; in TEST_F() local
152 ASSERT_TRUE(sd.open()) << "Failed to open SOCK_DIAG socket"; in TEST_F()
154 int ret = sd.sendDumpRequest(IPPROTO_TCP, AF_INET, "127.0.0.1"); in TEST_F()
157 sd.readDiagMsg(IPPROTO_TCP, checkIPv4Dump); in TEST_F()
162 ret = sd.sendDumpRequest(IPPROTO_TCP, AF_INET6, "127.0.0.1"); in TEST_F()
165 sd.readDiagMsg(IPPROTO_TCP, checkIPv6Dump); in TEST_F()
168 ret = sd.sendDumpRequest(IPPROTO_TCP, AF_INET6, "::1"); in TEST_F()
172 sd.readDiagMsg(IPPROTO_TCP, checkIPv6Dump); in TEST_F()
DPhysicalNetwork.cpp75 SockDiag sd; in destroySocketsLackingPermission() local
76 if (!sd.open()) { in destroySocketsLackingPermission()
80 if (int ret = sd.destroySocketsLackingPermission(mNetId, permission, in destroySocketsLackingPermission()
DNetlinkHandler.cpp144 SockDiag sd; in onEvent() local
145 if (sd.open()) { in onEvent()
150 int ret = sd.destroySockets(addrstr, destroyIfaceIndex); in onEvent()
DNetdNativeService.cpp382 SockDiag sd; in socketDestroy() local
383 if (!sd.open()) { in socketDestroy()
389 int err = sd.destroySockets(uidRanges, std::set<uid_t>(skipUids.begin(), skipUids.end()), in socketDestroy()
/system/core/debuggerd/crasher/riscv64/
Dcrashglue.S6 sd ra, 8(sp)
/system/apex/apexd/
Dapexservice_test.cpp460 struct stat sd; in ExpectFileWithExpectedProperties() local
461 ASSERT_EQ(0, stat(path.c_str(), &sd)); in ExpectFileWithExpectedProperties()
462 EXPECT_EQ(1007u, sd.st_uid); in ExpectFileWithExpectedProperties()
463 EXPECT_EQ(3001u, sd.st_gid); in ExpectFileWithExpectedProperties()
1334 struct stat sd; in CheckActiveApexContents() local
1335 ASSERT_EQ(0, stat(kActiveApexPackagesDataDir, &sd)); in CheckActiveApexContents()
1336 ASSERT_EQ(0755u, sd.st_mode & ALLPERMS); in CheckActiveApexContents()
/system/sepolicy/prebuilts/api/31.0/public/
Dinstalld.te160 #add for move app to sd card
/system/sepolicy/prebuilts/api/32.0/public/
Dinstalld.te160 #add for move app to sd card
/system/sepolicy/prebuilts/api/33.0/public/
Dinstalld.te163 #add for move app to sd card
/system/sepolicy/prebuilts/api/34.0/public/
Dinstalld.te164 #add for move app to sd card
/system/sepolicy/public/
Dinstalld.te164 #add for move app to sd card
/system/core/fs_mgr/tests/
Dadb-remount-test.sh989 sd*)
/system/timezone/output_data/android/
Dtzids.prototxt1556 isoCode: "sd"
/system/timezone/input_data/android/
Dcountryzones.txt2975 isoCode:"sd"