Searched refs:msg (Results 1 - 25 of 559) sorted by last modified time

1234567891011>>

/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.cpp382 void AudioSfDecoder::onSeek(const sp<AMessage> &msg) { argument
385 CHECK(msg->findInt64(WHATPARAM_SEEK_SEEKTIME_MS, &timeMsec));
394 GenericPlayer::onSeek(msg);
398 void AudioSfDecoder::onLoop(const sp<AMessage> &msg) { argument
401 CHECK(msg->findInt32(WHATPARAM_LOOP_LOOPING, &loop));
412 GenericPlayer::onLoop(msg);
416 void AudioSfDecoder::onCheckCache(const sp<AMessage> &msg) { argument
441 msg->post(100000);
569 sp<AMessage> msg = new AMessage(kWhatRender, id()); local
570 msg
575 onMessageReceived(const sp<AMessage> &msg) argument
614 onNotify(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_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_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);
H A Dandroid_GenericPlayer.cpp138 sp<AMessage> msg = new AMessage(kWhatPrepare, id()); local
139 msg->post();
146 sp<AMessage> msg = new AMessage(kWhatPlay, id()); local
147 msg->post();
153 sp<AMessage> msg = new AMessage(kWhatPause, id()); local
154 msg->post();
173 sp<AMessage> msg = new AMessage(kWhatSeek, id()); local
174 msg->setInt64(WHATPARAM_SEEK_SEEKTIME_MS, timeMsec);
175 msg->post();
181 sp<AMessage> msg local
189 sp<AMessage> msg = new AMessage(kWhatBuffUpdateThres, id()); local
218 sp<AMessage> msg = new AMessage(kWhatAttachAuxEffect, id()); local
228 sp<AMessage> msg = new AMessage(kWhatSetAuxEffectSendLevel, id()); local
259 sp<AMessage> msg = new AMessage(kWhatSetPlayEvents, id()); local
287 sp<AMessage> msg = new AMessage(kWhatNotif, id()); local
300 sp<AMessage> msg = new AMessage(kWhatNotif, id()); local
312 onMessageReceived(const sp<AMessage> &msg) argument
407 onNotify(const sp<AMessage> &msg) argument
473 onSeek(const sp<AMessage> &msg) argument
478 onLoop(const sp<AMessage> &msg) argument
498 onBufferingUpdate(const sp<AMessage> &msg) argument
503 onSetBufferingUpdateThreshold(const sp<AMessage> &msg) argument
513 onAttachAuxEffect(const sp<AMessage> &msg) argument
518 onSetAuxEffectSendLevel(const sp<AMessage> &msg) argument
523 onSetPlayEvents(const sp<AMessage> &msg) argument
537 onOneShot(const sp<AMessage> &msg) argument
567 sp<AMessage> msg = new AMessage(kWhatSeekComplete, id()); local
574 sp<AMessage> msg = new AMessage(kWhatBufferingUpdate, id()); local
707 sp<AMessage> msg = new AMessage(kWhatOneShot, id()); local
[all...]
H A Dandroid_GenericPlayer.h130 virtual void onMessageReceived(const sp<AMessage> &msg);
134 virtual void onNotify(const sp<AMessage> &msg);
137 virtual void onSeek(const sp<AMessage> &msg);
138 virtual void onLoop(const sp<AMessage> &msg);
141 virtual void onBufferingUpdate(const sp<AMessage> &msg);
142 virtual void onSetBufferingUpdateThreshold(const sp<AMessage> &msg);
143 virtual void onAttachAuxEffect(const sp<AMessage> &msg);
144 virtual void onSetAuxEffectSendLevel(const sp<AMessage> &msg);
145 void onSetPlayEvents(const sp<AMessage> &msg);
146 void onOneShot(const sp<AMessage> &msg);
[all...]
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_StreamPlayer.h51 void receivedCmd_l(IStreamListener::Command cmd, const sp<AMessage> &msg = NULL);
89 virtual void onMessageReceived(const sp<AMessage> &msg);
/frameworks/opt/telephony/src/java/android/telephony/
H A DCellBroadcastMessage.java215 SmsCbMessage msg = new SmsCbMessage(format, geoScope, serialNum, location, category,
223 return new CellBroadcastMessage(msg, deliveryTime, isRead);
232 SmsCbMessage msg = mSmsCbMessage;
233 cv.put(Telephony.CellBroadcasts.GEOGRAPHICAL_SCOPE, msg.getGeographicalScope());
234 SmsCbLocation location = msg.getLocation();
244 cv.put(Telephony.CellBroadcasts.SERIAL_NUMBER, msg.getSerialNumber());
245 cv.put(Telephony.CellBroadcasts.SERVICE_CATEGORY, msg.getServiceCategory());
246 cv.put(Telephony.CellBroadcasts.LANGUAGE_CODE, msg.getLanguageCode());
247 cv.put(Telephony.CellBroadcasts.MESSAGE_BODY, msg.getMessageBody());
250 cv.put(Telephony.CellBroadcasts.MESSAGE_FORMAT, msg
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DAdnRecordCache.java323 handleMessage(Message msg) { argument
327 switch(msg.what) {
330 ar = (AsyncResult) msg.obj;
331 efid = msg.arg1;
343 ar = (AsyncResult)msg.obj;
344 efid = msg.arg1;
345 int index = msg.arg2;
H A DAdnRecordLoader.java131 handleMessage(Message msg) { argument
137 switch (msg.what) {
139 ar = (AsyncResult)(msg.obj);
172 ar = (AsyncResult)(msg.obj);
181 ar = (AsyncResult)(msg.obj);
212 ar = (AsyncResult)(msg.obj);
233 ar = (AsyncResult)(msg.obj);
H A DCallManager.java1741 public void handleMessage(Message msg) {
1743 switch (msg.what) {
1746 mDisconnectRegistrants.notifyRegistrants((AsyncResult) msg.obj);
1750 mPreciseCallStateRegistrants.notifyRegistrants((AsyncResult) msg.obj);
1755 Connection c = (Connection) ((AsyncResult) msg.obj).result;
1763 mNewRingingConnectionRegistrants.notifyRegistrants((AsyncResult) msg.obj);
1768 mUnknownConnectionRegistrants.notifyRegistrants((AsyncResult) msg.obj);
1774 mIncomingRingRegistrants.notifyRegistrants((AsyncResult) msg.obj);
1779 mRingbackToneRegistrants.notifyRegistrants((AsyncResult) msg.obj);
1783 mInCallVoicePrivacyOnRegistrants.notifyRegistrants((AsyncResult) msg
[all...]
H A DCallTracker.java79 Message msg = obtainMessage();
81 msg.what = EVENT_REPOLL_AFTER_DELAY;
82 sendMessageDelayed(msg, POLL_DELAY_MSEC);
168 public abstract void handleMessage (Message msg); argument
174 protected abstract void log(String msg); argument
H A DCsimFileHandler.java63 protected void logd(String msg) { argument
64 Log.d(LOG_TAG, msg);
68 protected void loge(String msg) { argument
69 Log.e(LOG_TAG, msg);
H A DDataConnection.java57 * hen the operation completes. The <code>msg.obj</code> will contain an AsyncResult
58 * object and <code>AsyncResult.userObj</code> is the original <code>msg.obj</code>. if successful
378 Message msg = dp.onCompletedMsg;
379 if (msg.obj instanceof ApnContext) {
380 alreadySent = (ApnContext)msg.obj;
384 log(String.format("msg=%s msg.obj=%s", msg.toString(),
385 ((msg.obj instanceof String) ? (String) msg
653 processMessage(Message msg) argument
869 processMessage(Message msg) argument
924 processMessage(Message msg) argument
1056 processMessage(Message msg) argument
1115 processMessage(Message msg) argument
1160 processMessage(Message msg) argument
[all...]
H A DDataConnectionTracker.java406 Message msg = obtainMessage(DctConstants.EVENT_CLEAN_UP_CONNECTION);
407 msg.arg1 = 0; // tearDown is false
408 msg.arg2 = 0;
409 msg.obj = reason;
410 sendMessage(msg);
417 Message msg = obtainMessage(DctConstants.EVENT_DATA_STALL_ALARM,
419 msg.arg1 = intent.getIntExtra(DATA_STALL_ALARM_TAG_EXTRA, 0);
420 sendMessage(msg);
600 public void handleMessage(Message msg) { argument
601 switch (msg
[all...]
H A DIccCardProxy.java192 public void handleMessage(Message msg) { argument
193 switch (msg.what) {
232 loge("Unhandled message with number: " + msg.what);
693 private void loge(String msg) { argument
694 Log.e(LOG_TAG, msg);
H A DIccFileHandler.java320 public void handleMessage(Message msg) { argument
335 switch (msg.what) {
338 ar = (AsyncResult) msg.obj;
373 ar = (AsyncResult) msg.obj;
384 ar = (AsyncResult) msg.obj;
394 ar = (AsyncResult)msg.obj;
426 ar = (AsyncResult)msg.obj;
473 ar = (AsyncResult)msg.obj;
491 fileid = msg.arg1;
512 ar = (AsyncResult)msg
[all...]
H A DIccPhoneBookInterfaceManager.java53 public void handleMessage(Message msg) {
56 switch (msg.what) {
58 ar = (AsyncResult) msg.obj;
73 ar = (AsyncResult) msg.obj;
80 ar = (AsyncResult)msg.obj;
130 protected abstract void logd(String msg); argument
132 protected abstract void loge(String msg); argument
H A DIccProvider.java427 private void log(String msg) { argument
428 Log.d(TAG, "[IccProvider] " + msg);
H A DIccRecords.java333 public void handleMessage(Message msg) { argument
334 switch (msg.what) {
337 AsyncResult ar = (AsyncResult) msg.obj;
356 super.handleMessage(msg);
H A DIccSmsInterfaceManager.java223 protected abstract void log(String msg); argument
H A DPhoneBase.java294 * super.handleMessage(msg) so this method has a
297 * @param msg
300 public void handleMessage(Message msg) { argument
303 switch(msg.what) {
306 ar = (AsyncResult)msg.obj;
323 sendIncomingCallRingNotification(msg.arg1);
H A DPhoneProxy.java92 public void handleMessage(Message msg) { argument
93 AsyncResult ar = (AsyncResult) msg.obj;
94 switch(msg.what) {
118 loge("Voice Radio Technology event " + msg.what + " has no tech!");
121 loge("Voice Radio Technology event " + msg.what + " exception!" + ar.exception);
127 + msg.what);
130 super.handleMessage(msg);
133 private static void logd(String msg) { argument
134 Log.d(LOG_TAG, "[PhoneProxy] " + msg);
137 private void logw(String msg) { argument
141 loge(String msg) argument
[all...]
H A DRIL.java294 handleMessage(Message msg) { argument
295 RILRequest rr = (RILRequest)(msg.obj);
298 switch (msg.what) {
398 + " There still msg waitng for response");
2091 Message msg = mSender.obtainMessage(EVENT_WAKE_LOCK_TIMEOUT);
2092 mSender.sendMessageDelayed(msg, mWakeLockTimeout);
2110 Message msg;
2118 msg = mSender.obtainMessage(EVENT_SEND, rr);
2122 msg.sendToTarget();
3657 private void riljLog(String msg) { argument
3661 riljLogv(String msg) argument
[all...]

Completed in 6252 milliseconds

1234567891011>>