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

1234567891011>>

/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/tests/BrowserTestPlugin/jni/event/
H A DEventPlugin.cpp156 char msg[] = "lifecycle-onLoad"; local
157 printToDiv(msg, strlen(msg));
161 char msg[] = "lifecycle-gainFocus"; local
162 printToDiv(msg, strlen(msg));
166 char msg[] = "lifecycle-loseFocus"; local
167 printToDiv(msg, strlen(msg));
/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.cpp149 sp<MessageBase> msg = new MessageCreateLayer(mFlinger.get(), local
151 mFlinger->postMessageSync(msg);
152 return static_cast<MessageCreateLayer*>( msg.get() )->getResult();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
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 DIccPhoneBookInterfaceManager.java53 public void handleMessage(Message msg) {
56 switch (msg.what) {
58 ar = (AsyncResult) msg.obj;
73 ar = (AsyncResult) msg.obj;
80 ar = (AsyncResult)msg.obj;
130 protected abstract void logd(String msg); argument
132 protected abstract void loge(String msg); argument
H A DIccSmsInterfaceManager.java223 protected abstract void log(String msg); argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaLteServiceStateTracker.java74 public void handleMessage(Message msg) { argument
78 switch (msg.what) {
81 ar = (AsyncResult)msg.obj;
82 handlePollStateResult(msg.what, ar);
100 super.handleMessage(msg);
H A DCdmaSubscriptionSourceManager.java106 public void handleMessage(Message msg) { argument
108 switch (msg.what) {
112 log("CDMA_SUBSCRIPTION_SOURCE event = " + msg.what);
113 ar = (AsyncResult) msg.obj;
122 super.handleMessage(msg);
H A DRuimSmsInterfaceManager.java56 public void handleMessage(Message msg) {
59 switch (msg.what) {
61 ar = (AsyncResult) msg.obj;
68 ar = (AsyncResult)msg.obj;
218 protected void log(String msg) { argument
219 Log.d(LOG_TAG, "[RuimSmsInterfaceManager] " + msg);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimDataDownloadHandler.java240 * @param msg the message to handle
243 public void handleMessage(Message msg) { argument
244 switch (msg.what) {
246 handleDataDownload((SmsMessage) msg.obj);
250 AsyncResult ar = (AsyncResult) msg.obj;
264 Log.e(TAG, "Ignoring unexpected message, what=" + msg.what);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccController.java175 public void handleMessage (Message msg) { argument
177 switch (msg.what) {
184 AsyncResult ar = (AsyncResult)msg.obj;
188 Log.e(LOG_TAG, " Unknown Event " + msg.what);
/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
381 sp<AMessage> msg = new AMessage(kWhatDoMoreStuff, id()); local
[all...]
/frameworks/av/include/media/
H A DMediaPlayerInterface.h68 int msg, int ext1, int ext2, const Parcel *obj);
191 void sendEvent(int msg, int ext1=0, int ext2=0, argument
194 if (mNotify) mNotify(mCookie, msg, ext1, ext2, obj);
/frameworks/av/media/libmedia/
H A Dmediarecorder.cpp659 void MediaRecorder::notify(int msg, int ext1, int ext2) argument
661 ALOGV("message received msg=%d, ext1=%d, ext2=%d", msg, ext1, ext2);
671 listener->notify(msg, ext1, ext2);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp351 void NuPlayerDriver::notifyListener(int msg, int ext1, int ext2) { argument
352 if (msg == MEDIA_PLAYBACK_COMPLETE || msg == MEDIA_ERROR) {
356 sendEvent(msg, ext1, ext2);
H A DNuPlayerRenderer.cpp62 sp<AMessage> msg = new AMessage(kWhatQueueBuffer, id()); local
63 msg->setInt32("audio", static_cast<int32_t>(audio));
64 msg->setBuffer("buffer", buffer);
65 msg->setMessage("notifyConsumed", notifyConsumed);
66 msg->post();
72 sp<AMessage> msg = new AMessage(kWhatQueueEOS, id()); local
73 msg->setInt32("audio", static_cast<int32_t>(audio));
74 msg->setInt32("finalResult", finalResult);
75 msg->post();
90 sp<AMessage> msg local
111 onMessageReceived(const sp<AMessage> &msg) argument
212 sp<AMessage> msg = new AMessage(kWhatDrainAudioQueue, id()); local
318 sp<AMessage> msg = new AMessage(kWhatDrainVideoQueue, id()); local
413 onQueueBuffer(const sp<AMessage> &msg) argument
499 onQueueEOS(const sp<AMessage> &msg) argument
523 onFlush(const sp<AMessage> &msg) argument
578 dropBufferWhileFlushing( bool audio, const sp<AMessage> &msg) argument
[all...]
H A DRTSPSource.cpp89 sp<AMessage> msg = new AMessage(kWhatDisconnect, mReflector->id()); local
92 msg->postAndAwaitResponse(&dummy);
196 sp<AMessage> msg = new AMessage(kWhatPerformSeek, mReflector->id()); local
197 msg->setInt32("generation", ++mSeekGeneration);
198 msg->setInt64("timeUs", seekTimeUs);
199 msg->post(200000ll);
217 void NuPlayer::RTSPSource::onMessageReceived(const sp<AMessage> &msg) { argument
218 if (msg->what() == kWhatDisconnect) {
220 CHECK(msg->senderAwaitsResponse(&replyID));
225 } else if (msg
461 onDisconnected(const sp<AMessage> &msg) argument
[all...]
/frameworks/av/media/libstagefright/
H A DUtils.cpp73 sp<AMessage> msg = new AMessage; local
74 msg->setString("mime", mime);
78 msg->setInt64("durationUs", durationUs);
86 msg->setInt32("width", width);
87 msg->setInt32("height", height);
93 msg->setInt32("channel-count", numChannels);
94 msg->setInt32("sample-rate", sampleRate);
98 msg->setInt32("channel-mask", channelMask);
103 msg->setInt32("encoder-delay", delay);
107 msg
353 convertMessageToMetaData(const sp<AMessage> &msg, sp<MetaData> &meta) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4ElementaryAssembler.cpp394 sp<AMessage> msg = mNotifyMsg->dup(); local
395 msg->setBuffer("access-unit", accessUnit);
396 msg->post();
418 sp<AMessage> msg = mNotifyMsg->dup(); local
419 msg->setInt32("eos", true);
420 msg->post();
/frameworks/av/media/libstagefright/wifi-display/sink/
H A DTunnelRenderer.cpp40 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj) { argument
41 ALOGI("notify %d, %d, %d", msg, ext1, ext2);
305 void TunnelRenderer::onMessageReceived(const sp<AMessage> &msg) { argument
306 switch (msg->what()) {
310 CHECK(msg->findBuffer("buffer", &buffer));

Completed in 1262 milliseconds

1234567891011>>