Home
last modified time | relevance | path

Searched refs:obtainMessage (Results 1 – 25 of 34) sorted by relevance

12

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DSystemHandlerWrapper.java37 public Message obtainMessage(int what) { in obtainMessage() method in SystemHandlerWrapper
38 return handler.obtainMessage(what); in obtainMessage()
42 public Message obtainMessage(int what, @Nullable Object obj) { in obtainMessage() method in SystemHandlerWrapper
43 return handler.obtainMessage(what, obj); in obtainMessage()
47 public Message obtainMessage(int what, int arg1, int arg2) { in obtainMessage() method in SystemHandlerWrapper
48 return handler.obtainMessage(what, arg1, arg2); in obtainMessage()
52 public Message obtainMessage(int what, int arg1, int arg2, @Nullable Object obj) { in obtainMessage() method in SystemHandlerWrapper
53 return handler.obtainMessage(what, arg1, arg2, obj); in obtainMessage()
DHandlerWrapper.java33 Message obtainMessage(int what); in obtainMessage() method
36 Message obtainMessage(int what, @Nullable Object obj); in obtainMessage() method
39 Message obtainMessage(int what, int arg1, int arg2); in obtainMessage() method
42 Message obtainMessage(int what, int arg1, int arg2, @Nullable Object obj); in obtainMessage() method
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeClock.java190 public Message obtainMessage(int what) { in obtainMessage() method in FakeClock.ClockHandler
191 return handler.obtainMessage(what); in obtainMessage()
195 public Message obtainMessage(int what, @Nullable Object obj) { in obtainMessage() method in FakeClock.ClockHandler
196 return handler.obtainMessage(what, obj); in obtainMessage()
200 public Message obtainMessage(int what, int arg1, int arg2) { in obtainMessage() method in FakeClock.ClockHandler
201 return handler.obtainMessage(what, arg1, arg2); in obtainMessage()
205 public Message obtainMessage(int what, int arg1, int arg2, @Nullable Object obj) { in obtainMessage() method in FakeClock.ClockHandler
206 return handler.obtainMessage(what, arg1, arg2, obj); in obtainMessage()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowHandlerTest.java239 handler.obtainMessage(123).sendToTarget(); in testSendMessageAtFrontOfQueueThenRunMainLooperOneMsgAtATime_shouldRunFrontOfQueueMsgFirst()
240 Message frontMsg = handler.obtainMessage(345); in testSendMessageAtFrontOfQueueThenRunMainLooperOneMsgAtATime_shouldRunFrontOfQueueMsgFirst()
283 Message message = handler.obtainMessage(123); in sendMessageAtTime_sendsMessageAtCorrectTime()
325 Message message = handler.obtainMessage(123, testObject); in testHasMessagesWithWhatAndObject()
339 Message message = handler.obtainMessage(123, testObject); in testSendToTarget()
376 Message msg = handler.obtainMessage(123); in scheduler_wontDispatchRemovedMessage_evenIfMessageReused()
379 Message newMsg = handler.obtainMessage(123); in scheduler_wontDispatchRemovedMessage_evenIfMessageReused()
421 handler.sendMessage(handler.obtainMessage(0, firstObj)); in shouldRemoveSingleMessage()
424 handler.sendMessage(handler.obtainMessage(0, secondObj)); in shouldRemoveSingleMessage()
461 Message m0 = new Handler().obtainMessage(); in shouldObtainMessage()
[all …]
DShadowMessageQueueTest.java71 testMessage = handler.obtainMessage(); in setUp()
148 Message m2 = handler.obtainMessage(2); in enqueueMessage_withZeroWhen_postsAtFront()
165 Message msg = handler.obtainMessage(1); in dispatchedMessage_isMarkedInUse_andRecycled()
167 Message msg2 = handler.obtainMessage(2); in dispatchedMessage_isMarkedInUse_andRecycled()
181 Message msg = handler.obtainMessage(1234); in reset_shouldClearMessageQueue()
182 Message msg2 = handler.obtainMessage(5678); in reset_shouldClearMessageQueue()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDownloadManager.java249 .obtainMessage(MSG_INITIALIZE, notMetRequirements, /* unused */ 0) in DownloadManager()
347 .obtainMessage(MSG_SET_MAX_PARALLEL_DOWNLOADS, maxParallelDownloads, /* unused */ 0) in setMaxParallelDownloads()
373 .obtainMessage(MSG_SET_MIN_RETRY_COUNT, minRetryCount, /* unused */ 0) in setMinRetryCount()
426 .obtainMessage(MSG_SET_STOP_REASON, stopReason, /* unused */ 0, id) in setStopReason()
449 .obtainMessage(MSG_ADD_DOWNLOAD, stopReason, /* unused */ 0, request) in addDownload()
460 internalHandler.obtainMessage(MSG_REMOVE_DOWNLOAD, id).sendToTarget(); in removeDownload()
466 internalHandler.obtainMessage(MSG_REMOVE_ALL_DOWNLOADS).sendToTarget(); in removeAllDownloads()
509 .obtainMessage(MSG_SET_DOWNLOADS_PAUSED, downloadsPaused ? 1 : 0, /* unused */ 0) in setDownloadsPaused()
528 .obtainMessage(MSG_SET_NOT_MET_REQUIREMENTS, notMetRequirements, /* unused */ 0) in onRequirementsStateChanged()
749 .obtainMessage(MSG_PROCESSED, processedExternalMessage ? 1 : 0, activeTasks.size()) in handleMessage()
[all …]
DDownloadHelper.java1032 .obtainMessage(DOWNLOAD_HELPER_CALLBACK_MESSAGE_FAILED, /* obj= */ e) in handleMessage()
1067 .obtainMessage( in onSourceInfoRefreshed()
1103 mediaSourceHandler.obtainMessage(MESSAGE_CONTINUE_LOADING, mediaPeriod).sendToTarget(); in onContinueLoadingRequested()
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DStackListener.java341 Message updateMesgSipPub = StackListener.this.obtainMessage(
351 Message updateMesgSipPub = StackListener.this.obtainMessage(
431 Message publishTrigerMsg = StackListener.this.obtainMessage(
499 Message notifyListReceivedMsg = StackListener.this.obtainMessage(
517 Message notifyReceivedMsg = StackListener.this.obtainMessage(
544 Message publishCmdMsg = StackListener.this.obtainMessage(
552 Message notifyUpdateCmdMsg = StackListener.this.obtainMessage(
DTaskManager.java243 Message notifyMessage = sMsgHandler.obtainMessage( in onTerminated()
268 Message notifyMessage = sMsgHandler.obtainMessage(TASK_MANAGER_ON_TERMINATED, in onTerminated()
289 Message timeoutMessage = sMsgHandler.obtainMessage(TASK_MANAGER_ON_TIMEOUT, in onTimeout()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DExoPlayerImplInternal.java200 handler.obtainMessage(MSG_PREPARE).sendToTarget(); in prepare()
206 .obtainMessage(MSG_SET_PLAY_WHEN_READY, playWhenReady ? 1 : 0, playbackSuppressionReason) in setPlayWhenReady()
212 .obtainMessage(MSG_SET_PAUSE_AT_END_OF_WINDOW, pauseAtEndOfWindow ? 1 : 0, /* ignored */ 0) in setPauseAtEndOfWindow()
217 handler.obtainMessage(MSG_SET_REPEAT_MODE, repeatMode, 0).sendToTarget(); in setRepeatMode()
221 handler.obtainMessage(MSG_SET_SHUFFLE_ENABLED, shuffleModeEnabled ? 1 : 0, 0).sendToTarget(); in setShuffleModeEnabled()
226 .obtainMessage(MSG_SEEK_TO, new SeekPosition(timeline, windowIndex, positionUs)) in seekTo()
231 handler.obtainMessage(MSG_SET_PLAYBACK_SPEED, playbackSpeed).sendToTarget(); in setPlaybackSpeed()
235 handler.obtainMessage(MSG_SET_SEEK_PARAMETERS, seekParameters).sendToTarget(); in setSeekParameters()
239 handler.obtainMessage(MSG_STOP, reset ? 1 : 0, 0).sendToTarget(); in stop()
248 .obtainMessage( in setMediaSources()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DLoader.java399 obtainMessage(MSG_IO_EXCEPTION, e).sendToTarget(); in run()
405 obtainMessage(MSG_IO_EXCEPTION, new UnexpectedLoaderException(e)).sendToTarget(); in run()
413 obtainMessage(MSG_IO_EXCEPTION, new UnexpectedLoaderException(e)).sendToTarget(); in run()
421 obtainMessage(MSG_FATAL_ERROR, e).sendToTarget(); in run()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DCapabilityPolling.java702 mDiscoveryHandler.obtainMessage(MSG_CHECK_DISCOVERY, type, -1).sendToTarget(); in enqueueDiscovery()
706 mDiscoveryHandler.obtainMessage(MSG_NEW_CONTACT_ADDED, number).sendToTarget(); in enqueueNewContact()
711 mDiscoveryHandler.obtainMessage(MSG_SERVICE_STATUS_CHANGED, in enqueueServiceStatusChanged()
717 mDiscoveryHandler.obtainMessage(MSG_PUBLISH_STATE_CHANGED, in enqueuePublishStateChanged()
723 mDiscoveryHandler.obtainMessage(MSG_SETTINGS_CHANGED).sendToTarget(); in enqueueSettingsChanged()
728 mDiscoveryHandler.obtainMessage(MSG_PROVISION_STATE_CHANGED).sendToTarget(); in enqueueProvisionStateChanged()
733 mDiscoveryHandler.obtainMessage(MSG_VERIFY_POLLING_RESULT, counts, -1).sendToTarget(); in enqueueVerifyPollingResult()
DPersistService.java85 Message msg = mServiceHandler.obtainMessage(MESSAGE_PRESENCE_CHANGED); in onStartCommand()
91 Message msg = mServiceHandler.obtainMessage(MESSAGE_PUBLISH_STATE_CHANGED); in onStartCommand()
DEABService.java307 Message msg = mServiceHandler.obtainMessage(BOOT_COMPLETED); in onStartCommand()
397 Message msg = mServiceHandler.obtainMessage(EAB_DATABASE_RESET); in sendEABResetMessage()
413 Message msg = mServiceHandler.obtainMessage(CONTACT_TABLE_MODIFIED); in sendDelayedContactChangeMsg()
429 Message msg = mServiceHandler.obtainMessage(CONTACT_PROFILE_TABLE_MODIFIED); in sendDelayedContactProfileMsg()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/
DAsynchronousMediaCodecBufferEnqueuer.java107 Util.castNonNull(handler).obtainMessage(MSG_QUEUE_INPUT_BUFFER, messageParams); in queueInputBuffer()
119 Util.castNonNull(handler).obtainMessage(MSG_QUEUE_SECURE_INPUT_BUFFER, messageParams); in queueSecureInputBuffer()
189 handler.obtainMessage(MSG_FLUSH).sendToTarget(); in flushHandlerThread()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DEngineJob.java136 MAIN_THREAD_HANDLER.obtainMessage(MSG_COMPLETE, this).sendToTarget(); in onResourceReady()
167 MAIN_THREAD_HANDLER.obtainMessage(MSG_EXCEPTION, this).sendToTarget(); in onException()
DResourceRecycler.java21 … handler.obtainMessage(ResourceRecyclerCallback.RECYCLE_RESOURCE, resource).sendToTarget(); in recycle()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DConcatenatingMediaSource.java570 .obtainMessage(MSG_ADD, new MessageData<>(index, mediaSourceHolders, callbackAction)) in addPublicMediaSources()
590 .obtainMessage(MSG_REMOVE, new MessageData<>(fromIndex, toIndex, callbackAction)) in removePublicMediaSources()
610 .obtainMessage(MSG_MOVE, new MessageData<>(currentIndex, newIndex, callbackAction)) in movePublicMediaSource()
633 .obtainMessage( in setPublicShuffleOrder()
716 getPlaybackThreadHandlerOnPlaybackThread().obtainMessage(MSG_UPDATE_TIMELINE).sendToTarget(); in scheduleTimelineUpdate()
730 .obtainMessage(MSG_ON_COMPLETION, onCompletionActions) in updateTimelineAndScheduleOnCompletionActions()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
DAutoFocusCallback.java40 Message message = autoFocusHandler.obtainMessage(autoFocusMessage, success); in onAutoFocus()
DPreviewCallback.java46 Message message = thePreviewHandler.obtainMessage(previewMessage, cameraResolution.x, in onPreviewFrame()
/external/glide/library/src/main/java/com/bumptech/glide/manager/
DRequestManagerRetriever.java170 handler.obtainMessage(ID_REMOVE_FRAGMENT_MANAGER, fm).sendToTarget(); in fragmentGet()
190 handler.obtainMessage(ID_REMOVE_SUPPORT_FRAGMENT_MANAGER, fm).sendToTarget(); in supportFragmentGet()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/
DDummySurface.java147 handler.obtainMessage(MSG_INIT, secureMode, 0).sendToTarget(); in init()
/external/replicaisland/src/com/replica/replicaisland/
DAnimationPlayerActivity.java67 sendMessageDelayed(obtainMessage(0), delayMillis); in sleep()
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DPresencePublication.java255 mMsgHandler.obtainMessage(MESSAGE_DEFAULT_SUBSCRIPTION_CHANGED), in requestPublishIfSubscriptionReady()
421 mMsgHandler.sendMessage(mMsgHandler.obtainMessage(MESSAGE_DEFAULT_SUBSCRIPTION_CHANGED)); in handleAssociatedSubscriptionChanged()
813 Message publishMessage = mMsgHandler.obtainMessage( in requestPublication()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/
DDefaultDrmSession.java555 obtainMessage(what, requestTask).sendToTarget(); in post()
581 .obtainMessage(msg.what, Pair.create(requestTask.request, response)) in handleMessage()

12