Home
last modified time | relevance | path

Searched refs:getHandler (Results 1 – 25 of 106) sorted by relevance

12345

/frameworks/base/core/java/android/hardware/camera2/legacy/
DGLThreadManager.java173 Handler handler = mGLHandlerThread.getHandler(); in quit()
190 Handler handler = mGLHandlerThread.getHandler(); in queueNewFrame()
214 Handler handler = mGLHandlerThread.getHandler(); in setConfigurationAndWait()
248 mGLHandlerThread.getHandler().sendEmptyMessage(MSG_DROP_FRAMES); in ignoreNewFrames()
262 mGLHandlerThread.getHandler().sendEmptyMessage(MSG_ALLOW_FRAMES); in allowNewFrames()
DCameraDeviceUserShim.java223 Message msg = getHandler().obtainMessage(CAMERA_ERROR, in onDeviceError()
226 getHandler().sendMessage(msg); in onDeviceError()
231 Message msg = getHandler().obtainMessage(CAMERA_IDLE); in onDeviceIdle()
232 getHandler().sendMessage(msg); in onDeviceIdle()
237 Message msg = getHandler().obtainMessage(CAPTURE_STARTED, in onCaptureStarted()
241 getHandler().sendMessage(msg); in onCaptureStarted()
248 Message msg = getHandler().obtainMessage(RESULT_RECEIVED, in onResultReceived()
250 getHandler().sendMessage(msg); in onResultReceived()
259 private Handler getHandler() { in getHandler() method in CameraDeviceUserShim.CameraCallbackThread
DRequestHandlerThread.java57 public Handler getHandler() { in getHandler() method in RequestHandlerThread
64 return getHandler(); in waitAndGetHandler()
/frameworks/base/core/java/android/os/
DRegistrant.java72 Handler h = getHandler(); in internalNotifyRegistrant()
94 Handler h = getHandler(); in messageForRegistrant()
111 getHandler() in getHandler() method in Registrant
DAsyncTask.java268 private static Handler getHandler() { in getHandler() method in AsyncTask
322 Message message = getHandler().obtainMessage(MESSAGE_POST_RESULT, in postResult()
627 getHandler().obtainMessage(MESSAGE_POST_PROGRESS, in publishProgress()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBaseCommands.java291 if (mGsmSmsRegistrant != null && mGsmSmsRegistrant.getHandler() == h) { in unSetOnNewGsmSms()
304 if (mCdmaSmsRegistrant != null && mCdmaSmsRegistrant.getHandler() == h) { in unSetOnNewCdmaSms()
317 if (mGsmBroadcastSmsRegistrant != null && mGsmBroadcastSmsRegistrant.getHandler() == h) { in unSetOnNewGsmBroadcastSms()
330 if (mSmsOnSimRegistrant != null && mSmsOnSimRegistrant.getHandler() == h) { in unSetOnSmsOnSim()
343 if (mSmsStatusRegistrant != null && mSmsStatusRegistrant.getHandler() == h) { in unSetOnSmsStatus()
356 if (mSignalStrengthRegistrant != null && mSignalStrengthRegistrant.getHandler() == h) { in unSetOnSignalStrengthUpdate()
369 if (mNITZTimeRegistrant != null && mNITZTimeRegistrant.getHandler() == h) { in unSetOnNITZTime()
382 if (mUSSDRegistrant != null && mUSSDRegistrant.getHandler() == h) { in unSetOnUSSD()
395 if (mSsnRegistrant != null && mSsnRegistrant.getHandler() == h) { in unSetOnSuppServiceNotification()
408 if (mCatSessionEndRegistrant != null && mCatSessionEndRegistrant.getHandler() == h) { in unSetOnCatSessionEnd()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayAdapter.java126 DumpUtils.dumpAsync(getHandler(), mDisplayController, ipw, 200); in dumpLocked()
136 getHandler().post(new Runnable() { in registerLocked()
140 getContext(), getHandler(), mWifiDisplayListener); in registerLocked()
153 getHandler().post(new Runnable() { in requestStartScanLocked()
168 getHandler().post(new Runnable() { in requestStopScanLocked()
183 getHandler().post(new Runnable() { in requestConnectLocked()
198 getHandler().post(new Runnable() { in requestPauseLocked()
213 getHandler().post(new Runnable() { in requestResumeLocked()
228 getHandler().post(new Runnable() { in requestDisconnectLocked()
DDisplayAdapter.java73 public final Handler getHandler() { in getHandler() method in DisplayAdapter
/frameworks/base/core/java/android/widget/
DTextClock.java166 getHandler().postAtTime(mTicker, next);
469 if (hadSeconds) getHandler().removeCallbacks(mTicker); in chooseFormat()
509 getHandler().removeCallbacks(mTicker); in onDetachedFromWindow()
522 getContext().registerReceiver(mIntentReceiver, filter, null, getHandler()); in registerReceiver()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcController.java133 mPhone.mCi.registerForRilConnected(getHandler(), in enter()
135 mPhone.mCi.registerForDataNetworkStateChanged(getHandler(), in enter()
139 new DcTesterDeactivateAll(mPhone, DcController.this, getHandler()); in enter()
146 mPhone.mCi.unregisterForRilConnected(getHandler()); in exit()
147 mPhone.mCi.unregisterForDataNetworkStateChanged(getHandler()); in exit()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DUsimDataDownloadTest.java47 UsimDataDownloadHandler getHandler() { in getHandler() method in UsimDataDownloadTest.TestHandlerThread
69 mHandler = mHandlerThread.getHandler(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccRecords.java632 + ((Registrant)mRecordsLoadedRegistrants.get(i)).getHandler()); in dump()
637 + ((Registrant)mImsiReadyRegistrants.get(i)).getHandler()); in dump()
642 + ((Registrant)mRecordsEventsRegistrants.get(i)).getHandler()); in dump()
647 + ((Registrant)mNewSmsRegistrants.get(i)).getHandler()); in dump()
653 + ((Registrant)mNetworkSelectionModeAutomaticRegistrants.get(i)).getHandler()); in dump()
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java215 mMonitorChecker = new HandlerChecker(FgThread.getHandler(), in Watchdog()
223 mHandlerCheckers.add(new HandlerChecker(UiThread.getHandler(), in Watchdog()
226 mHandlerCheckers.add(new HandlerChecker(IoThread.getHandler(), in Watchdog()
229 mHandlerCheckers.add(new HandlerChecker(DisplayThread.getHandler(), in Watchdog()
DFgThread.java52 public static Handler getHandler() { in getHandler() method in FgThread
DUiThread.java49 public static Handler getHandler() { in getHandler() method in UiThread
DDisplayThread.java50 public static Handler getHandler() { in getHandler() method in DisplayThread
DIoThread.java49 public static Handler getHandler() { in getHandler() method in IoThread
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java50 phone.mCi.setOnNewGsmSms(getHandler(), EVENT_NEW_SMS, null); in GsmInboundSmsHandler()
59 mPhone.mCi.unSetOnNewGsmSms(getHandler()); in onQuitting()
DGsmCellBroadcastHandler.java48 phone.mCi.setOnNewGsmBroadcastSms(getHandler(), EVENT_NEW_SMS_MESSAGE, null); in GsmCellBroadcastHandler()
53 mPhone.mCi.unSetOnNewGsmBroadcastSms(getHandler()); in onQuitting()
/frameworks/base/core/java/com/android/internal/os/
DBackgroundThread.java48 public static Handler getHandler() { in getHandler() method in BackgroundThread
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DRequestFocus.java42 public Handler getHandler() { in getHandler() method in RequestFocus
/frameworks/base/services/core/java/com/android/server/connectivity/
DPacManager.java128 IoThread.getHandler().post(mPacDownloader); in onReceive()
270 IoThread.getHandler().post(mPacDownloader); in bind()
300 IoThread.getHandler().post(mPacDownloader); in bind()
/frameworks/base/core/java/android/app/
DContextImpl.java350 ctx.mMainThread.getHandler());
373 return new ActivityManager(ctx.getOuterContext(), ctx.mMainThread.getHandler()); in registerService() argument
407 ctx.mMainThread.getHandler()); in registerService() argument
424 return DevicePolicyManager.create(ctx, ctx.mMainThread.getHandler()); in registerService() argument
507 ctx.mMainThread.getHandler()); in registerService() argument
529 service, ctx.mMainThread.getHandler()); in registerService() argument
535 ctx.mMainThread.getHandler()); in registerService() argument
541 ctx.mMainThread.getHandler().getLooper()); in registerService()
553 ctx.getContentResolver(), ctx.mMainThread.getHandler().getLooper()); in registerService()
1401 scheduler = mMainThread.getHandler(); in sendOrderedBroadcast()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DDetailsSupportFragment.java204 if (getView() != null && getView().getHandler() != null) { in setSelectedPosition()
205 getView().getHandler().post(mSetSelectionRunnable); in setSelectedPosition()
DDetailsFragment.java202 if (getView() != null && getView().getHandler() != null) { in setSelectedPosition()
203 getView().getHandler().post(mSetSelectionRunnable); in setSelectedPosition()

12345