Home
last modified time | relevance | path

Searched refs:bgHandler (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DNightDisplayListenerModule.java46 @Background Handler bgHandler) { in provideNightDisplayListener() argument
47 return new NightDisplayListener(context, bgHandler); in provideNightDisplayListener()
61 public Builder(Context context, @Background Handler bgHandler) { in Builder() argument
63 mBgHandler = bgHandler; in Builder()
DSettingsLibraryModule.java41 @Background Handler bgHandler) { in provideLocalBluetoothController() argument
42 return LocalBluetoothManager.create(context, bgHandler, UserHandle.ALL); in provideLocalBluetoothController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DPackageUpdateMonitorTest.kt46 @Mock private lateinit var bgHandler: Handler variable in com.android.systemui.controls.controller.PackageUpdateMonitorTest
59 underTest = PackageUpdateMonitor(USER, PACKAGE, {}, bgHandler, context) in startMonitoring_registerOnlyOnce()
77 underTest = PackageUpdateMonitor(USER, PACKAGE, {}, bgHandler, context) in stopMonitoring_unregistersOnlyOnce()
101 underTest = PackageUpdateMonitor(USER, PACKAGE, callback, bgHandler, context) in onPackageUpdated_correctPackageAndUser_callbackRuns()
111 underTest = PackageUpdateMonitor(USER, PACKAGE, callback, bgHandler, context) in onPackageUpdated_correctPackage_wrongUser_callbackDoesntRun()
121 underTest = PackageUpdateMonitor(USER, PACKAGE, callback, bgHandler, context) in onPackageUpdated_wrongPackage_correctUser_callbackDoesntRun()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/
DUnfoldTransitionFactory.kt51 bgHandler: Handler,
66 bgHandler,
80 bgHandler: Handler,
91 bgHandler,
DUnfoldSharedModule.kt140 @UnfoldBg bgHandler: Handler, in unfoldBgTransitionProgressProvider()
150 progressHandler = bgHandler, in unfoldBgTransitionProgressProvider()
225 @UnfoldBg bgHandler: Handler, in provideFoldStateProvider()
230 progressHandler = bgHandler in provideFoldStateProvider()
DUnfoldSharedComponent.kt66 @BindsInstance @UnfoldBg bgHandler: Handler, in create()
90 @BindsInstance @UnfoldBg bgHandler: Handler, in create()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/
DRotationChangeProviderTest.kt57 private val bgHandler = FakeHandler(bgThread.looper) constant
68 RotationChangeProvider(displayManager, spyContext, bgHandler, callbackHandler) in setup()
70 bgHandler.dispatchQueuedMessages() in setup()
87 bgHandler.dispatchQueuedMessages() in onRotationChanged_subscribersRemoved_noRotationChangeReceived()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/
DRotationChangeProvider.kt44 @UnfoldBg private val bgHandler: Handler, constant in com.android.systemui.unfold.updates.RotationChangeProvider
54 bgHandler.post { in addCallback()
63 bgHandler.post { in removeCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DWifiStatusTrackerFactory.kt41 fun createTracker(callback: Runnable?, bgHandler: Handler?): WifiStatusTracker { in createTracker()
48 bgHandler) in createTracker()
DWifiSignalController.java60 @Background Handler bgHandler) { in WifiSignalController() argument
67 mBgHandler = bgHandler; in WifiSignalController()
69 mWifiTracker = trackerFactory.createTracker(this::handleStatusUpdated, bgHandler); in WifiSignalController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DPackageUpdateMonitor.kt37 @Background private val bgHandler: Handler, constant in com.android.systemui.controls.controller.PackageUpdateMonitor
55 register(context, user, bgHandler) in startMonitoring()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAospPolicyModule.java50 @Background Handler bgHandler) { in provideBatteryController() argument
60 bgHandler); in provideBatteryController()
DSafetyController.java60 @Background Handler bgHandler) { in SafetyController() argument
64 mBgHandler = bgHandler; in SafetyController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
DDelayedWakeLock.java43 public DelayedWakeLock(@Background Lazy<Handler> bgHandler, in DelayedWakeLock() argument
48 mHandler = Flags.delayedWakelockReleaseOnBackgroundThread() ? bgHandler.get() in DelayedWakeLock()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/progress/
DMainThreadUnfoldTransitionProgressProviderTest.kt102 val bgHandler = Handler(HandlerThread("TestBgThread").apply { start() }.looper) in addCallback_fromBackgroundThread_succeeds() constant
103 bgHandler.runWithScissors({ progressProvider.addCallback(listener) }, 5000L) in addCallback_fromBackgroundThread_succeeds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DMediaProjectionPrivacyItemMonitor.kt43 @Background private val bgHandler: Handler, constant in com.android.systemui.privacy.MediaProjectionPrivacyItemMonitor
156 mediaProjectionManager.addCallback(mediaProjectionCallback, bgHandler) in setListeningStateLocked()
183 bgHandler.post { in dispatchOnPrivacyItemsChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/airplane/data/repository/
DAirplaneModeRepository.kt64 @Background private val bgHandler: Handler?, in setIsAirplaneMode() constant in com.android.systemui.statusbar.pipeline.airplane.data.repository.AirplaneModeRepositoryImpl
74 object : SettingObserver(globalSettings, bgHandler, Global.AIRPLANE_MODE_ON) { in setIsAirplaneMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/
DSensorUseStartedActivity.kt57 @Background private val bgHandler: Handler in <lambda>() constant in com.android.systemui.sensorprivacy.SensorUseStartedActivity
158 bgHandler.postDelayed({ in <lambda>()
191 bgHandler.postDelayed({ in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/data/repository/
DPackageInstallerMonitor.kt44 @Background private val bgHandler: Handler, in <lambda>() constant in com.android.systemui.common.data.repository.PackageInstallerMonitor
73 bgHandler in <lambda>()
DPackageUpdateMonitor.kt51 @Background private val bgHandler: Handler, in <lambda>() constant in com.android.systemui.common.data.repository.PackageUpdateMonitor
76 register(context, user, bgHandler) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DFullscreenLightRevealAnimation.kt68 @UnfoldBg private val bgHandler: Handler, constant in com.android.systemui.unfold.FullscreenLightRevealAnimationController
102 bgExecutor = threadFactory.buildDelayableExecutorOnHandler(bgHandler) in init()
207 check(Looper.myLooper() == bgHandler.looper) { "Not being executed in the background!" } in ensureInBackground()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/util/
DScopedUnfoldTransitionProgressProviderTest.kt51 private val bgHandler = Handler(bgThread.looper) in <lambda>() constant in com.android.systemui.unfold.util.ScopedUnfoldTransitionProgressProviderTest
180 bgHandler.post { c.resumeWith(Result.success(f())) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/repository/
DUserSwitcherRepository.kt59 @Background private val bgHandler: Handler, constant in com.android.systemui.user.data.repository.UserSwitcherRepositoryImpl
79 bgHandler, in <lambda>()
/frameworks/base/core/java/com/android/internal/policy/
DGestureNavigationSettingsObserver.java42 Handler mainHandler, Handler bgHandler, Context context, Runnable onChangeRunnable) { in GestureNavigationSettingsObserver() argument
45 mBgHandler = bgHandler; in GestureNavigationSettingsObserver()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/sensorprivacy/
DSensorUseStartedActivityTest.kt23 bgHandler = mock(), in <lambda>()

12