Searched refs:msg (Results 151 - 175 of 718) sorted by relevance

1234567891011>>

/frameworks/wilhelm/src/android/
H A Dandroid_GenericMediaPlayer.cpp61 // Map a media_event_type enum (the msg of an IMediaPlayerClient::notify) to a string or NULL
62 static const char *media_event_type_to_string(media_event_type msg) argument
64 switch (msg) {
85 #define _(code, msg) case code: return msg;
99 #define _(code, msg) case code: return msg;
116 void MediaPlayerNotificationClient::notify(int msg, int ext1, int ext2, const Parcel *obj) { argument
117 SL_LOGV("MediaPlayerNotificationClient::notify(msg=%s (%d), ext1=%d, ext2=%d)",
118 media_event_type_to_string((enum media_event_type) msg), ms
392 onSeek(const sp<AMessage> &msg) argument
427 onLoop(const sp<AMessage> &msg) argument
455 onAttachAuxEffect(const sp<AMessage> &msg) argument
469 onSetAuxEffectSendLevel(const sp<AMessage> &msg) argument
483 onBufferingUpdate(const sp<AMessage> &msg) argument
[all...]
H A Dandroid_AudioSfDecoder.h81 void onCheckCache(const sp<AMessage> &msg);
88 virtual void onSeek(const sp<AMessage> &msg);
89 virtual void onLoop(const sp<AMessage> &msg);
92 virtual void onNotify(const sp<AMessage> &msg);
93 virtual void onMessageReceived(const sp<AMessage> &msg);
H A Dandroid_StreamPlayer.cpp98 void StreamSourceAppProxy::receivedCmd_l(IStreamListener::Command cmd, const sp<AMessage> &msg) { argument
100 mListener->issueCommand(cmd, false /* synchronous */, msg);
161 sp<AMessage> msg = new AMessage(); local
162 msg->setInt64(IStreamListener::kKeyResumeAtPTS,
164 receivedCmd_l(IStreamListener::DISCONTINUITY, msg /*msg*/);
167 sp<AMessage> msg = new AMessage(); local
168 msg->setInt32(
171 receivedCmd_l(IStreamListener::DISCONTINUITY, msg /*msg*/);
174 sp<AMessage> msg = new AMessage(); local
313 onMessageReceived(const sp<AMessage> &msg) argument
[all...]
H A Dandroid_AudioSfDecoder.cpp384 void AudioSfDecoder::onSeek(const sp<AMessage> &msg) { argument
387 CHECK(msg->findInt64(WHATPARAM_SEEK_SEEKTIME_MS, &timeMsec));
396 GenericPlayer::onSeek(msg);
400 void AudioSfDecoder::onLoop(const sp<AMessage> &msg) { argument
403 CHECK(msg->findInt32(WHATPARAM_LOOP_LOOPING, &loop));
414 GenericPlayer::onLoop(msg);
418 void AudioSfDecoder::onCheckCache(const sp<AMessage> &msg) { argument
443 msg->post(100000);
571 sp<AMessage> msg = new AMessage(kWhatRender, id()); local
572 msg
577 onMessageReceived(const sp<AMessage> &msg) argument
616 onNotify(const sp<AMessage> &msg) argument
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp63 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/libmediaplayerservice/nuplayer/
H A DRTSPSource.cpp119 sp<AMessage> msg = new AMessage(kWhatDisconnect, id()); local
122 msg->postAndAwaitResponse(&dummy);
295 sp<AMessage> msg = new AMessage(kWhatPerformSeek, id()); local
296 msg->setInt32("generation", ++mSeekGeneration);
297 msg->setInt64("timeUs", seekTimeUs);
298 msg->post(200000ll);
312 void NuPlayer::RTSPSource::onMessageReceived(const sp<AMessage> &msg) { argument
313 if (msg->what() == kWhatDisconnect) {
315 CHECK(msg->senderAwaitsResponse(&replyID));
320 } else if (msg
582 onSDPLoaded(const sp<AMessage> &msg) argument
628 onDisconnected(const sp<AMessage> &msg) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.h51 virtual void onMessageReceived(const sp<AMessage> &msg);
96 void onConnect(const sp<AMessage> &msg);
97 void onDisconnect(const sp<AMessage> &msg);
98 void onCompleteConnection(const sp<AMessage> &msg);
99 void onSendRequest(const sp<AMessage> &msg);
H A DARTSPConnection.cpp71 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...]
/frameworks/base/core/java/android/hardware/soundtrigger/
H A DSoundTriggerModule.java147 public void handleMessage(Message msg) {
148 switch(msg.what) {
152 (SoundTrigger.RecognitionEvent)msg.obj);
158 (SoundTrigger.SoundModelEvent)msg.obj);
163 listener.onServiceStateChange(msg.arg1);
/frameworks/base/core/java/android/service/notification/
H A DConditionProviderService.java137 public void handleMessage(Message msg) { argument
140 switch(msg.what) {
147 onRequestConditions(msg.arg1);
151 onSubscribe((Uri)msg.obj);
155 onUnsubscribe((Uri)msg.obj);
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java177 on msg {
180 defer(msg);
192 on msg {
204 on msg {
210 defer(msg);
224 on msg {
460 * @param msg
467 LogRec(StateMachine sm, Message msg, String info, IState state, IState orgState, argument
469 update(sm, msg, info, state, orgState, transToState);
478 public void update(StateMachine sm, Message msg, Strin argument
658 add(StateMachine sm, Message msg, String messageInfo, IState state, IState orgState, IState transToState) argument
756 processMessage(Message msg) argument
767 processMessage(Message msg) argument
779 handleMessage(Message msg) argument
811 performTransitions(State msgProcessedState, Message msg) argument
958 processMsg(Message msg) argument
1191 deferMessage(Message msg) argument
1214 isQuit(Message msg) argument
1360 deferMessage(Message msg) argument
1369 unhandledMessage(Message msg) argument
1377 haltedProcessMessage(Message msg) argument
1482 recordLogRec(Message msg) argument
1493 getLogRecString(Message msg) argument
1682 sendMessage(Message msg) argument
1761 sendMessageDelayed(Message msg, long delayMillis) argument
1846 sendMessageAtFrontOfQueue(Message msg) argument
1870 isQuit(Message msg) argument
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_transport.cpp159 void BufferedOutputStream::enqueueMessage(GLMessage *msg) { argument
160 const uint32_t len = msg->ByteSize();
163 msg->AppendToString(&mStringBuffer); // append message
166 int BufferedOutputStream::send(GLMessage *msg) { argument
167 enqueueMessage(msg);
/frameworks/base/services/core/java/com/android/server/
H A DBluetoothManagerService.java165 Message msg = mHandler.obtainMessage(MESSAGE_BLUETOOTH_STATE_CHANGE,prevState,newState);
166 mHandler.sendMessage(msg);
348 Message msg = mHandler.obtainMessage(MESSAGE_REGISTER_ADAPTER);
349 msg.obj = callback;
350 mHandler.sendMessage(msg);
363 Message msg = mHandler.obtainMessage(MESSAGE_UNREGISTER_ADAPTER);
364 msg.obj = callback;
365 mHandler.sendMessage(msg);
371 Message msg = mHandler.obtainMessage(MESSAGE_REGISTER_STATE_CHANGE_CALLBACK);
372 msg
858 handleMessage(Message msg) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_server_FingerprintManager.cpp61 static void hal_notify_callback(fingerprint_msg_t msg) { argument
65 switch (msg.type) {
67 arg1 = msg.data.error;
70 arg1 = msg.data.acquired.acquired_info;
73 arg1 = msg.data.processed.id;
76 arg1 = msg.data.enroll.id;
77 arg2 = msg.data.enroll.samples_remaining;
78 arg3 = msg.data.enroll.data_collected_bmp;
81 arg1 = msg.data.removed.id;
84 ALOGE("fingerprint: invalid msg
[all...]
/frameworks/base/location/java/android/location/
H A DLocationManager.java225 public void handleMessage(Message msg) {
226 _handleMessage(msg);
232 public void handleMessage(Message msg) {
233 _handleMessage(msg);
241 Message msg = Message.obtain();
242 msg.what = TYPE_LOCATION_CHANGED;
243 msg.obj = location;
244 mListenerHandler.sendMessage(msg);
249 Message msg = Message.obtain();
250 msg
277 _handleMessage(Message msg) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java492 String msg = "Latitude: " + latitude + " out of range.";
493 throw new IllegalArgumentException(msg);
496 String msg = "Longitude: " + longitude + " out of range";
497 throw new IllegalArgumentException(msg);
993 public void handleMessage(Message msg) { argument
998 switch(msg.what) {
1002 mOnErrorListener.onError(mMediaRecorder, msg.arg1, msg.arg2);
1009 mOnInfoListener.onInfo(mMediaRecorder, msg.arg1, msg
[all...]
/frameworks/base/media/java/android/media/audiofx/
H A DVisualizer.java656 private void handleCaptureMessage(Message msg) { argument
663 byte[] data = (byte[])msg.obj;
664 int samplingRate = msg.arg1;
666 switch(msg.what) {
674 Log.e(TAG,"Unknown native event in handleCaptureMessge: "+msg.what);
680 private void handleServerDiedMessage(Message msg) { argument
691 public void handleMessage(Message msg) { argument
696 switch(msg.what) {
699 handleCaptureMessage(msg);
702 handleServerDiedMessage(msg);
[all...]
/frameworks/base/core/java/android/app/backup/
H A DRestoreSession.java198 public void handleMessage(Message msg) {
199 switch (msg.what) {
201 mAppObserver.restoreStarting(msg.arg1);
204 mAppObserver.onUpdate(msg.arg1, (String)msg.obj);
207 mAppObserver.restoreFinished(msg.arg1);
210 mAppObserver.restoreSetsAvailable((RestoreSet[])msg.obj);
/frameworks/native/libs/input/tests/
H A DInputChannel_test.cpp120 InputMessage msg; local
121 EXPECT_EQ(WOULD_BLOCK, clientChannel->receiveMessage(&msg))
136 InputMessage msg; local
137 EXPECT_EQ(DEAD_OBJECT, clientChannel->receiveMessage(&msg))
152 InputMessage msg; local
153 msg.header.type = InputMessage::TYPE_KEY;
154 EXPECT_EQ(DEAD_OBJECT, clientChannel->sendMessage(&msg))
/frameworks/base/core/java/com/android/internal/os/
H A DHandlerCaller.java36 public void handleMessage(Message msg) { argument
37 mCallback.executeMessage(msg);
42 public void executeMessage(Message msg); argument
56 public void executeOrSendMessage(Message msg) { argument
61 mCallback.executeMessage(msg);
62 msg.recycle();
66 mH.sendMessage(msg);
69 public void sendMessageDelayed(Message msg, long delayMillis) { argument
70 mH.sendMessageDelayed(msg, delayMillis);
85 public void sendMessage(Message msg) { argument
89 sendMessageAndWait(Message msg) argument
[all...]
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbDebuggingManager.java93 Message msg = mHandler.obtainMessage(UsbDebuggingHandler.MESSAGE_ADB_CONFIRM);
94 msg.obj = key;
95 mHandler.sendMessage(msg);
133 private void sendResponse(String msg) { argument
136 mOutputStream.write(msg.getBytes());
156 public void handleMessage(Message msg) { argument
157 switch (msg.what) {
187 String key = (String)msg.obj;
196 if (msg.arg1 == 1) {
209 String key = (String)msg
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccController.java197 public void handleMessage (Message msg) { argument
199 Integer index = getCiIndex(msg);
202 Rlog.e(LOG_TAG, "Invalid index : " + index + " received with event " + msg.what);
206 AsyncResult ar = (AsyncResult)msg.obj;
207 switch (msg.what) {
229 Rlog.e(LOG_TAG, " Unknown Event " + msg.what);
234 private Integer getCiIndex(Message msg) { argument
240 * sendMessage, in this case the user object passed is msg.obj and from
241 * the CommandsInterface, in this case the user object is msg.obj.userObj
243 if (msg !
[all...]
/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp634 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...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp88 const sp<AMessage> &msg, sp<AMessage> *response) {
89 status_t err = msg->postAndAwaitResponse(response);
105 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
106 msg->setString("iface", iface);
109 return PostAndAwaitResponse(msg, &response);
113 sp<AMessage> msg = new AMessage(kWhatStop, id()); local
116 return PostAndAwaitResponse(msg, &response);
120 sp<AMessage> msg = new AMessage(kWhatPause, id()); local
123 return PostAndAwaitResponse(msg, &response);
127 sp<AMessage> msg local
87 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
133 onMessageReceived(const sp<AMessage> &msg) argument
748 onReceiveM1Response( int32_t , const sp<ParsedMessage> &msg) argument
792 onReceiveM3Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument
972 onReceiveM4Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument
993 onReceiveM5Response( int32_t , const sp<ParsedMessage> &msg) argument
1034 sp<AMessage> msg = new AMessage(kWhatKeepAlive, id()); local
1039 onReceiveClientData(const sp<AMessage> &msg) argument
1682 notify( int msg, int ext1, int ext2, const Parcel * ) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTrackerBase.java571 Message msg = obtainMessage(DctConstants.EVENT_DATA_STALL_ALARM,
573 msg.arg1 = intent.getIntExtra(DATA_STALL_ALARM_TAG_EXTRA, 0);
574 sendMessage(msg);
835 Message msg = obtainMessage(DctConstants.CMD_SET_USER_DATA_ENABLE);
836 msg.arg1 = enable ? 1 : 0;
838 sendMessage(msg);
901 public void handleMessage(Message msg) { argument
902 switch (msg.what) {
904 log("DISCONNECTED_CONNECTED: msg=" + msg);
[all...]

Completed in 986 milliseconds

1234567891011>>