/frameworks/base/core/tests/coretests/src/android/os/ |
IdleHandlerTest.java | 66 mHandler.sendMessageDelayed(mHandler.obtainMessage(0), 100); 72 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); 100 mHandler.sendMessage(mHandler.obtainMessage(0)); 106 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); 108 mHandler.sendMessageDelayed(mHandler.obtainMessage(2), 100); 137 mHandler.sendMessageDelayed(mHandler.obtainMessage(0), 100); 143 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); 171 mHandler.sendMessage(mHandler.obtainMessage(0)); 177 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); 179 mHandler.sendMessageDelayed(mHandler.obtainMessage(2), 100) [all...] |
MessageQueueTest.java | 72 mHandler.sendMessageAtTime(mHandler.obtainMessage(2), now + 1); 73 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now + 2); 74 mHandler.sendMessageAtTime(mHandler.obtainMessage(4), now + 2); 75 mHandler.sendMessageAtTime(mHandler.obtainMessage(0), now + 0); 76 mHandler.sendMessageAtTime(mHandler.obtainMessage(1), now + 0); 91 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now); 92 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(2)); 93 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(0)); 99 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(1)); 154 mHandler.sendMessage(mHandler.obtainMessage(0)) [all...] |
/frameworks/base/core/java/android/os/ |
CountDownTimer.java | 88 mHandler.sendMessage(mHandler.obtainMessage(MSG)); 121 sendMessageDelayed(obtainMessage(MSG), millisLeft); 133 sendMessageDelayed(obtainMessage(MSG), delay);
|
/frameworks/base/core/java/com/android/internal/os/ |
HandlerCaller.java | 89 public Message obtainMessage(int what) { 90 return mH.obtainMessage(what); 94 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, arg2); 101 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, args); 105 return mH.obtainMessage(what, 0, 0, arg1); 109 return mH.obtainMessage(what, arg1, 0); 113 return mH.obtainMessage(what, arg1, arg2); 117 return mH.obtainMessage(what, arg1, 0, arg2); 121 return mH.obtainMessage(what, arg1, arg2, arg3); 129 return mH.obtainMessage(what, arg1, arg2, args) [all...] |
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/ |
SendTestBroadcastActivity.java | 107 Message msg = mDelayHandler.obtainMessage(0, this); 121 Message msg = mDelayHandler.obtainMessage(0, this); 135 Message msg = mDelayHandler.obtainMessage(0, this); 149 Message msg = mDelayHandler.obtainMessage(0, this); 163 Message msg = mDelayHandler.obtainMessage(0, this); 177 Message msg = mDelayHandler.obtainMessage(0, this); 191 Message msg = mDelayHandler.obtainMessage(0, this); 205 Message msg = mDelayHandler.obtainMessage(0, this); 219 Message msg = mDelayHandler.obtainMessage(0, this); 233 Message msg = mDelayHandler.obtainMessage(0, this) [all...] |
/frameworks/base/core/java/android/webkit/ |
WebSyncManager.java | 56 Message newmsg = obtainMessage(SYNC_MESSAGE); 86 Message msg = mHandler.obtainMessage(SYNC_MESSAGE); 103 Message msg = mHandler.obtainMessage(SYNC_MESSAGE); 118 Message msg = mHandler.obtainMessage(SYNC_MESSAGE); 134 Message msg = mHandler.obtainMessage(SYNC_MESSAGE);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
CommandQueue.java | 112 mHandler.obtainMessage(what, OP_SET_ICON, 0, icon.clone()).sendToTarget(); 120 mHandler.obtainMessage(what, OP_REMOVE_ICON, 0, null).sendToTarget(); 129 mHandler.obtainMessage(MSG_ADD_NOTIFICATION, 0, 0, ne).sendToTarget(); 138 mHandler.obtainMessage(MSG_UPDATE_NOTIFICATION, 0, 0, ne).sendToTarget(); 144 mHandler.obtainMessage(MSG_REMOVE_NOTIFICATION, 0, 0, key).sendToTarget(); 151 mHandler.obtainMessage(MSG_DISABLE, state, 0, null).sendToTarget(); 179 mHandler.obtainMessage(MSG_SET_SYSTEMUI_VISIBILITY, vis, mask, null).sendToTarget(); 186 mHandler.obtainMessage(MSG_TOP_APP_WINDOW_CHANGED, menuVisible ? 1 : 0, 0, 194 mHandler.obtainMessage(MSG_SHOW_IME_BUTTON, vis, backDisposition, token) 202 mHandler.obtainMessage(MSG_SET_HARD_KEYBOARD_STATUS [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
HandlerTest.java | 81 Message msg = mHandler1.obtainMessage(); 96 Message msg = mHandler.obtainMessage(); 105 Message msg = mHandler.obtainMessage(); 115 Message msg = mHandler1.obtainMessage(); 125 msg = mHandler1.obtainMessage(); 220 Message msg = mHandler1.obtainMessage(); 231 msg = mHandler1.obtainMessage(); 242 Message msg = mHandler1.obtainMessage(); 254 msg = mHandler1.obtainMessage(); 257 Message wrongMessage = mHandler1.obtainMessage(); [all...] |
MessageQueueTest.java | 127 mHandler.sendMessageAtTime(mHandler.obtainMessage(2), now + 1); 128 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now + 2); 129 mHandler.sendMessageAtTime(mHandler.obtainMessage(4), now + 2); 130 mHandler.sendMessageAtTime(mHandler.obtainMessage(0), now + 0); 131 mHandler.sendMessageAtTime(mHandler.obtainMessage(1), now + 0); 149 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now); 150 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(2)); 151 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(0)); 157 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(1)); 199 Message msg = mHandler.obtainMessage(what) [all...] |
/frameworks/base/core/java/android/view/ |
InputFilter.java | 137 mH.obtainMessage(MSG_INSTALL, host).sendToTarget(); 145 mH.obtainMessage(MSG_UNINSTALL).sendToTarget(); 156 mH.obtainMessage(MSG_INPUT_EVENT, policyFlags, 0, event).sendToTarget();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
ProcessingTask.java | 35 Message msg = mProcessingHandler.obtainMessage(mType); 54 Message msg = mResultHandler.obtainMessage(mType); 62 Message msg = mResultHandler.obtainMessage(mType);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowHandler.java | 61 public Message obtainMessage() { 62 return obtainMessage(0); 66 public Message obtainMessage(int what) { 67 return obtainMessage(what, null); 71 public Message obtainMessage(int what, Object obj) { 72 return obtainMessage(what, 0, 0, obj); 76 public Message obtainMessage(int what, int arg1, int arg2) { 77 return obtainMessage(what, arg1, arg2, null); 81 public Message obtainMessage(int what, int arg1, int arg2, Object obj) {
|
/packages/apps/InCallUI/src/com/android/incallui/ |
CallHandlerService.java | 87 mMainHandler.sendMessage(mMainHandler.obtainMessage(ON_DESTROY)); 113 mMainHandler.sendMessage(mMainHandler.obtainMessage(ON_START, service)); 123 mMainHandler.sendMessage(mMainHandler.obtainMessage(ON_DISCONNECT_CALL, call)); 135 mMainHandler.sendMessage(mMainHandler.obtainMessage( 146 mMainHandler.sendMessage(mMainHandler.obtainMessage(ON_UPDATE_MULTI_CALL, calls)); 157 mMainHandler.sendMessage(mMainHandler.obtainMessage(ON_AUDIO_MODE, mode, 169 mMainHandler.sendMessage(mMainHandler.obtainMessage(ON_SUPPORTED_AUDIO_MODE, 178 mMainHandler.sendMessage(mMainHandler.obtainMessage(ON_BRING_TO_FOREGROUND, 184 mMainHandler.sendMessage(mMainHandler.obtainMessage(ON_POST_CHAR_WAIT, callId, 0,
|
/cts/tests/src/android/content/cts/ |
MockContextWrapperService.java | 43 mHandler.sendMessageDelayed(mHandler.obtainMessage(TEST_MESSAGE_WHAT), 1000); 49 mHandler.sendMessageDelayed(mHandler.obtainMessage(TEST_MESSAGE_WHAT), 1000);
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
ChatManager.java | 38 handler.obtainMessage(WiFiServiceDiscoveryActivity.MY_HANDLE, this) 51 handler.obtainMessage(WiFiServiceDiscoveryActivity.MESSAGE_READ,
|
/frameworks/base/core/java/com/android/internal/util/ |
AsyncService.java | 97 Message msg = mHandler.obtainMessage(); 116 Message msg = mHandler.obtainMessage();
|
/packages/apps/Camera/src/com/android/camera/ |
CameraManager.java | 330 mCameraHandler.obtainMessage(SET_PREVIEW_TEXTURE_ASYNC, surfaceTexture).sendToTarget(); 334 mCameraHandler.obtainMessage(SET_PREVIEW_DISPLAY_ASYNC, surfaceHolder).sendToTarget(); 349 mCameraHandler.obtainMessage(SET_PREVIEW_CALLBACK, cb).sendToTarget(); 355 mCameraHandler.obtainMessage(SET_PREVIEW_CALLBACK_WITH_BUFFER, cb).sendToTarget(); 361 mCameraHandler.obtainMessage(ADD_CALLBACK_BUFFER, callbackBuffer).sendToTarget(); 367 mCameraHandler.obtainMessage(AUTO_FOCUS, cb).sendToTarget(); 380 mCameraHandler.obtainMessage(SET_AUTO_FOCUS_MOVE_CALLBACK, cb).sendToTarget(); 421 mCameraHandler.obtainMessage(SET_DISPLAY_ORIENTATION, degrees, 0) 428 mCameraHandler.obtainMessage(SET_ZOOM_CHANGE_LISTENER, listener).sendToTarget(); 435 mCameraHandler.obtainMessage(SET_FACE_DETECTION_LISTENER, listener).sendToTarget() [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
UserPresetsManager.java | 75 Message msg = mProcessingHandler.obtainMessage(LOAD); 90 Message msg = mProcessingHandler.obtainMessage(SAVE); 99 Message msg = mProcessingHandler.obtainMessage(DELETE); 110 Message msg = mProcessingHandler.obtainMessage(UPDATE); 120 Message msg = mResultHandler.obtainMessage(LOAD_RESULT);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
SIMRecords.java | 306 obtainMessage(EVENT_SET_MSISDN_DONE, onComplete)); 362 obtainMessage(EVENT_SET_MBDN_DONE, onComplete)); 368 obtainMessage(EVENT_SET_CPHS_MAILBOX_DONE, onComplete)); 430 obtainMessage (EVENT_UPDATE_DONE, EF_MWIS)); 440 obtainMessage (EVENT_UPDATE_DONE, EF_VOICE_MAIL_INDICATOR_CPHS)); 500 obtainMessage (EVENT_UPDATE_DONE, EF_CFIS)); 517 obtainMessage (EVENT_UPDATE_DONE, EF_CFF_CPHS)); 662 mMailboxIndex, obtainMessage(EVENT_GET_MBDN_DONE)); 668 obtainMessage(EVENT_GET_CPHS_MAILBOX_DONE)); 700 obtainMessage(EVENT_GET_CPHS_MAILBOX_DONE)) [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwContentsClientCallbackHelper.java | 155 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_LOAD_RESOURCE, url)); 159 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_PAGE_STARTED, url)); 166 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_DOWNLOAD_START, info)); 171 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_RECEIVED_LOGIN_REQUEST, info)); 176 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_RECEIVED_ERROR, info)); 184 mHandler.sendMessageAtTime(mHandler.obtainMessage(MSG_ON_NEW_PICTURE, pictureProvider), 193 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_SCALE_CHANGED_SCALED,
|
/frameworks/base/core/java/android/printservice/ |
PrintService.java | 348 mHandler.obtainMessage(ServiceHandler.MSG_START_PRINTER_DISCOVERY, 359 mHandler.obtainMessage(ServiceHandler.MSG_VALIDATE_PRINTERS, 365 mHandler.obtainMessage(ServiceHandler.MSG_START_PRINTER_STATE_TRACKING, 371 mHandler.obtainMessage(ServiceHandler.MSG_STOP_PRINTER_STATE_TRACKING, 377 mHandler.obtainMessage(ServiceHandler.MSG_SET_CLEINT, client) 383 mHandler.obtainMessage(ServiceHandler.MSG_ON_REQUEST_CANCEL_PRINTJOB, 389 mHandler.obtainMessage(ServiceHandler.MSG_ON_PRINTJOB_QUEUED,
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
CarouselViewHelper.java | 112 mSyncHandler.obtainMessage(SET_TEXTURE_N, id, 0, bitmap).sendToTarget(); 117 mSyncHandler.obtainMessage(SET_MATRIX_N, id, 0, 124 mSyncHandler.obtainMessage(SET_DETAIL_TEXTURE_N, id, 0, bitmap).sendToTarget(); 130 mSyncHandler.obtainMessage(SET_GEOMETRY_N, id, 0, mesh).sendToTarget(); 233 Message message = mAsyncHandler.obtainMessage(REQUEST_TEXTURE_N + id, id, 0); 245 mAsyncHandler.sendMessage(mAsyncHandler.obtainMessage(REQUEST_GEOMETRY_N + id, id, 0)); 256 Message message = mAsyncHandler.obtainMessage(REQUEST_DETAIL_TEXTURE_N + id, id, 0);
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
ClockBackService.java | 302 mHandler.obtainMessage(MESSAGE_SPEAK, utterance).sendToTarget(); 305 mHandler.obtainMessage(MESSAGE_PLAY_EARCON, feedbackIndex, 0).sendToTarget(); 308 mHandler.obtainMessage(MESSAGE_VIBRATE, feedbackIndex, 0).sendToTarget(); 442 mHandler.obtainMessage(MESSAGE_PLAY_EARCON, INDEX_RINGER_SILENT, 0).sendToTarget(); 452 mHandler.obtainMessage(MESSAGE_PLAY_EARCON, INDEX_RINGER_VIBRATE, 0).sendToTarget(); 460 mHandler.obtainMessage(MESSAGE_PLAY_EARCON, INDEX_RINGER_NORMAL, 0).sendToTarget(); 493 mHandler.obtainMessage(MESSAGE_SPEAK, formatUtterance(event)).sendToTarget(); 495 mHandler.obtainMessage(MESSAGE_PLAY_EARCON, event.getEventType(), 0).sendToTarget(); 497 mHandler.obtainMessage(MESSAGE_VIBRATE, event.getEventType(), 0).sendToTarget(); 507 mHandler.obtainMessage(MESSAGE_STOP_SPEAK).sendToTarget() [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
IInputConnectionWrapper.java | 146 dispatchMessage(obtainMessage(DO_FINISH_COMPOSING_TEXT)); 163 dispatchMessage(obtainMessage(DO_BEGIN_BATCH_EDIT)); 167 dispatchMessage(obtainMessage(DO_END_BATCH_EDIT)); 427 Message obtainMessage(int what) { 428 return mH.obtainMessage(what); 432 return mH.obtainMessage(what, arg1, arg2); 436 return mH.obtainMessage(what, 0, 0, arg1); 443 return mH.obtainMessage(what, arg1, 0, args); 450 return mH.obtainMessage(what, arg1, arg2, args); 459 return mH.obtainMessage(what, arg1, 0, args) [all...] |
/frameworks/base/services/java/com/android/server/am/ |
AppErrorDialog.java | 64 mHandler.obtainMessage(FORCE_QUIT)); 69 mHandler.obtainMessage(FORCE_QUIT_AND_REPORT)); 84 mHandler.obtainMessage(FORCE_QUIT),
|