Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/
DCar.java210 private final Looper mLooper; field in Car
307 mLooper = Looper.getMainLooper(); in Car()
309 mLooper = looper; in Car()
311 mEventHandler = new Handler(mLooper); in Car()
312 if (mLooper == Looper.getMainLooper()) { in Car()
330 mLooper = Looper.getMainLooper(); in Car()
332 mLooper = looper; in Car()
334 mEventHandler = new Handler(mLooper); in Car()
335 if (mLooper == Looper.getMainLooper()) { in Car()
475 manager = new CarSensorManager(binder, mContext, mLooper); in createCarManager()
[all …]
/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/car-support-lib/src/android/support/car/
DCar.java139 private final Looper mLooper; field in Car
218 mLooper = Looper.getMainLooper(); in Car()
220 mLooper = looper; in Car()
222 mEventHandler = new Handler(mLooper); in Car()
225 mLooper); in Car()
228 mServiceConnectionListener, mLooper); in Car()
272 mLooper = Looper.getMainLooper(); in Car()
274 mLooper = looper; in Car()
276 mEventHandler = new Handler(mLooper); in Car()
DCarServiceLoader.java30 private final Looper mLooper; field in CarServiceLoader
35 mLooper = looper; in CarServiceLoader()
58 return mLooper; in getLooper()
/packages/services/Car/libvehiclenetwork/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()
DVehicleNetwork.cpp30 mLooper(looper), in VehicleNetworkEventMessageHandler()
48 mLooper->sendMessage(this, Message(EVENT_EVENTS)); in handleHalEvents()
60 mLooper->sendMessage(this, Message(EVENT_HAL_ERROR)); in handleHalError()
66 mLooper->sendMessage(this, Message(EVENT_HAL_RESTART)); in handleHalRestart()
/packages/apps/TV/src/com/android/tv/dvr/
DScheduler.java75 private final Looper mLooper; field in Scheduler
88 mLooper = looper; in Scheduler()
148 HandlerWrapper handlerWrapper = new HandlerWrapper(mLooper, scheduledRecording, in scheduleRecordingSoon()
/packages/services/Car/libvehiclenetwork/include/
DHandlerThread.h41 sp<Looper> mLooper;
DVehicleNetwork.h80 sp<Looper> mLooper; variable
/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/services/Car/vehicle_network_service/
DVehicleNetworkService.cpp46 : mLooper(looper), in VehicleHalMessageHandler()
74 mLooper->sendMessage(this, Message(HAL_EVENT)); in handleHalEvent()
76 mLooper->sendMessageDelayed((DISPATCH_INTERVAL_MS - deltaFromLast) * MS_TO_NS, in handleHalEvent()
84 mLooper->sendMessage(this, Message(HAL_ERROR)); in handleHalError()
92 mLooper->removeMessages(self); in handleMockStart()
DVehicleNetworkService.h71 VehicleHalMessageHandler(const sp<Looper>& mLooper, VehicleNetworkService& service);
85 const sp<Looper> mLooper; variable
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java1352 private Looper mLooper; field in MediaPlaybackActivity.Worker
1364 while (mLooper == null) { in Worker()
1374 return mLooper; in getLooper()
1380 mLooper = Looper.myLooper(); in run()
1387 mLooper.quit(); in quit()