Home
last modified time | relevance | path

Searched refs:bind (Results 1 – 25 of 229) sorted by relevance

12345678910

/system/sepolicy/vendor/
Dhal_bluetooth_btlinux.te7 allow hal_bluetooth_btlinux self:socket { create bind read write };
8 allow hal_bluetooth_btlinux self:bluetooth_socket { create bind read write };
Dhal_can_socketcan.te10 allow hal_can_socketcan self:netlink_route_socket { create bind write nlmsg_write read };
19 allow hal_can_socketcan self:can_socket { bind create read write ioctl setopt };
/system/connectivity/wificond/tests/
Dscan_utils_unittest.cpp31 using std::bind;
153 WillOnce(Invoke(bind( in TEST_F()
172 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); in TEST_F()
190 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); in TEST_F()
208 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); in TEST_F()
226 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); in TEST_F()
246 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); in TEST_F()
260 WillOnce(Invoke(bind( in TEST_F()
274 WillOnce(Invoke(bind( in TEST_F()
296 WillOnce(Invoke(bind( in TEST_F()
Dap_interface_impl_unittest.cpp97 WillOnce(Invoke(bind(CaptureStationEventHandler, &handler, _1, _2))); in TEST_F()
129 WillOnce(Invoke(bind(CaptureStationEventHandler, &handler, _1, _2))); in TEST_F()
150 .WillOnce(Invoke(bind(CaptureStationEventHandler, &handler, _1, _2))); in TEST_F()
172 .WillOnce(Invoke(bind(CaptureStationEventHandler, &handler, _1, _2))); in TEST_F()
194 .WillOnce(Invoke(bind(CaptureChannelSwitchEventHandler, &handler, _1, _2))); in TEST_F()
/system/core/init/
Dueventd_parser.cpp233 std::bind(ParsePermissionsLine, _1, &ueventd_configuration.sysfs_permissions, nullptr)); in ParseConfig()
234 parser.AddSingleLineParser("/dev/", std::bind(ParsePermissionsLine, _1, nullptr, in ParseConfig()
237 std::bind(ParseFirmwareDirectoriesLine, _1, in ParseConfig()
240 std::bind(ParseExternalFirmwareHandlerLine, _1, in ParseConfig()
243 std::bind(ParseEnabledDisabledLine, _1, in ParseConfig()
246 std::bind(ParseUeventSocketRcvbufSizeLine, _1, in ParseConfig()
249 std::bind(ParseEnabledDisabledLine, _1, in ParseConfig()
/system/libbase/
Dscopeguard_test.cpp54 std::bind([](int& guarded_var) { guarded_var++; }, std::ref(guarded_var)))); in TEST()
56 std::bind([](int& guarded_var) { guarded_var++; }, std::ref(guarded_var)))); in TEST()
/system/extras/simpleperf/
Dutils_test.cpp51 std::bind(&KernelSymbolsMatch, std::placeholders::_1, expected_symbol))); in TEST()
59 std::bind(&KernelSymbolsMatch, std::placeholders::_1, expected_symbol))); in TEST()
64 std::bind(&KernelSymbolsMatch, std::placeholders::_1, expected_symbol))); in TEST()
Dread_elf_test.cpp112 elf->ParseSymbols(std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
123 elf->ParseSymbols(std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
132 elf->ParseSymbols(std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
151 elf->ParseSymbols(std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
161 elf->ParseSymbols(std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
192 elf->ParseSymbols(std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
203 elf->ParseSymbols(std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
/system/netd/libnetdutils/
DSyscallsTest.cpp130 TEST_F(SyscallsTest, bind) { in TEST_F() argument
136 EXPECT_CALL(mSyscalls, bind(kFd, asSockaddrPtr(&expected), sizeof(expected))) in TEST_F()
138 EXPECT_EQ(status::ok, sys.bind(kFd, expected)); in TEST_F()
142 EXPECT_CALL(mSyscalls, bind(kFd, asSockaddrPtr(&expected), sizeof(expected))) in TEST_F()
144 EXPECT_EQ(kError, sys.bind(kFd, expected)); in TEST_F()
/system/sepolicy/prebuilts/api/28.0/private/
Dapp.te6 accept append bind create ioctl listen lock name_bind
/system/core/libmodprobe/
Dlibmodprobe.cpp319 auto alias_callback = std::bind(&Modprobe::ParseAliasCallback, this, _1); in Modprobe()
322 auto dep_callback = std::bind(&Modprobe::ParseDepCallback, this, base_path, _1); in Modprobe()
325 auto softdep_callback = std::bind(&Modprobe::ParseSoftdepCallback, this, _1); in Modprobe()
328 auto load_callback = std::bind(&Modprobe::ParseLoadCallback, this, _1); in Modprobe()
331 auto options_callback = std::bind(&Modprobe::ParseOptionsCallback, this, _1); in Modprobe()
334 auto blocklist_callback = std::bind(&Modprobe::ParseBlocklistCallback, this, _1); in Modprobe()
/system/core/libcutils/
Dsocket_inaddr_any_server_unix.cpp49 if (bind(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) { in socket_inaddr_any_server()
Dsocket_inaddr_any_server_windows.cpp67 if (bind(sock, (struct sockaddr*)&addr, sizeof(addr)) == SOCKET_ERROR) { in socket_inaddr_any_server()
/system/connectivity/wificond/
Dap_interface_impl.cpp55 std::bind(&ApInterfaceImpl::OnStationEvent, in ApInterfaceImpl()
60 std::bind(&ApInterfaceImpl::OnChannelSwitchEvent, this, _1, _2)); in ApInterfaceImpl()
/system/update_engine/binder_bindings/android/os/
DIUpdateEngine.aidl35 boolean bind(IUpdateEngineCallback callback); in bind() method
/system/sepolicy/prebuilts/api/30.0/private/
Duntrusted_app_29.te19 allow untrusted_app_29 self:netlink_route_socket { bind nlmsg_readpriv };
/system/sepolicy/private/
Duntrusted_app_29.te19 allow untrusted_app_29 self:netlink_route_socket { bind nlmsg_readpriv };
/system/connectivity/wificond/tests/integration/
Dlife_cycle_test.cpp50 EXPECT_TRUE(WaitForTrue(std::bind(IsBinderServiceRegistered, kServiceName), in TEST()
/system/core/adb/sysdeps/posix/
Dnetwork.cpp69 if (bind(s.get(), addr, addrlen) != 0) { in _network_loopback_client()
107 if (bind(s.get(), addr, addrlen) != 0) { in _network_loopback_server()
/system/sepolicy/prebuilts/api/27.0/public/
Dglobal_macros43 define(`rw_socket_perms', `{ ioctl read getattr write setattr lock append bind connect getopt setop…
44 define(`rw_socket_perms_no_ioctl', `{ read getattr write setattr lock append bind connect getopt se…
Dhal_usb.te10 allow hal_usb self:netlink_kobject_uevent_socket bind;
/system/sepolicy/prebuilts/api/26.0/public/
Dglobal_macros43 define(`rw_socket_perms', `{ ioctl read getattr write setattr lock append bind connect getopt setop…
44 define(`rw_socket_perms_no_ioctl', `{ read getattr write setattr lock append bind connect getopt se…
/system/bt/osi/src/socket_utils/
Dsocket_local_server.cc68 if (bind(s, (struct sockaddr*)&addr, alen) < 0) {
/system/core/adb/
Dservices.cpp251 create_service_thread("wait", std::bind(wait_service, std::placeholders::_1, in host_service_to_socket()
257 "connect", std::bind(connect_service, std::placeholders::_1, host)); in host_service_to_socket()
267 "pair", std::bind(pair_service, std::placeholders::_1, host, password)); in host_service_to_socket()
/system/netd/libnetdutils/include/netdutils/
DSyscalls.h58 virtual Status bind(Fd sock, const sockaddr* addr, socklen_t addrlen) const = 0;
135 Status bind(Fd sock, const SockaddrT& addr) const { in bind() function
136 return bind(sock, asSockaddrPtr(&addr), sizeof(addr)); in bind()

12345678910