Home
last modified time | relevance | path

Searched refs:newMsg (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DMessageQueueTest.java172 Message newMsg = mHandler.obtainMessage(); in testFieldIntegrity()
173 newMsg.copyFrom(msg); in testFieldIntegrity()
174 if (newMsg.isInUse() != false) { in testFieldIntegrity()
178 if (newMsg.flags != 0) { in testFieldIntegrity()
180 "newMsg.flags is %d should be 0 after copyFrom", newMsg.flags))); in testFieldIntegrity()
182 if (newMsg.what != 1) { in testFieldIntegrity()
184 "newMsg.what is %d should be %d after copyFrom", newMsg.what, 1))); in testFieldIntegrity()
186 if (newMsg.arg1 != 456) { in testFieldIntegrity()
190 if (newMsg.arg2 != 789) { in testFieldIntegrity()
194 if (newMsg.obj != this) { in testFieldIntegrity()
[all …]
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DTestService.java177 Message newMsg = Message.obtain(null, MSG_REALLY_START);
178 newMsg.obj = msg.obj;
179 newMsg.replyTo = msg.replyTo;
180 sendMessageDelayed(newMsg, 500);
204 Message newMsg = Message.obtain(null, MSG_REALLY_TERMINATE);
205 newMsg.obj = msg.obj;
206 newMsg.replyTo = msg.replyTo;
207 sendMessageDelayed(newMsg, 50);
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java1208 Message newMsg = obtainMessage(); in deferMessage() local
1209 newMsg.copyFrom(msg); in deferMessage()
1211 mDeferredMessages.add(newMsg); in deferMessage()