/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
TestCompanion.java | 69 mHandler.obtainMessage(TestHandler.SUCCESS).sendToTarget(); 78 mHandler.obtainMessage(TestHandler.FAIL, error).sendToTarget(); 85 mHandler.obtainMessage(TestHandler.ABORT).sendToTarget(); 96 mHandler.obtainMessage(TestHandler.UPDATE_STATUS, status).sendToTarget();
|
/cts/tests/tests/os/src/android/os/cts/ |
HandlerTest.java | 92 Message msg = mHandler1.obtainMessage(); 107 Message msg = mHandler.obtainMessage(); 116 Message msg = mHandler.obtainMessage(); 126 Message msg = mHandler1.obtainMessage(); 136 msg = mHandler1.obtainMessage(); 231 Message msg = mHandler1.obtainMessage(); 242 msg = mHandler1.obtainMessage(); 253 Message msg = mHandler1.obtainMessage(); 265 msg = mHandler1.obtainMessage(); 268 Message wrongMessage = mHandler1.obtainMessage(); [all...] |
MessageQueueTest.java | 180 mHandler.sendMessageAtTime(mHandler.obtainMessage(2), now + 1); 181 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now + 2); 182 mHandler.sendMessageAtTime(mHandler.obtainMessage(4), now + 2); 183 mHandler.sendMessageAtTime(mHandler.obtainMessage(0), now + 0); 184 mHandler.sendMessageAtTime(mHandler.obtainMessage(1), now + 0); 203 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now); 204 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(2)); 205 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(0)); 212 mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(1)); [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
ResourceRecycler.java | 21 handler.obtainMessage(ResourceRecyclerCallback.RECYCLE_RESOURCE, resource).sendToTarget();
|
EngineJob.java | 136 MAIN_THREAD_HANDLER.obtainMessage(MSG_COMPLETE, this).sendToTarget(); 167 MAIN_THREAD_HANDLER.obtainMessage(MSG_EXCEPTION, this).sendToTarget();
|
/cts/tests/tests/content/src/android/content/cts/ |
MockContextService.java | 41 mHandler.sendMessageDelayed(mHandler.obtainMessage(TEST_MESSAGE_WHAT), 1000); 47 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/cmds/hid/src/com/android/commands/hid/ |
Device.java | 75 mHandler.obtainMessage(MSG_OPEN_DEVICE, args).sendToTarget(); 80 Message msg = mHandler.obtainMessage(MSG_SEND_REPORT, report); 90 Message msg = mHandler.obtainMessage(MSG_CLOSE_DEVICE); 170 msg = mHandler.obtainMessage(MSG_SEND_GET_FEATURE_REPORT_REPLY, requestId, 0, report); 181 Message msg = mHandler.obtainMessage(MSG_CLOSE_DEVICE);
|
/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...] |
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
AutoFocusCallback.java | 40 Message message = autoFocusHandler.obtainMessage(autoFocusMessage, success);
|
PreviewCallback.java | 46 Message message = thePreviewHandler.obtainMessage(previewMessage, cameraResolution.x,
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowHandlerTest.java | 238 handler.obtainMessage(123).sendToTarget(); 239 Message frontMsg = handler.obtainMessage(345); 282 Message message = handler.obtainMessage(123); 324 Message message = handler.obtainMessage(123, testObject); 338 Message message = handler.obtainMessage(123, testObject); 375 Message msg = handler.obtainMessage(123); 378 Message newMsg = handler.obtainMessage(123); 420 handler.sendMessage(handler.obtainMessage(0, firstObj)); 423 handler.sendMessage(handler.obtainMessage(0, secondObj)); 460 Message m0 = new Handler().obtainMessage(); [all...] |
ShadowMessageQueueTest.java | 70 testMessage = handler.obtainMessage(); 147 Message m2 = handler.obtainMessage(2); 164 Message msg = handler.obtainMessage(1); 166 Message msg2 = handler.obtainMessage(2); 180 Message msg = handler.obtainMessage(1234); 181 Message msg2 = handler.obtainMessage(5678);
|
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatService.java | 93 mHandler.obtainMessage(Constants.MESSAGE_STATE_CHANGE, mNewState, -1).sendToTarget(); 202 Message msg = mHandler.obtainMessage(Constants.MESSAGE_DEVICE_NAME); 264 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); 283 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); 497 mHandler.obtainMessage(Constants.MESSAGE_READ, bytes, -1, buffer) 517 mHandler.obtainMessage(Constants.MESSAGE_WRITE, -1, -1, buffer)
|
/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatService.java | 93 mHandler.obtainMessage(Constants.MESSAGE_STATE_CHANGE, mNewState, -1).sendToTarget(); 202 Message msg = mHandler.obtainMessage(Constants.MESSAGE_DEVICE_NAME); 264 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); 283 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); 497 mHandler.obtainMessage(Constants.MESSAGE_READ, bytes, -1, buffer) 517 mHandler.obtainMessage(Constants.MESSAGE_WRITE, -1, -1, buffer)
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
BluetoothChatService.java | 90 mHandler.obtainMessage(BluetoothChat.MESSAGE_STATE_CHANGE, state, -1).sendToTarget(); 176 Message msg = mHandler.obtainMessage(BluetoothChat.MESSAGE_DEVICE_NAME); 235 Message msg = mHandler.obtainMessage(BluetoothChat.MESSAGE_TOAST); 250 Message msg = mHandler.obtainMessage(BluetoothChat.MESSAGE_TOAST); 457 mHandler.obtainMessage(BluetoothChat.MESSAGE_READ, bytes, -1, buffer) 478 mHandler.obtainMessage(BluetoothChat.MESSAGE_WRITE, -1, -1, buffer)
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
BluetoothChatService.java | 93 mHandler.obtainMessage(Constants.MESSAGE_STATE_CHANGE, mNewState, -1).sendToTarget(); 202 Message msg = mHandler.obtainMessage(Constants.MESSAGE_DEVICE_NAME); 264 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); 283 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); 497 mHandler.obtainMessage(Constants.MESSAGE_READ, bytes, -1, buffer) 517 mHandler.obtainMessage(Constants.MESSAGE_WRITE, -1, -1, buffer)
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
LooperStatsPerfTest.java | 59 mMessages[i] = mThread.getThreadHandler().obtainMessage(i);
|
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/ |
StackListener.java | 304 Message updateMesgSipPub = StackListener.this.obtainMessage( 314 Message updateMesgSipPub = StackListener.this.obtainMessage( 396 Message publishTrigerMsg = StackListener.this.obtainMessage( 464 Message notifyListReceivedMsg = StackListener.this.obtainMessage( 482 Message notifyReceivedMsg = StackListener.this.obtainMessage( 509 Message publishCmdMsg = StackListener.this.obtainMessage( 517 Message notifyUpdateCmdMsg = StackListener.this.obtainMessage(
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BluetoothChatService.java | 123 mHandler.obtainMessage(MESSAGE_STATE_CHANGE, state, -1).sendToTarget(); 244 Message msg = mHandler.obtainMessage(MESSAGE_DEVICE_NAME); 303 Message msg = mHandler.obtainMessage(MESSAGE_TOAST); 315 Message msg = mHandler.obtainMessage(MESSAGE_TOAST); 561 mHandler.obtainMessage(MESSAGE_READ, bytes, -1, buffer) 581 mHandler.obtainMessage(MESSAGE_WRITE, -1, -1, buffer)
|
/developers/build/prebuilts/gradle/JobScheduler/kotlinApp/app/src/main/java/com/example/android/jobscheduler/ |
IncomingMessageHandler.kt | 64 sendMessageDelayed(obtainMessage(MSG_UNCOLOR_STOP), TimeUnit.SECONDS.toMillis(1))
|
/developers/samples/android/background/JobScheduler/kotlinApp/app/src/main/java/com/example/android/jobscheduler/ |
IncomingMessageHandler.kt | 64 sendMessageDelayed(obtainMessage(MSG_UNCOLOR_STOP), TimeUnit.SECONDS.toMillis(1))
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
PhotoManager.java | 289 Message completeMessage = mHandler.obtainMessage(state, photoTask); 303 mHandler.obtainMessage(state, photoTask).sendToTarget();
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PurgeableBitmap.java | 59 sendMessageDelayed(obtainMessage(0), delayMillis);
|
/development/samples/LceDemo/src/com/example/android/lce/ |
LceDemoActivity.java | 67 Message message = handler.obtainMessage();
|