Home
last modified time | relevance | path

Searched defs:looper (Results 1 – 25 of 489) sorted by relevance

12345678910>>...20

/frameworks/base/native/android/
Dlooper.cpp32 static inline ALooper* Looper_to_ALooper(Looper* looper) { in Looper_to_ALooper()
44 void ALooper_acquire(ALooper* looper) { in ALooper_acquire()
48 void ALooper_release(ALooper* looper) { in ALooper_release()
53 sp<Looper> looper = Looper::getForThread(); in ALooper_pollOnce() local
64 sp<Looper> looper = Looper::getForThread(); in ALooper_pollAll() local
74 void ALooper_wake(ALooper* looper) { in ALooper_wake()
78 int ALooper_addFd(ALooper* looper, int fd, int ident, int events, in ALooper_addFd()
83 int ALooper_removeFd(ALooper* looper, int fd) { in ALooper_removeFd()
/frameworks/av/media/module/foundation/tests/
DAMessage_test.cpp174 sp<LooperWithSettableClock> looper = new LooperWithSettableClock(); in TEST() local
193 sp<LooperWithSettableClock> looper = new LooperWithSettableClock(); in TEST() local
210 sp<LooperWithSettableClock> looper = new LooperWithSettableClock(); in TEST() local
239 sp<LooperWithSettableClock> looper = new LooperWithSettableClock(); in TEST() local
254 sp<LooperWithSettableClock> looper = new LooperWithSettableClock(); in TEST() local
267 sp<LooperWithSettableClock> looper = new LooperWithSettableClock(); in TEST() local
283 sp<LooperWithSettableClock> looper = new LooperWithSettableClock(); in TEST() local
298 sp<LooperWithSettableClock> looper = new LooperWithSettableClock(); in TEST() local
315 sp<LooperWithSettableClock> looper = new LooperWithSettableClock(); in TEST() local
332 sp<ALooper> looper = new ALooper(); in TEST() local
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastLoopers.java50 public static void addLooper(@NonNull Looper looper) { in addLooper()
61 final Looper looper = Looper.myLooper(); in addMyLooper() local
109 final Looper looper = sLoopers.valueAt(i); in waitForCondition() local
/frameworks/native/cmds/servicemanager/
Dmain.cpp41 static sp<BinderCallback> setupTo(const sp<Looper>& looper) { in setupTo()
74 static sp<ClientCallbackCallback> setupTo(const sp<Looper>& looper, in setupTo()
153 sp<Looper> looper = Looper::prepare(false /*allowNonCallbacks*/); in main() local
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
DUnfoldFrameCallbackScheduler.kt38 private val looper = constant
/frameworks/av/media/module/foundation/
DALooperRoster.cpp39 const sp<ALooper> &looper, const sp<AHandler> &handler) { in registerHandler()
88 sp<ALooper> looper = info.mLooper.promote(); in unregisterStaleHandlers() local
141 sp<ALooper> looper = info.mLooper.promote(); in dump() local
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/
DFakeThreadFactory.java40 public void setLooper(Looper looper) { in setLooper()
70 public DelayableExecutor buildDelayableExecutorOnLooper(Looper looper) { in buildDelayableExecutorOnLooper()
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DAuthStateDenialTimer.java51 public AuthStateDenialTimer(ContextHubClientBroker client, long nanoAppId, Looper looper) { in AuthStateDenialTimer()
86 CountDownHandler(Looper looper) { in CountDownHandler()
/frameworks/base/core/java/android/os/
DHandlerThread.java168 Looper looper = getLooper(); in quit() local
195 Looper looper = getLooper(); in quitSafely() local
DHandler.java162 public Handler(@NonNull Looper looper) { in Handler()
173 public Handler(@NonNull Looper looper, @Nullable Callback callback) { in Handler()
257 public Handler(@NonNull Looper looper, @Nullable Callback callback, boolean async) { in Handler()
262 public Handler(@NonNull Looper looper, @Nullable Callback callback, boolean async, in Handler()
284 public static Handler createAsync(@NonNull Looper looper) { in createAsync()
302 public static Handler createAsync(@NonNull Looper looper, @NonNull Callback callback) { in createAsync()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInputChannelCompat.java67 public InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver()
72 public InputEventReceiver(String name, InputChannel inputChannel, Looper looper, in InputEventReceiver()
/frameworks/native/services/inputflinger/rust/
Dinput_filter_thread.rs55 looper: Arc<RwLock<Looper>>, field
130 let looper = &mut self.looper(); in start() localVariable
146 let looper = &mut self.looper(); in stop() localVariable
190 let looper = self.looper.read().unwrap(); in sleep_until() localVariable
197 let looper = self.looper.read().unwrap(); in wake() localVariable
203 fn looper(&self) -> RwLockWriteGuard<'_, Looper> { in looper() method
/frameworks/base/libs/input/
DPointerController.cpp65 const sp<PointerControllerPolicyInterface>& policy, const sp<Looper>& looper, in create()
103 const sp<Looper>& looper, SpriteController& spriteController) in PointerController()
118 const sp<Looper>& looper, SpriteController& spriteController, in PointerController()
362 const sp<Looper>& looper, in MousePointerController()
375 const sp<Looper>& looper, in TouchPointerController()
388 const sp<Looper>& looper, in StylusPointerController()
/frameworks/base/core/java/android/view/
DInputFilter.java123 public InputFilter(Looper looper) { in InputFilter()
218 public H(Looper looper) { in H()
DBatchedInputEventReceiver.java43 InputChannel inputChannel, Looper looper, Choreographer choreographer) { in BatchedInputEventReceiver()
155 public SimpleBatchedInputEventReceiver(InputChannel inputChannel, Looper looper, in SimpleBatchedInputEventReceiver()
/frameworks/base/core/java/android/widget/
DToast.java170 public Toast(@NonNull Context context, @Nullable Looper looper) { in Toast()
184 private Looper getLooper(@Nullable Looper looper) { in getLooper()
516 public static Toast makeText(@NonNull Context context, @Nullable Looper looper, in makeText()
540 public static Toast makeCustomToastWithIcon(@NonNull Context context, @Nullable Looper looper, in makeCustomToastWithIcon()
674 @Nullable Looper looper) { in TN()
/frameworks/base/libs/input/tests/mocks/
DMockSpriteController.h29 MockSpriteController(sp<Looper> looper) in MockSpriteController()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsTestBase.java105 public void monitorTestableLooper(TestableLooper looper) { in monitorTestableLooper()
115 public void unmonitorTestableLooper(TestableLooper looper) { in unmonitorTestableLooper()
/frameworks/base/cmds/incidentd/fuzzers/
DIncidentServiceFuzzer.cpp27 sp<Looper> looper(Looper::prepare(0)); in LLVMFuzzerTestOneInput() local
/frameworks/av/media/libstagefright/tests/mediacodec/
DMediaCodecTest.cpp164 const sp<ALooper> &looper, in SetupMediaCodec()
241 sp<ALooper> looper{new ALooper}; in TEST() local
339 sp<ALooper> looper{new ALooper}; in TEST() local
388 sp<ALooper> looper{new ALooper}; in TEST() local
436 sp<ALooper> looper{new ALooper}; in TEST() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingAnimation.java60 private WirelessChargingAnimation(@NonNull Context context, @Nullable Looper looper, in WirelessChargingAnimation()
74 @Nullable Looper looper, int transmittingBatteryLevel, int batteryLevel, in makeWirelessChargingAnimation()
124 public WirelessChargingView(Context context, @Nullable Looper looper, in WirelessChargingView()
/frameworks/base/cmds/incidentd/src/
Dmain.cpp37 sp<Looper> looper(Looper::prepare(0 /* opts */)); in main() local
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DTestHandler.java28 public TestHandler(Looper looper) { in TestHandler()
/frameworks/native/services/displayservice/
DDisplayEventReceiver.cpp33 static sp<Looper> looper = []() { in getLooper() local
34 sp<Looper> looper = new Looper(false /* allowNonCallbacks */); in getLooper() local
/frameworks/base/services/core/java/com/android/server/vcn/
DVcnNetworkProvider.java73 public VcnNetworkProvider(@NonNull Context context, @NonNull Looper looper) { in VcnNetworkProvider()
79 @NonNull Context context, @NonNull Looper looper, @NonNull Dependencies dependencies) { in VcnNetworkProvider()

12345678910>>...20