/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() 135 mBgHandler.post(() -> handleSafetyCenterEnableChange());
|
D | BatteryControllerImpl.java | 89 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/ |
D | GestureNavigationSettingsObserver.java | 39 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/ |
D | WifiSignalController.java | 51 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/ |
D | KeyguardSliceViewControllerTest.java | 64 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/ |
D | BrightnessTracker.java | 155 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/ |
D | LightBarTransitionsControllerTest.java | 63 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/ |
D | KeyguardSliceViewController.java | 68 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/ |
D | InstantAppResolverConnection.java | 75 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/ |
D | AppRestrictionController.java | 246 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 …]
|
D | AppMediaSessionTracker.java | 70 mHandlerExecutor = new HandlerExecutor(mBgHandler); in AppMediaSessionTracker() 216 mTracker.mBgHandler.post(mTracker::trimDurations); in onMaxTrackingDurationChanged()
|
D | BaseAppStateTracker.java | 79 protected final Handler mBgHandler; field in BaseAppStateTracker 92 mBgHandler = controller.getBackgroundHandler(); in BaseAppStateTracker()
|
D | AppBatteryTracker.java | 237 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()
|
D | BaseAppStateTimeSlotEventsTracker.java | 161 super(tracker.mBgHandler.getLooper()); in H() 226 mTracker.mBgHandler.post(mTracker::trimEvents); in onMaxTrackingDurationChanged()
|
D | AppProfiler.java | 332 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/ |
D | KeyguardSliceProvider.java | 158 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/ |
D | ShadeCarrierGroupController.java | 74 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/ |
D | NotificationConversationInfo.java | 96 private Handler mBgHandler; field in NotificationConversationInfo 235 mBgHandler = bgHandler; in bindNotification() 530 mBgHandler.post( in updateChannel()
|
D | NotificationGutsManager.java | 116 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/ |
D | BackAnimationController.java | 123 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/ |
D | ThemeOverlayController.java | 128 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/ |
D | ThemeOverlayControllerTest.java | 111 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/ |
D | QSSecurityFooterUtils.java | 118 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/ |
D | KeyguardSliceProviderTest.java | 281 mBgHandler = in TestableKeyguardSliceProvider()
|