Home
last modified time | relevance | path

Searched refs:handlerThread (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DThreadFactoryImpl.java33 HandlerThread handlerThread = new HandlerThread(threadName); in buildLooperOnNewThread() local
34 handlerThread.start(); in buildLooperOnNewThread()
35 return handlerThread.getLooper(); in buildLooperOnNewThread()
50 HandlerThread handlerThread = new HandlerThread(threadName); in buildDelayableExecutorOnNewThread() local
51 handlerThread.start(); in buildDelayableExecutorOnNewThread()
52 return buildDelayableExecutorOnLooper(handlerThread.getLooper()); in buildDelayableExecutorOnNewThread()
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DSingleKeyGestureTests.java306 final HandlerThread handlerThread = in testShortPress_Pressure() local
308 handlerThread.start(); in testShortPress_Pressure()
309 Handler newHandler = new Handler(handlerThread.getLooper()); in testShortPress_Pressure()
324 handlerThread.quitSafely(); in testShortPress_Pressure()
330 final HandlerThread handlerThread = in testMultiPress_Pressure() local
332 handlerThread.start(); in testMultiPress_Pressure()
333 Handler newHandler = new Handler(handlerThread.getLooper()); in testMultiPress_Pressure()
352 handlerThread.quitSafely(); in testMultiPress_Pressure()
358 final HandlerThread handlerThread = in testOnKeyUp_Pressure() local
360 handlerThread.start(); in testOnKeyUp_Pressure()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricHandlerProvider.java78 HandlerThread handlerThread = new HandlerThread(tag, priority); in getNewHandler() local
79 handlerThread.start(); in getNewHandler()
80 return new Handler(handlerThread.getLooper()); in getNewHandler()
/frameworks/base/core/java/com/android/internal/statusbar/
DAppClipsServiceConnector.java42 HandlerThread handlerThread = new HandlerThread(TAG); in AppClipsServiceConnector() local
43 handlerThread.start(); in AppClipsServiceConnector()
44 mHandler = handlerThread.getThreadHandler(); in AppClipsServiceConnector()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioInterfaceCapabilityController.java58 final HandlerThread handlerThread = new HandlerThread("RHC"); in init() local
59 handlerThread.start(); in init()
61 handlerThread.getLooper()); in init()
DTelephonyCountryDetector.java197 HandlerThread handlerThread = new HandlerThread("TelephonyCountryDetector"); in getInstance() local
198 handlerThread.start(); in getInstance()
199 sInstance = new TelephonyCountryDetector(handlerThread.getLooper(), context, in getInstance()
/frameworks/base/core/java/android/app/
DQueuedWork.java107 HandlerThread handlerThread = new HandlerThread("queued-work-looper", in getHandler() local
109 handlerThread.start(); in getHandler()
111 sHandler = new QueuedWorkHandler(handlerThread.getLooper()); in getHandler()
/frameworks/base/tests/CompanionDeviceMultiDeviceTests/client/src/android/companion/multidevices/
DCompanionDeviceManagerSnippet.kt68 private val handlerThread = HandlerThread("Snippet-Aware") constant in android.companion.multidevices.CompanionDeviceManagerSnippet
73 handlerThread.start()
74 handler = Handler(handlerThread.looper)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DDataConnectionStateTracker.java79 HandlerThread handlerThread = in DataConnectionStateTracker() local
81 handlerThread.start(); in DataConnectionStateTracker()
82 mExecutor = new HandlerExecutor(new Handler(handlerThread.getLooper())); in DataConnectionStateTracker()
DDataStallRecoveryStats.java146 HandlerThread handlerThread = new HandlerThread(mTag + "-thread"); in DataStallRecoveryStats() local
147 handlerThread.start(); in DataStallRecoveryStats()
148 mHandler = new Handler(handlerThread.getLooper()); in DataStallRecoveryStats()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/domainselection/
DSmsDomainSelectionConnectionTest.java75 HandlerThread handlerThread = new HandlerThread( in setUp() local
77 handlerThread.start(); in setUp()
79 mHandler = new Handler(handlerThread.getLooper()); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsRecentAccessPersistenceTest.java78 HandlerThread handlerThread = new HandlerThread(TAG); in setUp() local
79 handlerThread.start(); in setUp()
80 Handler handler = new Handler(handlerThread.getLooper()); in setUp()
/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/
DPackageSessionTests.kt79 private var handlerThread: HandlerThread? = null in <lambda>() variable in android.content.pm.PackageSessionTests
209 handlerThread?.quitSafely() in <lambda>()
447 handlerThread = HandlerThread("PackageSessionTests") in <lambda>()
448 handlerThread?.let { in <lambda>()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/install/
DRequestThrottleTest.kt114 val handlerThread = startThread { handler.timeAdvance() } in scheduleWhileRunning() constant
124 handlerThread.join() in scheduleWhileRunning()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTestable.java81 public Handler getHandler(ServiceThread handlerThread) { in getHandler() argument
82 return new Handler(handlerThread.getLooper()); in getHandler()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DNetworkWatchlistService.java125 NetworkWatchlistService(Context context, ServiceThread handlerThread, in NetworkWatchlistService() argument
129 mHandlerThread = handlerThread; in NetworkWatchlistService()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java189 HandlerThread handlerThread = new HandlerThread("WifiStatusTrackerHandler"); in WifiStatusTracker() local
190 handlerThread.start(); in WifiStatusTracker()
191 mHandler = new Handler(handlerThread.getLooper()); in WifiStatusTracker()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyCountryDetectorTest.java92 HandlerThread handlerThread = new HandlerThread("CountryDetectorTest"); in setUp() local
93 handlerThread.start(); in setUp()
94 mLooper = handlerThread.getLooper(); in setUp()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackPackageHealthObserver.java94 HandlerThread handlerThread = new HandlerThread("RollbackPackageHealthObserver"); in RollbackPackageHealthObserver() local
95 handlerThread.start(); in RollbackPackageHealthObserver()
96 mHandler = new Handler(handlerThread.getLooper()); in RollbackPackageHealthObserver()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsServiceTest.java138 HandlerThread handlerThread = new HandlerThread(TAG); in setUp() local
139 handlerThread.start(); in setUp()
140 mHandler = new Handler(handlerThread.getLooper()); in setUp()
/frameworks/ex/camera2/extensions/eyesFreeVidSample/src/android/camera/extensions/impl/service/
DEyesFreeVidSessionProcessor.java563 HandlerThread handlerThread = new HandlerThread("ImageProcessingThread"); in ImageListener() local
564 handlerThread.start(); in ImageListener()
565 backgroundHandler = new Handler(handlerThread.getLooper()); in ImageListener()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/
DUceController.java385 HandlerThread handlerThread = new HandlerThread("UceControllerHandlerThread"); in initLooper() local
386 handlerThread.start(); in initLooper()
387 mLooper = handlerThread.getLooper(); in initLooper()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java598 ServiceThread handlerThread = new ServiceThread(TAG, in createHandler() local
600 handlerThread.start(); in createHandler()
601 return handlerThread; in createHandler()
/frameworks/base/core/tests/bugreports/src/com/android/os/bugreports/tests/
DBugreportManagerTest.java420 HandlerThread handlerThread = new HandlerThread("BugreportManagerTest"); in createHandler() local
421 handlerThread.start(); in createHandler()
422 return new Handler(handlerThread.getLooper()); in createHandler()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DFlashNotificationsController.java286 HandlerThread handlerThread = new HandlerThread(tag); in getStartedHandler() local
287 handlerThread.start(); in getStartedHandler()
288 return handlerThread.getThreadHandler(); in getStartedHandler()

12