Lines Matching defs:ALooper
18 #define LOG_TAG "ALooper"
26 #include "ALooper.h"
36 struct ALooper::LooperThread : public Thread {
37 LooperThread(ALooper *looper, bool canCallJava)
61 ALooper *mLooper;
68 int64_t ALooper::GetNowUs() {
72 ALooper::ALooper()
79 ALooper::~ALooper() {
81 // stale AHandlers are now cleaned up in the constructor of the next ALooper to come along
84 void ALooper::setName(const char *name) {
88 ALooper::handler_id ALooper::registerHandler(const sp<AHandler> &handler) {
92 void ALooper::unregisterHandler(handler_id handlerID) {
96 status_t ALooper::start(
124 mName.empty() ? "ALooper" : mName.c_str(), priority);
132 status_t ALooper::stop() {
168 void ALooper::post(const sp<AMessage> &msg, int64_t delayUs) {
194 bool ALooper::loop() {
222 // NOTE: It's important to note that at this point our "ALooper" object
231 sp<AReplyToken> ALooper::createReplyToken() {
236 status_t ALooper::awaitResponse(const sp<AReplyToken> &replyToken, sp<AMessage> *response) {
252 status_t ALooper::postReply(const sp<AReplyToken> &replyToken, const sp<AMessage> &reply) {