/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiInjector.java | 200 Looper clientModeImplLooper = mWifiCoreHandlerThread.getLooper(); in WifiInjector() 215 new WifiVendorHal(mHalDeviceManager, mWifiCoreHandlerThread.getLooper()); in WifiInjector() 228 new Handler(mWifiCoreHandlerThread.getLooper()), new Random()); in WifiInjector() 242 mContext, mWifiCoreHandlerThread.getLooper(), mBackupManagerProxy, in WifiInjector() 260 mFrameworkFacade, mWifiCoreHandlerThread.getLooper(), mDeviceConfigFacade); in WifiInjector() 280 new Handler(mWifiCoreHandlerThread.getLooper()), this, mWifiPermissionsUtil, in WifiInjector() 291 new Handler(mWifiCoreHandlerThread.getLooper()), mWifiNative, mWifiKeyStore, mClock, in WifiInjector() 314 mFrameworkFacade, mWifiCoreHandlerThread.getLooper(), mContext); in WifiInjector() 327 mWifiCoreHandlerThread.getLooper(), mFrameworkFacade, in WifiInjector() 330 mWifiCoreHandlerThread.getLooper(), in WifiInjector() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccConnectorTest.java | 90 mConnector = new EuiccConnector(mContext, mLooper.getLooper()); in testInitialState_unavailable_noPermission() 99 mConnector = new EuiccConnector(mContext, mLooper.getLooper()); in testInitialState_unavailable_noBindPermission() 108 mConnector = new EuiccConnector(mContext, mLooper.getLooper()); in testInitialState_unavailable_noPriority() 117 mConnector = new EuiccConnector(mContext, mLooper.getLooper()); in testInitialState_commandRejected() 138 mConnector = new EuiccConnector(mContext, mLooper.getLooper()); in testInitialState_switchCommandRejected() 160 mConnector = new EuiccConnector(mContext, mLooper.getLooper()); in testInitialState_available() 167 mConnector = new EuiccConnector(mContext, mLooper.getLooper()); in testPackageChange_unavailableToAvailable() 186 mConnector = new EuiccConnector(mContext, mLooper.getLooper()); in testPackageChange_availableToUnavailable() 206 mConnector = new EuiccConnector(mContext, mLooper.getLooper()); in testCommandDispatch_success() 238 mConnector = new EuiccConnector(mContext, mLooper.getLooper()); in testCommandDispatch_remoteException() [all …]
|
/frameworks/base/core/java/android/os/ |
D | HandlerThread.java | 77 public Looper getLooper() { in getLooper() method in HandlerThread 113 mHandler = new Handler(getLooper()); in getThreadHandler() 138 Looper looper = getLooper(); in quit() 165 Looper looper = getLooper(); in quitSafely()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | RequestHandlerThread.java | 47 mHandler = new Handler(getLooper(), mCallback); in onLooperPrepared() 69 synchronized (mHandler.getLooper().getQueue()) { in hasAnyMessages() 81 synchronized (mHandler.getLooper().getQueue()) { in removeMessages() 99 MessageQueue queue = handler.getLooper().getQueue(); in waitUntilIdle()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | HandlerThreadTest.java | 44 assertNull(th1.getLooper()); in testHandlerThread() 49 assertNotNull(th1.getLooper()); in testHandlerThread() 69 final Handler h1 = new Handler(th1.getLooper()) { in testHandlerThread()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiApConfigStoreTest.java | 142 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in createWifiApConfigStore() 215 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in initWithDefaultConfiguration() 235 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in initWithExistingConfiguration() 257 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in setNullApConfiguration() 273 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in updateApConfiguration() 299 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in convertSingleModeDeviceAnyTo5Ghz() 333 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in singleModeDevice5GhzNotConverted() 360 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in convertDualModeDevice5GhzToAny() 396 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in dualModeDeviceAnyNotConverted() 437 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in singleModeDeviceAnyConvertedTo5GhzAtRetrieval() [all …]
|
D | WifiControllerTest.java | 122 mWifiController = new WifiController(mContext, mClientModeImpl, mLooper.getLooper(), in setUp() 123 mSettingsStore, mLooper.getLooper(), mFacade, mActiveModeWarden, in setUp() 185 new WifiController(mContext, mClientModeImpl, mLooper.getLooper(), in testEnterScanModeAtStartWhenSet() 186 mSettingsStore, mLooper.getLooper(), mFacade, in testEnterScanModeAtStartWhenSet() 207 mWifiController = new WifiController(mContext, mClientModeImpl, mLooper.getLooper(), in testDoesNotEnterScanModeWhenLocationModeDisabled() 208 mSettingsStore, mLooper.getLooper(), mFacade, mActiveModeWarden, in testDoesNotEnterScanModeWhenLocationModeDisabled() 236 mWifiController = new WifiController(mContext, mClientModeImpl, mLooper.getLooper(), in testEnterScanModeWhenLocationModeEnabled() 237 mSettingsStore, mLooper.getLooper(), mFacade, mActiveModeWarden, in testEnterScanModeWhenLocationModeEnabled() 270 mWifiController = new WifiController(mContext, mClientModeImpl, mLooper.getLooper(), in testExitScanModeWhenLocationModeDisabled() 271 mSettingsStore, mLooper.getLooper(), mFacade, mActiveModeWarden, in testExitScanModeWhenLocationModeDisabled() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | SlicePermissionManagerTest.java | 59 TestableLooper.get(this).getLooper(), sliceDir); in testGrant() 80 TestableLooper.get(this).getLooper(), sliceDir); in testBackup() 99 TestableLooper.get(this).getLooper()); in testBackup() 124 TestableLooper.get(this).getLooper(), sliceDir); in testInvalid()
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
D | Device.java | 62 mHandler = new DeviceHandler(mThread.getLooper()); in Device() 133 getLooper().quitSafely(); in handleMessage() 148 mBarrierToken = getLooper().myQueue().postSyncBarrier(); in pauseEvents() 152 getLooper().myQueue().removeSyncBarrier(mBarrierToken); in resumeEvents()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DisplayThread.java | 43 sInstance.getLooper().setTraceTag(Trace.TRACE_TAG_SYSTEM_SERVER); in ensureThreadLocked() 44 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
|
D | AnimationThread.java | 40 sInstance.getLooper().setTraceTag(Trace.TRACE_TAG_WINDOW_MANAGER); in ensureThreadLocked() 41 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
|
D | IoThread.java | 43 sInstance.getLooper().setTraceTag(Trace.TRACE_TAG_SYSTEM_SERVER); in ensureThreadLocked() 44 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
|
D | UiThread.java | 50 final Looper looper = sInstance.getLooper(); in ensureThreadLocked() 54 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
|
D | FgThread.java | 50 final Looper looper = sInstance.getLooper(); in ensureThreadLocked() 54 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
|
D | ServiceWatcher.java | 254 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in bindBestPackage() 331 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in bind() 347 Preconditions.checkState(Looper.myLooper() == mHandler.getLooper()); in unbind() 435 if (Looper.myLooper() == mHandler.getLooper()) { 443 if (Looper.myLooper() == mHandler.getLooper()) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SurfaceAnimationThread.java | 41 sInstance.getLooper().setTraceTag(Trace.TRACE_TAG_WINDOW_MANAGER); in ensureThreadLocked() 42 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BackgroundThread.java | 45 final Looper looper = sInstance.getLooper(); in ensureThreadLocked() 49 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/ |
D | MffTestCase.java | 42 Handler handler = new Handler(mMffContextHandlerThread.getLooper()); in setUp() 60 mMffContextHandlerThread.getLooper().quit(); in tearDown()
|
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/ |
D | WifiP2pManagerTest.java | 66 mTestLooper.getLooper(), null, null, mDut)) { in testChannelFinalize() argument 78 mTestLooper.getLooper(), null, null, mDut); in testChannelClose()
|
/frameworks/native/services/displayservice/ |
D | DisplayEventReceiver.cpp | 32 sp<Looper> getLooper() { in getLooper() function 50 mLooperAttached = getLooper()->addFd(mFwkReceiver.getFd(), in AttachedEvent() 68 return getLooper()->removeFd(mFwkReceiver.getFd()); in detach()
|
/frameworks/base/libs/hwui/utils/ |
D | PaintUtils.h | 79 if (paint && paint->getLooper() && paint->getLooper()->asABlurShadow(&blur)) { in getTextShadow()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | DelayedDiskWrite.java | 54 mDiskWriteHandler = new Handler(mDiskWriteHandlerThread.getLooper()); in write() 86 mDiskWriteHandler.getLooper().quit(); in doWrite()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 125 mHandler = spy(new Handler(mLooper.getLooper())); in setUp() 131 mWifiManager = new WifiManager(mContext, mWifiService, mLooper.getLooper()); in setUp() 408 when(mContext.getMainLooper()).thenReturn(altLooper.getLooper()); in testMainLooperIsUsedWhenHandlerNotProvided() 415 assertEquals(altLooper.getLooper().getThread().getId(), callback.mCallingThreadId); in testMainLooperIsUsedWhenHandlerNotProvided() 427 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStartedIsCalledWithReservation() 454 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStartedIsCalledWithNullConfig() 479 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStoppedIsCalled() 502 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnFailedIsCalled() 806 Handler altHandler = new Handler(altLooper.getLooper()); in softApCallbackIsCalledOnCorrectThread() 848 when(mContext.getMainLooper()).thenReturn(altLooper.getLooper()); in testMainLooperIsUsedWhenHandlerNotProvidedForObserver() [all …]
|
/frameworks/native/libs/sensor/ |
D | SensorEventQueue.cpp | 83 sp<Looper> SensorEventQueue::getLooper() const in getLooper() function in android::SensorEventQueue 96 sp<Looper> looper(getLooper()); in waitForEvent() 120 sp<Looper> looper(getLooper()); in wake()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | NetworkWatchlistServiceTests.java | 121 mHandlerThread.getLooper()); in setUp() 175 mHandlerThread.getLooper()) { in testNetworkEvents() 201 mHandlerThread.getLooper()) { in testNetworkEvents()
|