Home
last modified time | relevance | path

Searched refs:MyHandler (Results 1 – 25 of 44) 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()
300 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_ENQUEUED, in onNotificationEnqueuedWithChannel()
318 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_SNOOZED, in onNotificationSnoozedUntilContext()
326 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATIONS_SEEN, in onNotificationsSeen()
337 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_EXPANSION_CHANGED, args) in onNotificationExpansionChanged()
345 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_DIRECT_REPLY_SENT, args) in onNotificationDirectReply()
355 mHandler.obtainMessage(MyHandler.MSG_ON_SUGGESTED_REPLY_SENT, args).sendToTarget(); in onSuggestedReplySent()
364 mHandler.obtainMessage(MyHandler.MSG_ON_ACTION_INVOKED, args).sendToTarget(); in onActionClicked()
369 mHandler.obtainMessage(MyHandler.MSG_ON_ALLOWED_ADJUSTMENTS_CHANGED).sendToTarget(); in onAllowedAdjustmentsChanged()
379 private final class MyHandler extends Handler { class in NotificationAssistantService
[all …]
DNotificationListenerService.java322 mHandler = new MyHandler(getMainLooper()); in attachBaseContext()
1142 mHandler = new MyHandler(context.getMainLooper()); in registerAsSystemService()
1295 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_POSTED, in onNotificationPosted()
1299 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_RANKING_UPDATE, in onNotificationPosted()
1324 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_REMOVED, in onNotificationRemoved()
1337 mHandler.obtainMessage(MyHandler.MSG_ON_LISTENER_CONNECTED).sendToTarget(); in onListenerConnected()
1346 mHandler.obtainMessage(MyHandler.MSG_ON_NOTIFICATION_RANKING_UPDATE, in onNotificationRankingUpdate()
1354 mHandler.obtainMessage(MyHandler.MSG_ON_LISTENER_HINTS_CHANGED, in onListenerHintsChanged()
1360 mHandler.obtainMessage(MyHandler.MSG_ON_INTERRUPTION_FILTER_CHANGED, in onInterruptionFilterChanged()
1420 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/media/java/android/media/soundtrigger/
DSoundTriggerDetector.java248 mHandler = new MyHandler(); in SoundTriggerDetector()
250 mHandler = new MyHandler(handler.getLooper()); in SoundTriggerDetector()
361 private class MyHandler extends Handler { class in SoundTriggerDetector
363 MyHandler() { in MyHandler() method in SoundTriggerDetector.MyHandler
367 MyHandler(Looper looper) { in MyHandler() method in SoundTriggerDetector.MyHandler
/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/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp131 mHandler = new MyHandler(mURL.c_str(), notify, mUIDValid, mUID); in prepareAsync()
518 case MyHandler::kWhatConnected: in onMessageReceived()
538 case MyHandler::kWhatDisconnected: in onMessageReceived()
544 case MyHandler::kWhatSeekDone: in onMessageReceived()
552 case MyHandler::kWhatSeekPaused: in onMessageReceived()
580 case MyHandler::kWhatAccessUnit: in onMessageReceived()
654 case MyHandler::kWhatEOS: in onMessageReceived()
677 case MyHandler::kWhatSeekDiscontinuity: in onMessageReceived()
695 case MyHandler::kWhatNormalPlayTimeMapping: in onMessageReceived()
796 mHandler = new MyHandler(rtspUri.c_str(), notify, mUIDValid, mUID); in onSDPLoaded()
DRTSPSource.h30 struct MyHandler;
116 sp<MyHandler> mHandler;
/frameworks/av/media/libmediaplayer2/nuplayer2/
DRTSPSource2.cpp130 mHandler = new MyHandler(mURL.c_str(), notify, true /* uidValid */, mUID); in prepareAsync()
517 case MyHandler::kWhatConnected: in onMessageReceived()
537 case MyHandler::kWhatDisconnected: in onMessageReceived()
543 case MyHandler::kWhatSeekDone: in onMessageReceived()
551 case MyHandler::kWhatSeekPaused: in onMessageReceived()
579 case MyHandler::kWhatAccessUnit: in onMessageReceived()
653 case MyHandler::kWhatEOS: in onMessageReceived()
676 case MyHandler::kWhatSeekDiscontinuity: in onMessageReceived()
694 case MyHandler::kWhatNormalPlayTimeMapping: in onMessageReceived()
795 mHandler = new MyHandler(rtspUri.c_str(), notify, true /* uidValid */, mUID); in onSDPLoaded()
DRTSPSource2.h30 struct MyHandler;
114 sp<MyHandler> mHandler;
/frameworks/base/services/core/java/com/android/server/emergency/
DEmergencyAffordanceService.java73 private MyHandler mHandler;
169 mHandler = new MyHandler(thread.getLooper()); in onBootPhase()
184 private class MyHandler extends Handler { class in EmergencyAffordanceService
186 public MyHandler(Looper l) { in MyHandler() method in EmergencyAffordanceService.MyHandler
/frameworks/base/services/core/java/com/android/server/wm/
DAccessibilityController.java316 mHandler = new MyHandler(mService.mH.getLooper()); in DisplayMagnifier()
356 mHandler.obtainMessage(MyHandler.MESSAGE_NOTIFY_RECTANGLE_ON_SCREEN_REQUESTED, in onRectangleOnScreenRequestedLocked()
375 mHandler.sendEmptyMessage(MyHandler.MESSAGE_NOTIFY_ROTATION_CHANGED); in onRotationChangedLocked()
393 mHandler.sendEmptyMessage(MyHandler.MESSAGE_NOTIFY_USER_CONTEXT_CHANGED); in onAppWindowTransitionLocked()
475 mHandler.obtainMessage(MyHandler.MESSAGE_SHOW_MAGNIFIED_REGION_BOUNDS_IF_NEEDED) in showMagnificationBoundsIfNeeded()
546 MyHandler.MESSAGE_SHOW_MAGNIFIED_REGION_BOUNDS_IF_NEEDED)) { in updateMagnificationSpecLocked()
663 MyHandler.MESSAGE_NOTIFY_MAGNIFICATION_REGION_CHANGED, args) in recomputeBoundsLocked()
697 MyHandler.MESSAGE_SHOW_MAGNIFIED_REGION_BOUNDS_IF_NEEDED); in onRotationChangedLocked()
974 private class MyHandler extends Handler { class in AccessibilityController.DisplayMagnifier
981 public MyHandler(Looper looper) { in MyHandler() method in AccessibilityController.DisplayMagnifier.MyHandler
[all …]
/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/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/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java262 mHandler = new MyHandler(looper); in SettingsState()
422 mHandler.removeMessages(MyHandler.MSG_PERSIST_SETTINGS); in persistSyncLocked()
482 mHandler.removeMessages(MyHandler.MSG_PERSIST_SETTINGS); in destroyLocked()
486 mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS, in destroyLocked()
632 mHandler.removeMessages(MyHandler.MSG_PERSIST_SETTINGS); in writeStateAsyncLocked()
638 mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS).sendToTarget(); in writeStateAsyncLocked()
647 Message message = mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS); in writeStateAsyncLocked()
651 Message message = mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS); in writeStateAsyncLocked()
888 private final class MyHandler extends Handler { class in SettingsState
891 public MyHandler(Looper looper) { in MyHandler() method in SettingsState.MyHandler
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverController.java66 private final MyHandler mHandler;
200 mHandler = new MyHandler(looper); in BatterySaverController()
253 private class MyHandler extends Handler { class in BatterySaverController
261 public MyHandler(Looper looper) { in MyHandler() method in BatterySaverController.MyHandler
/frameworks/base/services/core/java/com/android/server/
DOldNetworkTimeUpdateService.java130 mHandler = new MyHandler(thread.getLooper()); in systemRunning()
257 private class MyHandler extends Handler { class in OldNetworkTimeUpdateService
259 public MyHandler(Looper l) { in MyHandler() method in OldNetworkTimeUpdateService.MyHandler
DNewNetworkTimeUpdateService.java130 mHandler = new MyHandler(thread.getLooper()); in systemRunning()
257 private class MyHandler extends Handler { class in NewNetworkTimeUpdateService
259 public MyHandler(Looper l) { in MyHandler() method in NewNetworkTimeUpdateService.MyHandler
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java386 mHandler = new MyHandler(handler.getLooper()); in useHandler()
388 mHandler = new MyHandler(mContext.getMainLooper()); in useHandler()
762 private class MyHandler extends Handler { class in FingerprintManager
763 private MyHandler(Context context) { in MyHandler() method in FingerprintManager.MyHandler
767 private MyHandler(Looper looper) { in MyHandler() method in FingerprintManager.MyHandler
899 mHandler = new MyHandler(context); in FingerprintManager()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java146 mHandler = new MyHandler(context); in FaceManager()
180 mHandler = new MyHandler(handler.getLooper()); in useHandler()
182 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()

12