Searched defs:msg (Results 151 - 175 of 346) sorted by relevance

1234567891011>>

/frameworks/av/media/libmedia/
H A DIOMX.cpp756 virtual void onMessage(const omx_message &msg) { argument
759 data.write(&msg, sizeof(msg));
774 omx_message msg; local
775 data.read(&msg, sizeof(msg));
778 onMessage(msg);
/frameworks/av/media/libstagefright/
H A DFragmentedMP4Extractor.cpp158 sp<AMessage> msg = mParser->getFormat(index == mAudioTrackIndex, true /* synchronous */); local
160 if (msg == NULL) {
166 convertMessageToMetaData(msg, meta);
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4AudioAssembler.cpp553 sp<AMessage> msg = mNotifyMsg->dup(); local
554 msg->setBuffer("access-unit", accessUnit);
555 msg->post();
566 sp<AMessage> msg = mNotifyMsg->dup(); local
567 msg->setInt32("eos", true);
568 msg->post();
H A DARTPConnection.cpp85 sp<AMessage> msg = new AMessage(kWhatAddStream, id()); local
86 msg->setInt32("rtp-socket", rtpSocket);
87 msg->setInt32("rtcp-socket", rtcpSocket);
88 msg->setObject("session-desc", sessionDesc);
89 msg->setSize("index", index);
90 msg->setMessage("notify", notify);
91 msg->setInt32("injected", injected);
92 msg->post();
96 sp<AMessage> msg = new AMessage(kWhatRemoveStream, id()); local
97 msg
147 onMessageReceived(const sp<AMessage> &msg) argument
181 onAddStream(const sp<AMessage> &msg) argument
212 onRemoveStream(const sp<AMessage> &msg) argument
235 sp<AMessage> msg = new AMessage(kWhatPollStreams, id()); local
641 sp<AMessage> msg = new AMessage(kWhatInjectPacket, id()); local
647 onInjectPacket(const sp<AMessage> &msg) argument
[all...]
H A DARTPWriter.cpp190 void ARTPWriter::onMessageReceived(const sp<AMessage> &msg) { argument
191 switch (msg->what()) {
244 onRead(msg);
257 onSendSR(msg);
267 void ARTPWriter::onRead(const sp<AMessage> &msg) { argument
295 msg->post();
298 void ARTPWriter::onSendSR(const sp<AMessage> &msg) { argument
308 msg->post(3000000);
/frameworks/av/media/libstagefright/wifi-display/sink/
H A DWifiDisplaySink.cpp46 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
47 msg->setString("sourceHost", sourceHost);
48 msg->setInt32("sourcePort", sourcePort);
49 msg->post();
53 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
54 msg->setString("setupURI", uri);
55 msg->post();
122 void WifiDisplaySink::onMessageReceived(const sp<AMessage> &msg) { argument
123 switch (msg->what()) {
128 if (msg
266 onReceiveM2Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument
280 onReceiveDescribeResponse( int32_t sessionID, const sp<ParsedMessage> &msg) argument
294 onReceiveSetupResponse( int32_t sessionID, const sp<ParsedMessage> &msg) argument
337 configureTransport(const sp<ParsedMessage> &msg) argument
379 onReceivePlayResponse( int32_t sessionID, const sp<ParsedMessage> &msg) argument
395 onReceiveClientData(const sp<AMessage> &msg) argument
[all...]
/frameworks/base/cmds/servicemanager/
H A Dbinder.c228 struct binder_io msg; local
233 bio_init_from_txn(&msg, txn);
234 res = func(bs, txn, &msg, &reply);
304 struct binder_io *msg, struct binder_io *reply,
315 if (msg->flags & BIO_F_OVERFLOW) {
324 writebuf.txn.data_size = msg->data - msg->data0;
325 writebuf.txn.offs_size = ((char*) msg->offs) - ((char*) msg->offs0);
326 writebuf.txn.data = msg
303 binder_call(struct binder_state *bs, struct binder_io *msg, struct binder_io *reply, void *target, uint32_t code) argument
436 binder_done(struct binder_state *bs, struct binder_io *msg, struct binder_io *reply) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHeadset.java892 private static void log(String msg) { argument
893 Log.d(TAG, msg);
H A DBluetoothHealth.java560 private static void log(String msg) { argument
561 Log.d(TAG, msg);
/frameworks/base/core/java/android/hardware/input/
H A DInputManager.java766 public void handleMessage(Message msg) { argument
767 switch (msg.what) {
769 mListener.onInputDeviceAdded(msg.arg1);
772 mListener.onInputDeviceRemoved(msg.arg1);
775 mListener.onInputDeviceChanged(msg.arg1);
/frameworks/base/core/java/android/net/
H A DMobileDataStateTracker.java121 public void handleMessage(Message msg) { argument
122 switch (msg.what) {
124 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) {
128 mMdst.mDataConnectionTrackerAc = (AsyncChannel) msg.obj;
131 mMdst.log("MdstHandler %s NOT connected error=" + msg.arg1);
140 if (VDBG) mMdst.log("Ignorning unknown message=" + msg);
193 Message msg = mTarget.obtainMessage(EVENT_NETWORK_SUBTYPE_CHANGED,
195 msg.sendToTarget();
265 Message msg = mTarget.obtainMessage(EVENT_CONFIGURATION_CHANGED,
267 msg
[all...]
/frameworks/base/core/java/android/os/
H A DHandler.java78 public boolean handleMessage(Message msg); argument
84 public void handleMessage(Message msg) { argument
90 public void dispatchMessage(Message msg) { argument
91 if (msg.callback != null) {
92 handleCallback(msg);
95 if (mCallback.handleMessage(msg)) {
99 handleMessage(msg);
493 public final boolean sendMessage(Message msg) argument
495 return sendMessageDelayed(msg, 0);
520 Message msg
553 sendMessageDelayed(Message msg, long delayMillis) argument
579 sendMessageAtTime(Message msg, long uptimeMillis) argument
602 sendMessageAtFrontOfQueue(Message msg) argument
613 enqueueMessage(MessageQueue queue, Message msg, long uptimeMillis) argument
706 send(Message msg) argument
[all...]
/frameworks/base/core/java/android/speech/
H A DSpeechRecognizer.java122 public void handleMessage(Message msg) {
123 switch (msg.what) {
125 handleStartListening((Intent) msg.obj);
134 handleChangeListener((RecognitionListener) msg.obj);
324 private void putMessage(Message msg) { argument
326 mPendingTasks.offer(msg);
328 mHandler.sendMessage(msg);
421 public void handleMessage(Message msg) {
425 switch (msg.what) {
430 mInternalListener.onBufferReceived((byte[]) msg
[all...]
/frameworks/base/core/java/android/view/
H A DGestureDetector.java258 public void handleMessage(Message msg) { argument
259 switch (msg.what) {
276 throw new RuntimeException("Unknown message " + msg); //never
H A DWindowManagerGlobal.java523 public WindowLeaked(String msg) { argument
524 super(msg);
/frameworks/base/core/java/android/webkit/
H A DHTML5Audio.java121 public void handleMessage(Message msg) { argument
122 switch (msg.what) {
H A DJWebCoreJavaBridge.java97 * @param msg The dispatched message.
102 public void handleMessage(Message msg) { argument
103 switch (msg.what) {
117 .getPluginDirectories(), ((Boolean) msg.obj)
125 Message msg = obtainMessage(FUNCPTR_MESSAGE);
126 sendMessage(msg);
235 Message msg = obtainMessage(TIMER_MESSAGE);
236 sendMessageDelayed(msg, timemillis);
239 Message msg = obtainMessage(TIMER_MESSAGE);
240 sendMessageDelayed(msg, timemilli
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DAsyncChannel.java103 * msg.arg1 == 0 : STATUS_SUCCESSFUL
105 * msg.obj == the AsyncChannel
106 * msg.replyTo == dstMessenger if successful
115 * msg.replyTo = srcMessenger.
123 * msg.arg1 == 0 : Accept connection
136 * msg.replyTo = messenger that is disconnecting
144 * msg.arg1 == 0 : STATUS_SUCCESSFUL
148 * msg.obj == the AsyncChannel
149 * msg.replyTo = messenger disconnecting or null if it was never connected.
299 * msg
467 sendMessage(Message msg) argument
641 sendMessageSynchronously(Message msg) argument
758 handleMessage(Message msg) argument
801 sendMessageSynchronously(Messenger dstMessenger, Message msg) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_CursorWindow.cpp48 String8 msg; local
49 msg.appendFormat("Couldn't read row %d, col %d from CursorWindow. "
52 jniThrowException(env, "java/lang/IllegalStateException", msg.string());
56 String8 msg; local
57 msg.appendFormat("UNKNOWN type %d", type);
58 jniThrowException(env, "java/lang/IllegalStateException", msg.string());
114 String8 msg; local
115 msg.appendFormat("Could not write CursorWindow to Parcel due to error %d.", status);
116 jniThrowRuntimeException(env, msg.string());
H A Dandroid_net_LocalSocketImpl.cpp403 struct msghdr msg;
405 memset(&msg, 0, sizeof(msg));
408 ret = recvmsg(fd, &msg, MSG_PEEK | MSG_DONTWAIT | MSG_NOSIGNAL);
522 struct msghdr msg; local
529 memset(&msg, 0, sizeof(msg));
535 msg.msg_iov = &iv;
536 msg.msg_iovlen = 1;
537 msg
579 struct msghdr msg; local
[all...]
H A Dandroid_os_SELinux.cpp33 static void throw_NullPointerException(JNIEnv *env, const char* msg) { argument
36 env->ThrowNew(clazz, msg);
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java233 public void handleMessage(Message msg) { argument
234 switch (msg.what) {
236 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) {
237 // AsyncChannel in msg.obj
/frameworks/base/include/androidfw/
H A DInputTransport.h157 status_t sendMessage(const InputMessage* msg);
169 status_t receiveMessage(InputMessage* msg);
357 void initializeFrom(const InputMessage* msg) { argument
358 eventTime = msg->body.motion.eventTime;
360 for (size_t i = 0; i < msg->body.motion.pointerCount; i++) {
361 uint32_t id = msg->body.motion.pointers[i].properties.id;
364 pointers[i].copyFrom(msg->body.motion.pointers[i].coords);
389 void addHistory(const InputMessage* msg) { argument
394 history[historyCurrent].initializeFrom(msg);
418 void updateTouchState(InputMessage* msg);
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DFaceUnlock.java238 public boolean handleMessage(Message msg) { argument
239 switch (msg.what) {
265 handlePokeWakelock(msg.arg1);
/frameworks/base/services/java/com/android/server/
H A DNativeDaemonConnector.java98 public boolean handleMessage(Message msg) { argument
99 String event = (String) msg.obj;
101 if (!mCallbacks.onEvent(msg.what, event, NativeDaemonEvent.unescapeArgs(event))) {

Completed in 148 milliseconds

1234567891011>>