/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | NightDisplayListenerModule.java | 57 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/ |
D | SafetyController.java | 46 private final Handler mBgHandler; field in SafetyController 64 mBgHandler = bgHandler; in SafetyController() 82 mBgHandler.post(() -> { in addCallback() 132 mBgHandler.post(() -> handleSafetyCenterEnableChange());
|
D | BatteryControllerImpl.java | 83 private final Handler mBgHandler; field in BatteryControllerImpl 122 mBgHandler = bgHandler; in BatteryControllerImpl() 346 mBgHandler.post(() -> { in updateEstimateInBackground()
|
D | BluetoothControllerImpl.java | 68 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/ |
D | WifiSignalController.java | 49 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/ |
D | BrightnessTracker.java | 153 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/ |
D | InstantAppResolverConnection.java | 75 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/ |
D | AppRestrictionController.java | 236 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 …]
|
D | AppMediaSessionTracker.java | 70 mHandlerExecutor = new HandlerExecutor(mBgHandler); in AppMediaSessionTracker() 216 mTracker.mBgHandler.post(mTracker::trimDurations); in onMaxTrackingDurationChanged()
|
D | BaseAppStateTracker.java | 80 protected final Handler mBgHandler; field in BaseAppStateTracker 92 mBgHandler = controller.getBackgroundHandler(); in BaseAppStateTracker()
|
D | AppBatteryTracker.java | 235 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()
|
D | AppProfiler.java | 324 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 …]
|
D | BaseAppStateTimeSlotEventsTracker.java | 161 super(tracker.mBgHandler.getLooper()); in H() 226 mTracker.mBgHandler.post(mTracker::trimEvents); in onMaxTrackingDurationChanged()
|
D | AppBatteryExemptionTracker.java | 536 mTracker.mBgHandler.post(mTracker::trimDurations); in onMaxTrackingDurationChanged()
|
D | AppPermissionTracker.java | 410 super(tracker.mBgHandler.getLooper()); in MyHandler()
|
D | AppFGSTracker.java | 140 super(tracker.mBgHandler.getLooper()); in MyHandler()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/carrier/ |
D | QSCarrierGroupController.java | 64 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/ |
D | BackAnimationController.java | 115 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/ |
D | NotificationConversationInfo.java | 94 private Handler mBgHandler; field in NotificationConversationInfo 227 mBgHandler = bgHandler; in bindNotification() 524 mBgHandler.post( in updateChannel()
|
D | NotificationGutsManager.java | 111 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/ |
D | ThemeOverlayController.java | 117 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/ |
D | ThemeOverlayControllerTest.java | 97 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/ |
D | QSSecurityFooterUtils.java | 117 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/ |
D | Dependency.java | 321 @Inject @Background Lazy<Handler> mBgHandler; field in Dependency
|