Searched refs:msg (Results 251 - 275 of 559) sorted by relevance

<<11121314151617181920>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DServiceStateTracker.java327 public void handleMessage(Message msg) { argument
328 switch (msg.what) {
332 (msg.arg1 == mPendingRadioPowerOffAfterDataOffTag)) {
338 log("EVENT_SET_RADIO_OFF is stale arg1=" + msg.arg1 +
349 log("Unhandled message with number: " + msg.what);
474 Message msg = Message.obtain(this);
475 msg.what = EVENT_SET_RADIO_POWER_OFF;
476 msg.arg1 = ++mPendingRadioPowerOffAfterDataOffTag;
477 if (sendMessageDelayed(msg, 30000)) {
H A DCallManager.java1741 public void handleMessage(Message msg) {
1743 switch (msg.what) {
1746 mDisconnectRegistrants.notifyRegistrants((AsyncResult) msg.obj);
1750 mPreciseCallStateRegistrants.notifyRegistrants((AsyncResult) msg.obj);
1755 Connection c = (Connection) ((AsyncResult) msg.obj).result;
1763 mNewRingingConnectionRegistrants.notifyRegistrants((AsyncResult) msg.obj);
1768 mUnknownConnectionRegistrants.notifyRegistrants((AsyncResult) msg.obj);
1774 mIncomingRingRegistrants.notifyRegistrants((AsyncResult) msg.obj);
1779 mRingbackToneRegistrants.notifyRegistrants((AsyncResult) msg.obj);
1783 mInCallVoicePrivacyOnRegistrants.notifyRegistrants((AsyncResult) msg
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmConnection.java101 handleMessage(Message msg) { argument
103 switch (msg.what) {
294 Message msg = null;
297 msg = h.obtainMessage(EVENT_DTMF_DONE);
301 owner.cm.sendDtmf(c, msg);
674 //Log.v("GSM", "##### processNextPostDialChar: send msg to postDialHandler, arg1=" + c);
723 Message msg = h.obtainMessage(EVENT_WAKE_LOCK_TIMEOUT);
724 h.sendMessageDelayed(msg, WAKE_LOCK_TIMEOUT_MILLIS);
755 private void log(String msg) { argument
756 Log.d(LOG_TAG, "[GSMConn] " + msg);
[all...]
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);
H A DGsmDataConnection.java86 // msg.obj will be returned in AsyncResult.userObj;
87 Message msg = obtainMessage(EVENT_SETUP_DATA_CONNECTION_DONE, cp);
88 msg.obj = cp;
108 protocol, msg);
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h118 virtual void onMessageReceived(const sp<AMessage> &msg);
205 const sp<AMessage> &msg, sp<AMessage> *response);
212 size_t updateBuffers(int32_t portIndex, const sp<AMessage> &msg);
213 status_t onQueueInputBuffer(const sp<AMessage> &msg);
214 status_t onReleaseOutputBuffer(const sp<AMessage> &msg);
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp79 sp<AMessage> msg = new AMessage(kWhatConnect, id()); local
80 msg->setString("url", url);
83 msg->setPointer(
88 msg->post();
104 sp<AMessage> msg = new AMessage(kWhatSeek, id()); local
105 msg->setInt64("timeUs", timeUs);
106 msg->post();
113 void LiveSession::onMessageReceived(const sp<AMessage> &msg) { argument
114 switch (msg->what()) {
116 onConnect(msg);
158 onConnect(const sp<AMessage> &msg) argument
977 sp<AMessage> msg = new AMessage(kWhatMonitorQueue, id()); local
982 onSeek(const sp<AMessage> &msg) argument
[all...]
/frameworks/base/core/java/android/speech/
H A DRecognitionService.java75 public void handleMessage(Message msg) {
76 switch (msg.what) {
78 StartListeningArgs args = (StartListeningArgs) msg.obj;
82 dispatchStopListening((IRecognitionListener) msg.obj);
85 dispatchCancel((IRecognitionListener) msg.obj);
/frameworks/base/core/jni/android/graphics/
H A DGraphicsJNI.h238 void doThrowIAE(JNIEnv* env, const char* msg = NULL); // Illegal Argument
239 void doThrowRE(JNIEnv* env, const char* msg = NULL); // Runtime
240 void doThrowISE(JNIEnv* env, const char* msg = NULL); // Illegal State
241 void doThrowOOME(JNIEnv* env, const char* msg = NULL); // Out of memory
242 void doThrowIOE(JNIEnv* env, const char* msg = NULL); // IO Exception
/frameworks/base/services/java/com/android/server/
H A DNetworkTimeUpdateService.java267 public void handleMessage(Message msg) { argument
268 switch (msg.what) {
272 onPollNetworkTime(msg.what);
284 SettingsObserver(Handler handler, int msg) { argument
287 mMsg = msg;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
H A DIsimUiccRecords.java81 public void handleMessage(Message msg) { argument
83 Log.e(LOG_TAG, "Received message " + msg +
84 "[" + msg.what + "] while being destroyed. Ignoring.");
89 switch (msg.what) {
95 super.handleMessage(msg); // IccRecords handles generic record load responses
/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp233 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
234 msg->setObject("source", new FileSource(filename));
235 msg->post();
240 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
241 msg->setObject("source", source);
242 msg->post();
247 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
248 msg->setObject("source", new DataSourceSource(source));
249 msg->post();
257 sp<AMessage> msg local
288 sp<AMessage> msg = new AMessage(kWhatSeekTo, id()); local
346 sp<AMessage> msg = new AMessage(kWhatDequeueAccessUnit, id()); local
396 onMessageReceived(const sp<AMessage> &msg) argument
1019 sp<AMessage> msg = new AMessage(kWhatReadMore, id()); local
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyTransmitter.h342 virtual void onMessageReceived(const sp<AMessage> &msg) { argument
343 switch (msg->what()) {
347 CHECK(msg->findInt32("result", &result));
359 CHECK(msg->findInt32("server-ip", (int32_t *)&mServerIP));
368 CHECK(msg->findInt32("result", &result));
374 CHECK(msg->findObject("response", &obj));
448 msg->post(50000);
456 CHECK(msg->findInt32("result", &result));
462 CHECK(msg->findObject("response", &obj));
546 CHECK(msg
[all...]
H A DAAVCAssembler.cpp347 sp<AMessage> msg = mNotifyMsg->dup(); local
348 msg->setBuffer("access-unit", accessUnit);
349 msg->post();
371 sp<AMessage> msg = mNotifyMsg->dup(); local
372 msg->setInt32("eos", true);
373 msg->post();
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/base/core/java/android/database/
H A DDatabaseUtils.java136 String msg = reply.readString();
137 DatabaseUtils.readExceptionFromParcel(reply, msg, code);
144 String msg = reply.readString();
146 throw new FileNotFoundException(msg);
148 DatabaseUtils.readExceptionFromParcel(reply, msg, code);
156 String msg = reply.readString();
158 throw new OperationApplicationException(msg);
160 DatabaseUtils.readExceptionFromParcel(reply, msg, code);
164 private static final void readExceptionFromParcel(Parcel reply, String msg, int code) { argument
167 throw new IllegalArgumentException(msg);
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp278 sp<AMessage> msg = new AMessage(mWhat, mTarget);
279 msg->mNumItems = mNumItems;
283 Item *to = &msg->mItems[i];
300 to->u.refValue->incStrong(msg.get());
310 to->u.refValue->incStrong(msg.get());
322 return msg;
453 sp<AMessage> msg = new AMessage(what);
455 msg->mNumItems = static_cast<size_t>(parcel.readInt32());
457 for (size_t i = 0; i < msg->mNumItems; ++i) {
458 Item *item = &msg
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnectionPool.java739 StringBuilder msg = new StringBuilder();
740 msg.append("The connection pool for database '").append(mConfiguration.label);
741 msg.append("' has been unable to grant a connection to thread ");
742 msg.append(thread.getId()).append(" (").append(thread.getName()).append(") ");
743 msg.append("with flags 0x").append(Integer.toHexString(connectionFlags));
744 msg.append(" for ").append(waitMillis * 0.001f).append(" seconds.\n");
765 msg.append("Connections: ").append(activeConnections).append(" active, ");
766 msg.append(idleConnections).append(" idle, ");
767 msg.append(availableConnections).append(" available.\n");
770 msg
[all...]
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
H A DFakeApp.java48 @Override public void handleMessage(Message msg) {
49 switch (msg.what) {
58 super.handleMessage(msg);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardUpdateMonitor.java121 public void handleMessage(Message msg) {
122 switch (msg.what) {
127 handleBatteryUpdate((BatteryStatus) msg.obj);
133 handleSimStateChange((SimArgs) msg.obj);
136 handleRingerModeChange(msg.arg1);
139 handlePhoneStateChanged((String)msg.obj);
151 handleUserSwitched(msg.arg1, (IRemoteCallback)msg.obj);
154 handleUserRemoved(msg.arg1);
157 handleKeyguardVisibilityChanged(msg
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DAppNotRespondingDialog.java108 public void handleMessage(Message msg) {
110 switch (msg.what) {
121 if (msg.what == WAIT_AND_REPORT) {
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DTestsListActivity.java52 public void handleMessage(Message msg) {
53 switch (msg.what) {
56 mTestsList = (ArrayList<String>)msg.obj;
/frameworks/base/tests/SerialChat/src/com/android/serialchat/
H A DSerialChat.java153 public void handleMessage(Message msg) {
154 switch (msg.what) {
156 mLog.setText(mLog.getText() + (String)msg.obj);
/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/base/core/java/android/view/textservice/
H A DSpellCheckerSession.java110 public void handleMessage(Message msg) {
111 switch (msg.what) {
113 handleOnGetSuggestionsMultiple((SuggestionsInfo[]) msg.obj);
116 handleOnGetSentenceSuggestionsMultiple((SentenceSuggestionsInfo[]) msg.obj);
337 @Override public void handleMessage(Message msg) {
338 SpellCheckerParams scp = (SpellCheckerParams)msg.obj;

Completed in 599 milliseconds

<<11121314151617181920>>