Home
last modified time | relevance | path

Searched refs:sockets (Results 1 – 25 of 37) sorted by relevance

12

/system/bt/osi/src/socket_utils/
DREADME18 implement some of the sources in libcutils / sockets to provide a short -
25 sockets,
27 .The developers who want to pull sockets sources other than the
34 osi / include / socket_utils / sockets.h -
/system/core/adb/
Dsysdeps_test.cpp226 std::vector<int> sockets; in TEST_F() local
228 sockets.resize(num_sockets * 2); in TEST_F()
230 ASSERT_EQ(0, adb_socketpair(&sockets[i * 2])) << strerror(errno); in TEST_F()
231 ASSERT_TRUE(WriteFdExactly(sockets[i * 2], &i, sizeof(i))); in TEST_F()
234 pfd.fd = sockets[i * 2 + 1]; in TEST_F()
247 for (int fd : sockets) { in TEST_F()
Dshell_service.cpp127 int sockets[2]; in CreateSocketpair() local
128 if (adb_socketpair(sockets) < 0) { in CreateSocketpair()
132 fd1->reset(sockets[0]); in CreateSocketpair()
133 fd2->reset(sockets[1]); in CreateSocketpair()
Dsysdeps_win32.cpp530 std::vector<WSAPOLLFD> sockets; in adb_poll() local
543 sockets.push_back(wsapollfd); in adb_poll()
548 if (sockets.empty()) { in adb_poll()
552 int result = WSAPoll(sockets.data(), sockets.size(), timeout); in adb_poll()
559 for (size_t i = 0; i < sockets.size(); ++i) { in adb_poll()
560 original[i]->revents = sockets[i].revents; in adb_poll()
/system/sepolicy/public/
Dwificond.te13 # create sockets to set interfaces up and down
20 # newer kernels (e.g. 4.4 but not 4.1) have a new class for sockets
Dhal_wifi.te20 # newer kernels (e.g. 4.4 but not 4.1) have a new class for sockets
Ddnsmasq.te19 # TODO: Investigate whether these inherited sockets should be closed on exec.
Dhal_audio.te34 # Disallow network sockets.
Dhal_camera.te32 # hal_camera should never need network access. Disallow network sockets.
Dhal_wifi_supplicant.te30 # /data/misc/wifi/sockets which hal_wifi_supplicant supplicant communicates with.
Dupdate_engine.te8 # sockets.
Dclatd.te12 # TODO: Check whether some or all of these sockets should be close-on-exec.
Drild.te34 # Allow rild to create and use netlink sockets.
Dioctl_macros44 # commonly used ioctls on unix sockets
Dhal_neverallows.te12 # hardware, it should not be using network sockets.
Dte_macros99 # Define types for endpoint and channel sockets.
490 # daemon via sockets
499 # log daemon via sockets
515 # android log daemon via sockets
/system/sepolicy/private/
Dpolicy_capabilities10 # ICMP and SCTP sockets previously mapped
Dnet.te5 # Use network sockets.
Dsystem_server.te82 # Use netlink uevent sockets.
85 # Use generic netlink sockets.
92 # Use generic "sockets" where the address family is not known
145 # NetworkDiagnostics requires explicit bind() calls to ping sockets. These aren't actually the same
146 # as raw sockets, but the kernel doesn't yet distinguish between the two.
152 # Talk to init and various daemons via sockets.
248 # Use sockets received over binder from various services.
254 # Use sockets received over binder from various services.
479 # Allow system_server to use app-created sockets and pipes.
Dsecurity_classes46 # extended netlink sockets
Dsurfaceflinger.te45 # Create and use netlink kobject uevent sockets.
/system/sepolicy/vendor/
Dhal_wifi_supplicant_default.te9 type_transition hal_wifi_supplicant_default wifi_data_file:dir wpa_socket "sockets";
/system/core/libappfuse/include/libappfuse/
DFuseBuffer.h33 bool SetupMessageSockets(base::unique_fd (*sockets)[2]);
/system/sepolicy/reqd_mask/
Dsecurity_classes46 # extended netlink sockets
/system/core/libcutils/
DAndroid.bp66 "sockets.cpp",

12