/frameworks/ex/framesequence/jni/ |
H A D | JNIHelpers.h | 26 void jniThrowException(JNIEnv* env, const char* className, const char* msg);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoderBase.cpp | 49 const sp<AMessage> &msg, sp<AMessage> *response) { 50 status_t err = msg->postAndAwaitResponse(response); 64 sp<AMessage> msg = new AMessage(kWhatConfigure, id()); local 65 msg->setMessage("format", format); 66 msg->post(); 74 sp<AMessage> msg = new AMessage(kWhatSetRenderer, id()); local 75 msg->setObject("renderer", renderer); 76 msg->post(); 80 sp<AMessage> msg = new AMessage(kWhatGetInputBuffers, id()); local 81 msg 48 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument 92 sp<AMessage> msg = new AMessage(kWhatResume, id()); local 114 sp<AMessage> msg = new AMessage(kWhatRequestInputBuffers, id()); local 118 onMessageReceived(const sp<AMessage> &msg) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | AsyncChannel.java | 103 * msg.arg1 == 0 : STATUS_SUCCESSFUL 105 * msg.obj == the AsyncChannel 106 * msg.replyTo == dstMessenger if successful 115 * msg.replyTo = srcMessenger. 123 * msg.arg1 == 0 : Accept connection 136 * msg.replyTo = messenger that is disconnecting 144 * msg.arg1 == 0 : STATUS_SUCCESSFUL 148 * msg.obj == the AsyncChannel 149 * msg.replyTo = messenger disconnecting or null if it was never connected. 305 * msg 481 sendMessage(Message msg) argument 655 sendMessageSynchronously(Message msg) argument 772 handleMessage(Message msg) argument 815 sendMessageSynchronously(Messenger dstMessenger, Message msg) argument [all...] |
H A D | IState.java | 59 * @param msg to process 63 boolean processMessage(Message msg); argument
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiObjectNotFoundException.java | 31 public UiObjectNotFoundException(String msg) { argument 32 super(msg);
|
/frameworks/base/core/java/android/os/ |
H A D | IMessenger.aidl | 24 void send(in Message msg);
|
H A D | Registrant.java | 77 Message msg = Message.obtain(); 79 msg.what = what; 81 msg.obj = new AsyncResult(userObj, result, exception); 83 h.sendMessage(msg); 101 Message msg = h.obtainMessage(); 103 msg.what = what; 104 msg.obj = userObj; 106 return msg;
|
H A D | Looper.java | 43 * public void handleMessage(Message msg) { 122 Message msg = queue.next(); // might block 123 if (msg == null) { 131 logging.println(">>>>> Dispatching to " + msg.target + " " + 132 msg.callback + ": " + msg.what); 135 msg.target.dispatchMessage(msg); 138 logging.println("<<<<< Finished to " + msg.target + " " + msg [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | TakeScreenshotService.java | 34 public void handleMessage(Message msg) { 35 switch (msg.what) { 37 final Messenger callback = msg.replyTo; 49 }, msg.arg1 > 0, msg.arg2 > 0);
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/ |
H A D | Log.java | 58 public static void d(Tag tag, String msg) { argument 60 android.util.Log.d(tag.toString(), msg); 64 public static void d(Tag tag, String msg, Throwable tr) { argument 66 android.util.Log.d(tag.toString(), msg, tr); 70 public static void e(Tag tag, String msg) { argument 72 android.util.Log.e(tag.toString(), msg); 76 public static void e(Tag tag, String msg, Throwable tr) { argument 78 android.util.Log.e(tag.toString(), msg, tr); 82 public static void i(Tag tag, String msg) { argument 84 android.util.Log.i(tag.toString(), msg); 88 i(Tag tag, String msg, Throwable tr) argument 94 v(Tag tag, String msg) argument 100 v(Tag tag, String msg, Throwable tr) argument 106 w(Tag tag, String msg) argument 112 w(Tag tag, String msg, Throwable tr) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | SoundPoolThread.cpp | 25 void SoundPoolThread::write(SoundPoolMsg msg) { argument 33 mMsgQueue.push(msg); 43 SoundPoolMsg msg = mMsgQueue[0]; local 46 return msg; 84 SoundPoolMsg msg = read(); local 85 ALOGV("Got message m=%d, mData=%d", msg.mMessageType, msg.mData); 86 switch (msg.mMessageType) { 91 doLoadSample(msg.mData); 95 msg [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | RilMessageDecoder.java | 87 Message msg = obtainMessage(CMD_START); 88 msg.obj = rilMsg; 89 sendMessage(msg); 99 Message msg = obtainMessage(RilMessageDecoder.CMD_PARAMS_READY); 100 msg.arg1 = resCode.value(); 101 msg.obj = cmdParams; 102 sendMessage(msg); 106 Message msg = mCaller.obtainMessage(CatService.MSG_ID_RIL_MSG_DECODED, 108 msg.sendToTarget(); 128 public boolean processMessage(Message msg) { argument 143 processMessage(Message msg) argument [all...] |
/frameworks/wilhelm/src/android/ |
H A D | android_GenericPlayer.cpp | 139 sp<AMessage> msg = new AMessage(kWhatPrepare, id()); local 140 msg->post(); 147 sp<AMessage> msg = new AMessage(kWhatPlay, id()); local 148 msg->post(); 154 sp<AMessage> msg = new AMessage(kWhatPause, id()); local 155 msg->post(); 174 sp<AMessage> msg = new AMessage(kWhatSeek, id()); local 175 msg->setInt64(WHATPARAM_SEEK_SEEKTIME_MS, timeMsec); 176 msg->post(); 182 sp<AMessage> msg local 190 sp<AMessage> msg = new AMessage(kWhatBuffUpdateThres, id()); local 219 sp<AMessage> msg = new AMessage(kWhatAttachAuxEffect, id()); local 229 sp<AMessage> msg = new AMessage(kWhatSetAuxEffectSendLevel, id()); local 260 sp<AMessage> msg = new AMessage(kWhatSetPlayEvents, id()); local 288 sp<AMessage> msg = new AMessage(kWhatNotif, id()); local 301 sp<AMessage> msg = new AMessage(kWhatNotif, id()); 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, id()); local 575 sp<AMessage> msg = new AMessage(kWhatBufferingUpdate, id()); local 708 sp<AMessage> msg = new AMessage(kWhatOneShot, id()); local [all...] |
/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 148 status_t InputChannel::sendMessage(const InputMessage* msg) { argument 149 size_t msgLength = msg->size(); 152 nWrite = ::send(mFd, msg, msgLength, MSG_DONTWAIT | MSG_NOSIGNAL); 159 msg->header.type, error); 173 mName.string(), msg->header.type); 179 ALOGD("channel '%s' ~ sent message of type %d", mName.string(), msg->header.type); 184 status_t InputChannel::receiveMessage(InputMessage* msg) { argument 187 nRead = ::recv(mFd, msg, sizeof(InputMessage), MSG_DONTWAIT); 211 if (!msg->isValid(nRead)) { 219 ALOGD("channel '%s' ~ received message of type %d", mName.string(), msg 265 InputMessage msg; local 321 InputMessage msg; local 351 InputMessage msg; local 555 InputMessage& msg = batch.samples.editItemAt(i); local 575 updateTouchState(InputMessage* msg) argument 657 rewriteMessage(const TouchState& state, InputMessage* msg) argument 847 InputMessage msg; local 883 initializeKeyEvent(KeyEvent* event, const InputMessage* msg) argument 897 initializeMotionEvent(MotionEvent* event, const InputMessage* msg) argument 925 addSample(MotionEvent* event, const InputMessage* msg) argument 936 canAddSample(const Batch& batch, const InputMessage *msg) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcSwitchStateMachine.java | 87 public boolean processMessage(Message msg) { argument 90 switch (msg.what) { 99 mAc.replyToMessage(msg, DcSwitchAsyncChannel.RSP_CONNECT, 124 log("IdleState: nothandled msg.what=0x" + 125 Integer.toHexString(msg.what)); 141 public boolean processMessage(Message msg) { argument 144 switch (msg.what) { 153 mAc.replyToMessage(msg, DcSwitchAsyncChannel.RSP_CONNECT, 172 mAc.replyToMessage(msg, DcSwitchAsyncChannel.RSP_DISCONNECT_ALL, 182 log("AttachingState: nothandled msg 201 processMessage(Message msg) argument 276 processMessage(Message msg) argument 313 processMessage(Message msg) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | IntentService.java | 64 public void handleMessage(Message msg) { argument 65 onHandleIntent((Intent)msg.obj); 66 stopSelf(msg.arg1); 116 Message msg = mServiceHandler.obtainMessage(); 117 msg.arg1 = startId; 118 msg.obj = intent; 119 mServiceHandler.sendMessage(msg);
|
H A D | PackageDeleteObserver.java | 31 public void onPackageDeleted(String basePackageName, int returnCode, String msg) { 32 PackageDeleteObserver.this.onPackageDeleted(basePackageName, returnCode, msg); 44 public void onPackageDeleted(String basePackageName, int returnCode, String msg) { argument
|
H A D | PackageInstallObserver.java | 33 String msg, Bundle extras) { 34 PackageInstallObserver.this.onPackageInstalled(basePackageName, returnCode, msg, 62 public void onPackageInstalled(String basePackageName, int returnCode, String msg, argument
|
/frameworks/base/core/java/android/content/ |
H A D | AsyncQueryHandler.java | 66 public void handleMessage(Message msg) { argument 70 WorkerArgs args = (WorkerArgs) msg.obj; 72 int token = msg.what; 73 int event = msg.arg1; 113 reply.arg1 = msg.arg1; 116 Log.d(TAG, "WorkerHandler.handleMsg: msg.arg1=" + msg.arg1 168 Message msg = mWorkerThreadHandler.obtainMessage(token); 169 msg.arg1 = EVENT_ARG_QUERY; 179 msg 330 handleMessage(Message msg) argument [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | GSMTestHandler.java | 62 public boolean handleMessage(Message msg) { argument 64 mCurrentMessage = msg; 96 Message msg; 98 msg = null; 108 msg = Message.obtain(); 109 msg.copyFrom(mCurrentMessage); 115 if (msg == null || code == GSMPhoneTest.ANY_MESSAGE || msg.what == code) return msg;
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 161 const sp<AMessage> &msg, sp<AMessage> *response) { 162 status_t err = msg->postAndAwaitResponse(response); 232 sp<AMessage> msg = new AMessage(kWhatInit, id()); local 233 msg->setString("name", name); 234 msg->setInt32("nameIsType", nameIsType); 237 msg->setInt32("encoder", encoder); 241 return PostAndAwaitResponse(msg, &response); 245 sp<AMessage> msg = new AMessage(kWhatSetCallback, id()); local 246 msg->setMessage("callback", callback); 249 return PostAndAwaitResponse(msg, 160 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument 257 sp<AMessage> msg = new AMessage(kWhatConfigure, id()); local 291 sp<AMessage> msg = new AMessage(kWhatCreateInputSurface, id()); local 310 sp<AMessage> msg = new AMessage(kWhatStart, id()); local 317 sp<AMessage> msg = new AMessage(kWhatStop, id()); local 324 sp<AMessage> msg = new AMessage(kWhatRelease, id()); local 376 sp<AMessage> msg = new AMessage(kWhatQueueInputBuffer, id()); local 403 sp<AMessage> msg = new AMessage(kWhatQueueInputBuffer, id()); local 422 sp<AMessage> msg = new AMessage(kWhatDequeueInputBuffer, id()); local 443 sp<AMessage> msg = new AMessage(kWhatDequeueOutputBuffer, id()); local 462 sp<AMessage> msg = new AMessage(kWhatReleaseOutputBuffer, id()); local 471 sp<AMessage> msg = new AMessage(kWhatReleaseOutputBuffer, id()); local 481 sp<AMessage> msg = new AMessage(kWhatReleaseOutputBuffer, id()); local 489 sp<AMessage> msg = new AMessage(kWhatSignalEndOfInputStream, id()); local 496 sp<AMessage> msg = new AMessage(kWhatGetOutputFormat, id()); local 510 sp<AMessage> msg = new AMessage(kWhatGetInputFormat, id()); local 524 sp<AMessage> msg = new AMessage(kWhatGetName, id()); local 538 sp<AMessage> msg = new AMessage(kWhatGetBuffers, id()); local 547 sp<AMessage> msg = new AMessage(kWhatGetBuffers, id()); local 605 sp<AMessage> msg = new AMessage(kWhatFlush, id()); local 618 sp<AMessage> msg = new AMessage(kWhatRequestActivityNotification, id()); local 723 onMessageReceived(const sp<AMessage> &msg) argument 1745 sp<AMessage> msg = new AMessage(kWhatQueueInputBuffer, id()); local 1810 sp<AMessage> msg = info->mNotify; local 1825 updateBuffers( int32_t portIndex, const sp<AMessage> &msg) argument 1854 onQueueInputBuffer(const sp<AMessage> &msg) argument 1972 onReleaseOutputBuffer(const sp<AMessage> &msg) argument 2103 sp<AMessage> msg = mCallback->dup(); local 2115 sp<AMessage> msg = mCallback->dup(); local 2148 sp<AMessage> msg = mCallback->dup(); local 2163 sp<AMessage> msg = mCallback->dup(); local 2200 sp<AMessage> msg = new AMessage(kWhatSetParameters, id()); local [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextPlayer.cpp | 71 sp<AMessage> msg = new AMessage(kWhatSeek, id()); local 72 msg->setInt64("seekTimeUs", timeUs); 73 msg->post(); 77 sp<AMessage> msg = new AMessage(kWhatSetSource, id()); local 78 msg->setObject("source", source); 79 msg->post(); 82 void TimedTextPlayer::onMessageReceived(const sp<AMessage> &msg) { argument 83 switch (msg->what()) { 117 CHECK(msg->findInt32("generation", &generation)); 119 // Drop obsolete msg 234 sp<AMessage> msg = new AMessage(kWhatRetryRead, id()); local 262 sp<AMessage> msg = new AMessage(kWhatSendSubtitle, id()); local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
H A D | Handler_Delegate.java | 35 /*package*/ static boolean sendMessageAtTime(Handler handler, Message msg, long uptimeMillis) { argument 39 callback.sendMessageAtTime(handler, msg, uptimeMillis); 47 void sendMessageAtTime(Handler handler, Message msg, long uptimeMillis); argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | RttService.java | 50 public void handleMessage(Message msg) { argument 52 if (DBG) Log.d(TAG, "ClientHandler got" + msg); 54 switch (msg.what) { 57 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 58 AsyncChannel c = (AsyncChannel) msg.obj; 60 msg.replyTo); 61 ClientInfo cInfo = new ClientInfo(c, msg.replyTo); 62 mClients.put(msg.replyTo, cInfo); 64 Slog.e(TAG, "Client connection failure, error=" + msg.arg1); 68 if (msg 238 processMessage(Message msg) argument 261 processMessage(Message msg) argument 309 processMessage(Message msg) argument 360 replySucceeded(Message msg, Object obj) argument 376 replyFailed(Message msg, int reason, String description) argument [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | Response.java | 37 * @param msg A message explaining the reason for failure. 39 void onError(IN request, int code, String msg); argument
|