Home
last modified time | relevance | path

Searched refs:mLooper (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/util/
DNotificationPlayer.java65 private Looper mLooper; field in NotificationPlayer
83 mLooper = Looper.myLooper(); in run()
132 if ((mLooper != null) in startSound()
133 && (mLooper.getThread().getState() != Thread.State.TERMINATED)) { in startSound()
134 mLooper.quit(); in startSound()
168 if ((mLooper != null) && (mLooper.getThread().getState() != Thread.State.TERMINATED)) { in stopSound()
169 mLooper.quit(); in stopSound()
229 if (mLooper != null) { in onCompletion()
230 mLooper.quit(); in onCompletion()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DCameraThread.java41 private Looper mLooper = null; field in CameraThread
61 mLooper = Looper.myLooper(); in start()
80 if (mLooper == null || mHandler == null) { in close()
86 mLooper.quit(); in close()
87 mLooper.getThread().join(); in close()
88 mLooper = null; in close()
/packages/services/Car/libvehiclemonitor/native/
DHandlerThread.cpp32 if (mLooper.get() == 0) { in getLooper()
35 return mLooper; in getLooper()
56 mLooper = Looper::prepare(0); in threadLoop()
66 mLooper->pollOnce(-1); in threadLoop()
/packages/services/Car/vehicle_monitor_service/
DVehicleMonitorService.cpp39 : mLooper(looper), in VehicleMonitorMessageHandler()
42 mLooper->sendMessageDelayed(monitorInterval, this, Message(COLLECT_DATA)); in VehicleMonitorMessageHandler()
61 mLooper->sendMessageDelayed(monitorInterval, this, Message(COLLECT_DATA)); in doHandleCollectData()
DVehicleMonitorService.h50 const sp<Looper>& mLooper, VehicleMonitorService& service);
61 const sp<Looper> mLooper; variable
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DRecordingScheduler.java77 private final Looper mLooper; field in RecordingScheduler
139 mLooper = looper; in RecordingScheduler()
282 inputTaskScheduler = new InputTaskScheduler(mContext, input, mLooper, in scheduleRecordingSoon()
DInputTaskScheduler.java108 private final Looper mLooper; field in InputTaskScheduler
138 mLooper = looper; in InputTaskScheduler()
338 HandlerWrapper handlerWrapper = new HandlerWrapper(mLooper, schedule, recordingTask); in createRecordingTask()
/packages/apps/Email/src/com/android/email/
DEmailNotificationController.java825 private Looper mLooper; field in EmailNotificationController.NotificationThread
830 while (mLooper == null) { in NotificationThread()
844 mLooper = Looper.myLooper(); in run()
852 return mLooper; in getLooper()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java1332 private Looper mLooper; field in MediaPlaybackActivity.Worker
1344 while (mLooper == null) { in Worker()
1354 return mLooper; in getLooper()
1360 mLooper = Looper.myLooper(); in run()
1367 mLooper.quit(); in quit()
/packages/services/Car/libvehiclemonitor/include/
DHandlerThread.h41 sp<Looper> mLooper;