Home
last modified time | relevance | path

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

123456789

/system/bt/gd/os/linux_generic/
Dreactor_unittest.cc145 …reactor_->Register(fake_reactable.fd_, std::bind(&FakeReactable::OnReadReady, &fake_reactable), nu… in TEST_F()
153 …reactor_->Register(fake_reactable.fd_, std::bind(&FakeReactable::OnReadReady, &fake_reactable), nu… in TEST_F()
171 …reactor_->Register(fake_reactable.fd_, std::bind(&FakeReactable::OnReadReady, &fake_reactable), nu… in TEST_F()
184 …reactor_->Register(fake_reactable.fd_, std::bind(&FakeReactable::OnReadReady, &fake_reactable), nu… in TEST_F()
204 …reactor_->Register(fake_reactable.fd_, std::bind(&FakeReactable::OnReadReady, &fake_reactable), nu… in TEST_F()
220 …reactor_->Register(fake_reactable.fd_, std::bind(&FakeReactable::OnReadReady, &fake_reactable), nu… in TEST_F()
250 …reactor_->Register(fake_reactable.fd_, nullptr, std::bind(&FakeReactable::OnWriteReady, &fake_reac… in TEST_F()
266 …reactor_->Register(fake_reactable.fd_, std::bind(&FakeReactable::OnReadReady, &fake_reactable), nu… in TEST_F()
267 …reactor_->ModifyRegistration(reactable, nullptr, std::bind(&FakeReactable::OnWriteReady, &fake_rea… in TEST_F()
/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 };
/system/extras/simpleperf/
Dread_elf_test.cpp100 std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
107 std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
115 std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
122 … std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
129 std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
152 std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
161 std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
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()
/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.cpp94 WillOnce(Invoke(bind(CaptureStationEventHandler, &handler, _1, _2))); in TEST_F()
115 .WillOnce(Invoke(bind(CaptureStationEventHandler, &handler, _1, _2))); in TEST_F()
138 .WillOnce(Invoke(bind(CaptureChannelSwitchEventHandler, &handler, _1, _2))); in TEST_F()
Doffload_scan_manager_test.cpp54 using std::bind;
93 .WillByDefault(Invoke(bind(CaptureCallback, _1, &offload_callback_))); in SetUp()
96 Invoke(bind(CaptureDeathRecipient, _1, &death_recipient_))); in SetUp()
99 .WillByDefault(Invoke(bind(HidlStatusReturn, _3, &status))); in SetUp()
101 .WillByDefault(Invoke(bind(HidlStatusReturn, _2, &status))); in SetUp()
103 .WillByDefault(Invoke(bind(ScanStatusReturn, _1, &status))); in SetUp()
/system/core/adb/daemon/
Dservices.cpp256 std::bind(remount_service, std::placeholders::_1, arg)); in daemon_service_to_fd()
260 std::bind(reboot_service, std::placeholders::_1, arg)); in daemon_service_to_fd()
273 return create_service_thread("verity-on", std::bind(set_verity_enabled_state_service, in daemon_service_to_fd()
276 return create_service_thread("verity-off", std::bind(set_verity_enabled_state_service, in daemon_service_to_fd()
286 std::bind(restart_tcp_service, std::placeholders::_1, port)); in daemon_service_to_fd()
311 "reconnect", std::bind(reconnect_service, std::placeholders::_1, transport)); in daemon_service_to_fd()
/system/core/base/
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/core/init/
Dueventd_parser.cpp216 std::bind(ParsePermissionsLine, _1, &ueventd_configuration.sysfs_permissions, nullptr)); in ParseConfig()
217 parser.AddSingleLineParser("/dev/", std::bind(ParsePermissionsLine, _1, nullptr, in ParseConfig()
220 std::bind(ParseFirmwareDirectoriesLine, _1, in ParseConfig()
223 std::bind(ParseModaliasHandlingLine, _1, in ParseConfig()
226 std::bind(ParseUeventSocketRcvbufSizeLine, _1, in ParseConfig()
Dmodalias_handler.cpp93 auto alias_callback = std::bind(&ModaliasHandler::ParseAliasCallback, this, _1); in ModaliasHandler()
98 auto dep_callback = std::bind(&ModaliasHandler::ParseDepCallback, this, _1); in ModaliasHandler()
/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/connectivity/wificond/
Dap_interface_impl.cpp54 std::bind(&ApInterfaceImpl::OnStationEvent, in ApInterfaceImpl()
59 std::bind(&ApInterfaceImpl::OnChannelSwitchEvent, this, _1, _2)); in ApInterfaceImpl()
/system/update_engine/binder_bindings/android/os/
DIUpdateEngine.aidl29 boolean bind(IUpdateEngineCallback callback); in bind() method
/system/sepolicy/prebuilts/api/28.0/private/
Dapp.te6 accept append bind create ioctl listen lock name_bind
/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/tests/integration/
Dlife_cycle_test.cpp50 EXPECT_TRUE(WaitForTrue(std::bind(IsBinderServiceRegistered, kServiceName), in TEST()
/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/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/core/adb/sysdeps/posix/
Dnetwork.cpp69 if (bind(s.get(), addr, addrlen) != 0) { in _network_loopback_client()
107 if (bind(s, addr, addrlen) != 0) { in _network_loopback_server()
/system/bt/osi/src/socket_utils/
Dsocket_local_server.cc68 if (bind(s, (struct sockaddr*)&addr, alen) < 0) {
/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()
/system/sepolicy/prebuilts/api/28.0/public/
Dhal_usb.te10 allow hal_usb self:netlink_kobject_uevent_socket bind;

123456789