/cts/tests/tests/os/src/android/os/cts/ |
D | MessageTest.java | 22 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 …]
|
D | HandlerTest.java | 23 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 …]
|
D | MessengerTest.java | 29 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()
|
D | TestedScreen.java | 24 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()
|
D | MessengerService.java | 24 import android.os.Message; 31 public void handleMessage(Message msg) { 32 Message reply = Message.obtain();
|
D | LooperTest.java | 21 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/ |
D | ConversationActionsTest.java | 74 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/ |
D | TestedScreen.java | 24 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()
|
D | DialogStubActivity.java | 32 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/ |
D | TestProcessService.java | 25 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()
|
D | TestProcessClient.java | 27 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/ |
D | ServiceCreator.java | 26 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()
|
D | BaseService.java | 24 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/ |
D | NativeAudioThread.java | 30 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()
|
D | AudioTestRunner.java | 20 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/ |
D | ErrorLoggingService.java | 31 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/ |
D | ServiceRunnerActivity.java | 27 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/ |
D | ConnectionAccessClientActivity.java | 27 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()
|
D | MessageTestActivity.java | 33 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/ |
D | IsolatedService.java | 22 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/ |
D | LauncherCallbackTestsService.java | 27 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/ |
D | RenderTarget.java | 50 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/ |
D | CrossProfileWidgetPrimaryUserTest.java | 28 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/ |
D | AlertWindowService.java | 32 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/ |
D | ExternalServiceTest.java | 27 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()
|