/frameworks/native/cmds/servicemanager/ |
H A D | binder.c | 251 struct binder_io msg; local 256 bio_init_from_txn(&msg, txn); 257 res = func(bs, txn, &msg, &reply); 335 struct binder_io *msg, struct binder_io *reply, 346 if (msg->flags & BIO_F_OVERFLOW) { 355 writebuf.txn.data_size = msg->data - msg->data0; 356 writebuf.txn.offsets_size = ((char*) msg->offs) - ((char*) msg->offs0); 357 writebuf.txn.data.ptr.buffer = (uintptr_t)msg 334 binder_call(struct binder_state *bs, struct binder_io *msg, struct binder_io *reply, uint32_t target, uint32_t code) argument 467 binder_done(struct binder_state *bs, __unused struct binder_io *msg, struct binder_io *reply) argument [all...] |
/frameworks/native/include/input/ |
H A D | InputTransport.h | 166 status_t sendMessage(const InputMessage* msg); 178 status_t receiveMessage(InputMessage* msg); 370 void initializeFrom(const InputMessage* msg) { argument 371 eventTime = msg->body.motion.eventTime; 373 for (uint32_t i = 0; i < msg->body.motion.pointerCount; i++) { 374 uint32_t id = msg->body.motion.pointers[i].properties.id; 377 pointers[i].copyFrom(msg->body.motion.pointers[i].coords); 402 void addHistory(const InputMessage* msg) { argument 407 history[historyCurrent].initializeFrom(msg); 431 void updateTouchState(InputMessage* msg); [all...] |
/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/net/wifi/service/java/com/android/server/wifi/ |
H A D | RttService.java | 53 public void handleMessage(Message msg) { argument 56 Log.d(TAG, "ClientHandler got" + msg + " what = " + getDescription(msg.what)); 59 switch (msg.what) { 62 if (msg.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { 65 if (DBG) Slog.d(TAG, "Client connection lost with reason: " + msg.arg1); 67 if (DBG) Slog.d(TAG, "closing client " + msg.replyTo); 68 ClientInfo ci = mClients.remove(msg.replyTo); 73 ac.connected(mContext, this, msg.replyTo); 74 ClientInfo client = new ClientInfo(ac, msg 293 processMessage(Message msg) argument 328 processMessage(Message msg) argument 396 processMessage(Message msg) argument 471 processMessage(Message msg) argument 508 replySucceeded(Message msg, Object obj) argument 524 replyFailed(Message msg, int reason, String description) argument 543 enforcePermissionCheck(Message msg) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CallTracker.java | 81 Message msg = obtainMessage(); 83 msg.what = EVENT_REPOLL_AFTER_DELAY; 84 sendMessageDelayed(msg, POLL_DELAY_MSEC); 285 public abstract void handleMessage (Message msg); argument 291 protected abstract void log(String msg); argument
|
H A D | PhoneSwitcher.java | 165 Message msg = PhoneSwitcher.this.obtainMessage(EVENT_DEFAULT_SUBSCRIPTION_CHANGED); 166 msg.sendToTarget(); 174 Message msg = PhoneSwitcher.this.obtainMessage(EVENT_SUBSCRIPTION_CHANGED); 175 msg.sendToTarget(); 180 public void handleMessage(Message msg) { argument 181 switch (msg.what) { 191 onRequestNetwork((NetworkRequest)msg.obj); 195 onReleaseNetwork((NetworkRequest)msg.obj); 203 onResendDataAllowed(msg); 228 Message msg 365 onResendDataAllowed(Message msg) argument [all...] |
H A D | SubscriptionInfoUpdater.java | 281 public void handleMessage(Message msg) { argument 282 switch (msg.what) { 284 AsyncResult ar = (AsyncResult)msg.obj; 313 AsyncResult ar = (AsyncResult)msg.obj; 327 handleSimLoaded(msg.arg1); 331 handleSimAbsent(msg.arg1); 335 handleSimLocked(msg.arg1, (String) msg.obj); 339 updateCarrierServices(msg.arg1, IccCardConstants.INTENT_VALUE_ICC_UNKNOWN); 343 updateCarrierServices(msg [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | UsimPhoneBookManager.java | 521 public void handleMessage(Message msg) { argument 524 switch(msg.what) { 526 ar = (AsyncResult) msg.obj; 536 ar = (AsyncResult) msg.obj; 546 ar = (AsyncResult) msg.obj; 556 ar = (AsyncResult) msg.obj; 662 private void log(String msg) { argument 663 if(DBG) Rlog.d(LOG_TAG, msg);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedGsmCallState.java | 160 handleMessage(Message msg) { argument 161 synchronized(this) { switch (msg.what) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IsimUiccRecords.java | 107 public void handleMessage(Message msg) { argument 111 Rlog.e(LOG_TAG, "Received message " + msg + 112 "[" + msg.what + "] while being destroyed. Ignoring."); 115 loge("IsimUiccRecords: handleMessage " + msg + "[" + msg.what + "] "); 118 switch (msg.what) { 124 ar = (AsyncResult)msg.obj; 135 ar = (AsyncResult)msg.obj; 154 super.handleMessage(msg); // IccRecords handles generic record load responses
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | MediaBrowserServiceSupport.java | 767 public void handleMessage(Message msg) { argument
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | MediaBrowserServiceSupport.java | 767 public void handleMessage(Message msg) { argument
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouteProviderService.java | 479 Message msg = Message.obtain(); 480 msg.what = what; 481 msg.arg1 = requestId; 482 msg.arg2 = arg; 483 msg.obj = obj; 484 msg.setData(data); 486 messenger.send(msg); 503 public void handleMessage(Message msg) { argument 504 switch (msg.what) { 506 onBinderDied((Messenger)msg 630 handleMessage(Message msg) argument [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewFocusRecoveryTest.java | 425 private void assertFocus(String msg, RecyclerView.ViewHolder vh, boolean hasFocus) { argument 427 assertThat(msg, fvh.getViewToFocus().hasFocus(), is(hasFocus));
|
/frameworks/wilhelm/src/android/ |
H A D | android_AudioSfDecoder.cpp | 381 void AudioSfDecoder::onSeek(const sp<AMessage> &msg) { argument 384 CHECK(msg->findInt64(WHATPARAM_SEEK_SEEKTIME_MS, &timeMsec)); 393 GenericPlayer::onSeek(msg); 397 void AudioSfDecoder::onLoop(const sp<AMessage> &msg) { argument 400 CHECK(msg->findInt32(WHATPARAM_LOOP_LOOPING, &loop)); 411 GenericPlayer::onLoop(msg); 415 void AudioSfDecoder::onCheckCache(const sp<AMessage> &msg) { argument 440 msg->post(100000); 568 sp<AMessage> msg = new AMessage(kWhatRender, this); local 569 msg 574 onMessageReceived(const sp<AMessage> &msg) argument 613 onNotify(const sp<AMessage> &msg) argument [all...] |
H A D | android_GenericPlayer.cpp | 139 sp<AMessage> msg = new AMessage(kWhatPrepare, this); local 140 msg->post(); 147 sp<AMessage> msg = new AMessage(kWhatPlay, this); local 148 msg->post(); 154 sp<AMessage> msg = new AMessage(kWhatPause, this); local 155 msg->post(); 174 sp<AMessage> msg = new AMessage(kWhatSeek, this); local 175 msg->setInt64(WHATPARAM_SEEK_SEEKTIME_MS, timeMsec); 176 msg->post(); 182 sp<AMessage> msg local 190 sp<AMessage> msg = new AMessage(kWhatBuffUpdateThres, this); local 219 sp<AMessage> msg = new AMessage(kWhatAttachAuxEffect, this); local 229 sp<AMessage> msg = new AMessage(kWhatSetAuxEffectSendLevel, this); local 260 sp<AMessage> msg = new AMessage(kWhatSetPlayEvents, this); local 288 sp<AMessage> msg = new AMessage(kWhatNotif, this); local 301 sp<AMessage> msg = new AMessage(kWhatNotif, this); local 313 onMessageReceived(const sp<AMessage> &msg) argument 408 onNotify(const sp<AMessage> &msg) argument 474 onSeek(const sp<AMessage> &msg) argument 479 onLoop(const sp<AMessage> &msg) argument 499 onBufferingUpdate(const sp<AMessage> &msg) argument 504 onSetBufferingUpdateThreshold(const sp<AMessage> &msg) argument 514 onAttachAuxEffect(const sp<AMessage> &msg) argument 519 onSetAuxEffectSendLevel(const sp<AMessage> &msg) argument 524 onSetPlayEvents(const sp<AMessage> &msg) argument 538 onOneShot(const sp<AMessage> &msg) argument 568 sp<AMessage> msg = new AMessage(kWhatSeekComplete, this); local 575 sp<AMessage> msg = new AMessage(kWhatBufferingUpdate, this); local 708 sp<AMessage> msg = new AMessage(kWhatOneShot, this); local [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | sf2.cpp | 99 virtual void onMessageReceived(const sp<AMessage> &msg) { argument 106 switch (msg->what()) { 211 CHECK(msg->findInt32("what", &what)); 214 onFillThisBuffer(msg); 221 onDrainThisBuffer(msg); 294 sp<AMessage> msg = new AMessage; local 295 msg->setString("mime", mime); 302 msg->setInt32("width", width); 303 msg->setInt32("height", height); 311 msg 440 onFillThisBuffer(const sp<AMessage> &msg) argument 554 onDrainThisBuffer(const sp<AMessage> &msg) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | mediaplayer.cpp | 800 void MediaPlayer::notify(int msg, int ext1, int ext2, const Parcel *obj) argument 802 ALOGV("message received msg=%d, ext1=%d, ext2=%d", msg, ext1, ext2); 820 if (!(msg == MEDIA_ERROR && mCurrentState == MEDIA_PLAYER_IDLE) && mPlayer == 0) { 821 ALOGV("notify(%d, %d, %d) callback on disconnected mediaplayer", msg, ext1, ext2); 826 switch (msg) { 900 ALOGV("unrecognized message: (%d, %d, %d)", msg, ext1, ext2); 911 listener->notify(msg, ext1, ext2, obj);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoder.cpp | 110 sp<AMessage> msg = new AMessage(kWhatSetVideoSurface, this); local 112 msg->setObject("surface", surface); 114 status_t err = msg->postAndAwaitResponse(&response); 121 void NuPlayer::Decoder::onMessageReceived(const sp<AMessage> &msg) { argument 122 ALOGV("[%s] onMessage: %s", mComponentName.c_str(), msg->debugString().c_str()); 124 switch (msg->what()) { 128 CHECK(msg->findInt32("callbackID", &cbID)); 141 CHECK(msg->findInt32("index", &index)); 155 CHECK(msg->findInt32("index", &index)); 156 CHECK(msg 526 sp<AMessage> msg = new AMessage(); local 592 sp<AMessage> msg = new AMessage(); local 607 sp<AMessage> msg = *mPendingInputMessages.begin(); local 749 isStaleReply(const sp<AMessage> &msg) argument 864 onInputBufferFetched(const sp<AMessage> &msg) argument 992 onRenderBuffer(const sp<AMessage> &msg) argument 1049 sp<AMessage> msg = mNotify->dup(); local [all...] |
H A D | NuPlayerDriver.cpp | 711 int msg, int ext1, int ext2, const Parcel *in) { 713 notifyListener_l(msg, ext1, ext2, in); 717 int msg, int ext1, int ext2, const Parcel *in) { 719 this, msg, ext1, ext2, mAutoLoop, mLooping); 720 switch (msg) { 762 sendEvent(msg, ext1, ext2, in); 710 notifyListener( int msg, int ext1, int ext2, const Parcel *in) argument 716 notifyListener_l( int msg, int ext1, int ext2, const Parcel *in) argument
|
H A D | RTSPSource.cpp | 132 sp<AMessage> msg = new AMessage(kWhatDisconnect, this); local 135 msg->postAndAwaitResponse(&dummy); 283 sp<AMessage> msg = new AMessage(kWhatPerformSeek, this); local 284 msg->setInt32("generation", ++mSeekGeneration); 285 msg->setInt64("timeUs", seekTimeUs); 288 status_t err = msg->postAndAwaitResponse(&response); 308 sp<AMessage> msg = new AMessage(kWhatPollBuffering, this); local 309 msg->post(1000000ll); // 1 second intervals 419 void NuPlayer::RTSPSource::onSignalEOS(const sp<AMessage> &msg) { argument 421 CHECK(msg 440 sp<AMessage> msg = new AMessage(kWhatSignalEOS, this); local 448 onMessageReceived(const sp<AMessage> &msg) argument 741 onSDPLoaded(const sp<AMessage> &msg) argument 787 onDisconnected(const sp<AMessage> &msg) argument [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(); 591 void MPEG2TSWriter::onMessageReceived(const sp<AMessage> &msg) { argument 592 switch (msg->what()) { 596 CHECK(msg->findInt32("source-index", &sourceIndex)); 599 CHECK(msg->findInt32("what", &what)); 617 CHECK(msg->findBuffer("buffer", &buffer)); 620 if (msg [all...] |
H A D | MediaCodecSource.cpp | 62 virtual void onMessageReceived(const sp<AMessage> &msg); 96 status_t postSynchronouslyAndReturnError(const sp<AMessage> &msg); 150 const sp<AMessage> &msg) { 152 status_t err = msg->postAndAwaitResponse(&response); 174 sp<AMessage> msg = new AMessage(kWhatStart, this); local 175 msg->setObject("meta", meta); 176 return postSynchronouslyAndReturnError(msg); 202 sp<AMessage> msg = new AMessage(kWhatStop, this); local 203 (void)postSynchronouslyAndReturnError(msg); 222 sp<AMessage> msg local 149 postSynchronouslyAndReturnError( const sp<AMessage> &msg) argument 227 onMessageReceived(const sp<AMessage> &msg) argument 340 sp<AMessage> msg = new AMessage(kWhatSetInputBufferTimeOffset, mReflector); local 346 sp<AMessage> msg = new AMessage(kWhatGetFirstSampleSystemTimeUs, mReflector); local 357 sp<AMessage> msg = new AMessage(kWhatStart, mReflector); local 363 sp<AMessage> msg = new AMessage(kWhatStop, mReflector); local 574 postSynchronouslyAndReturnError( const sp<AMessage> &msg) argument 793 onMessageReceived(const sp<AMessage> &msg) argument [all...] |
H A D | MediaSync.cpp | 593 sp<AMessage> msg = new AMessage(kWhatDrainVideo, this); local 594 msg->post(itemRealUs - nowUs - twoVsyncsUs); 795 void MediaSync::onMessageReceived(const sp<AMessage> &msg) { argument 796 switch (msg->what()) { 809 msg->post(itemRealUs - nowUs);
|
H A D | NuCachedSource2.cpp | 302 void NuCachedSource2::onMessageReceived(const sp<AMessage> &msg) { argument 303 switch (msg->what()) { 312 onRead(msg); 450 void NuCachedSource2::onRead(const sp<AMessage> &msg) { argument 454 CHECK(msg->findInt64("offset", &offset)); 457 CHECK(msg->findPointer("data", &data)); 460 CHECK(msg->findSize("size", &size)); 465 msg->post(50000); 536 sp<AMessage> msg = new AMessage(kWhatRead, mReflector); local 537 msg [all...] |