Searched defs:msg (Results 176 - 200 of 346) sorted by relevance

1234567891011>>

/frameworks/base/services/java/com/android/server/
H A DWatchdog.java116 public void handleMessage(Message msg) { argument
117 switch (msg.what) {
/frameworks/base/services/java/com/android/server/display/
H A DWifiDisplayAdapter.java577 public void handleMessage(Message msg) { argument
578 switch (msg.what) {
/frameworks/base/services/java/com/android/server/power/
H A DNotifier.java308 Message msg = mHandler.obtainMessage(MSG_USER_ACTIVITY);
309 msg.setAsynchronous(true);
310 mHandler.sendMessage(msg);
322 Message msg = mHandler.obtainMessage(MSG_BROADCAST);
323 msg.setAsynchronous(true);
324 mHandler.sendMessage(msg);
482 public void handleMessage(Message msg) { argument
483 switch (msg.what) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridge.java70 public StaticMethodNotImplementedException(String msg) { argument
71 super(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/native/libs/gui/tests/
H A DCpuConsumer_test.cpp156 #define ASSERT_NO_ERROR(err, msg) \
157 ASSERT_EQ(NO_ERROR, err) << msg << strerror(-err)
164 String8 msg; local
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_context.cpp207 void GLTraceContext::traceGLMessage(GLMessage *msg) { argument
208 mBufferedOutputStream->send(msg);
210 GLMessage_Function func = msg->function();
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java46 public FormatException(String msg) { argument
47 super(msg);
50 public FormatException(String msg, Throwable cause) { argument
51 super(msg, cause);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCatService.java621 public void handleMessage(Message msg) { argument
623 switch (msg.what) {
630 if (msg.obj != null) {
631 AsyncResult ar = (AsyncResult) msg.obj;
640 mMsgDecoder.sendStartDecodingMessageParams(new RilMessage(msg.what, data));
643 mMsgDecoder.sendStartDecodingMessageParams(new RilMessage(msg.what, null));
648 handleRilMsg((RilMessage) msg.obj);
651 handleCmdResponse((CatResponseMessage) msg.obj);
658 throw new AssertionError("Unrecognized CAT command: " + msg.what);
667 Message msg
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmCallTracker.java835 handleMessage (Message msg) { argument
838 switch (msg.what) {
840 ar = (AsyncResult)msg.obj;
842 if (msg == lastRelevantPoll) {
847 handlePollCalls((AsyncResult)msg.obj);
852 ar = (AsyncResult)msg.obj;
860 ar = (AsyncResult)msg.obj;
862 phone.notifySuppServiceFailed(getFailedService(msg.what));
869 ar = (AsyncResult)msg.obj;
925 protected void log(String msg) { argument
[all...]
H A DUsimPhoneBookManager.java335 public void handleMessage(Message msg) { argument
338 switch(msg.what) {
340 ar = (AsyncResult) msg.obj;
350 ar = (AsyncResult) msg.obj;
360 ar = (AsyncResult) msg.obj;
370 ar = (AsyncResult) msg.obj;
450 private void log(String msg) { argument
451 if(DBG) Log.d(LOG_TAG, msg);
/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_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...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp59 char msg[256]; local
61 sprintf(msg, "%s: status = 0x%X", message, opStatus);
62 jniThrowException( env, exception, msg);
H A Dandroid_media_MediaRecorder.cpp66 void notify(int msg, int ext1, int ext2);
99 void JNIMediaRecorderListener::notify(int msg, int ext1, int ext2) argument
104 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, msg, ext1, ext2, 0);
/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/av/cmds/stagefright/
H A Dsf2.cpp65 virtual void onMessageReceived(const sp<AMessage> &msg) { argument
66 switch (msg->what()) {
168 CHECK(msg->findInt32("what", &what));
171 onFillThisBuffer(msg);
178 onDrainThisBuffer(msg);
271 sp<AMessage> msg = new AMessage; local
272 msg->setString("mime", mime);
279 msg->setInt32("width", width);
280 msg->setInt32("height", height);
288 msg
417 onFillThisBuffer(const sp<AMessage> &msg) argument
531 onDrainThisBuffer(const sp<AMessage> &msg) argument
[all...]
/frameworks/av/include/media/
H A DSoundPool.h38 SoundPoolEvent(int msg, int arg1=0, int arg2=0) : argument
39 mMsg(msg), mArg1(arg1), mArg2(arg2) {}
/frameworks/av/media/libmedia/
H A Dmediaplayer.cpp647 void MediaPlayer::notify(int msg, int ext1, int ext2, const Parcel *obj) argument
649 ALOGV("message received msg=%d, ext1=%d, ext2=%d", msg, ext1, ext2);
667 if (!(msg == MEDIA_ERROR && mCurrentState == MEDIA_PLAYER_IDLE) && mPlayer == 0) {
668 ALOGV("notify(%d, %d, %d) callback on disconnected mediaplayer", msg, ext1, ext2);
673 switch (msg) {
741 ALOGV("unrecognized message: (%d, %d, %d)", msg, ext1, ext2);
752 listener->notify(msg, ext1, ext2, obj);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp88 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local
93 msg->setObject("source", new MP4Source(source));
95 msg->setObject("source", new StreamingSource(source));
98 msg->post();
119 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local
130 msg->setObject("source", source);
131 msg->post();
135 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local
138 msg->setObject("source", source);
139 msg
143 sp<AMessage> msg = new AMessage(kWhatSetVideoNativeWindow, id()); local
151 sp<AMessage> msg = new AMessage(kWhatSetAudioSink, id()); local
173 sp<AMessage> msg = new AMessage(kWhatSeek, id()); local
198 onMessageReceived(const sp<AMessage> &msg) argument
686 sp<AMessage> msg = new AMessage(kWhatScanSources, id()); local
731 feedDecoderInputData(bool audio, const sp<AMessage> &msg) argument
848 renderBuffer(bool audio, const sp<AMessage> &msg) argument
894 notifyListener(int msg, int ext1, int ext2) argument
956 sp<AMessage> msg = new AMessage; local
[all...]
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp62 virtual void onMessageReceived(const sp<AMessage> &msg);
367 void MPEG2TSWriter::SourceInfo::onMessageReceived(const sp<AMessage> &msg) { argument
368 switch (msg->what()) {
417 msg->post();
603 void MPEG2TSWriter::onMessageReceived(const sp<AMessage> &msg) { argument
604 switch (msg->what()) {
608 CHECK(msg->findInt32("source-index", &sourceIndex));
611 CHECK(msg->findInt32("what", &what));
629 CHECK(msg->findBuffer("buffer", &buffer));
632 if (msg
[all...]
H A DMediaCodec.cpp79 const sp<AMessage> &msg, sp<AMessage> *response) {
80 status_t err = msg->postAndAwaitResponse(response);
121 sp<AMessage> msg = new AMessage(kWhatInit, id()); local
122 msg->setString("name", name);
123 msg->setInt32("nameIsType", nameIsType);
126 msg->setInt32("encoder", encoder);
130 return PostAndAwaitResponse(msg, &response);
138 sp<AMessage> msg = new AMessage(kWhatConfigure, id()); local
140 msg->setMessage("format", format);
141 msg
78 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
158 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
165 sp<AMessage> msg = new AMessage(kWhatStop, id()); local
172 sp<AMessage> msg = new AMessage(kWhatRelease, id()); local
189 sp<AMessage> msg = new AMessage(kWhatQueueInputBuffer, id()); local
216 sp<AMessage> msg = new AMessage(kWhatQueueInputBuffer, id()); local
235 sp<AMessage> msg = new AMessage(kWhatDequeueInputBuffer, id()); local
256 sp<AMessage> msg = new AMessage(kWhatDequeueOutputBuffer, id()); local
275 sp<AMessage> msg = new AMessage(kWhatReleaseOutputBuffer, id()); local
284 sp<AMessage> msg = new AMessage(kWhatReleaseOutputBuffer, id()); local
292 sp<AMessage> msg = new AMessage(kWhatGetOutputFormat, id()); local
306 sp<AMessage> msg = new AMessage(kWhatGetBuffers, id()); local
315 sp<AMessage> msg = new AMessage(kWhatGetBuffers, id()); local
324 sp<AMessage> msg = new AMessage(kWhatFlush, id()); local
337 sp<AMessage> msg = new AMessage(kWhatRequestActivityNotification, id()); local
447 onMessageReceived(const sp<AMessage> &msg) argument
1216 sp<AMessage> msg = new AMessage(kWhatQueueInputBuffer, id()); local
1262 sp<AMessage> msg = info->mNotify; local
1276 updateBuffers( int32_t portIndex, const sp<AMessage> &msg) argument
1303 onQueueInputBuffer(const sp<AMessage> &msg) argument
1417 onReleaseOutputBuffer(const sp<AMessage> &msg) argument
[all...]
H A DNuCachedSource2.cpp260 void NuCachedSource2::onMessageReceived(const sp<AMessage> &msg) { argument
261 switch (msg->what()) {
270 onRead(msg);
404 void NuCachedSource2::onRead(const sp<AMessage> &msg) { argument
408 CHECK(msg->findInt64("offset", &offset));
411 CHECK(msg->findPointer("data", &data));
414 CHECK(msg->findSize("size", &size));
419 msg->post(50000);
483 sp<AMessage> msg = new AMessage(kWhatRead, mReflector->id()); local
484 msg
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp77 sp<AMessage> msg = new AMessage(kWhatConnect, id()); local
78 msg->setString("url", url);
81 msg->setPointer(
86 msg->post();
102 sp<AMessage> msg = new AMessage(kWhatSeek, id()); local
103 msg->setInt64("timeUs", timeUs);
104 msg->post();
111 void LiveSession::onMessageReceived(const sp<AMessage> &msg) { argument
112 switch (msg->what()) {
114 onConnect(msg);
156 onConnect(const sp<AMessage> &msg) argument
913 sp<AMessage> msg = new AMessage(kWhatMonitorQueue, id()); local
918 onSeek(const sp<AMessage> &msg) argument
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp61 void post(const omx_message &msg);
78 void dispatch(const omx_message &msg);
109 void OMX::CallbackDispatcher::post(const omx_message &msg) { argument
112 mQueue.push_back(msg);
116 void OMX::CallbackDispatcher::dispatch(const omx_message &msg) { argument
121 mOwner->onMessage(msg);
126 omx_message msg; local
138 msg = *mQueue.begin();
142 dispatch(msg);
396 omx_message msg; local
412 omx_message msg; local
426 omx_message msg; local
[all...]

Completed in 375 milliseconds

1234567891011>>