提交 2a12dd26 编写于 作者: O openharmony_ci 提交者: Gitee

!5 [Lightweight PR]: remove driver name /dev/zbinder

Merge pull request !5 from liangshenglin1/N/A
...@@ -37,11 +37,7 @@ std::mutex BinderConnector::skeletonMutex; ...@@ -37,11 +37,7 @@ std::mutex BinderConnector::skeletonMutex;
constexpr int SZ_1_M = 1048576; constexpr int SZ_1_M = 1048576;
constexpr int DOUBLE = 2; constexpr int DOUBLE = 2;
static const int IPC_MMAP_SIZE = (SZ_1_M - sysconf(_SC_PAGE_SIZE) * DOUBLE); static const int IPC_MMAP_SIZE = (SZ_1_M - sysconf(_SC_PAGE_SIZE) * DOUBLE);
#if (defined CONFIG_DUAL_FRAMEWORK)
static const std::string DRIVER_NAME = std::string("/dev/binder"); static const std::string DRIVER_NAME = std::string("/dev/binder");
#else
static const std::string DRIVER_NAME = std::string("/dev/zbinder");
#endif /* CONFIG_DUAL_FRAMEWORK */
BinderConnector *BinderConnector::instance_ = nullptr; BinderConnector *BinderConnector::instance_ = nullptr;
BinderConnector::BinderConnector(const std::string &deviceName) BinderConnector::BinderConnector(const std::string &deviceName)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册