/frameworks/base/core/java/android/app/ |
D | QueuedWork.java | 105 HandlerThread handlerThread = new HandlerThread("queued-work-looper", in getHandler() local 107 handlerThread.start(); in getHandler() 109 sHandler = new QueuedWorkHandler(handlerThread.getLooper()); in getHandler()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetServiceImpl.java | 78 HandlerThread handlerThread = new HandlerThread("EthernetServiceThread"); in start() local 79 handlerThread.start(); in start() 80 mHandler = new Handler(handlerThread.getLooper()); in start()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/ |
D | RttService.java | 62 HandlerThread handlerThread = wifiInjector.getRttHandlerThread(); in onBootPhase() local 70 mImpl.start(handlerThread.getLooper(), wifiInjector.getClock(), awareBinder, rttNative, in onBootPhase()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsUpgradeTest.java | 126 HandlerThread handlerThread = new HandlerThread(TAG); in setUp() local 127 handlerThread.start(); in setUp() 128 mHandler = new Handler(handlerThread.getLooper()); in setUp()
|
/frameworks/base/core/tests/bugreports/src/android/server/bugreports/ |
D | BugreportManagerTest.java | 203 HandlerThread handlerThread = new HandlerThread("BugreportManagerTest"); in createHandler() local 204 handlerThread.start(); in createHandler() 205 return new Handler(handlerThread.getLooper()); in createHandler()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackPackageHealthObserver.java | 95 HandlerThread handlerThread = new HandlerThread("RollbackPackageHealthObserver"); in RollbackPackageHealthObserver() local 96 handlerThread.start(); in RollbackPackageHealthObserver() 97 mHandler = handlerThread.getThreadHandler(); in RollbackPackageHealthObserver()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsObservers.java | 126 HandlerThread handlerThread = new HandlerThread(TAG); in getHandlerLooperLocked() local 127 handlerThread.start(); in getHandlerLooperLocked() 128 return handlerThread.getLooper(); in getHandlerLooperLocked()
|
D | NetworkStatsService.java | 441 final HandlerThread handlerThread = mDeps.makeHandlerThread(); in NetworkStatsService() local 442 handlerThread.start(); in NetworkStatsService() 443 mHandler = new NetworkStatsHandler(handlerThread.getLooper()); in NetworkStatsService()
|
/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/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareServiceImpl.java | 96 public void start(HandlerThread handlerThread, WifiAwareStateManager awareStateManager, in start() argument 107 mStateManager.start(mContext, handlerThread.getLooper(), awareMetrics, wifiPermissionsUtil, in start() 112 new ContentObserver(new Handler(handlerThread.getLooper())) { in start()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 135 HandlerThread handlerThread = new HandlerThread(TAG); in setUp() local 136 handlerThread.start(); in setUp() 137 mHandler = new Handler(handlerThread.getLooper()); in setUp()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 525 ServiceThread handlerThread = new ServiceThread(TAG, in createHandler() local 527 handlerThread.start(); in createHandler() 528 return handlerThread; in createHandler()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/ |
D | ActiveRestoreSessionTest.java | 121 HandlerThread handlerThread = startBackupThread(null); in setUp() local 122 Looper backupLooper = handlerThread.getLooper(); in setUp() 133 BackupHandler backupHandler = new BackupHandler(mBackupManagerService, handlerThread); in setUp()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 1008 final HandlerThread handlerThread = new HandlerThread("MockVpnThread"); in startHandlerThreadAndReturnLooper() local 1009 handlerThread.start(); in startHandlerThreadAndReturnLooper() 1010 return handlerThread.getLooper(); in startHandlerThreadAndReturnLooper() 2347 final HandlerThread handlerThread = new HandlerThread("testNetworkFactoryRequests"); in tryNetworkFactoryRequests() local 2348 handlerThread.start(); in tryNetworkFactoryRequests() 2349 final MockNetworkFactory testFactory = new MockNetworkFactory(handlerThread.getLooper(), in tryNetworkFactoryRequests() 2425 handlerThread.quit(); in tryNetworkFactoryRequests() 2453 final HandlerThread handlerThread = new HandlerThread("testNetworkFactoryRequests"); in testNetworkFactoryUnregister() local 2454 handlerThread.start(); in testNetworkFactoryUnregister() 2459 final MockNetworkFactory testFactory = new MockNetworkFactory(handlerThread.getLooper(), in testNetworkFactoryUnregister() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 3139 HandlerThread handlerThread = createAndStartHandlerThreadForRunWithScissors(); in setupClientModeImplHandlerForRunWithScissors() local 3140 mHandlerSpyForCmiRunWithScissors = spy(handlerThread.getThreadHandler()); in setupClientModeImplHandlerForRunWithScissors() 3146 HandlerThread handlerThread = new HandlerThread("ServiceHandlerThreadForTest"); in createAndStartHandlerThreadForRunWithScissors() local 3147 handlerThread.start(); in createAndStartHandlerThreadForRunWithScissors() 3148 return handlerThread; in createAndStartHandlerThreadForRunWithScissors()
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 374 HandlerThread handlerThread = new HandlerThread(TAG); in StatsCompanionService() local 375 handlerThread.start(); in StatsCompanionService() 376 mHandler = new CompanionHandler(handlerThread.getLooper()); in StatsCompanionService()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 2421 public ActivityManagerService(Injector injector, ServiceThread handlerThread) { in ActivityManagerService() argument 2422 final boolean hasHandlerThread = handlerThread != null; in ActivityManagerService() 2430 mHandler = hasHandlerThread ? new MainHandler(handlerThread.getLooper()) : null; in ActivityManagerService() 2431 mHandlerThread = handlerThread; in ActivityManagerService() 2452 ? new PendingIntentController(handlerThread.getLooper(), mUserController) : null; in ActivityManagerService()
|