Searched refs:msg (Results 101 - 125 of 559) sorted by relevance

1234567891011>>

/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.cpp89 sp<AMessage> msg = new AMessage(kWhatDisconnect, mReflector->id()); local
92 msg->postAndAwaitResponse(&dummy);
196 sp<AMessage> msg = new AMessage(kWhatPerformSeek, mReflector->id()); local
197 msg->setInt32("generation", ++mSeekGeneration);
198 msg->setInt64("timeUs", seekTimeUs);
199 msg->post(200000ll);
217 void NuPlayer::RTSPSource::onMessageReceived(const sp<AMessage> &msg) { argument
218 if (msg->what() == kWhatDisconnect) {
220 CHECK(msg->senderAwaitsResponse(&replyID));
225 } else if (msg
461 onDisconnected(const sp<AMessage> &msg) argument
[all...]
H A DNuPlayer.cpp89 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local
94 msg->setObject("source", new MP4Source(source));
96 msg->setObject("source", new StreamingSource(source));
99 msg->post();
120 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local
131 msg->setObject("source", source);
132 msg->post();
136 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local
139 msg->setObject("source", source);
140 msg
144 sp<AMessage> msg = new AMessage(kWhatSetVideoNativeWindow, id()); local
152 sp<AMessage> msg = new AMessage(kWhatSetAudioSink, id()); local
174 sp<AMessage> msg = new AMessage(kWhatSeek, id()); local
199 onMessageReceived(const sp<AMessage> &msg) argument
725 sp<AMessage> msg = new AMessage(kWhatScanSources, id()); local
770 feedDecoderInputData(bool audio, const sp<AMessage> &msg) argument
887 renderBuffer(bool audio, const sp<AMessage> &msg) argument
933 notifyListener(int msg, int ext1, int ext2) argument
995 sp<AMessage> msg = new AMessage; local
1019 sp<AMessage> msg = new AMessage(kWhatPollDuration, id()); local
[all...]
H A DNuPlayerDecoder.h42 virtual void onMessageReceived(const sp<AMessage> &msg);
60 void onFillThisBuffer(const sp<AMessage> &msg);
/frameworks/av/media/libstagefright/rtsp/
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 DARawAudioAssembler.cpp96 sp<AMessage> msg = mNotifyMsg->dup(); local
97 msg->setBuffer("access-unit", buffer);
98 msg->post();
112 sp<AMessage> msg = mNotifyMsg->dup(); local
113 msg->setInt32("eos", true);
114 msg->post();
H A DARTPConnection.h55 virtual void onMessageReceived(const sp<AMessage> &msg);
75 void onAddStream(const sp<AMessage> &msg);
76 void onRemoveStream(const sp<AMessage> &msg);
78 void onInjectPacket(const sp<AMessage> &msg);
/frameworks/base/tests/BrowserTestPlugin/jni/event/
H A DEventPlugin.cpp156 char msg[] = "lifecycle-onLoad"; local
157 printToDiv(msg, strlen(msg));
161 char msg[] = "lifecycle-gainFocus"; local
162 printToDiv(msg, strlen(msg));
166 char msg[] = "lifecycle-loseFocus"; local
167 printToDiv(msg, strlen(msg));
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A DCarouselViewHelper.java98 public void handleMessage(Message msg) { argument
99 int id = msg.arg1;
104 if (msg.what < REQUEST_TEXTURE_N || msg.what > REQUEST_END) {
108 if (msg.what < REQUEST_DETAIL_TEXTURE_N) {
120 } else if (msg.what < REQUEST_GEOMETRY_N) {
126 } else if (msg.what < REQUEST_END) {
138 public void handleMessage(Message msg) { argument
139 int id = msg.arg1;
145 switch (msg
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DCommandQueue.java236 public void handleMessage(Message msg) { argument
237 final int what = msg.what & MSG_MASK;
240 final int index = msg.what & INDEX_MASK;
242 switch (msg.arg1) {
244 StatusBarIcon icon = (StatusBarIcon)msg.obj;
266 final NotificationQueueEntry ne = (NotificationQueueEntry)msg.obj;
271 final NotificationQueueEntry ne = (NotificationQueueEntry)msg.obj;
276 mCallbacks.removeNotification((IBinder)msg.obj);
280 mCallbacks.disable(msg.arg1);
292 mCallbacks.setSystemUiVisibility(msg
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGsmSmsCbTest.java51 SmsCbMessage msg = createFromPdu(pdu);
53 assertEquals("Unexpected geographical scope decoded", expectedGs, msg
58 SmsCbMessage msg = createFromPdu(null);
59 assertNull("createFromPdu(byte[] with null pdu should return null", msg);
64 SmsCbMessage msg = createFromPdu(pdu);
66 assertNull("createFromPdu(byte[] with too short pdu should return null", msg);
117 SmsCbMessage msg = createFromPdu(pdu);
120 SmsCbMessage.GEOGRAPHICAL_SCOPE_CELL_WIDE, msg.getGeographicalScope());
139 SmsCbMessage msg = createFromPdu(pdu);
143 msg
[all...]
/frameworks/base/services/java/com/android/server/display/
H A DDisplayDeviceInfo.java229 StringBuilder msg = new StringBuilder();
231 msg.append(", FLAG_DEFAULT_DISPLAY");
234 msg.append(", FLAG_ROTATES_WITH_CONTENT");
237 msg.append(", FLAG_SECURE");
240 msg.append(", FLAG_SUPPORTS_PROTECTED_BUFFERS");
242 return msg.toString();
/frameworks/wilhelm/src/android/
H A Dandroid_GenericMediaPlayer.h36 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj);
103 virtual void onSeek(const sp<AMessage> &msg);
104 virtual void onLoop(const sp<AMessage> &msg);
107 virtual void onBufferingUpdate(const sp<AMessage> &msg);
108 virtual void onAttachAuxEffect(const sp<AMessage> &msg);
109 virtual void onSetAuxEffectSendLevel(const sp<AMessage> &msg);
/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/av/media/libstagefright/
H A DACodec.cpp55 void setNotificationMessage(const sp<AMessage> &msg) { argument
56 mNotify = msg;
61 sp<AMessage> msg = mNotify->dup(); local
63 msg->setInt32("type", omx_msg.type);
64 msg->setPointer("node", omx_msg.node);
69 msg->setInt32("event", omx_msg.u.event_data.event);
70 msg->setInt32("data1", omx_msg.u.event_data.data1);
71 msg->setInt32("data2", omx_msg.u.event_data.data2);
77 msg->setPointer("buffer", omx_msg.u.buffer_data.buffer);
83 msg
367 setNotificationMessage(const sp<AMessage> &msg) argument
371 initiateSetup(const sp<AMessage> &msg) argument
377 initiateAllocateComponent(const sp<AMessage> &msg) argument
383 initiateConfigureComponent(const sp<AMessage> &msg) argument
403 sp<AMessage> msg = new AMessage(kWhatShutdown, id()); local
850 configureCodec( const char *mime, const sp<AMessage> &msg) argument
1482 setupVideoEncoder(const char *mime, const sp<AMessage> &msg) argument
1633 setCyclicIntraMacroblockRefresh(const sp<AMessage> &msg, int32_t mode) argument
1681 getBitrateMode(const sp<AMessage> &msg) argument
1690 setupMPEG4EncoderParameters(const sp<AMessage> &msg) argument
1771 setupH263EncoderParameters(const sp<AMessage> &msg) argument
1847 setupAVCEncoderParameters(const sp<AMessage> &msg) argument
2110 deferMessage(const sp<AMessage> &msg) argument
2438 onMessageReceived(const sp<AMessage> &msg) argument
2464 onOMXMessage(const sp<AMessage> &msg) argument
2626 onInputBufferFilled(const sp<AMessage> &msg) argument
2921 onOutputBufferDrained(const sp<AMessage> &msg) argument
3008 onMessageReceived(const sp<AMessage> &msg) argument
3059 onSetup( const sp<AMessage> &msg) argument
3067 onAllocateComponent(const sp<AMessage> &msg) argument
3210 onMessageReceived(const sp<AMessage> &msg) argument
3257 onConfigureComponent( const sp<AMessage> &msg) argument
3340 onMessageReceived(const sp<AMessage> &msg) argument
3385 onMessageReceived(const sp<AMessage> &msg) argument
3479 onMessageReceived(const sp<AMessage> &msg) argument
3607 onMessageReceived( const sp<AMessage> &msg) argument
3708 onMessageReceived(const sp<AMessage> &msg) argument
3791 onInputBufferFilled( const sp<AMessage> &msg) argument
3798 onOutputBufferDrained( const sp<AMessage> &msg) argument
3811 onMessageReceived(const sp<AMessage> &msg) argument
3873 onMessageReceived(const sp<AMessage> &msg) argument
3929 sp<AMessage> msg = new AMessage(kWhatOMXMessage, mCodec->id()); local
3951 onOutputBufferDrained(const sp<AMessage> &msg) argument
3957 onInputBufferFilled(const sp<AMessage> &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/av/include/media/stagefright/foundation/
H A DAHierarchicalStateMachine.h36 virtual bool onMessageReceived(const sp<AMessage> &msg) = 0;
52 virtual void onMessageReceived(const sp<AMessage> &msg);
/frameworks/av/media/libmediaplayerservice/
H A DHDCP.h45 static void ObserveWrapper(void *me, int msg, int ext1, int ext2);
46 void observe(int msg, int ext1, int ext2);
H A DHDCP.cpp114 void HDCP::ObserveWrapper(void *me, int msg, int ext1, int ext2) { argument
115 static_cast<HDCP *>(me)->observe(msg, ext1, ext2);
118 void HDCP::observe(int msg, int ext1, int ext2) { argument
122 mObserver->notify(msg, ext1, ext2, NULL /* obj */);
/frameworks/av/media/libstagefright/foundation/
H A DABuffer.cpp64 void ABuffer::setFarewellMessage(const sp<AMessage> msg) { argument
65 mFarewell = msg;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.h42 virtual void onMessageReceived(const sp<AMessage> &msg);
60 status_t postSynchronouslyAndReturnError(const sp<AMessage> &msg);
/frameworks/base/core/java/android/util/
H A DLocalLog.java42 public synchronized void log(String msg) { argument
45 mLog.add(mNow.format("%H:%M:%S") + " - " + msg);
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoViewProxy.java308 Message msg = Message.obtain(mWebCoreHandler, PREPARED);
313 msg.obj = map;
314 mWebCoreHandler.sendMessage(msg);
335 Message msg = Message.obtain(mWebCoreHandler, ENDED);
336 mWebCoreHandler.sendMessage(msg);
340 Message msg = Message.obtain(mWebCoreHandler, PAUSED);
341 mWebCoreHandler.sendMessage(msg);
345 Message msg = Message.obtain(mWebCoreHandler, STOPFULLSCREEN);
346 msg.arg1 = stillPlaying ? 1 : 0;
347 mWebCoreHandler.sendMessage(msg);
369 handleMessage(Message msg) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DAdapterViewFlipper.java181 Message msg = mHandler.obtainMessage(FLIP_MSG);
182 mHandler.sendMessageDelayed(msg, mFlipInterval);
197 Message msg = mHandler.obtainMessage(FLIP_MSG);
198 mHandler.sendMessageDelayed(msg, mFlipInterval);
227 Message msg = mHandler.obtainMessage(FLIP_MSG);
228 mHandler.sendMessageDelayed(msg, mFlipInterval);
267 public void handleMessage(Message msg) {
268 if (msg.what == FLIP_MSG) {
/frameworks/base/media/java/android/media/
H A DSoundPool.java444 public void handleMessage(Message msg) { argument
445 switch(msg.what) {
447 if (DEBUG) Log.d(TAG, "Sample " + msg.arg1 + " loaded");
450 mOnLoadCompleteListener.onLoadComplete(mSoundPool, msg.arg1, msg.arg2);
455 Log.e(TAG, "Unknown message type " + msg.what);
462 private static void postEventFromNative(Object weakRef, int msg, int arg1, int arg2, Object obj) argument
469 Message m = soundPool.mEventHandler.obtainMessage(msg, arg1, arg2, obj);
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.h47 IOMX::node_id node, omx_message *msg, int64_t timeoutUs = -1);
53 omx_message *msg, int64_t timeoutUs = -1);
77 virtual void onMessage(const omx_message &msg);
95 const omx_message &msg,

Completed in 492 milliseconds

1234567891011>>