Home
last modified time | relevance | path

Searched refs:mBgHandler (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DNightDisplayListenerModule.java57 private final Handler mBgHandler; field in NightDisplayListenerModule.Builder
63 mBgHandler = bgHandler; in Builder()
78 return new NightDisplayListener(mContext, mUserId, mBgHandler); in build()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSafetyController.java46 private final Handler mBgHandler; field in SafetyController
64 mBgHandler = bgHandler; in SafetyController()
82 mBgHandler.post(() -> { in addCallback()
135 mBgHandler.post(() -> handleSafetyCenterEnableChange());
DBatteryControllerImpl.java89 private final Handler mBgHandler; field in BatteryControllerImpl
131 mBgHandler = bgHandler; in BatteryControllerImpl()
399 mBgHandler.post(() -> { in updateEstimateInBackground()
/frameworks/base/core/java/com/android/internal/policy/
DGestureNavigationSettingsObserver.java39 private Handler mBgHandler; field in GestureNavigationSettingsObserver
45 mBgHandler = bgHandler; in GestureNavigationSettingsObserver()
65 mBgHandler.post(() -> { in register()
87 mBgHandler.post(() -> { in registerForCallingUser()
106 mBgHandler.post(() -> { in unregister()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DWifiSignalController.java51 private final Handler mBgHandler; field in WifiSignalController
67 mBgHandler = bgHandler; in WifiSignalController()
218 if (Thread.currentThread() != mBgHandler.getLooper().getThread()) { in doInBackground()
219 mBgHandler.post(action); in doInBackground()
227 Preconditions.checkState(mBgHandler.getLooper().isCurrentThread()); in copyWifiStates()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSliceViewControllerTest.java64 private Handler mBgHandler; field in KeyguardSliceViewControllerTest
73 mBgHandler = new Handler(testableLooper.getLooper()); in setUp()
76 mController = new KeyguardSliceViewController(mHandler, mBgHandler, mView, in setUp()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java155 private final Handler mBgHandler; field in BrightnessTracker
193 mBgHandler = new TrackerHandler(mInjector.getBackgroundHandler().getLooper()); in BrightnessTracker()
207 mBgHandler.obtainMessage(MSG_BACKGROUND_START, (Float) initialBrightness).sendToTarget(); in start()
214 mBgHandler.obtainMessage(MSG_SHOULD_COLLECT_COLOR_SAMPLE_CHANGED, in setShouldCollectColorSample()
232 mSettingsObserver = new SettingsObserver(mBgHandler); in backgroundStart()
262 mBgHandler.removeMessages(MSG_BACKGROUND_START); in stop()
334 Message m = mBgHandler.obtainMessage(MSG_BRIGHTNESS_CHANGED, in notifyBrightnessChanged()
345 mBgHandler.obtainMessage(MSG_SENSOR_CHANGED, 0 /*unused*/, 0/*unused*/, lightSensor) in setLightSensor()
476 mBgHandler.post(() -> { in scheduleWriteBrightnessTrackerState()
815 mBgHandler.runWithScissors(() -> dumpLocal(pw), 1000); in dump()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DLightBarTransitionsControllerTest.java63 private Handler mBgHandler; field in LightBarTransitionsControllerTest
71 mBgHandler, mApplier, new CommandQueue(mContext, new FakeDisplayTracker(mContext)), in setup()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceViewController.java68 private final Handler mBgHandler; field in KeyguardSliceViewController
124 mBgHandler = bgHandler; in KeyguardSliceViewController()
203 mBgHandler.post(() -> { in refresh()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolverConnection.java75 private final Handler mBgHandler; field in InstantAppResolverConnection
86 mBgHandler = BackgroundThread.getHandler(); in InstantAppResolverConnection()
258 mBgHandler.post(() -> { in optimisticBind()
/frameworks/base/services/core/java/com/android/server/am/
DAppRestrictionController.java246 private final BgHandler mBgHandler; field in AppRestrictionController
479 mBgHandler.obtainMessage(BgHandler.MSG_APP_RESTRICTION_LEVEL_CHANGED, in update()
829 mBgHandler.obtainMessage(BgHandler.MSG_PERSIST_RESTRICTION_SETTINGS, userId, 0) in schedulePersistToXml()
835 mBgHandler.sendEmptyMessage(BgHandler.MSG_LOAD_RESTRICTION_SETTINGS); in scheduleLoadFromXml()
1435 mBgHandler.obtainMessage(BgHandler.MSG_BACKGROUND_RESTRICTION_CHANGED,
1445 mBgHandler.obtainMessage(BgHandler.MSG_APP_STANDBY_BUCKET_CHANGED,
1451 mBgHandler.obtainMessage(BgHandler.MSG_USER_INTERACTION_STARTED,
1461 mBgHandler.obtainMessage(BgHandler.MSG_UID_PROC_STATE_CHANGED, uid, procState)
1467 mBgHandler.obtainMessage(BgHandler.MSG_UID_IDLE, uid, disabled ? 1 : 0)
1473 mBgHandler.obtainMessage(BgHandler.MSG_UID_GONE, uid, disabled ? 1 : 0)
[all …]
DAppMediaSessionTracker.java70 mHandlerExecutor = new HandlerExecutor(mBgHandler); in AppMediaSessionTracker()
216 mTracker.mBgHandler.post(mTracker::trimDurations); in onMaxTrackingDurationChanged()
DBaseAppStateTracker.java79 protected final Handler mBgHandler; field in BaseAppStateTracker
92 mBgHandler = controller.getBackgroundHandler(); in BaseAppStateTracker()
DAppBatteryTracker.java237 if (!mBgHandler.hasCallbacks(mBgBatteryUsageStatsPolling)) { in scheduleBatteryUsageStatsUpdateIfNecessary()
238 mBgHandler.postDelayed(mBgBatteryUsageStatsPolling, delay); in scheduleBatteryUsageStatsUpdateIfNecessary()
408 mBgHandler.removeCallbacks(mBgBatteryUsageStatsPolling); in getUidBatteryUsage()
417 if (!mBgHandler.hasCallbacks(mBgBatteryUsageStatsCheck)) { in scheduleBgBatteryUsageStatsCheck()
418 mBgHandler.post(mBgBatteryUsageStatsCheck); in scheduleBgBatteryUsageStatsCheck()
769 if (!mBgHandler.hasCallbacks(mBgBatteryUsageStatsPolling)) { in onCurrentDrainMonitorEnabled()
770 mBgHandler.postDelayed(mBgBatteryUsageStatsPolling, in onCurrentDrainMonitorEnabled()
774 mBgHandler.removeCallbacks(mBgBatteryUsageStatsPolling); in onCurrentDrainMonitorEnabled()
813 mBgHandler.removeCallbacks(mBgBatteryUsageStatsPolling); in reset()
827 mBgHandler.getLooper().getQueue().addIdleHandler(() -> { in dump()
DBaseAppStateTimeSlotEventsTracker.java161 super(tracker.mBgHandler.getLooper()); in H()
226 mTracker.mBgHandler.post(mTracker::trimEvents); in onMaxTrackingDurationChanged()
DAppProfiler.java332 private final Handler mBgHandler; field in AppProfiler
1214 mBgHandler.sendEmptyMessageDelayed(BgHandler.COLLECT_PSS_BG_MSG, deferral); in requestPssLPf()
1230 mBgHandler.removeMessages(BgHandler.COLLECT_PSS_BG_MSG); in deferPssIfNeededLPf()
1231 mBgHandler.sendEmptyMessageDelayed(BgHandler.COLLECT_PSS_BG_MSG, mPssDeferralTime); in deferPssIfNeededLPf()
1244 mBgHandler.sendEmptyMessageDelayed(BgHandler.STOP_DEFERRING_PSS_MSG, mPssDeferralTime); in deferPssForActivityStart()
1306 if (!mBgHandler.hasMessages(BgHandler.COLLECT_PSS_BG_MSG)) { in requestPssAllProcsLPr()
1307 mBgHandler.sendEmptyMessage(BgHandler.COLLECT_PSS_BG_MSG); in requestPssAllProcsLPr()
1410 mBgHandler.obtainMessage(BgHandler.MEMORY_PRESSURE_CHANGED, mLastMemoryLevel, memFactor) in updateLowMemStateLSP()
2356 mBgHandler = new BgHandler(bgLooper); in AppProfiler()
2390 final Message msg = mBgHandler.obtainMessage(BgHandler.DEFER_PSS_MSG); in onActivityLaunched()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java158 Handler mBgHandler; field in KeyguardSliceProvider
407 mBgHandler.post(() -> { in registerClockUpdate()
518 mBgHandler.post(() -> mContentResolver.notifyChange(mSliceUri, null /* observer */)); in notifyChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/carrier/
DShadeCarrierGroupController.java74 private final Handler mBgHandler; field in ShadeCarrierGroupController
165 mBgHandler = bgHandler; in ShadeCarrierGroupController()
318 mBgHandler.post(this::updateListeners); in setListening()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationConversationInfo.java96 private Handler mBgHandler; field in NotificationConversationInfo
235 mBgHandler = bgHandler; in bindNotification()
530 mBgHandler.post( in updateChannel()
DNotificationGutsManager.java116 private final Handler mBgHandler; field in NotificationGutsManager
164 mBgHandler = bgHandler; in NotificationGutsManager()
524 mBgHandler, in initializeConversationNotificationInfo()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DBackAnimationController.java123 private final Handler mBgHandler; field in BackAnimationController
224 mBgHandler = bgHandler; in BackAnimationController()
235 setupAnimationDeveloperSettingsObserver(mContentResolver, mBgHandler); in onInit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayController.java128 private final Handler mBgHandler; field in ThemeOverlayController
425 mBgHandler = bgHandler; in ThemeOverlayController()
450 new ContentObserver(mBgHandler) { in start()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayControllerTest.java111 private Handler mBgHandler; field in ThemeOverlayControllerTest
168 mBroadcastDispatcher, mBgHandler, mMainExecutor, mBgExecutor, mThemeOverlayApplier, in setup()
774 mBroadcastDispatcher, mBgHandler, executor, executor, mThemeOverlayApplier, in catchException_whenPackageNameIsOverlayName()
814 mBroadcastDispatcher, mBgHandler, executor, executor, mThemeOverlayApplier, in onWallpaperColorsChanged_defersUntilSetupIsCompleted_ifHasColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooterUtils.java118 protected Handler mBgHandler; field in QSSecurityFooterUtils
190 mBgHandler = new Handler(bgLooper); in QSSecurityFooterUtils()
448 mBgHandler.post(() -> { in createDialog()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java281 mBgHandler = in TestableKeyguardSliceProvider()

12