Home
last modified time | relevance | path

Searched refs:fileno (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DEvsEnumeratorUnitTest.cpp627 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)args, 1)); in TEST_F()
631 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), nullptr, 0)); in TEST_F()
634 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)args, 1)); in TEST_F()
639 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)&args[0], args.size())); in TEST_F()
643 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)&args[0], args.size())); in TEST_F()
646 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)&args[0], args.size())); in TEST_F()
662 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)&args[0], args.size())); in TEST_F()
696 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)&args[0], args.size())); in TEST_F()
705 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)&args[0], args.size())); in TEST_F()
713 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)&args[0], args.size())); in TEST_F()
[all …]
/packages/modules/Virtualization/demo_native/
Dmain.cpp226 ScopedFileDescriptor console_out_fd(fcntl(fileno(stdout), F_DUPFD_CLOEXEC)); in create_virtual_machine()
227 ScopedFileDescriptor console_in_fd(fcntl(fileno(stdin), F_DUPFD_CLOEXEC)); in create_virtual_machine()
228 ScopedFileDescriptor log_fd(fcntl(fileno(stdout), F_DUPFD_CLOEXEC)); in create_virtual_machine()
/packages/modules/Bluetooth/system/osi/src/
Dconfig.cc325 if (fsync(fileno(fp)) < 0) { in config_save()
420 if (fsync(fileno(fp)) < 0) { in checksum_save()
/packages/modules/Bluetooth/floss/pandora/floss/
Dcmd_utils.py39 def fileno(self): member in _LoggerProxy
/packages/modules/Bluetooth/system/gd/os/linux_generic/
Dfiles.cc152 if (fsync(fileno(fp)) != 0) { in WriteToFile()
/packages/modules/Bluetooth/system/bta/test/
Dbta_disc_test.cc86 DumpsysBtaDmDisc(fileno(file)); in TEST_F()
/packages/modules/Bluetooth/system/device/test/
Dinterop_test.cc109 ASSERT_EQ(fsync(fileno(fp)), 0) in SetUp()
/packages/modules/adb/
Dadb.cpp672 const int original_fd = fileno(nStdHandle == STD_OUTPUT_HANDLE ? stdout : stderr); in _redirect_pipe_thread()
Dtest_device.py371 if self.device.has_shell_protocol() and os.isatty(sys.stdin.fileno()):
Dsysdeps_win32.cpp1513 const int fd = fileno(stream); in _get_console_handle()