Searched refs:Looper (Results 1 – 11 of 11) sorted by relevance
/system/core/libutils/ |
D | Looper_fuzz.cpp | 26 using android::Looper; 40 std::vector<std::function<void(FuzzedDataProvider*, sp<Looper>, Pipe)>> operations = { 41 [](FuzzedDataProvider* dataProvider, sp<Looper> looper, Pipe) -> void { in __anonf7ee24f90102() 44 [](FuzzedDataProvider* dataProvider, sp<Looper> looper, Pipe) -> void { in __anonf7ee24f90202() 48 [](FuzzedDataProvider* dataProvider, sp<Looper> looper, Pipe pipeObj) -> void { in __anonf7ee24f90302() 53 [](FuzzedDataProvider* dataProvider, sp<Looper> looper, Pipe pipeObj) -> void { in __anonf7ee24f90402() 58 [](FuzzedDataProvider* dataProvider, sp<Looper> looper, Pipe pipeObj) -> void { in __anonf7ee24f90502() 63 [](FuzzedDataProvider* dataProvider, sp<Looper> looper, Pipe pipeObj) -> void { in __anonf7ee24f90602() 68 [](FuzzedDataProvider*, sp<Looper> looper, Pipe) -> void { looper->wake(); }, in __anonf7ee24f90702() 69 [](FuzzedDataProvider*, sp<Looper>, Pipe pipeObj) -> void { pipeObj.writeSignal(); }}; in __anonf7ee24f90802() [all …]
|
D | Looper.cpp | 62 Looper::Looper(bool allowNonCallbacks) in Looper() function in android::Looper 77 Looper::~Looper() { in ~Looper() 80 void Looper::initTLSKey() { in initTLSKey() 85 void Looper::threadDestructor(void *st) { in threadDestructor() 86 Looper* const self = static_cast<Looper*>(st); in threadDestructor() 92 void Looper::setForThread(const sp<Looper>& looper) { in setForThread() 93 sp<Looper> old = getForThread(); // also has side-effect of initializing TLS in setForThread() 106 sp<Looper> Looper::getForThread() { in getForThread() 110 return (Looper*)pthread_getspecific(gTLSKey); in getForThread() 113 sp<Looper> Looper::prepare(int opts) { in prepare() [all …]
|
D | Looper_test.cpp | 47 sp<Looper> mLooper; 50 DelayedWake(int delayMillis, const sp<Looper> looper) : in DelayedWake() 76 void setCallback(const sp<Looper>& looper, int fd, int events) { in setCallback() 123 sp<Looper> mLooper; 126 mLooper = new Looper(true); in SetUp() 142 EXPECT_EQ(Looper::POLL_TIMEOUT, result) in TEST_F() 155 EXPECT_EQ(Looper::POLL_WAKE, result) in TEST_F() 169 EXPECT_EQ(Looper::POLL_WAKE, result) in TEST_F() 180 EXPECT_EQ(Looper::POLL_TIMEOUT, result) in TEST_F() 188 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F() [all …]
|
D | Android.bp | 171 "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() 174 sp<Looper> looper = Looper::prepare(0 /* opts */); in main()
|
/system/core/libutils/include/utils/ |
D | Looper.h | 140 class Looper : public RefBase { 142 virtual ~Looper(); 233 Looper(bool allowNonCallbacks); 407 static sp<Looper> prepare(int opts); 415 static void setForThread(const sp<Looper>& looper); 421 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/iorap/src/perfetto/ |
D | perfetto_consumer.cc | 119 ::android::sp<::android::Looper> looper; in __anonec49963b0102() 122 looper = ::android::Looper::prepare(/*opts*/0); in __anonec49963b0102() 132 if (result == ::android::Looper::POLL_ERROR) { in __anonec49963b0102() 163 ::android::sp<::android::Looper> looper_;
|
/system/incremental_delivery/libdataloader/ |
D | DataLoaderConnector.cpp | 272 struct IncFsLooper : public android::Looper { 273 IncFsLooper() : Looper(/*allowNonCallbacks=*/false) {} in IncFsLooper() 277 static android::Looper& pendingReadsLooper() { in pendingReadsLooper() 282 static android::Looper& logLooper() { in logLooper() 863 looper.addFd(control->pendingReads(), android::Looper::POLL_CALLBACK, in DataLoaderService_OnStart() 864 android::Looper::EVENT_INPUT, &onPendingReadsLooperEvent, in DataLoaderService_OnStart() 878 looper.addFd(control->logs(), android::Looper::POLL_CALLBACK, android::Looper::EVENT_INPUT, in DataLoaderService_OnStart()
|
/system/tools/aidl/tests/ |
D | aidl_test_service.cpp | 68 using android::Looper; 678 sp<Looper> looper(Looper::prepare(0 /* opts */)); in Run() 688 if (looper->addFd(binder_fd, Looper::POLL_CALLBACK, Looper::EVENT_INPUT, cb, in Run()
|