Home
last modified time | relevance | path

Searched refs:MyHandler (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/java/android/printservice/recommendation/
DRecommendationService.java59 mHandler = new MyHandler(); in attachBaseContext()
68 mHandler.obtainMessage(MyHandler.MSG_UPDATE, recommendations).sendToTarget(); in updateRecommendations()
83 mHandler.obtainMessage(MyHandler.MSG_CONNECT, callbacks).sendToTarget(); in onBind()
85 mHandler.obtainMessage(MyHandler.MSG_DISCONNECT).sendToTarget(); in onBind()
101 private class MyHandler extends Handler {
106 MyHandler() {
/frameworks/base/core/java/android/service/notification/
DNotificationAssistantService.java122 mHandler = new MyHandler(getContext().getMainLooper()); in attachBaseContext()
392 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_ENQUEUED, in onNotificationEnqueuedWithChannel()
414 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_SNOOZED, in onNotificationSnoozedUntilContext()
422 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATIONS_SEEN, in onNotificationsSeen()
430 mHandler.obtainMessage(MyHandler.MSG_ON_PANEL_REVEALED, in onPanelRevealed()
437 mHandler.obtainMessage(MyHandler.MSG_ON_PANEL_HIDDEN, in onPanelHidden()
446 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_VISIBILITY_CHANGED, in onNotificationVisibilityChanged()
457 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_EXPANSION_CHANGED, args) in onNotificationExpansionChanged()
465 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_DIRECT_REPLY_SENT, args) in onNotificationDirectReply()
475 mHandler.obtainMessage(MyHandler.MSG_ON_SUGGESTED_REPLY_SENT, args).sendToTarget(); in onSuggestedReplySent()
[all …]
DNotificationListenerService.java462 mHandler = new MyHandler(getMainLooper()); in attachBaseContext()
1311 mHandler = new MyHandler(context.getMainLooper()); in registerAsSystemService()
1483 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_POSTED, in onNotificationPosted()
1487 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_RANKING_UPDATE, in onNotificationPosted()
1516 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_REMOVED, in onNotificationRemoved()
1529 mHandler.obtainMessage(MyHandler.MSG_ON_LISTENER_CONNECTED).sendToTarget(); in onListenerConnected()
1538 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_RANKING_UPDATE, in onNotificationRankingUpdate()
1546 mHandler.obtainMessage(MyHandler.MSG_ON_LISTENER_HINTS_CHANGED, in onListenerHintsChanged()
1552 mHandler.obtainMessage(MyHandler.MSG_ON_INTERRUPTION_FILTER_CHANGED, in onInterruptionFilterChanged()
1634 MyHandler.MSG_ON_NOTIFICATION_CHANNEL_MODIFIED, args).sendToTarget(); in onNotificationChannelModification()
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrinterRegistry.java60 mHandler = new MyHandler(activity.getMainLooper()); in PrinterRegistry()
127 mHandler.obtainMessage(MyHandler.MSG_PRINTERS_INVALID).sendToTarget();
139 mHandler.obtainMessage(MyHandler.MSG_PRINTERS_CHANGED, printers).sendToTarget();
156 private final class MyHandler extends Handler { class in PrinterRegistry
160 public MyHandler(Looper looper) { in MyHandler() method in PrinterRegistry.MyHandler
DPrintPreviewController.java50 private final MyHandler mHandler;
66 mHandler = new MyHandler(activity.getMainLooper()); in PrintPreviewController()
148 Message operation = mHandler.obtainMessage(MyHandler.MSG_CLOSE); in onContentUpdated()
156 Message operation = mHandler.obtainMessage(MyHandler.MSG_OPEN); in onContentUpdated()
168 Message operation = mHandler.obtainMessage(MyHandler.MSG_UPDATE, args); in onContentUpdated()
173 operation = mHandler.obtainMessage(MyHandler.MSG_START_PRELOAD); in onContentUpdated()
188 Message operation = mHandler.obtainMessage(MyHandler.MSG_CLOSE); in onReleaseRequested()
221 private final class MyHandler extends Handler { class in PrintPreviewController
239 public MyHandler(Looper looper) { in MyHandler() method in PrintPreviewController.MyHandler
/frameworks/base/core/java/android/print/
DPrintServiceRecommendationsLoader.java54 mHandler = new MyHandler(); in PrintServiceRecommendationsLoader()
105 private class MyHandler extends Handler { class in PrintServiceRecommendationsLoader
109 public MyHandler() { in MyHandler() method in PrintServiceRecommendationsLoader.MyHandler
DPrintServicesLoader.java58 mHandler = new MyHandler(); in PrintServicesLoader()
110 private class MyHandler extends Handler { class in PrintServicesLoader
114 public MyHandler() { in MyHandler() method in PrintServicesLoader.MyHandler
DPrintManager.java838 mHandler = new MyHandler(mActivity.getMainLooper()); in PrintDocumentAdapterDelegate()
864 mHandler.obtainMessage(MyHandler.MSG_ON_START, in start()
900 mHandler.obtainMessage(MyHandler.MSG_ON_LAYOUT, args).sendToTarget(); in layout()
933 mHandler.obtainMessage(MyHandler.MSG_ON_WRITE, args).sendToTarget(); in write()
942 mHandler.obtainMessage(MyHandler.MSG_ON_FINISH, in finish()
953 mHandler.obtainMessage(MyHandler.MSG_ON_KILL, in kill()
1026 mHandler.removeMessages(MyHandler.MSG_ON_START); in destroyLocked()
1027 mHandler.removeMessages(MyHandler.MSG_ON_LAYOUT); in destroyLocked()
1028 mHandler.removeMessages(MyHandler.MSG_ON_WRITE); in destroyLocked()
1029 mHandler.removeMessages(MyHandler.MSG_ON_FINISH); in destroyLocked()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractUptimePreferenceController.java86 mHandler = new MyHandler(this); in getHandler()
95 private static class MyHandler extends Handler { class in AbstractUptimePreferenceController
98 public MyHandler(AbstractUptimePreferenceController activity) { in MyHandler() method in AbstractUptimePreferenceController.MyHandler
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetector.java289 mHandler = new MyHandler(); in SoundTriggerDetector()
291 mHandler = new MyHandler(handler.getLooper()); in SoundTriggerDetector()
445 private class MyHandler extends Handler { class in SoundTriggerDetector
447 MyHandler() { in MyHandler() method in SoundTriggerDetector.MyHandler
451 MyHandler(Looper looper) { in MyHandler() method in SoundTriggerDetector.MyHandler
/frameworks/base/services/core/java/com/android/server/am/
DAppFGSTracker.java79 private final MyHandler mHandler;
99 mHandler.obtainMessage(MyHandler.MSG_FOREGROUND_SERVICES_CHANGED,
117 mHandler.obtainMessage(started ? MyHandler.MSG_FOREGROUND_SERVICES_STARTED in onForegroundServiceStateChanged()
118 : MyHandler.MSG_FOREGROUND_SERVICES_STOPPED, pid, uid, packageName).sendToTarget(); in onForegroundServiceStateChanged()
129 mHandler.obtainMessage(MyHandler.MSG_FOREGROUND_SERVICES_NOTIFICATION_UPDATED, args) in onForegroundServiceNotificationUpdated()
133 private static class MyHandler extends Handler { class in AppFGSTracker
144 MyHandler(AppFGSTracker tracker) { in MyHandler() method in AppFGSTracker.MyHandler
190 mHandler = new MyHandler(this); in AppFGSTracker()
209 mHandler.removeMessages(MyHandler.MSG_CHECK_LONG_RUNNING_FGS); in reset()
384 mHandler.removeMessages(MyHandler.MSG_CHECK_LONG_RUNNING_FGS); in scheduleDurationCheckLocked()
[all …]
DAppPermissionTracker.java81 private final MyHandler mHandler;
104 mHandler = new MyHandler(this); in AppPermissionTracker()
115 mHandler.obtainMessage(MyHandler.MSG_PERMISSIONS_CHANGED, uid, 0).sendToTarget(); in onPermissionsChanged()
397 mHandler.obtainMessage(MyHandler.MSG_APPOPS_CHANGED, op, uid, packageName) in opChanged()
402 private static class MyHandler extends Handler { class in AppPermissionTracker
410 MyHandler(@NonNull AppPermissionTracker tracker) { in MyHandler() method in AppPermissionTracker.MyHandler
444 mHandler.obtainMessage(MyHandler.MSG_PERMISSIONS_INIT).sendToTarget(); in onPermissionTrackerEnabled()
447 mHandler.obtainMessage(MyHandler.MSG_PERMISSIONS_DESTROY).sendToTarget(); in onPermissionTrackerEnabled()
/frameworks/base/services/core/java/com/android/server/wm/
DAccessibilityWindowsPopulator.java102 mHandler = new MyHandler(mService.mH.getLooper()); in AccessibilityWindowsPopulator()
189 if (!mHandler.hasMessages(MyHandler.MESSAGE_NOTIFY_WINDOWS_CHANGED_BY_TIMEOUT)) { in onWindowInfosChangedInternal()
191 MyHandler.MESSAGE_NOTIFY_WINDOWS_CHANGED_BY_TIMEOUT, in onWindowInfosChangedInternal()
298 if (!mHandler.hasMessages(MyHandler.MESSAGE_NOTIFY_WINDOWS_CHANGED)) { in populateVisibleWindowHandlesAndNotifyWindowsChangeIfNeeded()
299 mHandler.obtainMessage(MyHandler.MESSAGE_NOTIFY_WINDOWS_CHANGED, in populateVisibleWindowHandlesAndNotifyWindowsChangeIfNeeded()
305 mHandler.removeMessages(MyHandler.MESSAGE_NOTIFY_WINDOWS_CHANGED_BY_UI_STABLE); in populateVisibleWindowHandlesAndNotifyWindowsChangeIfNeeded()
306 mHandler.sendEmptyMessageDelayed(MyHandler.MESSAGE_NOTIFY_WINDOWS_CHANGED_BY_UI_STABLE, in populateVisibleWindowHandlesAndNotifyWindowsChangeIfNeeded()
548 mHandler.removeMessages(MyHandler.MESSAGE_NOTIFY_WINDOWS_CHANGED_BY_TIMEOUT); in notifyWindowsChanged()
613 private class MyHandler extends Handler { class in AccessibilityWindowsPopulator
618 MyHandler(Looper looper) { in MyHandler() method in AccessibilityWindowsPopulator.MyHandler
[all …]
DAccessibilityController.java662 mHandler = new MyHandler(mService.mH.getLooper()); in DisplayMagnifier()
760 mHandler.sendEmptyMessage(MyHandler.MESSAGE_NOTIFY_DISPLAY_SIZE_CHANGED); in onDisplaySizeChanged()
893 mHandler.obtainMessage(MyHandler.MESSAGE_NOTIFY_IME_WINDOW_VISIBILITY_CHANGED, in notifyImeWindowVisibilityChanged()
1068 MyHandler.MESSAGE_NOTIFY_MAGNIFICATION_REGION_CHANGED, args) in recomputeBounds()
1189 MyHandler.MESSAGE_SHOW_MAGNIFIED_REGION_BOUNDS_IF_NEEDED)) { in setShowMagnifiedBorderIfNeeded()
1201 mHandler.obtainMessage(MyHandler.MESSAGE_SHOW_MAGNIFIED_REGION_BOUNDS_IF_NEEDED) in showMagnificationBoundsIfNeeded()
1222 MyHandler.MESSAGE_SHOW_MAGNIFIED_REGION_BOUNDS_IF_NEEDED); in onDisplaySizeChanged()
1548 private class MyHandler extends Handler { class in AccessibilityController.DisplayMagnifier
1558 MyHandler(Looper looper) { in MyHandler() method in AccessibilityController.DisplayMagnifier.MyHandler
1654 mHandler.sendEmptyMessage(MyHandler.MESSAGE_NOTIFY_USER_CONTEXT_CHANGED); in sendUserContextChangedNotification()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp130 mHandler = new MyHandler(mURL.c_str(), notify, mUIDValid, mUID); in prepareAsync()
525 case MyHandler::kWhatConnected: in onMessageReceived()
545 case MyHandler::kWhatDisconnected: in onMessageReceived()
551 case MyHandler::kWhatSeekDone: in onMessageReceived()
559 case MyHandler::kWhatSeekPaused: in onMessageReceived()
587 case MyHandler::kWhatAccessUnit: in onMessageReceived()
661 case MyHandler::kWhatEOS: in onMessageReceived()
684 case MyHandler::kWhatSeekDiscontinuity: in onMessageReceived()
702 case MyHandler::kWhatNormalPlayTimeMapping: in onMessageReceived()
803 mHandler = new MyHandler(rtspUri.c_str(), notify, mUIDValid, mUID); in onSDPLoaded()
/frameworks/base/services/core/java/com/android/server/content/
DSyncLogger.java154 private final MyHandler mHandler;
158 mHandler = new MyHandler(IoThread.get().getLooper()); in RotatingFileLogger()
292 private class MyHandler extends Handler { class in SyncLogger.RotatingFileLogger
295 MyHandler(Looper looper) { in MyHandler() method in SyncLogger.RotatingFileLogger.MyHandler
/frameworks/base/services/core/java/com/android/server/emergency/
DEmergencyAffordanceService.java76 private MyHandler mHandler;
142 private class MyHandler extends Handler { class in EmergencyAffordanceService
143 public MyHandler(Looper l) { in MyHandler() method in EmergencyAffordanceService.MyHandler
190 mHandler = new MyHandler(thread.getLooper()); in handleThirdPartyBootPhase()
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DRTSPSource.h30 struct MyHandler;
116 sp<MyHandler> mHandler;
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverController.java68 private final MyHandler mHandler;
207 mHandler = new MyHandler(looper); in BatterySaverController()
254 private class MyHandler extends Handler { class in BatterySaverController
262 public MyHandler(Looper looper) { in MyHandler() method in BatterySaverController.MyHandler
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java61 private final MyHandler mHandler;
558 private class MyHandler extends Handler { class in AppTimeLimitController
562 MyHandler(Looper looper) { in MyHandler() method in AppTimeLimitController.MyHandler
589 mHandler = new MyHandler(looper); in AppTimeLimitController()
1000 mHandler.sendMessage(mHandler.obtainMessage(MyHandler.MSG_INFORM_LIMIT_REACHED_LISTENER, in postInformLimitReachedListenerLocked()
1006 mHandler.sendMessageDelayed(mHandler.obtainMessage(MyHandler.MSG_CHECK_TIMEOUT, group), in postCheckTimeoutLocked()
1012 mHandler.removeMessages(MyHandler.MSG_CHECK_TIMEOUT, group); in cancelCheckTimeoutLocked()
/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java37 class MyHandler extends Handler { class in HandlerCaller
38 MyHandler(Looper looper, boolean async) { in MyHandler() method in HandlerCaller.MyHandler
55 mH = new MyHandler(mMainLooper, asyncHandler); in HandlerCaller()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java358 mHandler = new MyHandler(looper); in SettingsState()
1055 mHandler.removeMessages(MyHandler.MSG_PERSIST_SETTINGS);
1057 mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS).sendToTarget();
1124 mHandler.removeMessages(MyHandler.MSG_PERSIST_SETTINGS);
1128 mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS,
1291 mHandler.removeMessages(MyHandler.MSG_PERSIST_SETTINGS);
1297 mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS).sendToTarget();
1306 Message message = mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS);
1310 Message message = mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS);
1820 private final class MyHandler extends Handler {
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaConnection.java104 class MyHandler extends Handler { class in GsmCdmaConnection
105 MyHandler(Looper l) {super(l);} in MyHandler() method in GsmCdmaConnection.MyHandler
139 mHandler = new MyHandler(mOwner.getLooper()); in GsmCdmaConnection()
175 mHandler = new MyHandler(mOwner.getLooper()); in GsmCdmaConnection()
238 mHandler = new MyHandler(mOwner.getLooper()); in GsmCdmaConnection()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAppStateTrackerImpl.java99 private final MyHandler mHandler;
441 mHandler = new MyHandler(looper); in AppStateTrackerImpl()
794 private class MyHandler extends Handler { class in AppStateTrackerImpl
812 MyHandler(Looper looper) { in MyHandler() method in AppStateTrackerImpl.MyHandler
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java178 class MyHandler extends Handler { class in ImsPhoneConnection
179 MyHandler(Looper l) {super(l);} in MyHandler() method in ImsPhoneConnection.MyHandler
214 mHandler = new MyHandler(mOwner.getLooper()); in ImsPhoneConnection()
268 mHandler = new MyHandler(mOwner.getLooper()); in ImsPhoneConnection()
317 mHandler = new MyHandler(mOwner.getLooper()); in ImsPhoneConnection()

12