Home
last modified time | relevance | path

Searched refs:MyHandler (Results 1 – 25 of 38) 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.java102 mHandler = new MyHandler(getContext().getMainLooper()); in attachBaseContext()
331 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_ENQUEUED, in onNotificationEnqueuedWithChannel()
353 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_SNOOZED, in onNotificationSnoozedUntilContext()
361 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATIONS_SEEN, in onNotificationsSeen()
369 mHandler.obtainMessage(MyHandler.MSG_ON_PANEL_REVEALED, in onPanelRevealed()
376 mHandler.obtainMessage(MyHandler.MSG_ON_PANEL_HIDDEN, in onPanelHidden()
385 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_VISIBILITY_CHANGED, in onNotificationVisibilityChanged()
396 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_EXPANSION_CHANGED, args) in onNotificationExpansionChanged()
404 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_DIRECT_REPLY_SENT, args) in onNotificationDirectReply()
414 mHandler.obtainMessage(MyHandler.MSG_ON_SUGGESTED_REPLY_SENT, args).sendToTarget(); in onSuggestedReplySent()
[all …]
DNotificationListenerService.java350 mHandler = new MyHandler(getMainLooper()); in attachBaseContext()
1170 mHandler = new MyHandler(context.getMainLooper()); in registerAsSystemService()
1327 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_POSTED, in onNotificationPosted()
1331 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_RANKING_UPDATE, in onNotificationPosted()
1360 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_REMOVED, in onNotificationRemoved()
1373 mHandler.obtainMessage(MyHandler.MSG_ON_LISTENER_CONNECTED).sendToTarget(); in onListenerConnected()
1382 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_RANKING_UPDATE, in onNotificationRankingUpdate()
1390 mHandler.obtainMessage(MyHandler.MSG_ON_LISTENER_HINTS_CHANGED, in onListenerHintsChanged()
1396 mHandler.obtainMessage(MyHandler.MSG_ON_INTERRUPTION_FILTER_CHANGED, in onInterruptionFilterChanged()
1472 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.java814 mHandler = new MyHandler(mActivity.getMainLooper()); in PrintDocumentAdapterDelegate()
840 mHandler.obtainMessage(MyHandler.MSG_ON_START, in start()
876 mHandler.obtainMessage(MyHandler.MSG_ON_LAYOUT, args).sendToTarget(); in layout()
909 mHandler.obtainMessage(MyHandler.MSG_ON_WRITE, args).sendToTarget(); in write()
918 mHandler.obtainMessage(MyHandler.MSG_ON_FINISH, in finish()
929 mHandler.obtainMessage(MyHandler.MSG_ON_KILL, in kill()
1002 mHandler.removeMessages(MyHandler.MSG_ON_START); in destroyLocked()
1003 mHandler.removeMessages(MyHandler.MSG_ON_LAYOUT); in destroyLocked()
1004 mHandler.removeMessages(MyHandler.MSG_ON_WRITE); in destroyLocked()
1005 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.java275 mHandler = new MyHandler(); in SoundTriggerDetector()
277 mHandler = new MyHandler(handler.getLooper()); in SoundTriggerDetector()
397 private class MyHandler extends Handler { class in SoundTriggerDetector
399 MyHandler() { in MyHandler() method in SoundTriggerDetector.MyHandler
403 MyHandler(Looper looper) { in MyHandler() method in SoundTriggerDetector.MyHandler
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp131 mHandler = new MyHandler(mURL.c_str(), notify, mUIDValid, mUID); in prepareAsync()
522 case MyHandler::kWhatConnected: in onMessageReceived()
542 case MyHandler::kWhatDisconnected: in onMessageReceived()
548 case MyHandler::kWhatSeekDone: in onMessageReceived()
556 case MyHandler::kWhatSeekPaused: in onMessageReceived()
584 case MyHandler::kWhatAccessUnit: in onMessageReceived()
658 case MyHandler::kWhatEOS: in onMessageReceived()
681 case MyHandler::kWhatSeekDiscontinuity: in onMessageReceived()
699 case MyHandler::kWhatNormalPlayTimeMapping: in onMessageReceived()
800 mHandler = new MyHandler(rtspUri.c_str(), notify, mUIDValid, mUID); in onSDPLoaded()
DRTSPSource.h30 struct MyHandler;
116 sp<MyHandler> mHandler;
/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/base/services/core/java/com/android/server/wm/
DAccessibilityController.java426 mHandler = new MyHandler(mService.mH.getLooper()); in DisplayMagnifier()
466 mHandler.obtainMessage(MyHandler.MESSAGE_NOTIFY_RECTANGLE_ON_SCREEN_REQUESTED, in onRectangleOnScreenRequestedLocked()
485 mHandler.sendEmptyMessage(MyHandler.MESSAGE_NOTIFY_ROTATION_CHANGED); in onRotationChangedLocked()
503 mHandler.sendEmptyMessage(MyHandler.MESSAGE_NOTIFY_USER_CONTEXT_CHANGED); in onAppWindowTransitionLocked()
585 mHandler.obtainMessage(MyHandler.MESSAGE_SHOW_MAGNIFIED_REGION_BOUNDS_IF_NEEDED) in showMagnificationBoundsIfNeeded()
656 MyHandler.MESSAGE_SHOW_MAGNIFIED_REGION_BOUNDS_IF_NEEDED)) { in updateMagnificationSpecLocked()
781 MyHandler.MESSAGE_NOTIFY_MAGNIFICATION_REGION_CHANGED, args) in recomputeBoundsLocked()
815 MyHandler.MESSAGE_SHOW_MAGNIFIED_REGION_BOUNDS_IF_NEEDED); in onRotationChangedLocked()
1108 private class MyHandler extends Handler { class in AccessibilityController.DisplayMagnifier
1115 public MyHandler(Looper looper) { in MyHandler() method in AccessibilityController.DisplayMagnifier.MyHandler
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java59 private final MyHandler mHandler;
547 private class MyHandler extends Handler { class in AppTimeLimitController
552 MyHandler(Looper looper) { in MyHandler() method in AppTimeLimitController.MyHandler
582 mHandler = new MyHandler(looper); in AppTimeLimitController()
984 mHandler.sendMessage(mHandler.obtainMessage(MyHandler.MSG_INFORM_LIMIT_REACHED_LISTENER, in postInformLimitReachedListenerLocked()
991 mHandler.obtainMessage(MyHandler.MSG_INFORM_SESSION_END, group), in postInformSessionEndListenerLocked()
997 mHandler.removeMessages(MyHandler.MSG_INFORM_SESSION_END, group); in cancelInformSessionEndListener()
1002 mHandler.sendMessageDelayed(mHandler.obtainMessage(MyHandler.MSG_CHECK_TIMEOUT, group), in postCheckTimeoutLocked()
1008 mHandler.removeMessages(MyHandler.MSG_CHECK_TIMEOUT, group); in cancelCheckTimeoutLocked()
/frameworks/base/services/core/java/com/android/server/
DNetworkTimeUpdateService.java125 mHandler = new MyHandler(thread.getLooper()); in systemRunning()
200 private class MyHandler extends Handler { class in NetworkTimeUpdateService
202 MyHandler(Looper l) { in MyHandler() method in NetworkTimeUpdateService.MyHandler
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverController.java70 private final MyHandler mHandler;
220 mHandler = new MyHandler(looper); in BatterySaverController()
274 private class MyHandler extends Handler { class in BatterySaverController
282 public MyHandler(Looper looper) { in MyHandler() method in BatterySaverController.MyHandler
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java408 mHandler = new MyHandler(handler.getLooper()); in useHandler()
410 mHandler = new MyHandler(mContext.getMainLooper()); in useHandler()
763 private class MyHandler extends Handler { class in FingerprintManager
764 private MyHandler(Context context) { in MyHandler() method in FingerprintManager.MyHandler
768 private MyHandler(Looper looper) { in MyHandler() method in FingerprintManager.MyHandler
903 mHandler = new MyHandler(context); in FingerprintManager()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java148 mHandler = new MyHandler(context); in FaceManager()
182 mHandler = new MyHandler(handler.getLooper()); in useHandler()
184 mHandler = new MyHandler(mContext.getMainLooper()); in useHandler()
964 private class MyHandler extends Handler { class in FaceManager
965 private MyHandler(Context context) { in MyHandler() method in FaceManager.MyHandler
969 private MyHandler(Looper looper) { in MyHandler() method in FaceManager.MyHandler
/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.java279 mHandler = new MyHandler(looper); in SettingsState()
549 mHandler.removeMessages(MyHandler.MSG_PERSIST_SETTINGS); in persistSyncLocked()
609 mHandler.removeMessages(MyHandler.MSG_PERSIST_SETTINGS); in destroyLocked()
613 mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS, in destroyLocked()
759 mHandler.removeMessages(MyHandler.MSG_PERSIST_SETTINGS); in writeStateAsyncLocked()
765 mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS).sendToTarget(); in writeStateAsyncLocked()
774 Message message = mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS); in writeStateAsyncLocked()
778 Message message = mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS); in writeStateAsyncLocked()
1162 private final class MyHandler extends Handler { class in SettingsState
1165 public MyHandler(Looper looper) { in MyHandler() method in SettingsState.MyHandler
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaConnection.java99 class MyHandler extends Handler { class in GsmCdmaConnection
100 MyHandler(Looper l) {super(l);} in MyHandler() method in GsmCdmaConnection.MyHandler
134 mHandler = new MyHandler(mOwner.getLooper()); in GsmCdmaConnection()
166 mHandler = new MyHandler(mOwner.getLooper()); in GsmCdmaConnection()
222 mHandler = new MyHandler(mOwner.getLooper()); in GsmCdmaConnection()
/frameworks/base/core/java/com/android/internal/view/
DIInputConnectionWrapper.java86 class MyHandler extends Handler { class in IInputConnectionWrapper
87 MyHandler(Looper looper) { in MyHandler() method in IInputConnectionWrapper.MyHandler
100 mH = new MyHandler(mMainLooper); in IInputConnectionWrapper()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java150 class MyHandler extends Handler { class in ImsPhoneConnection
151 MyHandler(Looper l) {super(l);} in MyHandler() method in ImsPhoneConnection.MyHandler
186 mHandler = new MyHandler(mOwner.getLooper()); in ImsPhoneConnection()
235 mHandler = new MyHandler(mOwner.getLooper()); in ImsPhoneConnection()
275 mHandler = new MyHandler(mOwner.getLooper()); in ImsPhoneConnection()

12