/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/ |
D | ThreadFactoryImpl.java | 33 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/ |
D | SingleKeyGestureTests.java | 306 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/ |
D | BiometricHandlerProvider.java | 78 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/ |
D | AppClipsServiceConnector.java | 42 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/ |
D | RadioInterfaceCapabilityController.java | 58 final HandlerThread handlerThread = new HandlerThread("RHC"); in init() local 59 handlerThread.start(); in init() 61 handlerThread.getLooper()); in init()
|
D | TelephonyCountryDetector.java | 197 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/ |
D | QueuedWork.java | 107 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/ |
D | CompanionDeviceManagerSnippet.kt | 68 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/ |
D | DataConnectionStateTracker.java | 79 HandlerThread handlerThread = in DataConnectionStateTracker() local 81 handlerThread.start(); in DataConnectionStateTracker() 82 mExecutor = new HandlerExecutor(new Handler(handlerThread.getLooper())); in DataConnectionStateTracker()
|
D | DataStallRecoveryStats.java | 146 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/ |
D | SmsDomainSelectionConnectionTest.java | 75 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/ |
D | AppOpsRecentAccessPersistenceTest.java | 78 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/ |
D | PackageSessionTests.kt | 79 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/ |
D | RequestThrottleTest.kt | 114 val handlerThread = startThread { handler.timeAdvance() } in scheduleWhileRunning() constant 124 handlerThread.join() in scheduleWhileRunning()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTestable.java | 81 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/ |
D | NetworkWatchlistService.java | 125 NetworkWatchlistService(Context context, ServiceThread handlerThread, in NetworkWatchlistService() argument 129 mHandlerThread = handlerThread; in NetworkWatchlistService()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 189 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/ |
D | TelephonyCountryDetectorTest.java | 92 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/ |
D | RollbackPackageHealthObserver.java | 94 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/ |
D | AppOpsServiceTest.java | 138 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/ |
D | EyesFreeVidSessionProcessor.java | 563 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/ |
D | UceController.java | 385 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/ |
D | SliceManagerService.java | 598 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/ |
D | BugreportManagerTest.java | 420 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/ |
D | FlashNotificationsController.java | 286 HandlerThread handlerThread = new HandlerThread(tag); in getStartedHandler() local 287 handlerThread.start(); in getStartedHandler() 288 return handlerThread.getThreadHandler(); in getStartedHandler()
|