Home
last modified time | relevance | path

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

/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()
132 mBgHandler.post(() -> handleSafetyCenterEnableChange());
DBatteryControllerImpl.java83 private final Handler mBgHandler; field in BatteryControllerImpl
122 mBgHandler = bgHandler; in BatteryControllerImpl()
346 mBgHandler.post(() -> { in updateEstimateInBackground()
DBluetoothControllerImpl.java68 private final Handler mBgHandler; field in BluetoothControllerImpl
95 mBgHandler = new Handler(bgLooper); in BluetoothControllerImpl()
419 mBgHandler.post(state); in getCachedState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DWifiSignalController.java49 private final Handler mBgHandler; field in WifiSignalController
61 mBgHandler = bgHandler; in WifiSignalController()
209 if (Thread.currentThread() != mBgHandler.getLooper().getThread()) { in doInBackground()
210 mBgHandler.post(action); in doInBackground()
218 Preconditions.checkState(mBgHandler.getLooper().isCurrentThread()); in copyWifiStates()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java153 private final Handler mBgHandler; field in BrightnessTracker
191 mBgHandler = new TrackerHandler(mInjector.getBackgroundHandler().getLooper()); in BrightnessTracker()
205 mBgHandler.obtainMessage(MSG_BACKGROUND_START, (Float) initialBrightness).sendToTarget(); in start()
212 mBgHandler.obtainMessage(MSG_BRIGHTNESS_CONFIG_CHANGED, in setBrightnessConfiguration()
230 mSettingsObserver = new SettingsObserver(mBgHandler); in backgroundStart()
260 mBgHandler.removeMessages(MSG_BACKGROUND_START); in stop()
330 Message m = mBgHandler.obtainMessage(MSG_BRIGHTNESS_CHANGED, in notifyBrightnessChanged()
341 mBgHandler.obtainMessage(MSG_SENSOR_CHANGED, 0 /*unused*/, 0/*unused*/, lightSensor) in setLightSensor()
474 mBgHandler.post(() -> { in scheduleWriteBrightnessTrackerState()
788 mBgHandler.runWithScissors(() -> dumpLocal(pw), 1000); in dump()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolverConnection.java75 private final Handler mBgHandler; field in InstantAppResolverConnection
86 mBgHandler = BackgroundThread.getHandler(); in InstantAppResolverConnection()
253 mBgHandler.post(() -> { in optimisticBind()
/frameworks/base/services/core/java/com/android/server/am/
DAppRestrictionController.java236 private final BgHandler mBgHandler; field in AppRestrictionController
466 mBgHandler.obtainMessage(BgHandler.MSG_APP_RESTRICTION_LEVEL_CHANGED, in update()
816 mBgHandler.obtainMessage(BgHandler.MSG_PERSIST_RESTRICTION_SETTINGS, userId, 0) in schedulePersistToXml()
822 mBgHandler.sendEmptyMessage(BgHandler.MSG_LOAD_RESTRICTION_SETTINGS); in scheduleLoadFromXml()
1445 mBgHandler.obtainMessage(BgHandler.MSG_BACKGROUND_RESTRICTION_CHANGED,
1455 mBgHandler.obtainMessage(BgHandler.MSG_APP_STANDBY_BUCKET_CHANGED,
1461 mBgHandler.obtainMessage(BgHandler.MSG_USER_INTERACTION_STARTED,
1471 mBgHandler.obtainMessage(BgHandler.MSG_UID_PROC_STATE_CHANGED, uid, procState)
1477 mBgHandler.obtainMessage(BgHandler.MSG_UID_IDLE, uid, disabled ? 1 : 0)
1483 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.java80 protected final Handler mBgHandler; field in BaseAppStateTracker
92 mBgHandler = controller.getBackgroundHandler(); in BaseAppStateTracker()
DAppBatteryTracker.java235 if (!mBgHandler.hasCallbacks(mBgBatteryUsageStatsPolling)) { in scheduleBatteryUsageStatsUpdateIfNecessary()
236 mBgHandler.postDelayed(mBgBatteryUsageStatsPolling, delay); in scheduleBatteryUsageStatsUpdateIfNecessary()
406 mBgHandler.removeCallbacks(mBgBatteryUsageStatsPolling); in getUidBatteryUsage()
415 if (!mBgHandler.hasCallbacks(mBgBatteryUsageStatsCheck)) { in scheduleBgBatteryUsageStatsCheck()
416 mBgHandler.post(mBgBatteryUsageStatsCheck); in scheduleBgBatteryUsageStatsCheck()
730 if (!mBgHandler.hasCallbacks(mBgBatteryUsageStatsPolling)) { in onCurrentDrainMonitorEnabled()
731 mBgHandler.postDelayed(mBgBatteryUsageStatsPolling, in onCurrentDrainMonitorEnabled()
735 mBgHandler.removeCallbacks(mBgBatteryUsageStatsPolling); in onCurrentDrainMonitorEnabled()
774 mBgHandler.removeCallbacks(mBgBatteryUsageStatsPolling); in reset()
788 mBgHandler.getLooper().getQueue().addIdleHandler(() -> { in dump()
DAppProfiler.java324 private final Handler mBgHandler; field in AppProfiler
805 mBgHandler.sendEmptyMessageDelayed(BgHandler.COLLECT_PSS_BG_MSG, deferral); in requestPssLPf()
821 mBgHandler.removeMessages(BgHandler.COLLECT_PSS_BG_MSG); in deferPssIfNeededLPf()
822 mBgHandler.sendEmptyMessageDelayed(BgHandler.COLLECT_PSS_BG_MSG, mPssDeferralTime); in deferPssIfNeededLPf()
835 mBgHandler.sendEmptyMessageDelayed(BgHandler.STOP_DEFERRING_PSS_MSG, mPssDeferralTime); in deferPssForActivityStart()
897 if (!mBgHandler.hasMessages(BgHandler.COLLECT_PSS_BG_MSG)) { in requestPssAllProcsLPr()
898 mBgHandler.sendEmptyMessage(BgHandler.COLLECT_PSS_BG_MSG); in requestPssAllProcsLPr()
1001 mBgHandler.obtainMessage(BgHandler.MEMORY_PRESSURE_CHANGED, mLastMemoryLevel, memFactor) in updateLowMemStateLSP()
1984 mBgHandler = new BgHandler(bgLooper); in AppProfiler()
2018 final Message msg = mBgHandler.obtainMessage(BgHandler.DEFER_PSS_MSG); in onActivityLaunched()
[all …]
DBaseAppStateTimeSlotEventsTracker.java161 super(tracker.mBgHandler.getLooper()); in H()
226 mTracker.mBgHandler.post(mTracker::trimEvents); in onMaxTrackingDurationChanged()
DAppBatteryExemptionTracker.java536 mTracker.mBgHandler.post(mTracker::trimDurations); in onMaxTrackingDurationChanged()
DAppPermissionTracker.java410 super(tracker.mBgHandler.getLooper()); in MyHandler()
DAppFGSTracker.java140 super(tracker.mBgHandler.getLooper()); in MyHandler()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/carrier/
DQSCarrierGroupController.java64 private final Handler mBgHandler; field in QSCarrierGroupController
139 mBgHandler = bgHandler; in QSCarrierGroupController()
232 mBgHandler.post(this::updateListeners); in setListening()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DBackAnimationController.java115 private final Handler mBgHandler; field in BackAnimationController
220 mBgHandler = bgHandler; in BackAnimationController()
230 setupAnimationDeveloperSettingsObserver(mContentResolver, mBgHandler); in onInit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationConversationInfo.java94 private Handler mBgHandler; field in NotificationConversationInfo
227 mBgHandler = bgHandler; in bindNotification()
524 mBgHandler.post( in updateChannel()
DNotificationGutsManager.java111 private final Handler mBgHandler; field in NotificationGutsManager
148 mBgHandler = bgHandler; in NotificationGutsManager()
483 mBgHandler, in initializeConversationNotificationInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayController.java117 private final Handler mBgHandler; field in ThemeOverlayController
384 mBgHandler = bgHandler; in ThemeOverlayController()
405 new ContentObserver(mBgHandler) { in start()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayControllerTest.java97 private Handler mBgHandler; field in ThemeOverlayControllerTest
149 mBroadcastDispatcher, mBgHandler, mMainExecutor, mBgExecutor, mThemeOverlayApplier, in setup()
727 mBroadcastDispatcher, mBgHandler, executor, executor, mThemeOverlayApplier, in catchException_whenPackageNameIsOverlayName()
764 mBroadcastDispatcher, mBgHandler, executor, executor, mThemeOverlayApplier, in onWallpaperColorsChanged_defersUntilSetupIsCompleted_ifHasColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooterUtils.java117 protected Handler mBgHandler; field in QSSecurityFooterUtils
189 mBgHandler = new Handler(bgLooper); in QSSecurityFooterUtils()
447 mBgHandler.post(() -> { in createDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java321 @Inject @Background Lazy<Handler> mBgHandler; field in Dependency