Home
last modified time | relevance | path

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

12345

/packages/modules/IPsec/src/java/com/android/internal/net/eap/
DEapAuthenticator.java70 Looper looper, IEapCallback cb, Context context, EapSessionConfig eapSessionConfig) { in EapAuthenticator() argument
71 this(looper, cb, context, eapSessionConfig, DEFAULT_RANDOM_FACTORY); in EapAuthenticator()
85 Looper looper, in EapAuthenticator() argument
91 looper, in EapAuthenticator()
103 Looper looper, in EapAuthenticator() argument
108 super(looper); in EapAuthenticator()
/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/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineFactory.java41 Looper looper, in makeChildSessionStateMachine() argument
52 looper, in makeChildSessionStateMachine()
77 Looper looper, in makeChildSessionStateMachine() argument
96 Looper looper, in makeChildSessionStateMachine() argument
108 looper, in makeChildSessionStateMachine()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DBrowsedPlayerWrapper.java106 private BrowsedPlayerWrapper(Context context, Looper looper, String packageName, in BrowsedPlayerWrapper() argument
110 mLooper = looper; in BrowsedPlayerWrapper()
118 static BrowsedPlayerWrapper wrap(Context context, Looper looper, String packageName, in wrap() argument
122 new BrowsedPlayerWrapper(context, looper, packageName, className); in wrap()
308 TimeoutHandler(Looper looper, PlaybackCallback cb) {
309 super(looper);
332 MediaPlaybackListener(Looper looper, MediaController controller) {
335 mLooper = looper;
DBrowsablePlayerConnector.java72 Looper looper, in connectToPlayers() argument
83 BrowsablePlayerConnector newWrapper = new BrowsablePlayerConnector(context, looper, cb); in connectToPlayers()
89 looper, in connectToPlayers()
112 private BrowsablePlayerConnector(Context context, Looper looper, PlayerListCallback cb) { in BrowsablePlayerConnector() argument
115 mHandler = new Handler(looper) { in BrowsablePlayerConnector()
/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/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
DMediaPlayerWrapperFactory.java32 static MediaPlayerWrapper wrap(MediaController controller, Looper looper) { in wrap() argument
34 if (controller == null || looper == null) { in wrap()
40 newWrapper = new GPMWrapper(controller, looper); in wrap()
42 newWrapper = new MediaPlayerWrapper(controller, looper); in wrap()
/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/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.java100 Looper looper = mThread.getLooper(); in MasClient() local
101 mHandler = new MasClientHandler(looper, this); in MasClient()
215 MasClientHandler(Looper looper, MasClient inst) { in MasClientHandler() argument
216 super(looper); in MasClientHandler()
/packages/services/Telecomm/src/com/android/server/telecom/
DContactsAsyncHelper.java86 public ContactsAsyncHelper(ContentResolverAdapter contentResolverAdapter, Looper looper) { in ContactsAsyncHelper() argument
88 mThreadHandler = new WorkerHandler(looper); in ContactsAsyncHelper()
105 public WorkerHandler(Looper looper) { in WorkerHandler() argument
106 super(looper); in WorkerHandler()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java145 public CellBroadcastHandler(String debugTag, Context context, Looper looper) { in CellBroadcastHandler() argument
146 super(debugTag, context, looper); in CellBroadcastHandler()
629 LocationRequester(Context context, LocationManager locationManager, Looper looper) { in LocationRequester() argument
631 mLooper = looper; in LocationRequester()
634 mLocationHandler = new LocationHandler(looper); in LocationRequester()
721 LocationHandler(Looper looper) { in LocationHandler() argument
722 super(looper); in LocationHandler()
/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/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/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java138 Looper looper = mThread.getLooper(); in AvrcpBipClient() local
140 mHandler = new AvrcpBipClientHandler(looper, this); in AvrcpBipClient()
396 AvrcpBipClientHandler(Looper looper, AvrcpBipClient inst) { in AvrcpBipClientHandler() argument
397 super(looper); in AvrcpBipClientHandler()
/packages/apps/Settings/src/com/android/settings/network/
DProxySubscriptionManager.java75 final Looper looper = Looper.getMainLooper(); in ProxySubscriptionManager() local
80 mSubscriptionMonitor = new ActiveSubsciptionsListener(looper, context) { in ProxySubscriptionManager()
85 mAirplaneModeMonitor = new GlobalSettingsChangeListener(looper, in ProxySubscriptionManager()
/packages/apps/Bluetooth/src/com/android/bluetooth/statemachine/
DStateMachine.java1219 private SmHandler(Looper looper, StateMachine sm) { in SmHandler() argument
1220 super(looper); in SmHandler()
1292 private void initStateMachine(String name, Looper looper) { in initStateMachine() argument
1294 mSmHandler = new SmHandler(looper, this); in initStateMachine()
1305 Looper looper = mSmThread.getLooper(); in StateMachine() local
1307 initStateMachine(name, looper); in StateMachine()
1315 protected StateMachine(String name, Looper looper) { in StateMachine() argument
1316 initStateMachine(name, looper); in StateMachine()
/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()

12345