Lines Matching refs:Looper
76 Looper::Looper(bool allowNonCallbacks) in Looper() function in android::Looper
91 Looper::~Looper() { in ~Looper()
94 void Looper::initTLSKey() { in initTLSKey()
99 void Looper::threadDestructor(void *st) { in threadDestructor()
100 Looper* const self = static_cast<Looper*>(st); in threadDestructor()
106 void Looper::setForThread(const sp<Looper>& looper) { in setForThread()
107 sp<Looper> old = getForThread(); // also has side-effect of initializing TLS in setForThread()
120 sp<Looper> Looper::getForThread() { in getForThread()
124 Looper* looper = (Looper*)pthread_getspecific(gTLSKey); in getForThread()
125 return sp<Looper>::fromExisting(looper); in getForThread()
128 sp<Looper> Looper::prepare(int opts) { in prepare()
130 sp<Looper> looper = Looper::getForThread(); in prepare()
132 looper = sp<Looper>::make(allowNonCallbacks); in prepare()
133 Looper::setForThread(looper); in prepare()
142 bool Looper::getAllowNonCallbacks() const { in getAllowNonCallbacks()
146 void Looper::rebuildEpollLocked() { in rebuildEpollLocked()
175 void Looper::scheduleEpollRebuildLocked() { in scheduleEpollRebuildLocked()
185 int Looper::pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in pollOnce()
221 int Looper::pollInner(int timeoutMillis) { in pollInner()
382 int Looper::pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in pollAll()
408 void Looper::wake() { in wake()
423 void Looper::awoken() { in awoken()
432 int Looper::addFd(int fd, int ident, int events, Looper_callbackFunc callback, void* data) { in addFd()
440 int Looper::addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data) { in addFd()
526 int Looper::removeFd(int fd) { in removeFd()
535 int Looper::removeSequenceNumberLocked(SequenceNumber seq) { in removeSequenceNumberLocked()
583 void Looper::sendMessage(const sp<MessageHandler>& handler, const Message& message) { in sendMessage()
588 void Looper::sendMessageDelayed(nsecs_t uptimeDelay, const sp<MessageHandler>& handler, in sendMessageDelayed()
594 void Looper::sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler, in sendMessageAtTime()
628 void Looper::removeMessages(const sp<MessageHandler>& handler) { in removeMessages()
645 void Looper::removeMessages(const sp<MessageHandler>& handler, int what) { in removeMessages()
663 bool Looper::isPolling() const { in isPolling()
667 uint32_t Looper::Request::getEpollEvents() const { in getEpollEvents()