Lines Matching defs:ALooper
18 #define LOG_TAG "ALooper"
23 #include "ALooper.h"
33 struct ALooper::LooperThread : public Thread {
34 LooperThread(ALooper *looper, bool canCallJava)
58 ALooper *mLooper;
65 int64_t ALooper::GetNowUs() {
69 ALooper::ALooper()
76 ALooper::~ALooper() {
78 // stale AHandlers are now cleaned up in the constructor of the next ALooper to come along
81 void ALooper::setName(const char *name) {
85 ALooper::handler_id ALooper::registerHandler(const sp<AHandler> &handler) {
89 void ALooper::unregisterHandler(handler_id handlerID) {
93 status_t ALooper::start(
121 mName.empty() ? "ALooper" : mName.c_str(), priority);
129 status_t ALooper::stop() {
161 void ALooper::post(const sp<AMessage> &msg, int64_t delayUs) {
187 bool ALooper::loop() {
215 // NOTE: It's important to note that at this point our "ALooper" object