Searched defs:msg (Results 251 - 275 of 366) sorted by relevance

<<1112131415

/frameworks/av/media/libstagefright/foundation/
H A DANetworkSession.cpp205 sp<AMessage> msg = mNotify->dup(); local
206 msg->setInt32("sessionID", mSessionID);
207 msg->setInt32("reason", kWhatClientConnected);
208 msg->setString("server-ip", localAddrString.c_str());
209 msg->setInt32("server-port", ntohs(localAddr.sin_port));
210 msg->setString("client-ip", remoteAddrString.c_str());
211 msg->setInt32("client-port", ntohs(remoteAddr.sin_port));
212 msg->post();
417 sp<ParsedMessage> msg = local
421 if (msg
782 sp<AMessage> msg = mNotify->dup(); local
792 sp<AMessage> msg = mNotify->dup(); local
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp885 void OMXNodeInstance::onMessage(const omx_message &msg) { argument
886 if (msg.type == omx_message::FILL_BUFFER_DONE) {
889 msg.u.extended_buffer_data.buffer);
895 } else if (msg.type == omx_message::EMPTY_BUFFER_DONE) {
907 msg.u.buffer_data.buffer);
914 mObserver->onMessage(msg);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DPlaybackSession.cpp99 virtual void onMessageReceived(const sp<AMessage> &msg);
216 sp<AMessage> msg = new AMessage(kWhatMediaPullerStopped, id()); local
224 mMediaPuller->stopAsync(msg);
227 msg->post();
240 const sp<AMessage> &msg) {
241 switch (msg->what()) {
476 const sp<AMessage> &msg) {
477 switch (msg->what()) {
481 ALOGV("dropping msg '%s' because we're dead",
482 msg
239 onMessageReceived( const sp<AMessage> &msg) argument
475 onMessageReceived( const sp<AMessage> &msg) argument
663 onSinkFeedback(const sp<AMessage> &msg) argument
834 sp<AMessage> msg = new AMessage(kWhatPullExtractorSample, id()); local
858 sp<AMessage> msg = new AMessage(kWhatConverterNotify, id()); local
[all...]
H A DWifiDisplaySource.cpp88 const sp<AMessage> &msg, sp<AMessage> *response) {
89 status_t err = msg->postAndAwaitResponse(response);
105 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
106 msg->setString("iface", iface);
109 return PostAndAwaitResponse(msg, &response);
113 sp<AMessage> msg = new AMessage(kWhatStop, id()); local
116 return PostAndAwaitResponse(msg, &response);
120 sp<AMessage> msg = new AMessage(kWhatPause, id()); local
123 return PostAndAwaitResponse(msg, &response);
127 sp<AMessage> msg local
87 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
133 onMessageReceived(const sp<AMessage> &msg) argument
748 onReceiveM1Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument
792 onReceiveM3Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument
972 onReceiveM4Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument
993 onReceiveM5Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument
1007 onReceiveM16Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument
1034 sp<AMessage> msg = new AMessage(kWhatKeepAlive, id()); local
1039 onReceiveClientData(const sp<AMessage> &msg) argument
1682 notify( int msg, int ext1, int ext2, const Parcel *obj) argument
[all...]
/frameworks/base/core/java/android/app/
H A DApplicationThreadNative.java465 String msg = data.readString();
466 scheduleCrash(msg);
1120 public void scheduleCrash(String msg) throws RemoteException { argument
1123 data.writeString(msg);
H A DDialog.java1143 * @param msg The msg to send when the dialog is canceled.
1146 public void setCancelMessage(final Message msg) { argument
1147 mCancelMessage = msg;
1181 * @param msg The msg to send when the dialog is dismissed.
1183 public void setDismissMessage(final Message msg) { argument
1184 mDismissMessage = msg;
1188 public boolean takeCancelAndDismissListeners(String msg, final OnCancelListener cancel, argument
1198 mCancelAndDismissTaken = msg;
1235 handleMessage(Message msg) argument
[all...]
H A DLoadedApk.java55 public IntentReceiverLeaked(String msg) { argument
56 super(msg);
61 public ServiceConnectionLeaked(String msg) { argument
62 super(msg);
/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/base/core/java/android/view/
H A DVolumePanel.java944 public void handleMessage(Message msg) { argument
945 switch (msg.what) {
948 onVolumeChanged(msg.arg1, msg.arg2);
953 onMuteChanged(msg.arg1, msg.arg2);
968 onPlaySound(msg.arg1, msg.arg2);
997 onRemoteVolumeChanged(msg.arg1, msg
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java160 public void handleMessage(Message msg) { argument
161 switch (msg.what) {
166 ((DialogInterface.OnClickListener) msg.obj).onClick(mDialog.get(), msg.what);
170 ((DialogInterface) msg.obj).dismiss();
288 * You only need to pass one of {@code listener} or {@code msg}.
296 * @param msg The {@link Message} to be sent when clicked.
299 DialogInterface.OnClickListener listener, Message msg) {
301 if (msg == null && listener != null) {
302 msg
298 setButton(int whichButton, CharSequence text, DialogInterface.OnClickListener listener, Message msg) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java176 on msg {
179 defer(msg);
191 on msg {
203 on msg {
209 defer(msg);
223 on msg {
459 * @param msg
466 LogRec(StateMachine sm, Message msg, String info, IState state, IState orgState, argument
468 update(sm, msg, info, state, orgState, transToState);
477 public void update(StateMachine sm, Message msg, Strin argument
657 add(StateMachine sm, Message msg, String messageInfo, IState state, IState orgState, IState transToState) argument
755 processMessage(Message msg) argument
766 processMessage(Message msg) argument
778 handleMessage(Message msg) argument
810 performTransitions(State msgProcessedState, Message msg) argument
957 processMsg(Message msg) argument
1190 deferMessage(Message msg) argument
1213 isQuit(Message msg) argument
1359 deferMessage(Message msg) argument
1368 unhandledMessage(Message msg) argument
1376 haltedProcessMessage(Message msg) argument
1481 recordLogRec(Message msg) argument
1492 getLogRecString(Message msg) argument
1681 sendMessage(Message msg) argument
1760 sendMessageDelayed(Message msg, long delayMillis) argument
1845 sendMessageAtFrontOfQueue(Message msg) argument
1869 isQuit(Message msg) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java872 private void log(String msg) { argument
873 Log.d(LOG_TAG, msg);
/frameworks/base/core/jni/android/graphics/
H A DGraphics.cpp21 void doThrowRE(JNIEnv* env, const char* msg) { argument
22 jniThrowRuntimeException(env, msg);
25 void doThrowIAE(JNIEnv* env, const char* msg) { argument
26 jniThrowException(env, "java/lang/IllegalArgumentException", msg);
29 void doThrowISE(JNIEnv* env, const char* msg) { argument
30 jniThrowException(env, "java/lang/IllegalStateException", msg);
33 void doThrowOOME(JNIEnv* env, const char* msg) { argument
34 jniThrowException(env, "java/lang/OutOfMemoryError", msg);
37 void doThrowIOE(JNIEnv* env, const char* msg) { argument
38 jniThrowException(env, "java/io/IOException", msg);
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp676 String8 msg; local
677 msg.appendFormat("Failed to clear the cursor window, status=%d", status);
678 throw_sqlite3_exception(env, connection->db, msg.string());
685 String8 msg; local
686 msg.appendFormat("Failed to set the cursor window column count to %d, status=%d",
688 throw_sqlite3_exception(env, connection->db, msg.string());
H A Dandroid_hardware_Camera.cpp793 char msg[64]; local
794 sprintf(msg, "invalid zoom value=%d", value);
795 jniThrowException(env, "java/lang/IllegalArgumentException", msg);
853 char msg[64]; local
854 snprintf(msg, sizeof(msg), "invalid face detection type=%d", type);
855 jniThrowException(env, "java/lang/IllegalArgumentException", msg);
/frameworks/base/location/java/android/location/
H A DLocationManager.java223 public void handleMessage(Message msg) {
224 _handleMessage(msg);
230 public void handleMessage(Message msg) {
231 _handleMessage(msg);
239 Message msg = Message.obtain();
240 msg.what = TYPE_LOCATION_CHANGED;
241 msg.obj = location;
242 mListenerHandler.sendMessage(msg);
247 Message msg = Message.obtain();
248 msg
275 _handleMessage(Message msg) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java445 String msg = "Latitude: " + latitude + " out of range.";
446 throw new IllegalArgumentException(msg);
449 String msg = "Longitude: " + longitude + " out of range";
450 throw new IllegalArgumentException(msg);
946 public void handleMessage(Message msg) { argument
951 switch(msg.what) {
955 mOnErrorListener.onError(mMediaRecorder, msg.arg1, msg.arg2);
962 mOnInfoListener.onInfo(mMediaRecorder, msg.arg1, msg
[all...]
/frameworks/base/media/java/android/media/audiofx/
H A DAudioEffect.java1135 public void handleMessage(Message msg) { argument
1139 switch (msg.what) {
1147 mAudioEffect, (boolean) (msg.arg1 != 0));
1157 mAudioEffect, (boolean) (msg.arg1 != 0));
1168 int vOffset = msg.arg1;
1169 byte[] p = (byte[]) msg.obj;
1186 Log.e(TAG, "handleMessage() Unknown event type: " + msg.what);
/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp776 String8 msg; local
777 msg.appendFormat("The producer output buffer format 0x%x doesn't "
781 msg.string());
H A Dandroid_media_MediaCodec.cpp211 sp<AMessage> msg; local
213 if ((err = mCodec->getOutputFormat(&msg)) != OK) {
217 return ConvertMessageToMap(env, msg, format);
313 status_t JMediaCodec::setParameters(const sp<AMessage> &msg) { argument
314 return mCodec->setParameters(msg);
351 static void throwCryptoException(JNIEnv *env, status_t err, const char *msg) { argument
360 jstring msgObj = env->NewStringUTF(msg != NULL ? msg : "Unknown Error");
384 JNIEnv *env, status_t err, const char *msg = NULL) {
387 throwCryptoException(env, err, msg);
[all...]
H A Dandroid_media_MediaExtractor.cpp155 sp<AMessage> msg; local
157 if ((err = mImpl->getTrackFormat(index, &msg)) != OK) {
163 return ConvertMessageToMap(env, msg, format);
167 sp<AMessage> msg; local
169 if ((err = mImpl->getFileFormat(&msg)) != OK) {
175 return ConvertMessageToMap(env, msg, format);
H A Dandroid_media_MediaPlayer.cpp75 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj = NULL);
108 void JNIMediaPlayerListener::notify(int msg, int ext1, int ext2, const Parcel *obj) argument
117 msg, ext1, ext2, jParcel);
121 msg, ext1, ext2, NULL);
174 char msg[256]; local
176 sprintf(msg, "%s: status=0x%X", message, opStatus);
177 jniThrowException( env, exception, msg);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DBaseStatusBar.java429 int msg = MSG_TOGGLE_RECENTS_PANEL;
430 mHandler.removeMessages(msg);
431 mHandler.sendEmptyMessage(msg);
436 int msg = MSG_PRELOAD_RECENT_APPS;
437 mHandler.removeMessages(msg);
438 mHandler.sendEmptyMessage(msg);
443 int msg = MSG_CANCEL_PRELOAD_RECENT_APPS;
444 mHandler.removeMessages(msg);
445 mHandler.sendEmptyMessage(msg);
450 int msg
589 TouchOutsideListener(int msg, StatusBarPanel panel) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DBluetoothManagerService.java141 Message msg = mHandler.obtainMessage(MESSAGE_BLUETOOTH_STATE_CHANGE,prevState,newState);
142 mHandler.sendMessage(msg);
310 Message msg = mHandler.obtainMessage(MESSAGE_REGISTER_ADAPTER);
311 msg.obj = callback;
312 mHandler.sendMessage(msg);
321 Message msg = mHandler.obtainMessage(MESSAGE_UNREGISTER_ADAPTER);
322 msg.obj = callback;
323 mHandler.sendMessage(msg);
329 Message msg = mHandler.obtainMessage(MESSAGE_REGISTER_STATE_CHANGE_CALLBACK);
330 msg
632 handleMessage(Message msg) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DActiveServices.java177 public void handleMessage(Message msg) { argument
178 switch (msg.what) {
232 Message msg = obtainMessage(MSG_BG_START_TIMEOUT);
233 sendMessageAtTime(msg, when);
1289 String msg = "Unable to launch app "
1293 Slog.w(TAG, msg);
1295 return msg;
1343 String msg = "Unable to launch app "
1347 Slog.w(TAG, msg);
1349 return msg;
[all...]

Completed in 556 milliseconds

<<1112131415