Home
last modified time | relevance | path

Searched refs:mWorkerThread (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/
DWifiPickerTrackerHelper.java64 protected HandlerThread mWorkerThread; field in WifiPickerTrackerHelper
75 mWorkerThread = new HandlerThread(TAG in WifiPickerTrackerHelper()
78 mWorkerThread.start(); in WifiPickerTrackerHelper()
84 mWorkerThread.getThreadHandler(), in WifiPickerTrackerHelper()
97 mWorkerThread.quit(); in onDestroy()
164 mWorkerThread = workerThread; in setWorkerThread()
DConfigureWifiEntryFragment.java74 private HandlerThread mWorkerThread; field in ConfigureWifiEntryFragment
86 if (mWorkerThread != null) { in onDestroy()
87 mWorkerThread.quit(); in onDestroy()
219 mWorkerThread = new HandlerThread(TAG in setupNetworkDetailsTracker()
222 mWorkerThread.start(); in setupNetworkDetailsTracker()
236 mWorkerThread.getThreadHandler(), in setupNetworkDetailsTracker()
DWifiConnectionPreferenceController.java74 private HandlerThread mWorkerThread; field in WifiConnectionPreferenceController
106 mWorkerThread = new HandlerThread( in WifiConnectionPreferenceController()
109 mWorkerThread.start(); in WifiConnectionPreferenceController()
120 mWorkerThread.getThreadHandler(), in WifiConnectionPreferenceController()
132 mWorkerThread.quit(); in onDestroy()
DNetworkRequestDialogFragment.java87 private HandlerThread mWorkerThread; field in NetworkRequestDialogFragment
102 mWorkerThread = new HandlerThread( in onCreate()
105 mWorkerThread.start(); in onCreate()
117 mWorkerThread.getThreadHandler(), in onCreate()
208 mWorkerThread.quit(); in onDestroy()
DWifiDialogActivity.java108 private HandlerThread mWorkerThread; field in WifiDialogActivity
122 mWorkerThread = new HandlerThread( in onCreate()
125 mWorkerThread.start(); in onCreate()
138 mWorkerThread.getThreadHandler(), in onCreate()
203 mWorkerThread.quit(); in onDestroy()
DWifiSettings.java186 private HandlerThread mWorkerThread; field in WifiSettings
278 mWorkerThread = new HandlerThread(TAG in onActivityCreated()
281 mWorkerThread.start(); in onActivityCreated()
292 mWorkerThread.getThreadHandler(), in onActivityCreated()
364 mWorkerThread.quit(); in onDestroyView()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DCarWifiManager.java50 private HandlerThread mWorkerThread; field in CarWifiManager
81 mWorkerThread = new HandlerThread(TAG in CarWifiManager()
84 mWorkerThread.start(); in CarWifiManager()
86 new Handler(Looper.getMainLooper()), mWorkerThread.getThreadHandler(), in CarWifiManager()
96 if (mWorkerThread != null) { in onDestroy()
97 mWorkerThread.quit(); in onDestroy()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/backup/
DMissingHashCodeGeneratorJobService.java57 private Thread mWorkerThread; field in MissingHashCodeGeneratorJobService
81 mWorkerThread = new Thread(new Runnable() { in onStartJob()
122 mWorkerThread = null; in onStartJob()
149 mWorkerThread = null; in onStartJob()
156 mWorkerThread.start(); in onStartJob()
174 return mWorkerThread; in getWorkerThread()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiDetailsFragment.java56 private HandlerThread mWorkerThread; field in WifiDetailsFragment
131 if (mWorkerThread != null) { in onDestroy()
132 mWorkerThread.quit(); in onDestroy()
142 mWorkerThread = new HandlerThread(TAG in setUpNetworksDetailTracker()
145 mWorkerThread.start(); in setUpNetworksDetailTracker()
147 getContext(), new Handler(Looper.getMainLooper()), mWorkerThread.getThreadHandler(), in setUpNetworksDetailTracker()
/packages/apps/Settings/src/com/android/settings/wifi/savedaccesspoints2/
DSavedAccessPointsWifiSettings2.java62 @VisibleForTesting HandlerThread mWorkerThread; field in SavedAccessPointsWifiSettings2
91 mWorkerThread = new HandlerThread(TAG in onCreate()
94 mWorkerThread.start(); in onCreate()
106 mWorkerThread.getThreadHandler(), in onCreate()
123 mWorkerThread.quit(); in onDestroy()
/packages/apps/Settings/src/com/android/settings/network/
DInternetResetHelper.java74 protected HandlerThread mWorkerThread; field in InternetResetHelper
93 mWorkerThread = new HandlerThread(TAG in InternetResetHelper()
96 mWorkerThread.start(); in InternetResetHelper()
98 mContext, mWorkerThread.getThreadHandler()); in InternetResetHelper()
122 mWorkerThread.quit(); in onDestroy()
/packages/modules/Permission/framework-s/java/android/app/role/
DRoleControllerService.java61 private HandlerThread mWorkerThread; field in RoleControllerService
68 mWorkerThread = new HandlerThread(RoleControllerService.class.getSimpleName()); in onCreate()
69 mWorkerThread.start(); in onCreate()
70 mWorkerHandler = new Handler(mWorkerThread.getLooper()); in onCreate()
77 mWorkerThread.quitSafely(); in onDestroy()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragment.java76 @VisibleForTesting HandlerThread mWorkerThread; field in WifiNetworkListFragment
139 mWorkerThread = new HandlerThread(TAG in onActivityCreated()
142 mWorkerThread.start(); in onActivityCreated()
154 mWorkerThread.getThreadHandler(), in onActivityCreated()
163 mWorkerThread.quit(); in onDestroyView()
DWifiDppQrCodeScannerFragment.java121 private HandlerThread mWorkerThread; field in WifiDppQrCodeScannerFragment
354 mWorkerThread = new HandlerThread( in onActivityCreated()
357 mWorkerThread.start(); in onActivityCreated()
369 mWorkerThread.getThreadHandler(), in onActivityCreated()
399 mWorkerThread.quit(); in onDestroyView()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiNetworkDetailsFragment2.java83 private HandlerThread mWorkerThread; field in WifiNetworkDetailsFragment2
119 mWorkerThread.quit(); in onDestroy()
265 mWorkerThread = new HandlerThread(TAG in setupNetworksDetailTracker()
268 mWorkerThread.start(); in setupNetworksDetailTracker()
282 mWorkerThread.getThreadHandler(), in setupNetworksDetailTracker()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/networkrequest/
DNetworkRequestDialogFragment.java95 private HandlerThread mWorkerThread; field in NetworkRequestDialogFragment
135 mWorkerThread = new HandlerThread( in onCreate()
138 mWorkerThread.start(); in onCreate()
140 getContext(), new Handler(Looper.getMainLooper()), mWorkerThread.getThreadHandler(), in onCreate()
277 if (mWorkerThread != null) { in onDestroy()
278 mWorkerThread.quit(); in onDestroy()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java76 Thread mWorkerThread; field in GalleryPicker
303 mWorkerThread = new Thread("GalleryPicker Worker") { in startWorker()
309 BitmapManager.instance().allowThreadDecoding(mWorkerThread); in startWorker()
310 mWorkerThread.start(); in startWorker()
314 if (mWorkerThread != null) { in abortWorker()
315 BitmapManager.instance().cancelThreadDecoding(mWorkerThread, getContentResolver()); in abortWorker()
318 mWorkerThread.join(); in abortWorker()
322 mWorkerThread = null; in abortWorker()
/packages/services/Car/cpp/evs/support_library/
DDisplayUseCase.cpp47 if (mWorkerThread.joinable()) { in ~DisplayUseCase()
48 mWorkerThread.join(); in ~DisplayUseCase()
121 mWorkerThread = std::thread([this]() { in startVideoStream()
DDisplayUseCase.h68 std::thread mWorkerThread; variable
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DInternetResetHelperTest.java59 public HandlerThread mWorkerThread; field in InternetResetHelperTest
106 mInternetResetHelper.mWorkerThread = mWorkerThread; in setUp()
138 verify(mWorkerThread).quit(); in onDestroy_quitWorkerThread()
/packages/apps/Settings/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragment.java128 HandlerThread mWorkerThread; field in AddAppNetworksFragment
183 mWorkerThread = new HandlerThread( in onCreateView()
186 mWorkerThread.start(); in onCreateView()
197 mWorkerThread.getThreadHandler(), in onCreateView()
207 mWorkerThread.quit(); in onDestroy()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragmentTest.java146 mWifiNetworkListFragment.mWorkerThread = mock(HandlerThread.class); in onDestroy_quitWorkerThread()
154 verify(mWifiNetworkListFragment.mWorkerThread).quit(); in onDestroy_quitWorkerThread()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragmentTest.java277 mAddAppNetworksFragment.mWorkerThread = mock(HandlerThread.class); in onDestroy_quitWorkerThread()
285 verify(mAddAppNetworksFragment.mWorkerThread).quit(); in onDestroy_quitWorkerThread()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/savedaccesspoints2/
DSavedAccessPointsWifiSettings2Test.java127 assertThat(mSettings.mWorkerThread.getState()).isEqualTo(Thread.State.TERMINATED); in onDestroy_shouldTerminateWorkerThread()