Lines Matching refs:callback
48 SimpleLooperCallback::SimpleLooperCallback(Looper_callbackFunc callback) : in SimpleLooperCallback() argument
49 mCallback(callback) { in SimpleLooperCallback()
359 this, response.request.callback.get(), fd, events, data); in pollInner()
364 int callbackResult = response.request.callback->handleEvent(fd, events, data); in pollInner()
371 response.request.callback.clear(); in pollInner()
434 int Looper::addFd(int fd, int ident, int events, Looper_callbackFunc callback, void* data) { in addFd() argument
435 return addFd(fd, ident, events, callback ? new SimpleLooperCallback(callback) : NULL, data); in addFd()
438 int Looper::addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data) { in addFd() argument
441 events, callback.get(), data); in addFd()
444 if (!callback.get()) { in addFd()
466 request.callback = callback; in addFd()