Home
last modified time | relevance | path

Searched refs:mH (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java33 final Handler mH; field in HandlerCaller
55 mH = new MyHandler(mMainLooper, asyncHandler); in HandlerCaller()
60 return mH; in getHandler()
73 mH.sendMessage(msg); in executeOrSendMessage()
77 mH.sendMessageDelayed(msg, delayMillis); in sendMessageDelayed()
81 return mH.hasMessages(what); in hasMessages()
85 mH.removeMessages(what); in removeMessages()
89 mH.removeMessages(what, obj); in removeMessages()
94 mH.sendMessage(msg); in sendMessage()
98 if (Looper.myLooper() == mH.getLooper()) { in sendMessageAndWait()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DKalmanFilter.java27 public Matrix mH; // observationModel field in KalmanFilter
45 Matrix y = z.minus(mH.dot(mx)); in update()
46 Matrix tS = mH.dot(mP).dotTranspose(mH).plus(mR); in update()
47 Matrix tK = mP.dotTranspose(mH).dot(tS.inverse()); in update()
49 mP = mP.minus(tK.dot(mH).dot(mP)); in update()
56 + " H: " + mH in toString()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java348 final H mH; field in InputMethodManager
578 synchronized (mH) { in handleMessage()
609 synchronized (mH) { in handleMessage()
633 synchronized (mH) { in handleMessage()
675 synchronized (mH) { in handleMessage()
687 synchronized (mH) { in handleMessage()
696 synchronized (mH) { in handleMessage()
706 synchronized (mH) { in handleMessage()
794 mH.sendMessage(mH.obtainMessage(MSG_DUMP, sargs));
806 mH.obtainMessage(MSG_BIND, res).sendToTarget();
[all …]
/frameworks/base/core/java/android/view/
DInputFilter.java112 private final H mH; field in InputFilter
123 mH = new H(looper); in InputFilter()
133 mH.obtainMessage(MSG_INSTALL, host).sendToTarget(); in install()
141 mH.obtainMessage(MSG_UNINSTALL).sendToTarget(); in uninstall()
152 mH.obtainMessage(MSG_INPUT_EVENT, policyFlags, 0, event).sendToTarget(); in filterInputEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskTapPointerEventListener.java94 mService.mH.removeMessages(H.RESTORE_POINTER_ICON); in onPointerEvent()
95 mService.mH.obtainMessage(H.RESTORE_POINTER_ICON, in onPointerEvent()
109 mService.mH.removeMessages(H.RESTORE_POINTER_ICON); in onPointerEvent()
110 mService.mH.obtainMessage(H.RESTORE_POINTER_ICON, in onPointerEvent()
DWindowSurfacePlacer.java175 mService.mH.removeMessages(REPORT_WINDOWS_CHANGE); in performSurfacePlacementLoop()
176 mService.mH.sendEmptyMessage(REPORT_WINDOWS_CHANGE); in performSurfacePlacementLoop()
DWindowProcessController.java330 mAtm.mH.sendMessage(m); in postPendingUiCleanMsg()
834 mAtm.mH.sendMessage(PooledLambda.obtainMessage( in clearProfilerIfNeeded()
844 mAtm.mH.sendMessage(m); in updateProcessInfo()
850 mAtm.mH.sendMessage(PooledLambda.obtainMessage( in updateServiceConnectionActivities()
860 mAtm.mH.sendMessage(m); in setPendingUiCleanAndForceProcessStateUpTo()
904 mAtm.mH.sendMessageAtFrontOfQueue(m); in onStartActivity()
912 mAtm.mH.sendMessage(m); in appDied()
1100 mAtm.mH.sendMessage(PooledLambda.obtainMessage( in updateRunningRemoteOrRecentsAnimation()
DWindowManagerService.java663 final H mH = new H(); field in WindowManagerService
755 Message m = mH.obtainMessage(H.UPDATE_ANIMATION_SCALE, mode, 0); in onChange()
756 mH.sendMessage(m); in onChange()
1057 mKeyguardDisableHandler = KeyguardDisableHandler.create(mContext, mPolicy, mH); in WindowManagerService()
1152 this, mInputManager, mActivityTaskManager, mH.getLooper()); in WindowManagerService()
1153 mDragDropController = new DragDropController(this, mH.getLooper()); in WindowManagerService()
1167 new HandlerExecutor(mH), properties -> { in WindowManagerService()
1487 mH.sendMessageDelayed( in addWindow()
1488 mH.obtainMessage(H.WINDOW_HIDE_TIMEOUT, win), in addWindow()
2734 mH.sendEmptyMessage(H.ANIMATION_FAILSAFE); in triggerAnimationFailsafe()
[all …]
DAlertWindowNotification.java73 mService.mH.post(this::onPostNotification); in post()
80 mService.mH.post(() -> onCancelNotification(deleteChannel)); in cancel()
DActivityServiceConnectionsHolder.java110 mService.mH.post(() -> mService.mAmInternal.disconnectActivityFromServices(this, disc)); in disconnectActivityFromServices()
DWallpaperController.java639 mService.mH.removeMessages(WALLPAPER_DRAW_PENDING_TIMEOUT, this); in wallpaperTransitionReady()
640 mService.mH.sendMessageDelayed( in wallpaperTransitionReady()
641 mService.mH.obtainMessage(WALLPAPER_DRAW_PENDING_TIMEOUT, this), in wallpaperTransitionReady()
653 mService.mH.removeMessages(WALLPAPER_DRAW_PENDING_TIMEOUT, this); in wallpaperTransitionReady()
DActivityTaskManagerService.java351 H mH; field in ActivityTaskManagerService
658 super(mH); in FontScaleSettingObserver()
812 mH = new H(looper); in initialize()
816 mAppWarnings = new AppWarnings(this, mUiContext, mH, mUiHandler, systemDir); in initialize()
817 mCompatModePackages = new CompatModePackages(this, systemDir, mH); in initialize()
828 new TaskChangeNotificationController(mGlobalLock, mStackSupervisor, mH); in initialize()
829 mLockTaskController = new LockTaskController(mContext, mStackSupervisor, mH); in initialize()
850 … final ActivityStackSupervisor supervisor = new ActivityStackSupervisor(this, mH.getLooper()); in createStackSupervisor()
1848 mH.post(() -> { in applyUpdateLockStateLocked()
3028 mH.post(() -> { in notifyEnterAnimationComplete()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DIInputConnectionWrapper.java76 private Handler mH; field in IInputConnectionWrapper
96 mH = new MyHandler(mMainLooper); in IInputConnectionWrapper()
228 mH.sendMessage(msg); in dispatchMessage()
580 return mH.obtainMessage(what); in obtainMessage()
584 return mH.obtainMessage(what, arg1, arg2); in obtainMessageII()
588 return mH.obtainMessage(what, 0, 0, arg1); in obtainMessageO()
595 return mH.obtainMessage(what, arg1, 0, args); in obtainMessageISC()
603 return mH.obtainMessage(what, arg1, arg2, args); in obtainMessageIISC()
613 return mH.obtainMessage(what, arg1, 0, args); in obtainMessageIOOSC()
622 return mH.obtainMessage(what, arg1, 0, args); in obtainMessageIOSC()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskPositioningControllerTests.java90 assertTrue(mWm.mH.runWithScissors(() -> { }, TIMEOUT_MS)); in testStartAndFinishPositioning()
113 assertTrue(mWm.mH.runWithScissors(() -> { }, TIMEOUT_MS)); in testFinishPositioningWhenAppRequested()
132 assertTrue(mWm.mH.runWithScissors(() -> { }, TIMEOUT_MS)); in testHandleTapOutsideTask()
141 assertTrue(mWm.mH.runWithScissors(() -> { }, TIMEOUT_MS)); in testHandleTapOutsideTask()
DWindowProcessControllerTests.java100 mService.mH.runWithScissors(() -> {}, 0); in testSetRunningRecentsAnimation()
111 mService.mH.runWithScissors(() -> {}, 0); in testSetRunningRemoteAnimation()
125 mService.mH.runWithScissors(() -> {}, 0); in testSetRunningBothAnimations()
DUnknownAppVisibilityControllerTest.java51 mWm.mH.runWithScissors(() -> { }, 0); in testFlow()
67 mWm.mH.runWithScissors(() -> { }, 0); in testMultiple()
DSystemServicesTestRule.java215 wm.mH.removeCallbacksAndMessages(null);
226 wm.mH.removeMessages(WindowManagerService.H.FORCE_GC);
227 waitHandlerIdle(wm.mH);
DPendingRemoteAnimationRegistryTest.java54 mService.mH.runWithScissors(() -> { in setUp()
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
DTestView.java106 private int mH; field in TestView.Grid
121 mH = h; in Grid()
129 int quadH = mH - 1; in Grid()
174 if (j < 0 || j >= mH) { in set()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenWallpaper.java62 private final Handler mH; field in LockscreenWallpaper
75 mH = h; in LockscreenWallpaper()
179 mH.removeCallbacks(this); in postUpdateWallpaper()
180 mH.post(this); in postUpdateWallpaper()
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentController.java70 final Handler mH; field in PendingIntentController
80 mH = new Handler(looper); in PendingIntentController()
204 mH.sendMessage(m); in removePendingIntentsForPackage()
243 mH.sendMessage(m); in cancelIntentSender()
295 mH.sendMessage(m); in makeIntentSenderCanceled()
/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java62 private Handler mH; field in LightsService
314 mH.postDelayed(this::stopFlashing, onMS); in pulse()
439 mH = new Handler(looper); in LightsService()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DKalmanFilterTest.java62 kf.mH = new Matrix(2, new double[]{1.0, 0.0}); in initializePll()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DVelocityBasedConnectedScore.java41 mFilter.mH = new Matrix(2, new double[]{1.0, 0.0}); in VelocityBasedConnectedScore()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java135 private final Handler mH = new Handler(); field in VibratorService
446 mSettingObserver = new SettingsObserver(mH); in systemReady()
487 }, new IntentFilter(Intent.ACTION_USER_SWITCHED), null, mH); in systemReady()
771 mH.removeCallbacks(mVibrationEndRunnable); in doCancelVibrateLocked()
824 mH.postDelayed(mVibrationEndRunnable, oneShot.getDuration()); in startVibrationInnerLocked()
836 mH.postDelayed(mVibrationEndRunnable, timeout); in startVibrationInnerLocked()
1066 mIm.registerInputDeviceListener(this, mH); in updateInputDeviceVibratorsLocked()

123