Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DMessageQueueTest.java170 Message newMsg = mHandler.obtainMessage(); in testFieldIntegrity()
171 newMsg.copyFrom(msg); in testFieldIntegrity()
172 if (newMsg.isInUse() != false) { in testFieldIntegrity()
176 if (newMsg.flags != 0) { in testFieldIntegrity()
178 "newMsg.flags is %d should be 0 after copyFrom", newMsg.flags))); in testFieldIntegrity()
180 if (newMsg.what != 1) { in testFieldIntegrity()
182 "newMsg.what is %d should be %d after copyFrom", newMsg.what, 1))); in testFieldIntegrity()
184 if (newMsg.arg1 != 456) { in testFieldIntegrity()
188 if (newMsg.arg2 != 789) { in testFieldIntegrity()
192 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.java1250 Message newMsg = obtainMessage(); in deferMessage() local
1251 newMsg.copyFrom(msg); in deferMessage()
1253 mDeferredMessages.add(newMsg); in deferMessage()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java553 CharSequence newMsg = null; in calcTextEncodingDetails() local
556 newMsg = Sms7BitEncodingTranslator.translate(msg, true /* isCdmaFormat */); in calcTextEncodingDetails()
558 if (TextUtils.isEmpty(newMsg)) { in calcTextEncodingDetails()
559 newMsg = msg; in calcTextEncodingDetails()
563 int septets = countAsciiSeptets(newMsg, force7BitEncoding); in calcTextEncodingDetails()