Home
last modified time | relevance | path

Searched refs:MyHandler (Results 1 – 25 of 39) 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/
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
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
/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/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/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/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.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/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java264 mHandler = new MyHandler(looper); in SettingsState()
424 mHandler.removeMessages(MyHandler.MSG_PERSIST_SETTINGS); in persistSyncLocked()
484 mHandler.removeMessages(MyHandler.MSG_PERSIST_SETTINGS); in destroyLocked()
488 mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS, in destroyLocked()
634 mHandler.removeMessages(MyHandler.MSG_PERSIST_SETTINGS); in writeStateAsyncLocked()
640 mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS).sendToTarget(); in writeStateAsyncLocked()
649 Message message = mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS); in writeStateAsyncLocked()
653 Message message = mHandler.obtainMessage(MyHandler.MSG_PERSIST_SETTINGS); in writeStateAsyncLocked()
935 private final class MyHandler extends Handler { class in SettingsState
938 public MyHandler(Looper looper) { in MyHandler() method in SettingsState.MyHandler
/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()
966 private class MyHandler extends Handler { class in FaceManager
967 private MyHandler(Context context) { in MyHandler() method in FaceManager.MyHandler
971 private MyHandler(Looper looper) { in MyHandler() method in FaceManager.MyHandler
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java396 mHandler = new MyHandler(handler.getLooper()); in useHandler()
398 mHandler = new MyHandler(mContext.getMainLooper()); in useHandler()
772 private class MyHandler extends Handler { class in FingerprintManager
773 private MyHandler(Context context) { in MyHandler() method in FingerprintManager.MyHandler
777 private MyHandler(Looper looper) { in MyHandler() method in FingerprintManager.MyHandler
909 mHandler = new MyHandler(context); in FingerprintManager()
/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/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/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()
/frameworks/base/core/java/com/android/internal/view/
DIInputConnectionWrapper.java82 class MyHandler extends Handler { class in IInputConnectionWrapper
83 MyHandler(Looper looper) { in MyHandler() method in IInputConnectionWrapper.MyHandler
96 mH = new MyHandler(mMainLooper); in IInputConnectionWrapper()

12