Home
last modified time | relevance | path

Searched refs:NonCopyableFunction (Results 1 – 2 of 2) sorted by relevance

/system/teeui/libteeui/include/secure_input/
Devdev.h36 template <typename Fn> class NonCopyableFunction; variable
38 template <typename Ret, typename... Args> class NonCopyableFunction<Ret(Args...)> {
62 NonCopyableFunction() = default;
63 template <typename F> NonCopyableFunction(F f) { in NonCopyableFunction() function
66 NonCopyableFunction(NonCopyableFunction&& other) = default;
67 NonCopyableFunction& operator=(NonCopyableFunction&& other) = default;
68 NonCopyableFunction(const NonCopyableFunction& other) = delete;
69 NonCopyableFunction& operator=(const NonCopyableFunction& other) = delete;
92 EventReceiver(int fd, short flags, NonCopyableFunction<void(short)> handle) in EventReceiver()
96 NonCopyableFunction<void(short)> handleEvent;
[all …]
/system/teeui/libteeui/src/
Devdev.cpp89 void EventLoop::addEventReceiver(NonCopyableFunction<void(short)> handler, int eventFd, in addEventReceiver()
98 void EventLoop::addTimer(NonCopyableFunction<void()> handler, in addTimer()