Home
last modified time | relevance | path

Searched refs:mMainLooper (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java32 final Looper mMainLooper; field in HandlerCaller
54 mMainLooper = looper != null ? looper : context.getMainLooper(); in HandlerCaller()
55 mH = new MyHandler(mMainLooper, asyncHandler); in HandlerCaller()
67 if (Looper.myLooper() == mMainLooper) { in executeOrSendMessage()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRoleObserverTest.java109 private Looper mMainLooper; field in RoleObserverTest
146 when(mMainLooper.isCurrentThread()).thenReturn(true); in setUp()
150 mRoleObserver = mService.new RoleObserver(mContext, mRoleManager, mPm, mMainLooper); in setUp()
DNotificationManagerServiceTest.java318 private Looper mMainLooper; field in NotificationManagerServiceTest
526 when(mMainLooper.isCurrentThread()).thenReturn(true).thenReturn(false); in setUp()
527 mService.onBootPhase(SystemService.PHASE_SYSTEM_SERVICES_READY, mMainLooper); in setUp()
529 mService.onBootPhase(SystemService.PHASE_THIRD_PARTY_APPS_CAN_START, mMainLooper); in setUp()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java119 private final Looper mMainLooper; field in SystemSensorManager
136 mMainLooper = mainLooper; in SystemSensorManager()
198 Looper looper = (handler != null) ? handler.getLooper() : mMainLooper; in registerListenerImpl()
263 queue = new TriggerEventQueue(listener, mMainLooper, this, fullClassName); in requestTriggerSensorImpl()
328 mMainLooper, this, mContext.getPackageName()); in initDataInjectionImpl()
/frameworks/base/core/java/android/hardware/location/
DContextHubManager.java191 private final Looper mMainLooper; field in ContextHubManager
710 mCallbackHandler = (handler == null) ? new Handler(mMainLooper) : handler;
1013 mMainLooper = mainLooper;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java322 @Inject @Main Lazy<Looper> mMainLooper; field in Dependency
375 mProviders.put(MAIN_LOOPER, mMainLooper::get); in start()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java400 final Looper mMainLooper; field in InputMethodManager
1327 mMainLooper = looper; in InputMethodManager()
3049 if (mMainLooper.isCurrentThread()) { in dispatchInputEvent()
3573 p.println(" mMainLooper=" + mMainLooper); in doDump()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java202 private Looper mMainLooper; field in KeyValueBackupTaskTest
216 mMainLooper = Looper.getMainLooper(); in setUp()
217 mShadowMainLooper = extract(mMainLooper); in setUp()
2526 waitUntil(() -> messagesInLooper(mMainLooper, this::isSharedPrefsSynchronizer) > 0); in verifyAndUnblockAgentCalls()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java11442 private final Looper mMainLooper;
11449 mMainLooper = mainLooper;
11557 Preconditions.checkState(mMainLooper.isCurrentThread());
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt21123 Landroid/hardware/location/ContextHubManager;->mMainLooper:Landroid/os/Looper;
22183 Landroid/hardware/SystemSensorManager;->mMainLooper:Landroid/os/Looper;
60525 Landroid/view/inputmethod/InputMethodManager;->mMainLooper:Landroid/os/Looper;
74758 Lcom/android/internal/os/HandlerCaller;->mMainLooper:Landroid/os/Looper;
85560 Lcom/android/internal/view/IInputConnectionWrapper;->mMainLooper:Landroid/os/Looper;