/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetServiceImpl.java | 81 HandlerThread handlerThread = new HandlerThread("EthernetServiceThread"); in start() local 82 handlerThread.start(); in start() 83 mHandler = new Handler(handlerThread.getLooper()); in start()
|
/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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SubscriptionMonitorTest.java | 60 HandlerThread handlerThread; field in SubscriptionMonitorTest.TestHandler 67 if(handlerThread != null) { in die() 68 handlerThread.quit(); in die() 69 handlerThread = null; in die() 85 final HandlerThread handlerThread = new HandlerThread("TestHandler"); in makeHandler() local 86 handlerThread.start(); in makeHandler() 87 final TestHandler result = new TestHandler(handlerThread.getLooper()); in makeHandler() 88 result.handlerThread = handlerThread; in makeHandler()
|
/frameworks/base/tests/net/util/java/com/android/internal/util/ |
D | TestUtils.java | 39 public static void waitForIdleHandler(HandlerThread handlerThread, long timeoutMs) { in waitForIdleHandler() argument 40 waitForIdleLooper(handlerThread.getLooper(), timeoutMs); in waitForIdleHandler()
|
/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()
|
D | AppOpsServiceTest.java | 92 HandlerThread handlerThread = new HandlerThread(TAG); in setUp() local 93 handlerThread.start(); in setUp() 94 mHandler = new Handler(handlerThread.getLooper()); in setUp()
|
/frameworks/base/core/tests/bugreports/src/android/server/bugreports/ |
D | BugreportManagerTest.java | 223 HandlerThread handlerThread = new HandlerThread("BugreportManagerTest"); in createHandler() local 224 handlerThread.start(); in createHandler() 225 return new Handler(handlerThread.getLooper()); in createHandler()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackPackageHealthObserver.java | 87 HandlerThread handlerThread = new HandlerThread("RollbackPackageHealthObserver"); in RollbackPackageHealthObserver() local 88 handlerThread.start(); in RollbackPackageHealthObserver() 89 mHandler = handlerThread.getThreadHandler(); in RollbackPackageHealthObserver()
|
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/ |
D | RollbackTestUtils.java | 464 HandlerThread handlerThread = new HandlerThread("RollbackTestHandlerThread"); in processUserData() local 465 handlerThread.start(); in processUserData() 485 }, new Handler(handlerThread.getLooper()), 0, NO_RESPONSE, null); in processUserData() 494 handlerThread.quit(); in processUserData()
|
/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/services/core/java/com/android/server/net/ |
D | NetworkStatsObservers.java | 127 HandlerThread handlerThread = new HandlerThread(TAG); in getHandlerLooperLocked() local 128 handlerThread.start(); in getHandlerLooperLocked() 129 return handlerThread.getLooper(); in getHandlerLooperLocked()
|
D | NetworkStatsService.java | 348 HandlerThread handlerThread = new HandlerThread(TAG); in create() local 350 handlerThread.start(); in create() 351 Handler handler = new NetworkStatsHandler(handlerThread.getLooper(), callback); in create()
|
/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/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/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 981 final HandlerThread handlerThread = new HandlerThread("MockVpnThread"); in startHandlerThreadAndReturnLooper() local 982 handlerThread.start(); in startHandlerThreadAndReturnLooper() 983 return handlerThread.getLooper(); in startHandlerThreadAndReturnLooper() 2486 final HandlerThread handlerThread = new HandlerThread("testNetworkFactoryRequests"); in tryNetworkFactoryRequests() local 2487 handlerThread.start(); in tryNetworkFactoryRequests() 2488 final MockNetworkFactory testFactory = new MockNetworkFactory(handlerThread.getLooper(), in tryNetworkFactoryRequests() 2564 handlerThread.quit(); in tryNetworkFactoryRequests() 3602 final HandlerThread handlerThread = new HandlerThread("MobileDataAlwaysOnFactory"); in testMobileDataAlwaysOn() local 3603 handlerThread.start(); in testMobileDataAlwaysOn() 3607 final MockNetworkFactory testFactory = new MockNetworkFactory(handlerThread.getLooper(), in testMobileDataAlwaysOn() [all …]
|
/frameworks/base/media/apex/java/android/media/ |
D | MediaPlayer2.java | 1108 HandlerThread handlerThread = mHandlerThread; 1109 if (handlerThread != null && Looper.myLooper() != handlerThread.getLooper()) { 1148 HandlerThread handlerThread = mHandlerThread; 1149 if (handlerThread != null && Looper.myLooper() != handlerThread.getLooper()) {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 3004 HandlerThread handlerThread = createAndStartHandlerThreadForRunWithScissors(); in setupClientModeImplHandlerForRunWithScissors() local 3005 mHandlerSpyForCmiRunWithScissors = spy(handlerThread.getThreadHandler()); in setupClientModeImplHandlerForRunWithScissors() 3011 HandlerThread handlerThread = new HandlerThread("ServiceHandlerThreadForTest"); in createAndStartHandlerThreadForRunWithScissors() local 3012 handlerThread.start(); in createAndStartHandlerThreadForRunWithScissors() 3013 return handlerThread; in createAndStartHandlerThreadForRunWithScissors()
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 372 HandlerThread handlerThread = new HandlerThread(TAG); in StatsCompanionService() local 373 handlerThread.start(); in StatsCompanionService() 374 mHandler = new CompanionHandler(handlerThread.getLooper()); in StatsCompanionService()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 2396 public ActivityManagerService(Injector injector, ServiceThread handlerThread) { in ActivityManagerService() argument 2397 final boolean hasHandlerThread = handlerThread != null; in ActivityManagerService() 2405 mHandler = hasHandlerThread ? new MainHandler(handlerThread.getLooper()) : null; in ActivityManagerService() 2406 mHandlerThread = handlerThread; in ActivityManagerService() 2426 ? new PendingIntentController(handlerThread.getLooper(), mUserController) : null; in ActivityManagerService()
|