Lines Matching refs:Looper

62 Looper::Looper(bool allowNonCallbacks)  in Looper()  function in android::Looper
77 Looper::~Looper() { in ~Looper()
80 void Looper::initTLSKey() { in initTLSKey()
85 void Looper::threadDestructor(void *st) { in threadDestructor()
86 Looper* const self = static_cast<Looper*>(st); in threadDestructor()
92 void Looper::setForThread(const sp<Looper>& looper) { in setForThread()
93 sp<Looper> old = getForThread(); // also has side-effect of initializing TLS in setForThread()
106 sp<Looper> Looper::getForThread() { in getForThread()
110 return (Looper*)pthread_getspecific(gTLSKey); in getForThread()
113 sp<Looper> Looper::prepare(int opts) { in prepare()
115 sp<Looper> looper = Looper::getForThread(); in prepare()
117 looper = new Looper(allowNonCallbacks); in prepare()
118 Looper::setForThread(looper); in prepare()
127 bool Looper::getAllowNonCallbacks() const { in getAllowNonCallbacks()
131 void Looper::rebuildEpollLocked() { in rebuildEpollLocked()
165 void Looper::scheduleEpollRebuildLocked() { in scheduleEpollRebuildLocked()
175 int Looper::pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in pollOnce()
211 int Looper::pollInner(int timeoutMillis) { in pollInner()
369 int Looper::pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in pollAll()
395 void Looper::wake() { in wake()
410 void Looper::awoken() { in awoken()
419 void Looper::pushResponse(int events, const Request& request) { in pushResponse()
426 int Looper::addFd(int fd, int ident, int events, Looper_callbackFunc callback, void* data) { in addFd()
430 int Looper::addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data) { in addFd()
513 int Looper::removeFd(int fd) { in removeFd()
517 int Looper::removeFd(int fd, int seq) { in removeFd()
575 void Looper::sendMessage(const sp<MessageHandler>& handler, const Message& message) { in sendMessage()
580 void Looper::sendMessageDelayed(nsecs_t uptimeDelay, const sp<MessageHandler>& handler, in sendMessageDelayed()
586 void Looper::sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler, in sendMessageAtTime()
620 void Looper::removeMessages(const sp<MessageHandler>& handler) { in removeMessages()
637 void Looper::removeMessages(const sp<MessageHandler>& handler, int what) { in removeMessages()
655 bool Looper::isPolling() const { in isPolling()
659 void Looper::Request::initEventItem(struct epoll_event* eventItem) const { in initEventItem()