Home
last modified time | relevance | path

Searched refs:mStateMachinesThread (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/
DBatteryService.java62 private HandlerThread mStateMachinesThread; field in BatteryService
97 mStateMachinesThread = new HandlerThread("BatteryService.StateMachines"); in start()
98 mStateMachinesThread.start(); in start()
122 if (mStateMachinesThread != null) { in stop()
124 mStateMachinesThread.quitSafely(); in stop()
125 mStateMachinesThread.join(SM_THREAD_JOIN_TIMEOUT_MS); in stop()
126 mStateMachinesThread = null; in stop()
423 sm = BatteryStateMachine.make(device, this, mStateMachinesThread.getLooper()); in getOrCreateStateMachine()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidService.java77 private HandlerThread mStateMachinesThread; field in HearingAidService
134 mStateMachinesThread = new HandlerThread("HearingAidService.StateMachines"); in start()
135 mStateMachinesThread.start(); in start()
177 if (mStateMachinesThread != null) { in stop()
179 mStateMachinesThread.quitSafely(); in stop()
180 mStateMachinesThread.join(SM_THREAD_JOIN_TIMEOUT_MS); in stop()
181 mStateMachinesThread = null; in stop()
762 mStateMachinesThread.getLooper()); in getOrCreateStateMachine()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/csip/
DCsipSetCoordinatorService.java85 private HandlerThread mStateMachinesThread; field in CsipSetCoordinatorService
150 mStateMachinesThread = new HandlerThread("CsipSetCoordinatorService.StateMachines"); in start()
151 mStateMachinesThread.start(); in start()
189 if (mStateMachinesThread != null) { in stop()
191 mStateMachinesThread.quitSafely(); in stop()
192 mStateMachinesThread.join(SM_THREAD_JOIN_TIMEOUT_MS); in stop()
193 mStateMachinesThread = null; in stop()
921 mStateMachinesThread.getLooper()); in getOrCreateStateMachine()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientService.java76 private HandlerThread mStateMachinesThread; field in HapClientService
153 mStateMachinesThread = new HandlerThread("HapClientService.StateMachines"); in start()
154 mStateMachinesThread.start(); in start()
185 if (mStateMachinesThread != null) { in stop()
187 mStateMachinesThread.quitSafely(); in stop()
188 mStateMachinesThread.join(SM_THREAD_JOIN_TIMEOUT_MS); in stop()
189 mStateMachinesThread = null; in stop()
512 mStateMachinesThread.getLooper()); in getOrCreateStateMachine()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpService.java97 private HandlerThread mStateMachinesThread; field in A2dpService
172 mStateMachinesThread = new HandlerThread("A2dpService.StateMachines"); in start()
173 mStateMachinesThread.start(); in start()
231 if (mStateMachinesThread != null) { in stop()
233 mStateMachinesThread.quitSafely(); in stop()
234 mStateMachinesThread.join(SM_THREAD_JOIN_TIMEOUT_MS); in stop()
235 mStateMachinesThread = null; in stop()
1049 Flags.a2dpServiceLooper() ? mLooper : mStateMachinesThread.getLooper()); in getOrCreateStateMachine()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlService.java85 private HandlerThread mStateMachinesThread; field in VolumeControlService
247 mStateMachinesThread = new HandlerThread("VolumeControlService.StateMachines"); in start()
248 mStateMachinesThread.start(); in start()
283 if (mStateMachinesThread != null) { in stop()
285 mStateMachinesThread.quitSafely(); in stop()
286 mStateMachinesThread.join(SM_THREAD_JOIN_TIMEOUT_MS); in stop()
287 mStateMachinesThread = null; in stop()
1222 mStateMachinesThread.getLooper()); in getOrCreateStateMachine()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetService.java140 private final HandlerThread mStateMachinesThread; field in HeadsetService
184 mStateMachinesThread = null; in HeadsetService()
188 mStateMachinesThread = new HandlerThread("HeadsetService.StateMachines"); in HeadsetService()
189 mStateMachinesThread.start(); in HeadsetService()
190 mStateMachinesLooper = mStateMachinesThread.getLooper(); in HeadsetService()
273 if (mStateMachinesThread != null) { in stop()
275 mStateMachinesThread.quitSafely(); in stop()
276 mStateMachinesThread.join(SM_THREAD_JOIN_TIMEOUT_MS); in stop()
311 return mStateMachinesThread.getLooper(); in getStateMachinesThreadLooper()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientService.java151 private HandlerThread mStateMachinesThread; field in BassClientService
589 mStateMachinesThread = new HandlerThread("BassClientService.StateMachines"); in start()
590 mStateMachinesThread.start(); in start()
648 if (mStateMachinesThread != null) { in stop()
649 mStateMachinesThread.quitSafely(); in stop()
650 mStateMachinesThread = null; in stop()
1147 mStateMachinesThread.getLooper()); in getOrCreateStateMachine()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioService.java156 private HandlerThread mStateMachinesThread; field in LeAudioService
433 mStateMachinesThread = new HandlerThread("LeAudioService.StateMachines"); in start()
434 mStateMachinesThread.start(); in start()
622 if (mStateMachinesThread != null) { in stop()
624 mStateMachinesThread.quitSafely(); in stop()
625 mStateMachinesThread.join(SM_THREAD_JOIN_TIMEOUT_MS); in stop()
626 mStateMachinesThread = null; in stop()
3530 device, this, mNativeInterface, mStateMachinesThread.getLooper()); in getOrCreateStateMachine()