Home
last modified time | relevance | path

Searched refs:driverFD_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/ipc/ipc/native/src/mock/source/
H A Dbinder_connector.cpp70 return driverFD_ >= 0; in IsDriverAlive()
134 driverFD_ = fd; in OpenDriver()
137 close(driverFD_); in OpenDriver()
138 driverFD_ = -1; in OpenDriver()
158 int ret = actvBinder_.InitActvBinder(driverFD_); in MapMemory()
197 if (driverFD_ < 0) { in WriteBinder()
218 if (driverFD_ > 0) { in ExitCurrentThread()
219 ioctl(driverFD_, request, 0); in ExitCurrentThread()
262 if (driverFD_ >= 0) { in CloseDriverFd()
263 int tmpFd = driverFD_; in CloseDriverFd()
[all …]
/ohos5.0/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_connector_unittest.cpp71 EXPECT_NE(binderConnector->driverFD_, 0);
72 binderConnector->driverFD_ = 1;
74 EXPECT_TRUE(binderConnector->driverFD_ > 0);
85 binderConnector->driverFD_ = -1;
98 binderConnector->driverFD_ = -1;
111 binderConnector->driverFD_ = -1;
124 binderConnector->driverFD_ = -1;
H A Dbinder_invoker_unittest.cpp149 binderInvoker.binderConnector_->driverFD_ = 0;
591 binderConnector->driverFD_ = 1;
621 binderConnector->driverFD_ = -1;
650 binderConnector->driverFD_ = -1;
/ohos5.0/foundation/communication/ipc/ipc/native/src/mock/include/
H A Dbinder_connector.h58 int driverFD_; variable