Lines Matching refs:Looper
60 Looper::Looper(bool allowNonCallbacks) in Looper() function in android::Looper
75 Looper::~Looper() { in ~Looper()
78 void Looper::initTLSKey() { in initTLSKey()
83 void Looper::threadDestructor(void *st) { in threadDestructor()
84 Looper* const self = static_cast<Looper*>(st); in threadDestructor()
90 void Looper::setForThread(const sp<Looper>& looper) { in setForThread()
91 sp<Looper> old = getForThread(); // also has side-effect of initializing TLS in setForThread()
104 sp<Looper> Looper::getForThread() { in getForThread()
108 return (Looper*)pthread_getspecific(gTLSKey); in getForThread()
111 sp<Looper> Looper::prepare(int opts) { in prepare()
113 sp<Looper> looper = Looper::getForThread(); in prepare()
115 looper = new Looper(allowNonCallbacks); in prepare()
116 Looper::setForThread(looper); in prepare()
125 bool Looper::getAllowNonCallbacks() const { in getAllowNonCallbacks()
129 void Looper::rebuildEpollLocked() { in rebuildEpollLocked()
163 void Looper::scheduleEpollRebuildLocked() { in scheduleEpollRebuildLocked()
173 int Looper::pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in pollOnce()
209 int Looper::pollInner(int timeoutMillis) { in pollInner()
367 int Looper::pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in pollAll()
393 void Looper::wake() { in wake()
408 void Looper::awoken() { in awoken()
417 void Looper::pushResponse(int events, const Request& request) { in pushResponse()
424 int Looper::addFd(int fd, int ident, int events, Looper_callbackFunc callback, void* data) { in addFd()
428 int Looper::addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data) { in addFd()
511 int Looper::removeFd(int fd) { in removeFd()
515 int Looper::removeFd(int fd, int seq) { in removeFd()
573 void Looper::sendMessage(const sp<MessageHandler>& handler, const Message& message) { in sendMessage()
578 void Looper::sendMessageDelayed(nsecs_t uptimeDelay, const sp<MessageHandler>& handler, in sendMessageDelayed()
584 void Looper::sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler, in sendMessageAtTime()
618 void Looper::removeMessages(const sp<MessageHandler>& handler) { in removeMessages()
635 void Looper::removeMessages(const sp<MessageHandler>& handler, int what) { in removeMessages()
653 bool Looper::isPolling() const { in isPolling()
657 void Looper::Request::initEventItem(struct epoll_event* eventItem) const { in initEventItem()