Home
last modified time | relevance | path

Searched refs:Looper (Results 1 – 18 of 18) sorted by relevance

/system/core/libutils/
DLooper_fuzz.cpp26 using android::Looper;
40 std::vector<std::function<void(FuzzedDataProvider*, sp<Looper>, Pipe)>> operations = {
41 [](FuzzedDataProvider* dataProvider, sp<Looper> looper, Pipe) -> void { in __anon46cfd9970102()
44 [](FuzzedDataProvider* dataProvider, sp<Looper> looper, Pipe) -> void { in __anon46cfd9970202()
48 [](FuzzedDataProvider* dataProvider, sp<Looper> looper, Pipe pipeObj) -> void { in __anon46cfd9970302()
53 [](FuzzedDataProvider* dataProvider, sp<Looper> looper, Pipe pipeObj) -> void { in __anon46cfd9970402()
58 [](FuzzedDataProvider* dataProvider, sp<Looper> looper, Pipe pipeObj) -> void { in __anon46cfd9970502()
63 [](FuzzedDataProvider* dataProvider, sp<Looper> looper, Pipe pipeObj) -> void { in __anon46cfd9970602()
68 [](FuzzedDataProvider*, sp<Looper> looper, Pipe) -> void { looper->wake(); }, in __anon46cfd9970702()
69 [](FuzzedDataProvider*, sp<Looper>, Pipe pipeObj) -> void { pipeObj.writeSignal(); }}; in __anon46cfd9970802()
[all …]
DLooper.cpp76 Looper::Looper(bool allowNonCallbacks) in Looper() function in android::Looper
91 Looper::~Looper() { in ~Looper()
94 void Looper::initTLSKey() { in initTLSKey()
99 void Looper::threadDestructor(void *st) { in threadDestructor()
100 Looper* const self = static_cast<Looper*>(st); in threadDestructor()
106 void Looper::setForThread(const sp<Looper>& looper) { in setForThread()
107 sp<Looper> old = getForThread(); // also has side-effect of initializing TLS in setForThread()
120 sp<Looper> Looper::getForThread() { in getForThread()
124 Looper* looper = (Looper*)pthread_getspecific(gTLSKey); in getForThread()
125 return sp<Looper>::fromExisting(looper); in getForThread()
[all …]
DLooper_test.cpp50 sp<Looper> mLooper;
53 DelayedWake(int delayMillis, const sp<Looper> looper) : in DelayedWake()
79 void setCallback(const sp<Looper>& looper, int fd, int events) { in setCallback()
126 sp<Looper> mLooper;
129 mLooper = new Looper(true); in SetUp()
145 EXPECT_EQ(Looper::POLL_TIMEOUT, result) in TEST_F()
158 EXPECT_EQ(Looper::POLL_WAKE, result) in TEST_F()
172 EXPECT_EQ(Looper::POLL_WAKE, result) in TEST_F()
183 EXPECT_EQ(Looper::POLL_TIMEOUT, result) in TEST_F()
191 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F()
[all …]
DAndroid.bp166 "Looper.cpp",
/system/hwservicemanager/
Dservice.cpp41 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/connectivity/wificond/
Dlooper_backed_event_loop.cpp73 looper_ = android::Looper::prepare(Looper::PREPARE_ALLOW_NON_CALLBACKS); in LooperBackedEventLoop()
96 event = Looper::EVENT_INPUT; in WatchFileDescriptor()
98 event = Looper::EVENT_OUTPUT; in WatchFileDescriptor()
Dlooper_backed_event_loop.h62 sp<android::Looper> looper_;
/system/core/libutils/include/utils/
DLooper.h141 class Looper : public RefBase {
143 virtual ~Looper();
234 Looper(bool allowNonCallbacks);
408 static sp<Looper> prepare(int opts);
416 static void setForThread(const sp<Looper>& looper);
422 static sp<Looper> getForThread();
/system/core/libutils/abi-dumps/arm64/source-based/
Dlibutils.so.lsdump2529 "name" : "android::trait_pointer<android::Looper::MessageEnvelope>::value"
2533 "name" : "android::trait_pointer<android::Looper::MessageEnvelope>::(unnamed)",
2546 "name" : "android::trait_pointer<android::Looper::Response>::value"
2550 "name" : "android::trait_pointer<android::Looper::Response>::(unnamed)",
2734 "name" : "android::trait_trivial_copy<android::Looper::MessageEnvelope>::value"
2738 "name" : "android::trait_trivial_copy<android::Looper::MessageEnvelope>::(unnamed)",
2751 "name" : "android::trait_trivial_copy<android::Looper::Response>::value"
2755 "name" : "android::trait_trivial_copy<android::Looper::Response>::(unnamed)",
3023 "name" : "android::trait_trivial_ctor<android::Looper::MessageEnvelope>::value"
3027 "name" : "android::trait_trivial_ctor<android::Looper::MessageEnvelope>::(unnamed)",
[all …]
/system/core/libutils/abi-dumps/arm_arm64/source-based/
Dlibutils.so.lsdump2525 "name" : "android::trait_pointer<android::Looper::MessageEnvelope>::value"
2529 "name" : "android::trait_pointer<android::Looper::MessageEnvelope>::(unnamed)",
2542 "name" : "android::trait_pointer<android::Looper::Response>::value"
2546 "name" : "android::trait_pointer<android::Looper::Response>::(unnamed)",
2730 "name" : "android::trait_trivial_copy<android::Looper::MessageEnvelope>::value"
2734 "name" : "android::trait_trivial_copy<android::Looper::MessageEnvelope>::(unnamed)",
2747 "name" : "android::trait_trivial_copy<android::Looper::Response>::value"
2751 "name" : "android::trait_trivial_copy<android::Looper::Response>::(unnamed)",
3019 "name" : "android::trait_trivial_ctor<android::Looper::MessageEnvelope>::value"
3023 "name" : "android::trait_trivial_ctor<android::Looper::MessageEnvelope>::(unnamed)",
[all …]
/system/extras/simpleperf/demo/SimpleperfExampleJava/app/src/main/java/simpleperf/example/java/
DMultiProcessService.java7 import android.os.Looper;
/system/unwinding/libunwindstack/offline_files/maps_compiled_arm64/28613_main-thread/
Doutput.txt35 #34 pc 00000000004f1dfc boot-framework.oat (android.os.Looper.loopOnce+1036)
36 #35 pc 00000000004f1954 boot-framework.oat (android.os.Looper.loop+516)
/system/incremental_delivery/libdataloader/
DDataLoaderConnector.cpp272 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/extras/simpleperf/testdata/
Dperf_display_bitmaps.UiThread.perf-script12 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
36 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
70 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
94 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
123 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
166 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
195 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
225 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
252 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
286 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
[all …]
Dperf_display_bitmaps.header.perf-script9850 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
9874 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
9908 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
9941 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
10040 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
10083 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
10149 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
10208 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
10235 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
10301 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
[all …]
Dperf_display_bitmaps.perf-script9835 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
9859 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
9893 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
9926 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
10025 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
10068 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
10134 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
10193 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
10220 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
10286 74ab66773a android.os.Looper.loop (/system/framework/framework.jar)
[all …]
Dperf_display_bitmaps.RenderThread.perf-script9843 75304d7a8c android::Looper::pollInner(int) (/system/lib64/libutils.so)
9844 75304d795c android::Looper::pollOnce(int, int*, int*, void**) (/system/lib64/libutils.so)
/system/tools/aidl/tests/
Daidl_test_service.cpp76 using android::Looper;
964 sp<Looper> looper(Looper::prepare(0 /* opts */)); in Run()
974 if (looper->addFd(binder_fd, Looper::POLL_CALLBACK, Looper::EVENT_INPUT, cb, in Run()