/frameworks/opt/calendar/src/com/android/calendarcommon/ |
H A D | ICalendar.java | 46 public FormatException(String msg) { argument 47 super(msg); 50 public FormatException(String msg, Throwable cause) { argument 51 super(msg, cause);
|
/frameworks/base/cmds/stagefright/ |
H A D | sf2.cpp | 62 virtual void onMessageReceived(const sp<AMessage> &msg) { argument 63 switch (msg->what()) { 165 CHECK(msg->findInt32("what", &what)); 168 onFillThisBuffer(msg); 175 onDrainThisBuffer(msg); 263 sp<AMessage> msg = new AMessage; local 264 msg->setString("mime", mime); 271 msg->setInt32("width", width); 272 msg->setInt32("height", height); 280 msg 404 onFillThisBuffer(const sp<AMessage> &msg) argument 518 onDrainThisBuffer(const sp<AMessage> &msg) argument [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | ValueAnimator.java | 590 public void handleMessage(Message msg) { argument 594 switch (msg.what) {
|
/frameworks/base/core/java/android/app/ |
H A D | AlertDialog.java | 218 * @param msg The {@link Message} to be sent when clicked. 220 public void setButton(int whichButton, CharSequence text, Message msg) { argument 221 mAlert.setButton(whichButton, text, null, msg); 243 public void setButton(CharSequence text, Message msg) { argument 244 setButton(BUTTON_POSITIVE, text, msg); 252 public void setButton2(CharSequence text, Message msg) { argument 253 setButton(BUTTON_NEGATIVE, text, msg); 261 public void setButton3(CharSequence text, Message msg) { argument 262 setButton(BUTTON_NEUTRAL, text, msg);
|
/frameworks/base/core/java/android/server/ |
H A D | BluetoothEventLoop.java | 75 public void handleMessage(Message msg) { 77 switch (msg.what) { 79 address = (String)msg.obj; 1050 private static void log(String msg) { argument 1051 Log.d(TAG, msg);
|
/frameworks/base/core/java/android/view/ |
H A D | VolumePanel.java | 615 public void handleMessage(Message msg) { argument 616 switch (msg.what) { 619 onVolumeChanged(msg.arg1, msg.arg2); 634 onPlaySound(msg.arg1, msg.arg2);
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputConnectionWrapper.java | 76 public void handleMessage(Message msg) { argument 77 executeMessage(msg); 178 void dispatchMessage(Message msg) { argument 183 executeMessage(msg); 184 msg.recycle(); 188 mH.sendMessage(msg); 191 void executeMessage(Message msg) { argument 192 switch (msg.what) { 194 SomeArgs args = (SomeArgs)msg.obj; 203 msg [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RotarySelector.java | 763 private void log(String msg) { argument 764 Log.d(LOG_TAG, msg);
|
/frameworks/base/core/jni/ |
H A D | android_text_format_Time.cpp | 75 char msg[100]; local 76 sprintf(msg, "allDay is true but sec, min, hour are not 0."); 77 jniThrowException(env, "java/lang/IllegalArgumentException", msg); 371 char msg[100]; local 372 sprintf(msg, "Parse error at pos=%d", spos); 373 jniThrowException(env, "android/util/TimeFormatException", msg); 384 char msg[100]; local 385 sprintf(msg, "Unexpected character 0x%02x at pos=%d. Expected %c.", c, spos, 387 jniThrowException(env, "android/util/TimeFormatException", msg); 404 char msg[10 local 578 char msg[100]; local 588 char msg[100]; local [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | ConnectivityManagerTestActivity.java | 191 public void handleMessage(Message msg) { argument 192 switch (msg.what) { 194 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 195 //AsyncChannel in msg.obj
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmManagerClient.java | 121 public void handleMessage(Message msg) { argument 126 switch(msg.what) { 128 final DrmInfo drmInfo = (DrmInfo) msg.obj; 154 Log.e(TAG, "Unknown message type " + msg.what); 187 public void handleMessage(Message msg) { argument 191 switch (msg.what) { 193 int uniqueId = msg.arg1; 194 int infoType = msg.arg2; 195 String message = msg.obj.toString(); 228 Log.e(TAG, "Unknown message type " + msg [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 731 public void handleMessage(Message msg) { argument 737 switch(msg.what) { 750 "Unknown event type: " + msg.what); 816 private static void logd(String msg) { argument 817 Log.d(TAG, "[ android.media.AudioRecord ] " + msg); 820 private static void loge(String msg) { argument 821 Log.e(TAG, "[ android.media.AudioRecord ] " + msg);
|
H A D | JetPlayer.java | 406 public void handleMessage(Message msg) { argument 411 switch(msg.what) { 415 // encoded in msg.arg1 418 (short)((msg.arg1 & JET_EVENT_SEG_MASK) >> JET_EVENT_SEG_SHIFT), 419 (byte) ((msg.arg1 & JET_EVENT_TRACK_MASK) >> JET_EVENT_TRACK_SHIFT), 422 (byte)(((msg.arg1 & JET_EVENT_CHAN_MASK) >> JET_EVENT_CHAN_SHIFT) + 1), 423 (byte) ((msg.arg1 & JET_EVENT_CTRL_MASK) >> JET_EVENT_CTRL_SHIFT), 424 (byte) (msg.arg1 & JET_EVENT_VAL_MASK) ); 429 listener.onJetUserIdUpdate(mJet, msg.arg1, msg 580 logd(String msg) argument 584 loge(String msg) argument [all...] |
H A D | RemoteControlClient.java | 693 public void handleMessage(Message msg) { argument 694 switch(msg.what) { 716 onNewInternalClientGen((Integer)msg.obj, msg.arg1, msg.arg2); 719 onNewCurrentClientGen(msg.arg1); 722 onPlugDisplay((IRemoteControlDisplay)msg.obj); 725 onUnplugDisplay((IRemoteControlDisplay)msg.obj); 728 Log.e(TAG, "Unknown event " + msg.what + " in RemoteControlClient handler");
|
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.h | 38 SoundPoolEvent(int msg, int arg1=0, int arg2=0) : argument 39 mMsg(msg), mArg1(arg1), mArg2(arg2) {}
|
/frameworks/base/media/libmedia/ |
H A D | mediaplayer.cpp | 602 void MediaPlayer::notify(int msg, int ext1, int ext2, const Parcel *obj) argument 604 LOGV("message received msg=%d, ext1=%d, ext2=%d", msg, ext1, ext2); 622 if (!(msg == MEDIA_ERROR && mCurrentState == MEDIA_PLAYER_IDLE) && mPlayer == 0) { 623 LOGV("notify(%d, %d, %d) callback on disconnected mediaplayer", msg, ext1, ext2); 628 switch (msg) { 696 LOGV("unrecognized message: (%d, %d, %d)", msg, ext1, ext2); 707 listener->notify(msg, ext1, ext2, obj);
|
/frameworks/base/media/libstagefright/ |
H A D | MPEG2TSWriter.cpp | 61 virtual void onMessageReceived(const sp<AMessage> &msg); 366 void MPEG2TSWriter::SourceInfo::onMessageReceived(const sp<AMessage> &msg) { argument 367 switch (msg->what()) { 416 msg->post(); 592 void MPEG2TSWriter::onMessageReceived(const sp<AMessage> &msg) { argument 593 switch (msg->what()) { 597 CHECK(msg->findInt32("source-index", &sourceIndex)); 600 CHECK(msg->findInt32("what", &what)); 618 CHECK(msg->findObject("buffer", &obj)); 623 if (msg [all...] |
H A D | NuCachedSource2.cpp | 260 void NuCachedSource2::onMessageReceived(const sp<AMessage> &msg) { argument 261 switch (msg->what()) { 270 onRead(msg); 395 void NuCachedSource2::onRead(const sp<AMessage> &msg) { argument 399 CHECK(msg->findInt64("offset", &offset)); 402 CHECK(msg->findPointer("data", &data)); 405 CHECK(msg->findSize("size", &size)); 410 msg->post(50000); 474 sp<AMessage> msg = new AMessage(kWhatRead, mReflector->id()); local 475 msg [all...] |
/frameworks/base/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 77 sp<AMessage> msg = new AMessage(kWhatConnect, id()); local 78 msg->setString("url", url); 81 msg->setPointer( 86 msg->post(); 102 sp<AMessage> msg = new AMessage(kWhatSeek, id()); local 103 msg->setInt64("timeUs", timeUs); 104 msg->post(); 111 void LiveSession::onMessageReceived(const sp<AMessage> &msg) { argument 112 switch (msg->what()) { 114 onConnect(msg); 156 onConnect(const sp<AMessage> &msg) argument 886 sp<AMessage> msg = new AMessage(kWhatMonitorQueue, id()); local 891 onSeek(const sp<AMessage> &msg) argument [all...] |
/frameworks/base/media/libstagefright/omx/ |
H A D | OMX.cpp | 61 void post(const omx_message &msg); 78 void dispatch(const omx_message &msg); 109 void OMX::CallbackDispatcher::post(const omx_message &msg) { argument 112 mQueue.push_back(msg); 116 void OMX::CallbackDispatcher::dispatch(const omx_message &msg) { argument 121 mOwner->onMessage(msg); 126 omx_message msg; local 138 msg = *mQueue.begin(); 142 dispatch(msg); 389 omx_message msg; local 405 omx_message msg; local 419 omx_message msg; local [all...] |
H A D | OMXNodeInstance.cpp | 659 void OMXNodeInstance::onMessage(const omx_message &msg) { argument 660 if (msg.type == omx_message::FILL_BUFFER_DONE) { 663 msg.u.extended_buffer_data.buffer); 671 mObserver->onMessage(msg);
|
/frameworks/base/media/libstagefright/omx/tests/ |
H A D | OMXHarness.cpp | 71 void Harness::onMessage(const omx_message &msg) { argument 73 mMessageQueue.push_back(msg); 78 IOMX::node_id node, omx_message *msg, int64_t timeoutUs) { 80 node, NULL, NULL, msg, timeoutUs); 85 const omx_message &msg, 88 switch (msg.type) { 93 if ((*inputBuffers)[i].mID == msg.u.buffer_data.buffer) { 107 if ((*outputBuffers)[i].mID == msg.u.buffer_data.buffer) { 128 omx_message *msg, int64_t timeoutUs) { 141 *msg 77 dequeueMessageForNode( IOMX::node_id node, omx_message *msg, int64_t timeoutUs) argument 84 handleBufferMessage( const omx_message &msg, Vector<Buffer> *inputBuffers, Vector<Buffer> *outputBuffers) argument 124 dequeueMessageForNodeIgnoringBuffers( IOMX::node_id node, Vector<Buffer> *inputBuffers, Vector<Buffer> *outputBuffers, omx_message *msg, int64_t timeoutUs) argument 306 omx_message msg; local [all...] |
/frameworks/base/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 68 sp<AMessage> msg = new AMessage(kWhatConnect, id()); local 69 msg->setString("url", url); 70 msg->setMessage("reply", reply); 71 msg->post(); 75 sp<AMessage> msg = new AMessage(kWhatDisconnect, id()); local 76 msg->setMessage("reply", reply); 77 msg->post(); 82 sp<AMessage> msg = new AMessage(kWhatSendRequest, id()); local 83 msg->setString("request", request); 84 msg 89 sp<AMessage> msg = new AMessage(kWhatObserveBinaryData, id()); local 94 onMessageReceived(const sp<AMessage> &msg) argument 209 onConnect(const sp<AMessage> &msg) argument 284 sp<AMessage> msg = new AMessage(kWhatCompleteConnection, id()); local 327 onDisconnect(const sp<AMessage> &msg) argument 340 onCompleteConnection(const sp<AMessage> &msg) argument 400 onSendRequest(const sp<AMessage> &msg) argument 519 sp<AMessage> msg = new AMessage(kWhatReceiveResponse, id()); local 739 sp<AMessage> msg = new AMessage(kWhatSendRequest, id()); local [all...] |
H A D | MyTransmitter.h | 342 virtual void onMessageReceived(const sp<AMessage> &msg) { argument 343 switch (msg->what()) { 347 CHECK(msg->findInt32("result", &result)); 359 CHECK(msg->findInt32("server-ip", (int32_t *)&mServerIP)); 368 CHECK(msg->findInt32("result", &result)); 374 CHECK(msg->findObject("response", &obj)); 448 msg->post(50000); 456 CHECK(msg->findInt32("result", &result)); 462 CHECK(msg->findObject("response", &obj)); 546 CHECK(msg [all...] |
/frameworks/base/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 293 String8 msg; local 297 msg += String8::format("error reading pixel: %#x", err); 299 msg += String8::format(", %#x", err); 301 fprintf(stderr, "pixel check failure: %s\n", msg.string()); 303 ::testing::Message(msg.string())); 306 msg += String8::format("r(%d isn't %d)", pixel[0], r); 309 if (!msg.isEmpty()) { 310 msg += " "; 312 msg += String8::format("g(%d isn't %d)", pixel[1], g); 315 if (!msg [all...] |