Home
last modified time | relevance | path

Searched refs:looper (Results 1 – 25 of 100) sorted by relevance

1234

/packages/apps/TV/src/com/android/tv/dvr/recorder/
DInputTaskScheduler.java79 Looper looper, ScheduledRecording scheduledRecording, RecordingTask recordingTask) { in HandlerWrapper() argument
80 super(looper, recordingTask); in HandlerWrapper()
120 Looper looper, in InputTaskScheduler() argument
129 looper, in InputTaskScheduler()
142 Looper looper, in InputTaskScheduler() argument
152 mLooper = looper; in InputTaskScheduler()
181 mHandler = new WorkerThreadHandler(looper); in InputTaskScheduler()
432 public WorkerThreadHandler(Looper looper) { in WorkerThreadHandler() argument
433 super(looper); in WorkerThreadHandler()
/packages/services/Car/service/src/com/android/car/
DCarServiceUtils.java80 public static void runOnLooper(Looper looper, Runnable action) { in runOnLooper() argument
81 new Handler(looper).post(action); in runOnLooper()
102 public static void runOnLooperSync(Looper looper, Runnable action) { in runOnLooperSync() argument
103 if (Looper.myLooper() == looper) { in runOnLooperSync()
107 Handler handler = new Handler(looper); in runOnLooperSync()
/packages/apps/TV/src/com/android/tv/ui/hideable/
DAutoHideScheduler.java55 AutoHideScheduler(Runnable runnable, AccessibilityManager accessibilityManager, Looper looper) { in AutoHideScheduler() argument
58 mHandler = new HideHandler(looper, mRunnable); in AutoHideScheduler()
87 public HideHandler(Looper looper, Runnable hideRunner) { in HideHandler() argument
88 super(looper, hideRunner); in HideHandler()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java87 Looper looper = thread.getLooper(); in BluetoothMnsObexClient() local
88 mHandler = new MnsObexClientHandler(looper); in BluetoothMnsObexClient()
118 private MnsObexClientHandler(Looper looper) { in MnsObexClientHandler() argument
119 super(looper); in MnsObexClientHandler()
221 Looper looper = mHandler.getLooper(); in shutdown() local
222 if (looper != null) { in shutdown()
223 looper.quit(); in shutdown()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateBaseBridge.java115 public MainHandler(Looper looper) { in MainHandler() argument
116 super(looper); in MainHandler()
133 public BackgroundHandler(Looper looper) { in BackgroundHandler() argument
134 super(looper); in BackgroundHandler()
/packages/services/Car/service/src/com/android/car/garagemode/
DController.java46 public Controller(Context context, Looper looper) { in Controller() argument
47 this(context, looper, null, null, null); in Controller()
52 Looper looper, in Controller() argument
57 mHandler = (handler == null ? new Handler(looper) : handler); in Controller()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateBaseBridge.java115 public MainHandler(Looper looper) { in MainHandler() argument
116 super(looper); in MainHandler()
133 public BackgroundHandler(Looper looper) { in BackgroundHandler() argument
134 super(looper); in BackgroundHandler()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerWrapper.java84 static MediaPlayerWrapper wrap(MediaController controller, Looper looper) { in wrap() argument
85 if (controller == null || looper == null) { in wrap()
87 + " | Looper: " + looper); in wrap()
101 newWrapper.mLooper = looper; in wrap()
309 TimeoutHandler(Looper looper) { in TimeoutHandler() argument
310 super(looper); in TimeoutHandler()
DBrowsablePlayerConnector.java63 Looper looper, in connectToPlayers() argument
71 BrowsablePlayerConnector newWrapper = new BrowsablePlayerConnector(context, looper, cb); in connectToPlayers()
99 private BrowsablePlayerConnector(Context context, Looper looper, PlayerListCallback cb) { in BrowsablePlayerConnector() argument
102 mHandler = new Handler(looper) { in BrowsablePlayerConnector()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java242 public static void waitForLooperToFinishScheduledTask(Looper looper) { in waitForLooperToFinishScheduledTask() argument
243 runOnLooperSync(looper, () -> { in waitForLooperToFinishScheduledTask()
266 public static void runOnLooperSync(Looper looper, Runnable action) { in runOnLooperSync() argument
267 if (Looper.myLooper() == looper) { in runOnLooperSync()
271 Handler handler = new Handler(looper); in runOnLooperSync()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DLooperCompatUtils.java35 public static void quitSafely(final Looper looper) { in quitSafely() argument
37 CompatUtils.invoke(looper, null /* default return value */, METHOD_quitSafely); in quitSafely()
39 looper.quit(); in quitSafely()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DAbstractProvisioningController.java113 public synchronized void start(Looper looper) { in start() argument
114 start(new ProvisioningTaskHandler(looper)); in start()
196 public ProvisioningTaskHandler(Looper looper) { in ProvisioningTaskHandler() argument
197 super(looper); in ProvisioningTaskHandler()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMasClient.java94 Looper looper = mThread.getLooper(); in MasClient() local
95 mHandler = new MasClientHandler(looper, this); in MasClient()
200 MasClientHandler(Looper looper, MasClient inst) { in MasClientHandler() argument
201 super(looper); in MasClientHandler()
/packages/services/Car/service/src/com/android/car/hal/
DHalClient.java62 HalClient(IVehicle vehicle, Looper looper, IVehicleCallback callback) { in HalClient() argument
64 Handler handler = new CallbackHandler(looper, callback); in HalClient()
200 CallbackHandler(Looper looper, IVehicleCallback callback) { in CallbackHandler() argument
201 super(looper); in CallbackHandler()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java263 HeadsetPhoneStateOnSubscriptionChangedListener(Looper looper) { in HeadsetPhoneStateOnSubscriptionChangedListener() argument
264 super(looper); in HeadsetPhoneStateOnSubscriptionChangedListener()
277 HeadsetPhoneStateListener(Looper looper) { in HeadsetPhoneStateListener() argument
278 super(looper); in HeadsetPhoneStateListener()
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DTaskExecutor.java200 public WorkerThreadHandler(Looper looper) {
201 super(looper);
225 public MainThreadHandler(Looper looper) {
226 super(looper);
/packages/apps/Dialer/java/com/android/dialer/database/
DCallLogQueryHandler.java85 protected Handler createHandler(Looper looper) { in createHandler() argument
87 return new CatchingWorkerHandler(looper); in createHandler()
352 CatchingWorkerHandler(Looper looper) { in CatchingWorkerHandler() argument
353 super(looper); in CatchingWorkerHandler()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DSilenceDeviceManager.java114 SilenceDeviceManagerHandler(Looper looper) { in SilenceDeviceManagerHandler() argument
115 super(looper); in SilenceDeviceManagerHandler()
209 SilenceDeviceManager(AdapterService service, ServiceFactory factory, Looper looper) { in SilenceDeviceManager() argument
212 mLooper = looper; in SilenceDeviceManager()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DFocusOverlayManager.java96 public MainHandler(Looper looper) { in MainHandler() argument
97 super(looper); in MainHandler()
112 public FocusOverlayManager(Listener listener, Looper looper) { in FocusOverlayManager() argument
113 handler = new MainHandler(looper); in FocusOverlayManager()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DPbapStateMachine.java93 private PbapStateMachine(@NonNull BluetoothPbapService service, Looper looper, in PbapStateMachine() argument
96 super(TAG, looper); in PbapStateMachine()
110 static PbapStateMachine make(BluetoothPbapService service, Looper looper, in make() argument
114 new PbapStateMachine(service, looper, device, connSocket, obexConnectionHandler, in make()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusOverlayManager.java103 public MainHandler(Looper looper) { in MainHandler() argument
104 super(looper); in MainHandler()
118 public FocusOverlayManager(Listener listener, Looper looper) { in FocusOverlayManager() argument
119 mHandler = new MainHandler(looper); in FocusOverlayManager()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLooperIdleLock.java31 public LooperIdleLock(Object lock, Looper looper) { in LooperIdleLock() argument
34 looper.getQueue().addIdleHandler(this); in LooperIdleLock()
DPreconditions.java53 private static boolean isSameLooper(Looper looper) { in isSameLooper() argument
54 return Looper.myLooper() == looper; in isSameLooper()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DLeakGuardHandlerWrapper.java34 public LeakGuardHandlerWrapper(@Nonnull final T ownerInstance, final Looper looper) { in LeakGuardHandlerWrapper() argument
35 super(looper); in LeakGuardHandlerWrapper()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DDelayedTaskHandler.java38 public DelayedTaskHandler(Looper looper, int defaultDelayMs) { in DelayedTaskHandler() argument
39 super(looper); in DelayedTaskHandler()

1234