Home
last modified time | relevance | path

Searched refs:NonCopyableFunction (Results 1 – 3 of 3) 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/security/keystore/
Dkeymaster_worker.h61 template <typename Fn> class NonCopyableFunction; variable
63 template <typename Ret, typename... Args> class NonCopyableFunction<Ret(Args...)> {
89 NonCopyableFunction() = default;
91 template <typename F> NonCopyableFunction(F f) { in NonCopyableFunction() function
94 NonCopyableFunction(NonCopyableFunction&& other) = default;
95 NonCopyableFunction& operator=(NonCopyableFunction&& other) = default;
96 NonCopyableFunction(const NonCopyableFunction& other) = delete;
97 NonCopyableFunction& operator=(const NonCopyableFunction& other) = delete;
104 using WorkerTask = NonCopyableFunction<void()>;
/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()