Searched refs:dev_fd (Results 1 – 4 of 4) sorted by relevance
/system/core/fs_mgr/libdm/ |
D | dm_test.cpp | 152 unique_fd dev_fd(open(dev.path().c_str(), O_RDWR)); in TEST() local 153 ASSERT_GE(dev_fd, 0); in TEST() 158 ASSERT_TRUE(android::base::ReadFully(dev_fd, sector, sizeof(sector))); in TEST() 160 ASSERT_TRUE(android::base::ReadFully(dev_fd, sector, sizeof(sector))); in TEST()
|
/system/extras/tests/iptables/qtaguid/ |
D | socketTag.cpp | 188 dev_fd = -1; in SetUp() 211 dev_fd = open("/dev/xt_qtaguid", O_RDONLY); in SetUp() 212 EXPECT_GE(dev_fd, 0) << "qtaguid dev open failed"; in SetUp() 227 if (dev_fd >= 0) { in TearDown() 228 close(dev_fd); in TearDown() 238 int dev_fd; member in android::SocketTaggingTest
|
/system/core/libappfuse/include/libappfuse/ |
D | FuseBridgeLoop.h | 51 bool AddBridge(int mount_id, base::unique_fd dev_fd, base::unique_fd proxy_fd);
|
/system/core/libappfuse/ |
D | FuseBridgeLoop.cc | 70 FuseBridgeEntry(int mount_id, base::unique_fd&& dev_fd, base::unique_fd&& proxy_fd) in FuseBridgeEntry() argument 72 device_fd_(std::move(dev_fd)), in FuseBridgeEntry() 326 bool FuseBridgeLoop::AddBridge(int mount_id, base::unique_fd dev_fd, base::unique_fd proxy_fd) { in AddBridge() argument 330 new FuseBridgeEntry(mount_id, std::move(dev_fd), std::move(proxy_fd))); in AddBridge()
|