Home
last modified time | relevance | path

Searched refs:Message (Results 1 – 25 of 97) sorted by relevance

1234

/cts/tests/tests/os/src/android/os/cts/
DMessageTest.java22 import android.os.Message;
34 private Message mMessage;
38 public void handleMessage(Message msg) {
53 mMessage = new Message(); in setUp()
57 new Message(); in testConstructor()
66 Message expected = Message.obtain(mHandler, mRunnable); in testAccessMessageProperties()
81 Message message = Message.obtain(); in testObtain()
94 Message message = Message.obtain(mHandler, WHAT, ARG1, ARG2, OBJ); in testObtain2()
95 Message expected = Message.obtain(message); in testObtain2()
105 Message expected = Message.obtain(mHandler); in testObtain3()
[all …]
DHandlerTest.java23 import android.os.Message;
54 public boolean handleMessage(Message msg) { in testConstructor()
92 Message msg = mHandler1.obtainMessage(); in testSendMessageAtTime()
107 Message msg = mHandler.obtainMessage(); in testHasMessagesWithInt()
116 Message msg = mHandler.obtainMessage(); in testHasMessagesWithObject()
126 Message msg = mHandler1.obtainMessage(); in testRemoveCallbacksAndMessages()
231 Message msg = mHandler1.obtainMessage(); in testRemoveMessages()
253 Message msg = mHandler1.obtainMessage(); in testRemoveMessagesWithObject()
268 Message wrongMessage = mHandler1.obtainMessage(); in testRemoveMessagesWithObject()
279 Message msg = mHandler1.obtainMessage(); in testSendMessage()
[all …]
DMessengerTest.java29 import android.os.Message;
38 private Message mMessage;
46 public boolean sendMessageAtTime(Message msg, long uptimeMillis) {
99 Message message = Message.obtain(mHandler, WHAT, MSG_ARG1, MSG_ARG2); in testSend()
167 public void handleMessage(Message msg) { in init()
184 Message msg = Message.obtain(); in executeTest()
196 public void handleMessage(Message msg) { in handleMessage()
DTestedScreen.java24 import android.os.Message;
93 public void handleMessage(Message msg) {
107 final Message m = Message.obtain(); in queueIdle()
110 final Message m = Message.obtain(); in queueIdle()
DMessengerService.java24 import android.os.Message;
31 public void handleMessage(Message msg) {
32 Message reply = Message.obtain();
DLooperTest.java21 import android.os.Message;
59 Message msg = Message.obtain(handler, run); in testLoop()
205 Message msg = Message.obtain(handler, run); in testSetMessageLogging()
/cts/tests/tests/view/src/android/view/textclassifier/cts/
DConversationActionsTest.java74 ConversationActions.Message message = in testMessage_full()
75 new ConversationActions.Message.Builder(PERSON) in testMessage_full()
81 ConversationActions.Message recovered = parcelizeDeparcelize(message, in testMessage_full()
82 ConversationActions.Message.CREATOR); in testMessage_full()
90 ConversationActions.Message message = in testMessage_minimal()
91 new ConversationActions.Message.Builder(PERSON).build(); in testMessage_minimal()
93 ConversationActions.Message recovered = parcelizeDeparcelize(message, in testMessage_minimal()
94 ConversationActions.Message.CREATOR); in testMessage_minimal()
149 ConversationActions.Message message = in testRequest_minimal()
150 new ConversationActions.Message.Builder(PERSON) in testRequest_minimal()
[all …]
/cts/tests/app/app/src/android/app/stubs/
DTestedScreen.java24 import android.os.Message;
93 public void handleMessage(Message msg) {
107 final Message m = Message.obtain(); in queueIdle()
110 final Message m = Message.obtain(); in queueIdle()
DDialogStubActivity.java32 import android.os.Message;
173 public void handleMessage(Message msg) { in onCreateDialog()
178 final Message positiveMessage = Message.obtain(); in onCreateDialog()
182 final Message negativeMessage = Message.obtain(); in onCreateDialog()
186 final Message neutralMessage = Message.obtain(); in onCreateDialog()
/cts/tests/tests/webkit/src/android/webkit/cts/
DTestProcessService.java25 import android.os.Message;
52 public void handleMessage(Message msg) { in handleMessage()
69 Message m = Message.obtain(null, REPLY_EXCEPTION); in handleMessage()
79 msg.replyTo.send(Message.obtain(null, REPLY_OK)); in handleMessage()
DTestProcessClient.java27 import android.os.Message;
102 Message m = Message.obtain(null, TestProcessService.MSG_RUN_TEST); in run()
131 mService.send(Message.obtain(null, TestProcessService.MSG_EXIT_PROCESS)); in close()
164 public void handleMessage(Message msg) { in handleMessage()
/cts/tests/tests/externalservice/service/src/android/externalservice/service/
DServiceCreator.java26 import android.os.Message;
43 public void handleMessage(Message msg) {
65 Message reply = Message.obtain();
105 Message msg = in onServiceConnected()
106 Message.obtain(null, ServiceMessages.MSG_CREATE_EXTERNAL_SERVICE_RESPONSE); in onServiceConnected()
DBaseService.java24 import android.os.Message;
53 public void handleMessage(Message msg) { in handleMessage()
57 Message reply = Message.obtain(null, ServiceMessages.MSG_IDENTIFY_RESPONSE); in handleMessage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DNativeAudioThread.java30 import android.os.Message;
122 Message msg = Message.obtain(); in run()
138 Message msg = Message.obtain(); in run()
248 Message msg = Message.obtain(); in endTest()
DAudioTestRunner.java20 import android.os.Message;
58 Message msg = Message.obtain(); in sendMessage()
66 public void handleMessage(Message msg) { in handleMessage()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DErrorLoggingService.java31 import android.os.Message;
126 Message m = Message.obtain(null, MSG_LOG_REPORT); in sendMessages()
151 public void handleMessage(Message msg) { in handleMessage()
380 public void handleMessage(Message msg) { in handleMessage()
500 Message m = Message.obtain(null, MSG_LOG_EVENT); in log()
587 Message m = (hasEvent) ? in retrieveLog()
588 Message.obtain(null, MSG_GET_LOG, DO_EVENT_FILTER, event, null) : in retrieveLog()
589 Message.obtain(null, MSG_GET_LOG); in retrieveLog()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DServiceRunnerActivity.java27 import android.os.Message;
53 public void handleMessage(Message msg) { in handleMessage()
86 Message msg = Message.obtain(null, PermissionTestService.MSG_START_TEST);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DConnectionAccessClientActivity.java27 import android.os.Message;
120 public void handleMessage(Message msg) { in handleMessage()
138 private void handleStateChange(Message msg) { in handleStateChange()
157 private void handleDeviceName(Message msg) { in handleDeviceName()
161 private void handleToast(Message msg) { in handleToast()
DMessageTestActivity.java33 import android.os.Message;
196 public void handleMessage(Message msg) { in handleMessage()
218 private void handleStateChange(Message msg) { in handleStateChange()
285 private void handleMessageRead(Message msg) { in handleMessageRead()
311 private void handleMessageWrite(Message msg) { in handleMessageWrite()
316 private void handleDeviceName(Message msg) { in handleDeviceName()
320 private void handleToast(Message msg) { in handleToast()
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/
DIsolatedService.java22 import android.os.Message;
42 public void handleMessage(Message msg) { in handleMessage()
47 msg.replyTo.send(Message.obtain(null, MSG_SECCOMP_RESULT, result, 0)); in handleMessage()
/cts/hostsidetests/devicepolicy/app/LauncherTestsSupport/src/com/android/cts/launchertests/support/
DLauncherCallbackTestsService.java27 import android.os.Message;
81 public void handleMessage(Message msg) { in handleMessage()
92 msg.replyTo.send(Message.obtain(null, MSG_RESULT, in handleMessage()
100 msg.replyTo.send(Message.obtain(null, MSG_RESULT, in handleMessage()
108 msg.replyTo.send(Message.obtain(null, MSG_RESULT, in handleMessage()
116 msg.replyTo.send(Message.obtain(null, MSG_RESULT, in handleMessage()
/cts/tests/tests/graphics/src/android/graphics/cts/
DRenderTarget.java50 import android.os.Message;
69 Message.obtain(sHandler, CREATE_SINK, future).sendToTarget(); in create()
97 Message.obtain(sHandler, DESTROY_SINK, this).sendToTarget(); in destroy()
103 public boolean handleMessage(Message msg) { in handleMessage()
187 Message.obtain(sHandler, UPDATE_TEX_IMAGE, surfaceTexture).sendToTarget(); in onFrameAvailable()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileWidgetPrimaryUserTest.java28 import android.os.Message;
103 Message message = Message.obtain(null, msg, params); in sendMessageToCallbacksService()
121 public void handleMessage(Message msg) { in handleMessage()
/cts/tests/framework/base/windowmanager/alertwindowservice/src/android/server/wm/alertwindowservice/
DAlertWindowService.java32 import android.os.Message;
64 public void handleMessage(Message msg) { in handleMessage()
102 mOutgoingMessenger.send(Message.obtain(null, MSG_ON_ALERT_WINDOW_ADDED)); in addAlertWindow()
119 mOutgoingMessenger.send(Message.obtain(null, MSG_ON_ALERT_WINDOW_REMOVED)); in removeAlertWindow()
/cts/tests/tests/externalservice/src/android/externalservice/cts/
DExternalServiceTest.java27 import android.os.Message;
172 final Message creatorMsg = in testBindExternalServiceWithRunningOwn()
173 Message.obtain(null, ServiceMessages.MSG_CREATE_EXTERNAL_SERVICE); in testBindExternalServiceWithRunningOwn()
176 public void handleMessage(Message msg) { in testBindExternalServiceWithRunningOwn()
335 final Message creatorMsg = Message.obtain(null, ServiceMessages.MSG_CREATE_EXTERNAL_SERVICE, in testBindExternalServiceWithZygoteWithRunningOwn()
339 public void handleMessage(Message msg) { in testBindExternalServiceWithZygoteWithRunningOwn()
419 public void handleMessage(Message msg) { in identifyService()
435 Message msg = Message.obtain(null, ServiceMessages.MSG_IDENTIFY); in identifyService()

1234