Home
last modified time | relevance | path

Searched refs:mainLooper (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DExecution.kt31 private val mainLooper = Looper.getMainLooper() in assertIsMainThread() constant
34 if (!mainLooper.isCurrentThread) { in assertIsMainThread()
36 " Main thread name=" + mainLooper.thread.name + in assertIsMainThread()
42 return mainLooper.isCurrentThread in assertIsMainThread()
DGlobalConcurrencyModule.java62 public static Handler provideMainHandler(@Main Looper mainLooper) { in provideMainHandler() argument
63 return new Handler(mainLooper); in provideMainHandler()
DSysUIConcurrencyModule.kt120 @Main mainLooper: Looper, in provideBackPanelUiThreadContext()
141 mainLooper, in provideBackPanelUiThreadContext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardLifecyclesDispatcher.java82 @Main Looper mainLooper, in KeyguardLifecyclesDispatcher()
85 mHandler = new KeyguardLifecycleHandler(mainLooper, screenLifecycle, wakefulnessLifecycle); in KeyguardLifecyclesDispatcher()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/
DDeviceFoldStateProviderTest.kt67 @Mock private lateinit var mainLooper: Looper in <lambda>() variable
97 whenever(mainLooper.isCurrentThread).thenReturn(true) in <lambda>()
98 whenever(handler.looper).thenReturn(mainLooper) in <lambda>()
99 whenever(mainLooper.isCurrentThread).thenReturn(true) in <lambda>()
100 whenever(mainLooper.thread).thenReturn(thread) in <lambda>()
463 whenever(mainLooper.isCurrentThread).thenReturn(true) in <lambda>()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
DTransportConnectionTest.java105 Looper mainLooper = Looper.getMainLooper(); in setUp() local
106 mShadowMainLooper = extract(mainLooper); in setUp()
121 new Handler(mainLooper)); in setUp()
/frameworks/base/core/java/android/hardware/location/
DContextHubManager.java1102 public ContextHubManager(@NonNull IContextHubService service, @NonNull Looper mainLooper) {
1104 requireNonNull(mainLooper, "mainLooper cannot be null");
1106 mMainLooper = mainLooper;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationControllerImpl.java93 @Main Looper mainLooper, @Background Handler backgroundHandler, in LocationControllerImpl() argument
101 mHandler = new H(mainLooper); in LocationControllerImpl()
DBluetoothControllerImpl.java101 @Main Looper mainLooper, in BluetoothControllerImpl() argument
109 mHandler = new H(mainLooper); in BluetoothControllerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessController.java303 @Main Looper mainLooper, in BrightnessController() argument
317 mMainHandler = new Handler(mainLooper, mHandlerCallback); in BrightnessController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/carrier/
DShadeCarrierGroupController.java152 @Main Looper mainLooper, in ShadeCarrierGroupController() argument
186 mMainHandler = new H(mainLooper, this::handleUpdateCarrierInfo, this::handleUpdateState); in ShadeCarrierGroupController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSystemUIApplicationTest.kt85 whenever(rootComponent.mainLooper).thenReturn(Looper.myLooper()) in setUp()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java149 public SystemSensorManager(Context context, Looper mainLooper) { in SystemSensorManager() argument
157 mMainLooper = mainLooper; in SystemSensorManager()
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DAppOpService.kt89 handler = Handler(context.mainLooper) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java284 @Main Looper mainLooper, in KeyguardIndicationController() argument
348 mHandler = new Handler(mainLooper) { in KeyguardIndicationController()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java2137 @Main Looper mainLooper, in KeyguardUpdateMonitor() argument
2214 mHandler = new Handler(mainLooper) { in KeyguardUpdateMonitor()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2903 void onBootPhase(int phase, Looper mainLooper) {
2909 mPackageManager, mainLooper);
12559 @NonNull IPackageManager pkgMgr, @NonNull Looper mainLooper) {
12563 mMainLooper = mainLooper;