/frameworks/base/media/jni/ |
H A D | android_media_MediaMetadataRetriever.cpp | 59 char msg[256]; local 61 sprintf(msg, "%s: status = 0x%X", message, opStatus); 62 jniThrowException( env, exception, msg);
|
H A D | android_media_MediaRecorder.cpp | 66 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 D | CommandQueue.java | 236 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/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
H A D | FaceUnlock.java | 238 public boolean handleMessage(Message msg) { argument 239 switch (msg.what) { 265 handlePokeWakelock(msg.arg1);
|
/frameworks/base/services/java/com/android/server/ |
H A D | NativeDaemonConnector.java | 99 public boolean handleMessage(Message msg) { argument 100 String event = (String) msg.obj; 102 if (!mCallbacks.onEvent(msg.what, event, NativeDaemonEvent.unescapeArgs(event))) {
|
H A D | Watchdog.java | 118 public void handleMessage(Message msg) { argument 119 switch (msg.what) {
|
/frameworks/base/services/java/com/android/server/display/ |
H A D | WifiDisplayAdapter.java | 636 public void handleMessage(Message msg) { argument 637 switch (msg.what) {
|
/frameworks/base/services/java/com/android/server/power/ |
H A D | Notifier.java | 314 Message msg = mHandler.obtainMessage(MSG_USER_ACTIVITY); 315 msg.setAsynchronous(true); 316 mHandler.sendMessage(msg); 330 Message msg = mHandler.obtainMessage(MSG_WIRELESS_CHARGING_STARTED); 331 msg.setAsynchronous(true); 332 mHandler.sendMessage(msg); 342 Message msg = mHandler.obtainMessage(MSG_BROADCAST); 343 msg.setAsynchronous(true); 344 mHandler.sendMessage(msg); 519 public void handleMessage(Message msg) { argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | Bridge.java | 70 public StaticMethodNotImplementedException(String msg) { argument 71 super(msg);
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | CarouselViewHelper.java | 98 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 D | CpuConsumer_test.cpp | 156 #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 D | gltrace_context.cpp | 207 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 D | ICalendar.java | 46 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 D | CatService.java | 621 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 D | GsmCallTracker.java | 835 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 D | UsimPhoneBookManager.java | 335 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 D | android_AudioSfDecoder.cpp | 382 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 D | android_GenericPlayer.cpp | 138 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/av/cmds/stagefright/ |
H A D | sf2.cpp | 65 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 D | SoundPool.h | 38 SoundPoolEvent(int msg, int arg1=0, int arg2=0) : argument 39 mMsg(msg), mArg1(arg1), mArg2(arg2) {}
|
/frameworks/av/media/libmedia/ |
H A D | mediaplayer.cpp | 659 void MediaPlayer::notify(int msg, int ext1, int ext2, const Parcel *obj) argument 661 ALOGV("message received msg=%d, ext1=%d, ext2=%d", msg, ext1, ext2); 679 if (!(msg == MEDIA_ERROR && mCurrentState == MEDIA_PLAYER_IDLE) && mPlayer == 0) { 680 ALOGV("notify(%d, %d, %d) callback on disconnected mediaplayer", msg, ext1, ext2); 685 switch (msg) { 753 ALOGV("unrecognized message: (%d, %d, %d)", msg, ext1, ext2); 764 listener->notify(msg, ext1, ext2, obj);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayer.cpp | 89 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...] |
/frameworks/av/media/libstagefright/ |
H A D | MPEG2TSWriter.cpp | 62 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 D | MediaCodec.cpp | 79 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 D | NuCachedSource2.cpp | 260 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...] |