Searched refs:Looper (Results 1 – 8 of 8) sorted by relevance
/system/core/libutils/ |
D | Looper.cpp | 60 Looper::Looper(bool allowNonCallbacks) in Looper() function in android::Looper 75 Looper::~Looper() { in ~Looper() 78 void Looper::initTLSKey() { in initTLSKey() 83 void Looper::threadDestructor(void *st) { in threadDestructor() 84 Looper* const self = static_cast<Looper*>(st); in threadDestructor() 90 void Looper::setForThread(const sp<Looper>& looper) { in setForThread() 91 sp<Looper> old = getForThread(); // also has side-effect of initializing TLS in setForThread() 104 sp<Looper> Looper::getForThread() { in getForThread() 108 return (Looper*)pthread_getspecific(gTLSKey); in getForThread() 111 sp<Looper> Looper::prepare(int opts) { in prepare() [all …]
|
D | Looper_test.cpp | 80 sp<Looper> mLooper; 83 DelayedWake(int delayMillis, const sp<Looper> looper) : in DelayedWake() 109 void setCallback(const sp<Looper>& looper, int fd, int events) { in setCallback() 156 sp<Looper> mLooper; 159 mLooper = new Looper(true); in SetUp() 175 EXPECT_EQ(Looper::POLL_TIMEOUT, result) in TEST_F() 188 EXPECT_EQ(Looper::POLL_WAKE, result) in TEST_F() 202 EXPECT_EQ(Looper::POLL_WAKE, result) in TEST_F() 213 EXPECT_EQ(Looper::POLL_TIMEOUT, result) in TEST_F() 221 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F() [all …]
|
D | Android.bp | 155 "Looper.cpp",
|
/system/hwservicemanager/ |
D | service.cpp | 41 using android::Looper; 67 static sp<HwBinderCallback> setupTo(const sp<Looper>& looper) { in setupTo() 78 Looper::POLL_CALLBACK, in setupTo() 79 Looper::EVENT_INPUT, in setupTo() 96 …static sp<ClientCallbackCallback> setupTo(const sp<Looper>& looper, const sp<ServiceManager>& mana… in setupTo() 117 Looper::POLL_CALLBACK, in setupTo() 118 Looper::EVENT_INPUT, in setupTo() 171 sp<Looper> looper = Looper::prepare(0 /* opts */); in main()
|
/system/core/libutils/include/utils/ |
D | Looper.h | 138 class Looper : public RefBase { 140 virtual ~Looper(); 231 Looper(bool allowNonCallbacks); 405 static sp<Looper> prepare(int opts); 413 static void setForThread(const sp<Looper>& looper); 419 static sp<Looper> getForThread();
|
/system/connectivity/wificond/ |
D | looper_backed_event_loop.cpp | 73 looper_ = android::Looper::prepare(Looper::PREPARE_ALLOW_NON_CALLBACKS); in LooperBackedEventLoop() 99 event = Looper::EVENT_INPUT; in WatchFileDescriptor() 101 event = Looper::EVENT_OUTPUT; in WatchFileDescriptor()
|
D | looper_backed_event_loop.h | 62 sp<android::Looper> looper_;
|
/system/tools/aidl/tests/ |
D | aidl_test_service.cpp | 50 using android::Looper; 490 sp<Looper> looper(Looper::prepare(0 /* opts */)); in Run() 500 if (looper->addFd(binder_fd, Looper::POLL_CALLBACK, Looper::EVENT_INPUT, cb, in Run()
|