OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mHandlerThread
(Results
26 - 50
of
131
) sorted by null
1
2
3
4
5
6
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DozeUiTest.java
73
private HandlerThread
mHandlerThread
;
80
mHandlerThread
= new HandlerThread("DozeUiTest");
81
mHandlerThread
.start();
83
mHandler =
mHandlerThread
.getThreadHandler();
91
mHandlerThread
.quit();
93
mHandlerThread
= null;
/frameworks/base/tests/testables/src/android/testing/
TestableLooper.java
219
private HandlerThread
mHandlerThread
;
303
mHandlerThread
= new HandlerThread(TestableLooper.class.getSimpleName());
304
mHandlerThread
.start();
305
return
mHandlerThread
.getLooper();
311
if (
mHandlerThread
!= null) {
312
mHandlerThread
.quit();
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
PbapClientStateMachine.java
100
private HandlerThread
mHandlerThread
= null;
154
mHandlerThread
=
156
mHandlerThread
.start();
158
new PbapClientConnectionHandler.Builder().setLooper(
mHandlerThread
.getLooper())
270
mHandlerThread
.quitSafely();
361
if (
mHandlerThread
!= null) {
362
mHandlerThread
.quitSafely();
/cts/tests/camera/api25test/src/android/camera/cts/api25test/
EnableZslTest.java
47
private HandlerThread
mHandlerThread
;
82
mHandlerThread
= new HandlerThread(TAG);
83
mHandlerThread
.start();
84
mHandler = new Handler(
mHandlerThread
.getLooper());
91
mHandlerThread
.quitSafely();
/cts/tests/tests/telephony/src/android/telephony/embms/cts/
MbmsDownloadTestBase.java
116
HandlerThread
mHandlerThread
;
126
mHandlerThread
= new HandlerThread("EmbmsCtsTestWorker");
127
mHandlerThread
.start();
128
mHandler = new Handler(
mHandlerThread
.getLooper());
144
mHandlerThread
.quit();
/frameworks/base/services/core/java/com/android/server/net/watchlist/
NetworkWatchlistService.java
105
private final ServiceThread
mHandlerThread
;
115
mHandlerThread
= new ServiceThread(TAG, Process.THREAD_PRIORITY_BACKGROUND,
117
mHandlerThread
.start();
119
mHandlerThread
.getLooper());
129
mHandlerThread
= handlerThread;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
ImsRttTextHandlerTest.java
74
HandlerThread
mHandlerThread
;
84
mHandlerThread
= new HandlerThread("TestImsRttTextHandler");
85
mHandlerThread
.start();
86
mRttTextHandler = new ImsRttTextHandler(
mHandlerThread
.getLooper(), mNetworkWriter);
229
mHandlerThread
.quit();
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
A2dpStateMachineTest.java
52
private HandlerThread
mHandlerThread
;
76
mHandlerThread
= new HandlerThread("A2dpStateMachineTestHandlerThread");
77
mHandlerThread
.start();
79
mA2dpNativeInterface,
mHandlerThread
.getLooper());
91
mHandlerThread
.quit();
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
HearingAidStateMachineTest.java
51
private HandlerThread
mHandlerThread
;
75
mHandlerThread
= new HandlerThread("HearingAidStateMachineTestHandlerThread");
76
mHandlerThread
.start();
78
mHearingAidNativeInterface,
mHandlerThread
.getLooper());
90
mHandlerThread
.quit();
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
EmbmsTestStreamingService.java
59
private HandlerThread
mHandlerThread
;
193
mHandlerThread
.quitSafely();
200
mHandlerThread
= new HandlerThread("EmbmsTestStreamingServiceWorker");
201
mHandlerThread
.start();
202
mHandler = new Handler(
mHandlerThread
.getLooper(), mWorkerCallback);
/cts/tests/tests/net/src/android/net/wifi/rtt/cts/
TestBase.java
58
private final HandlerThread
mHandlerThread
= new HandlerThread("SingleDeviceTest");
61
mHandlerThread
.start();
62
mExecutor = new HandlerExecutor(new Handler(
mHandlerThread
.getLooper()));
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
AsyncSensorManager.java
49
private final HandlerThread
mHandlerThread
= new HandlerThread("async_sensor");
54
mHandlerThread
.start();
55
mHandler = new Handler(
mHandlerThread
.getLooper());
/frameworks/base/media/java/android/media/
MediaCas.java
99
private HandlerThread
mHandlerThread
;
421
if (
mHandlerThread
== null || !
mHandlerThread
.isAlive()) {
422
mHandlerThread
= new HandlerThread("MediaCasEventThread",
424
mHandlerThread
.start();
426
looper =
mHandlerThread
.getLooper();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/plugins/
PluginInstanceManagerTest.java
70
private HandlerThread
mHandlerThread
;
80
mHandlerThread
= new HandlerThread("test_thread");
81
mHandlerThread
.start();
90
mMockListener, true,
mHandlerThread
.getLooper(), mMockVersionInfo,
98
mHandlerThread
.quit();
188
mMockListener, true,
mHandlerThread
.getLooper(), mMockVersionInfo,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
CallbackHandlerTest.java
47
private HandlerThread
mHandlerThread
;
56
mHandlerThread
= new HandlerThread("TestThread");
57
mHandlerThread
.start();
58
mHandler = new CallbackHandler(
mHandlerThread
.getLooper());
196
mHandlerThread
.quitSafely();
198
mHandlerThread
.join();
/frameworks/opt/net/lowpan/service/java/com/android/server/lowpan/
LowpanServiceImpl.java
52
private final HandlerThread
mHandlerThread
= new HandlerThread("LowpanServiceThread");
62
Looper looper =
mHandlerThread
.getLooper();
64
mHandlerThread
.start();
65
looper =
mHandlerThread
.getLooper();
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dpsink/
A2dpSinkStreamHandlerTest.java
44
private HandlerThread
mHandlerThread
;
69
mHandlerThread
= new HandlerThread("A2dpSinkStreamHandlerTest");
70
mHandlerThread
.start();
79
when(mMockContext.getMainLooper()).thenReturn(
mHandlerThread
.getLooper());
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
UsbDeviceStateController.java
50
private final HandlerThread
mHandlerThread
;
65
mHandlerThread
= new HandlerThread(TAG);
66
mHandlerThread
.start();
68
mHandler = new UsbStateHandler(
mHandlerThread
.getLooper());
86
mHandlerThread
.quit();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
ModelInterpreter.java
154
HandlerThread
mHandlerThread
;
189
mHandlerThread
= new HandlerThread("ModelInterpreter");
190
mHandlerThread
.start();
191
Looper looper =
mHandlerThread
.getLooper();
641
Looper looper =
mHandlerThread
.getLooper();
/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/
HeifWriter.java
80
private final HandlerThread
mHandlerThread
;
322
mHandlerThread
= new HandlerThread("HeifEncoderThread",
324
mHandlerThread
.start();
325
looper =
mHandlerThread
.getLooper();
327
mHandlerThread
= null;
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
HeadsetPhoneStateTest.java
58
private HandlerThread
mHandlerThread
;
77
mHandlerThread
= new HandlerThread("HeadsetStateMachineTestHandlerThread");
78
mHandlerThread
.start();
79
when(mHeadsetService.getStateMachinesThreadLooper()).thenReturn(
mHandlerThread
.getLooper());
86
mHandlerThread
.quit();
/packages/services/Car/service/src/com/android/car/
CarLocationService.java
64
// Used internally for
mHandlerThread
synchronization
72
private HandlerThread
mHandlerThread
;
291
mHandlerThread
= new HandlerThread("CarLocationServiceThread");
292
mHandlerThread
.start();
293
mHandler = new Handler(
mHandlerThread
.getLooper());
305
mHandlerThread
= null;
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
UsbDeviceStateController.java
62
private final HandlerThread
mHandlerThread
;
77
mHandlerThread
= new HandlerThread(TAG);
78
mHandlerThread
.start();
80
mHandler = new UsbStateHandler(
mHandlerThread
.getLooper());
98
mHandlerThread
.quit();
/packages/services/Telephony/testapps/EmbmsTestStreamingApp/src/com/android/phone/testapps/embmsfrontend/
EmbmsTestStreamingApp.java
134
private HandlerThread
mHandlerThread
;
147
mHandlerThread
= new HandlerThread("EmbmsSampleFrontendWorker");
148
mHandlerThread
.start();
149
mHandler = new Handler(
mHandlerThread
.getLooper());
242
mHandlerThread
.quit();
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppTransfer.java
99
private HandlerThread
mHandlerThread
;
478
if (
mHandlerThread
== null) {
482
mHandlerThread
=
484
mHandlerThread
.start();
485
mSessionHandler = new EventHandler(
mHandlerThread
.getLooper());
532
if (
mHandlerThread
!= null) {
533
mHandlerThread
.quit();
534
mHandlerThread
.interrupt();
535
mHandlerThread
= null;
[
all
...]
Completed in 1080 milliseconds
1
2
3
4
5
6