/frameworks/av/media/libmedia/ |
H A D | IOMX.cpp | 963 virtual void onMessage(const omx_message &msg) { argument 966 data.write(&msg, sizeof(msg)); 968 ALOGV("onMessage writing message %d, size %zu", msg.type, sizeof(msg)); 983 omx_message msg; local 984 data.read(&msg, sizeof(msg)); 986 ALOGV("onTransact reading message %d, size %zu", msg.type, sizeof(msg)); [all...] |
H A D | mediaplayer.cpp | 725 void MediaPlayer::notify(int msg, int ext1, int ext2, const Parcel *obj) argument 727 ALOGV("message received msg=%d, ext1=%d, ext2=%d", msg, ext1, ext2); 745 if (!(msg == MEDIA_ERROR && mCurrentState == MEDIA_PLAYER_IDLE) && mPlayer == 0) { 746 ALOGV("notify(%d, %d, %d) callback on disconnected mediaplayer", msg, ext1, ext2); 751 switch (msg) { 822 ALOGV("unrecognized message: (%d, %d, %d)", msg, ext1, ext2); 833 listener->notify(msg, ext1, ext2, obj);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoder.cpp | 78 void NuPlayer::Decoder::onMessageReceived(const sp<AMessage> &msg) { argument 79 ALOGV("[%s] onMessage: %s", mComponentName.c_str(), msg->debugString().c_str()); 81 switch (msg->what()) { 84 if (!isStaleReply(msg)) { 87 if (!msg->findInt32("input-buffers", &numInput)) { 91 if (!msg->findInt32("output-buffers", &numOutput)) { 108 if (!isStaleReply(msg)) { 109 onRenderBuffer(msg); 115 DecoderBase::onMessageReceived(msg); 318 sp<AMessage> msg local 364 sp<AMessage> msg = new AMessage(); local 376 sp<AMessage> msg = *mPendingInputMessages.begin(); local 546 isStaleReply(const sp<AMessage> &msg) argument 586 sp<AMessage> msg = mNotify->dup(); local 653 onInputBufferFetched(const sp<AMessage> &msg) argument 780 onRenderBuffer(const sp<AMessage> &msg) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MPEG2TSWriter.cpp | 62 virtual void onMessageReceived(const sp<AMessage> &msg); 367 void MPEG2TSWriter::SourceInfo::onMessageReceived(const sp<AMessage> &msg) { argument 368 switch (msg->what()) { 417 msg->post(); 604 void MPEG2TSWriter::onMessageReceived(const sp<AMessage> &msg) { argument 605 switch (msg->what()) { 609 CHECK(msg->findInt32("source-index", &sourceIndex)); 612 CHECK(msg->findInt32("what", &what)); 630 CHECK(msg->findBuffer("buffer", &buffer)); 633 if (msg [all...] |
H A D | MediaCodecList.cpp | 634 static status_t limitError(AString name, const char *msg) { argument 635 ALOGE("limit '%s' %s", name.c_str(), msg); 646 sp<AMessage> msg = new AMessage(); local 664 msg->setString(attrs[i], attrs[i + 1]); 673 if (!msg->findString("name", &name)) { 687 if (msg->findString("min", &min) && msg->findString("max", &max)) { 690 if (msg->contains("range") || msg->contains("value")) { 694 msg [all...] |
H A D | NuCachedSource2.cpp | 291 void NuCachedSource2::onMessageReceived(const sp<AMessage> &msg) { argument 292 switch (msg->what()) { 301 onRead(msg); 439 void NuCachedSource2::onRead(const sp<AMessage> &msg) { argument 443 CHECK(msg->findInt64("offset", &offset)); 446 CHECK(msg->findPointer("data", &data)); 449 CHECK(msg->findSize("size", &size)); 454 msg->post(50000); 525 sp<AMessage> msg = new AMessage(kWhatRead, mReflector->id()); local 526 msg [all...] |
H A D | Utils.cpp | 80 sp<AMessage> msg = new AMessage; local 81 msg->setString("mime", mime); 85 msg->setInt64("durationUs", durationUs); 90 msg->setInt32("bit-rate", avgBitRate); 95 msg->setInt32("is-sync-frame", 1); 103 msg->setInt32("width", width); 104 msg->setInt32("height", height); 109 msg->setInt32("sar-width", sarWidth); 110 msg->setInt32("sar-height", sarHeight); 115 msg 463 convertMessageToMetaData(const sp<AMessage> &msg, sp<MetaData> &meta) argument [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | OMX.cpp | 63 void post(const omx_message &msg); 80 void dispatch(const omx_message &msg); 111 void OMX::CallbackDispatcher::post(const omx_message &msg) { argument 114 mQueue.push_back(msg); 118 void OMX::CallbackDispatcher::dispatch(const omx_message &msg) { argument 123 mOwner->onMessage(msg); 128 omx_message msg; local 140 msg = *mQueue.begin(); 144 dispatch(msg); 444 omx_message msg; local 460 omx_message msg; local 474 omx_message msg; local [all...] |
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | OMXHarness.cpp | 67 void Harness::onMessage(const omx_message &msg) { argument 69 mMessageQueue.push_back(msg); 74 IOMX::node_id node, omx_message *msg, int64_t timeoutUs) { 76 node, NULL, NULL, msg, timeoutUs); 81 const omx_message &msg, 84 switch (msg.type) { 89 if ((*inputBuffers)[i].mID == msg.u.buffer_data.buffer) { 103 if ((*outputBuffers)[i].mID == msg.u.buffer_data.buffer) { 124 omx_message *msg, int64_t timeoutUs) { 137 *msg 73 dequeueMessageForNode( IOMX::node_id node, omx_message *msg, int64_t timeoutUs) argument 80 handleBufferMessage( const omx_message &msg, Vector<Buffer> *inputBuffers, Vector<Buffer> *outputBuffers) argument 120 dequeueMessageForNodeIgnoringBuffers( IOMX::node_id node, Vector<Buffer> *inputBuffers, Vector<Buffer> *outputBuffers, omx_message *msg, int64_t timeoutUs) argument 303 omx_message msg; local [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 71 sp<AMessage> msg = new AMessage(kWhatConnect, id()); local 72 msg->setString("url", url); 73 msg->setMessage("reply", reply); 74 msg->post(); 78 sp<AMessage> msg = new AMessage(kWhatDisconnect, id()); local 79 msg->setMessage("reply", reply); 80 msg->post(); 85 sp<AMessage> msg = new AMessage(kWhatSendRequest, id()); local 86 msg->setString("request", request); 87 msg 92 sp<AMessage> msg = new AMessage(kWhatObserveBinaryData, id()); local 97 onMessageReceived(const sp<AMessage> &msg) argument 212 onConnect(const sp<AMessage> &msg) argument 289 sp<AMessage> msg = new AMessage(kWhatCompleteConnection, id()); local 334 onDisconnect(const sp<AMessage> &msg) argument 347 onCompleteConnection(const sp<AMessage> &msg) argument 408 onSendRequest(const sp<AMessage> &msg) argument 526 sp<AMessage> msg = new AMessage(kWhatReceiveResponse, id()); local 749 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/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 294 String8 msg; local 298 msg += String8::format("error reading pixel: %#x", err); 300 msg += String8::format(", %#x", err); 302 fprintf(stderr, "pixel check failure: %s\n", msg.string()); 304 ::testing::Message(msg.string())); 307 msg += String8::format("r(%d isn't %d)", pixel[0], r); 310 if (!msg.isEmpty()) { 311 msg += " "; 313 msg += String8::format("g(%d isn't %d)", pixel[1], g); 316 if (!msg [all...] |
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
H A D | RTPSender.cpp | 507 void RTPSender::onMessageReceived(const sp<AMessage> &msg) { argument 508 switch (msg->what()) { 511 onNetNotify(msg->what() == kWhatRTPNotify, msg); 519 void RTPSender::onNetNotify(bool isRTP, const sp<AMessage> &msg) { argument 521 CHECK(msg->findInt32("reason", &reason)); 527 CHECK(msg->findInt32("sessionID", &sessionID)); 530 CHECK(msg->findInt32("err", &err)); 533 CHECK(msg->findInt32("send", &errorOccuredDuringSend)); 536 CHECK(msg [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkMediaCodec.cpp | 63 virtual void onMessageReceived(const sp<AMessage> &msg); 83 void CodecHandler::onMessageReceived(const sp<AMessage> &msg) { argument 85 switch (msg->what()) { 101 msg->findInt32("generation", &generation); 120 msg->senderAwaitsResponse(&replyID); 232 sp<AMessage> msg = new AMessage(kWhatStopActivityNotifications, mData->mHandler->id()); local 234 msg->postAndAwaitResponse(&response);
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
H A D | Pm.java | 756 public void onPackageInstalled(String name, int status, String msg, Bundle extras) { argument
|
/frameworks/base/core/java/android/app/ |
H A D | AlertDialog.java | 238 * @param msg The {@link Message} to be sent when clicked. 240 public void setButton(int whichButton, CharSequence text, Message msg) { argument 241 mAlert.setButton(whichButton, text, null, msg); 263 public void setButton(CharSequence text, Message msg) { argument 264 setButton(BUTTON_POSITIVE, text, msg); 272 public void setButton2(CharSequence text, Message msg) { argument 273 setButton(BUTTON_NEGATIVE, text, msg); 281 public void setButton3(CharSequence text, Message msg) { argument 282 setButton(BUTTON_NEUTRAL, text, msg);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | SurfaceTextureRenderer.java | 527 private void checkEglError(String msg) { argument 530 throw new IllegalStateException(msg + ": EGL error: 0x" + Integer.toHexString(error)); 534 private void checkGlError(String msg) { argument 537 throw new IllegalStateException(msg + ": GLES20 error: 0x" + Integer.toHexString(error));
|
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManager.java | 828 public void handleMessage(Message msg) { argument 829 switch (msg.what) { 831 mListener.onInputDeviceAdded(msg.arg1); 834 mListener.onInputDeviceRemoved(msg.arg1); 837 mListener.onInputDeviceChanged(msg.arg1);
|
/frameworks/base/core/java/android/net/ |
H A D | MobileDataStateTracker.java | 141 public void handleMessage(Message msg) { argument 142 switch (msg.what) { 144 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 148 mMdst.mDataConnectionTrackerAc = (AsyncChannel) msg.obj; 151 mMdst.log("MdstHandler %s NOT connected error=" + msg.arg1); 160 if (VDBG) mMdst.log("Ignorning unknown message=" + msg); 255 Message msg = mTarget.obtainMessage(EVENT_NETWORK_SUBTYPE_CHANGED, 257 msg.sendToTarget(); 340 Message msg = mTarget.obtainMessage(EVENT_CONFIGURATION_CHANGED, 342 msg [all...] |
/frameworks/base/core/java/android/os/ |
H A D | ParcelFileDescriptor.java | 619 * @param msg describing the error; must not be null. 621 public void closeWithError(String msg) throws IOException { argument 624 mWrapped.closeWithError(msg); 629 if (msg == null) { 632 closeWithStatus(Status.ERROR, msg); 636 private void closeWithStatus(int status, String msg) { argument 641 writeCommStatusAndClose(status, msg); 661 private void writeCommStatusAndClose(int status, String msg) { argument 664 if (msg != null) { 665 Log.w(TAG, "Unable to inform peer: " + msg); 976 public final String msg; field in class:ParcelFileDescriptor.Status 982 Status(int status, String msg) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | SeekBarVolumizer.java | 135 public boolean handleMessage(Message msg) { argument 136 switch (msg.what) { 151 Log.e(TAG, "invalid SeekBarVolumizer message: "+msg.what); 307 public void handleMessage(Message msg) { argument 308 if (msg.what == UPDATE_SLIDER) { 310 mLastProgress = msg.arg1; 311 final boolean muted = msg.arg2 != 0;
|
/frameworks/base/core/java/android/service/voice/ |
H A D | AlwaysOnHotwordDetector.java | 652 public void handleMessage(Message msg) { argument 655 Slog.w(TAG, "Received message: " + msg.what + " for an invalid detector"); 660 switch (msg.what) { 662 mExternalCallback.onAvailabilityChanged(msg.arg1); 665 mExternalCallback.onDetected((EventPayload) msg.obj); 677 super.handleMessage(msg);
|
/frameworks/base/core/java/android/view/ |
H A D | Choreographer.java | 336 Message msg = mHandler.obtainMessage(MSG_DO_SCHEDULE_CALLBACK, action); 337 msg.arg1 = callbackType; 338 msg.setAsynchronous(true); 339 mHandler.sendMessageAtTime(msg, dueTime); 492 Message msg = mHandler.obtainMessage(MSG_DO_SCHEDULE_VSYNC); 493 msg.setAsynchronous(true); 494 mHandler.sendMessageAtFrontOfQueue(msg); 502 Message msg = mHandler.obtainMessage(MSG_DO_FRAME); 503 msg.setAsynchronous(true); 504 mHandler.sendMessageAtTime(msg, nextFrameTim 679 handleMessage(Message msg) argument [all...] |
H A D | KeyCharacterMap.java | 731 public UnavailableException(String msg) { argument 732 super(msg);
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputConnectionWrapper.java | 77 public void handleMessage(Message msg) { argument 78 executeMessage(msg); 185 void dispatchMessage(Message msg) { argument 190 executeMessage(msg); 191 msg.recycle(); 195 mH.sendMessage(msg); 198 void executeMessage(Message msg) { argument 199 switch (msg.what) { 201 SomeArgs args = (SomeArgs)msg.obj; 210 msg [all...] |