Searched defs:msg (Results 76 - 100 of 366) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java66 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/base/core/java/android/nfc/cardemulation/
H A DHostApduService.java231 public void handleMessage(Message msg) { argument
232 switch (msg.what) {
234 Bundle dataBundle = msg.getData();
238 if (mNfcService == null) mNfcService = msg.replyTo;
270 msg.replyTo = mMessenger;
271 mNfcService.send(msg);
279 onDeactivated(msg.arg1);
287 msg.replyTo = mMessenger;
288 mNfcService.send(msg);
294 super.handleMessage(msg);
[all...]
/frameworks/base/core/java/android/util/
H A DLog.java90 TerribleFailure(String msg, Throwable cause) { super(msg, cause); } argument
115 * @param msg The message you would like logged.
117 public static int v(String tag, String msg) { argument
118 return println_native(LOG_ID_MAIN, VERBOSE, tag, msg);
125 * @param msg The message you would like logged.
128 public static int v(String tag, String msg, Throwable tr) { argument
129 return println_native(LOG_ID_MAIN, VERBOSE, tag, msg + '\n' + getStackTraceString(tr));
136 * @param msg The message you would like logged.
138 public static int d(String tag, String msg) { argument
149 d(String tag, String msg, Throwable tr) argument
159 i(String tag, String msg) argument
170 i(String tag, String msg, Throwable tr) argument
180 w(String tag, String msg) argument
191 w(String tag, String msg, Throwable tr) argument
231 e(String tag, String msg) argument
242 e(String tag, String msg, Throwable tr) argument
255 wtf(String tag, String msg) argument
264 wtfStack(String tag, String msg) argument
285 wtf(String tag, String msg, Throwable tr) argument
289 wtf(int logId, String tag, String msg, Throwable tr, boolean localStack) argument
347 println(int priority, String tag, String msg) argument
356 println_native(int bufID, int priority, String tag, String msg) argument
[all...]
/frameworks/base/core/java/android/view/
H A DWindowId.java82 public void handleMessage(Message msg) { argument
83 switch (msg.what) {
85 onFocusGained((WindowId)msg.obj);
88 onFocusLost((WindowId)msg.obj);
91 super.handleMessage(msg);
/frameworks/base/core/java/android/webkit/
H A DJsDialogHelper.java64 public JsDialogHelper(JsPromptResult result, Message msg) { argument
66 mDefaultValue = msg.getData().getString("default");
67 mMessage = msg.getData().getString("message");
68 mType = msg.getData().getInt("type");
69 mUrl = msg.getData().getString("url");
/frameworks/base/core/java/android/widget/
H A DFilter.java225 * @param msg the filtering request
227 public void handleMessage(Message msg) { argument
228 int what = msg.what;
232 RequestArguments args = (RequestArguments) msg.obj;
276 * @param msg the filtering results
279 public void handleMessage(Message msg) { argument
280 RequestArguments args = (RequestArguments) msg.obj;
/frameworks/base/core/java/com/android/internal/os/storage/
H A DExternalStorageFormatter.java135 void fail(int msg) { argument
136 Toast.makeText(this, msg, Toast.LENGTH_LONG).show();
221 public void updateProgressDialog(int msg) { argument
230 mProgressDialog.setMessage(getText(msg));
/frameworks/base/core/jni/
H A Dandroid_os_MessageQueue.cpp38 virtual void raiseException(JNIEnv* env, const char* msg, jthrowable exceptionObj);
56 bool MessageQueue::raiseAndClearException(JNIEnv* env, const char* msg) { argument
60 raiseException(env, msg, exceptionObj);
78 void NativeMessageQueue::raiseException(JNIEnv* env, const char* msg, jthrowable exceptionObj) { argument
85 ALOGE("Exception in MessageQueue callback: %s", msg);
88 ALOGE("Exception: %s", msg);
H A Dandroid_util_Log.cpp106 * public static native int println_native(int buffer, int priority, String tag, String msg)
112 const char* msg = NULL; local
126 msg = env->GetStringUTFChars(msgObj, NULL);
128 int res = __android_log_buf_write(bufID, (android_LogPriority)priority, tag, msg);
132 env->ReleaseStringUTFChars(msgObj, msg);
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutDirectionsTest.java237 private void expectDirections(String msg, Directions expected, Directions result) { argument
/frameworks/base/services/java/com/android/server/wifi/
H A DWifiTrafficPoller.java106 public void handleMessage(Message msg) { argument
107 switch (msg.what) {
109 mEnableTrafficStatsPoll = (msg.arg1 == 1);
118 if (msg.arg1 == mTrafficStatsPollToken) {
125 mClients.add((Messenger) msg.obj);
128 mClients.remove(msg.obj);
136 Message msg;
139 msg = Message.obtain(mTrafficHandler,
142 msg = Message.obtain(mTrafficHandler,
145 msg
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_transport.cpp159 void BufferedOutputStream::enqueueMessage(GLMessage *msg) { argument
160 const uint32_t len = msg->ByteSize();
163 msg->AppendToString(&mStringBuffer); // append message
166 int BufferedOutputStream::send(GLMessage *msg) { argument
167 enqueueMessage(msg);
/frameworks/native/services/surfaceflinger/
H A DClient.cpp148 sp<MessageBase> msg = new MessageCreateLayer(mFlinger.get(), local
150 mFlinger->postMessageSync(msg);
151 return static_cast<MessageCreateLayer*>( msg.get() )->getResult();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccPhoneBookInterfaceManager.java57 public void handleMessage(Message msg) {
60 switch (msg.what) {
62 ar = (AsyncResult) msg.obj;
77 ar = (AsyncResult) msg.obj;
84 ar = (AsyncResult)msg.obj;
134 protected abstract void logd(String msg); argument
136 protected abstract void loge(String msg); argument
H A DWakeLockStateMachine.java101 * @param obj the object to pass in the msg.obj field
113 public boolean processMessage(Message msg) { argument
114 switch (msg.what) {
116 mPhone = (PhoneBase) msg.obj;
121 String errorText = "processMessage: unhandled message type " + msg.what;
151 public boolean processMessage(Message msg) { argument
152 switch (msg.what) {
155 if (handleSmsMessage(msg)) {
184 public boolean processMessage(Message msg) { argument
185 switch (msg
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaLteServiceStateTracker.java65 public void handleMessage(Message msg) { argument
71 loge("Received message " + msg + "[" + msg.what + "]" +
76 switch (msg.what) {
79 ar = (AsyncResult)msg.obj;
80 handlePollStateResult(msg.what, ar);
99 super.handleMessage(msg);
H A DCdmaSubscriptionSourceManager.java104 public void handleMessage(Message msg) { argument
106 switch (msg.what) {
110 log("CDMA_SUBSCRIPTION_SOURCE event = " + msg.what);
111 ar = (AsyncResult) msg.obj;
120 super.handleMessage(msg);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimDataDownloadHandler.java278 * @param msg the message to handle
281 public void handleMessage(Message msg) { argument
284 switch (msg.what) {
286 handleDataDownload((SmsMessage) msg.obj);
290 ar = (AsyncResult) msg.obj;
304 ar = (AsyncResult) msg.obj;
316 Rlog.e(TAG, "Ignoring unexpected message, what=" + msg.what);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
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.java132 handleMessage(Message msg) { argument
138 switch (msg.what) {
140 ar = (AsyncResult)(msg.obj);
173 ar = (AsyncResult)(msg.obj);
182 ar = (AsyncResult)(msg.obj);
213 ar = (AsyncResult)(msg.obj);
234 ar = (AsyncResult)(msg.obj);
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp47 const sp<AMessage> &msg, sp<AMessage> *response) {
48 status_t err = msg->postAndAwaitResponse(response);
61 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local
62 msg->setString("path", path);
64 return PostAndAwaitResponse(msg, &response);
68 sp<AMessage> msg = new AMessage(kWhatSetSurface, id()); local
75 msg->setObject(
79 return PostAndAwaitResponse(msg, &response);
83 sp<AMessage> msg = new AMessage(kWhatPrepare, id()); local
85 return PostAndAwaitResponse(msg,
46 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
89 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
95 sp<AMessage> msg = new AMessage(kWhatStop, id()); local
101 sp<AMessage> msg = new AMessage(kWhatReset, id()); local
106 onMessageReceived(const sp<AMessage> &msg) argument
383 sp<AMessage> msg = new AMessage(kWhatDoMoreStuff, id()); local
[all...]
/frameworks/av/media/libmedia/
H A DIHDCP.cpp45 int msg, int ext1, int ext2, const Parcel *obj) {
48 data.writeInt32(msg);
178 int msg = data.readInt32(); local
190 notify(msg, ext1, ext2, &obj);
44 notify( int msg, int ext1, int ext2, const Parcel *obj) argument
H A Dmediarecorder.cpp680 void MediaRecorder::notify(int msg, int ext1, int ext2) argument
682 ALOGV("message received msg=%d, ext1=%d, ext2=%d", msg, ext1, ext2);
692 listener->notify(msg, ext1, ext2);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp134 sp<AMessage> msg = new AMessage(kWhatFetchSubtitleData, id()); local
135 msg->setInt32("generation", mFetchSubtitleDataGeneration);
136 msg->post();
150 void NuPlayer::HTTPLiveSource::onMessageReceived(const sp<AMessage> &msg) { argument
151 switch (msg->what()) {
154 onSessionNotify(msg);
161 CHECK(msg->findInt32("generation", &generation));
182 msg->post(delayUs > 0ll ? delayUs : 0ll);
185 msg->post(1000000ll);
192 Source::onMessageReceived(msg);
197 onSessionNotify(const sp<AMessage> &msg) argument
[all...]
H A DNuPlayerRenderer.cpp66 sp<AMessage> msg = new AMessage(kWhatQueueBuffer, id()); local
67 msg->setInt32("audio", static_cast<int32_t>(audio));
68 msg->setBuffer("buffer", buffer);
69 msg->setMessage("notifyConsumed", notifyConsumed);
70 msg->post();
76 sp<AMessage> msg = new AMessage(kWhatQueueEOS, id()); local
77 msg->setInt32("audio", static_cast<int32_t>(audio));
78 msg->setInt32("finalResult", finalResult);
79 msg->post();
94 sp<AMessage> msg local
115 onMessageReceived(const sp<AMessage> &msg) argument
216 sp<AMessage> msg = new AMessage(kWhatDrainAudioQueue, id()); local
341 sp<AMessage> msg = new AMessage(kWhatDrainVideoQueue, id()); local
448 onQueueBuffer(const sp<AMessage> &msg) argument
534 onQueueEOS(const sp<AMessage> &msg) argument
564 onFlush(const sp<AMessage> &msg) argument
624 dropBufferWhileFlushing( bool audio, const sp<AMessage> &msg) argument
[all...]

Completed in 552 milliseconds

1234567891011>>