Searched defs:msg (Results 176 - 200 of 637) sorted by relevance

1234567891011>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DAdnRecordLoader.java144 handleMessage(Message msg) { argument
150 switch (msg.what) {
152 ar = (AsyncResult)(msg.obj);
186 ar = (AsyncResult)(msg.obj);
195 ar = (AsyncResult)(msg.obj);
226 ar = (AsyncResult)(msg.obj);
254 ar = (AsyncResult)(msg.obj);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DPhoneSwitcherTest.java77 Message msg = this.obtainMessage(IN_IDLE, lock);
78 msg.sendToTarget();
103 public void handleMessage(Message msg) { argument
104 switch (msg.what) {
106 AsyncResult ar = (AsyncResult)(msg.obj);
115 Object lock = msg.obj;
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp49 const sp<AMessage> &msg, sp<AMessage> *response) {
50 status_t err = msg->postAndAwaitResponse(response);
63 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); local
64 msg->setString("path", path);
66 return PostAndAwaitResponse(msg, &response);
70 sp<AMessage> msg = new AMessage(kWhatSetSurface, this); local
77 msg->setObject("surface", surface);
80 return PostAndAwaitResponse(msg, &response);
84 sp<AMessage> msg = new AMessage(kWhatPrepare, this); local
86 return PostAndAwaitResponse(msg,
48 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
90 sp<AMessage> msg = new AMessage(kWhatStart, this); local
96 sp<AMessage> msg = new AMessage(kWhatStop, this); local
102 sp<AMessage> msg = new AMessage(kWhatReset, this); local
107 onMessageReceived(const sp<AMessage> &msg) argument
383 sp<AMessage> msg = new AMessage(kWhatDoMoreStuff, this); local
[all...]
/frameworks/av/drm/libmediadrm/
H A DICrypto.cpp155 AString msg = reply.readCString(); local
157 *errorDetailMsg = msg;
/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.cpp772 void MediaRecorder::notify(int msg, int ext1, int ext2) argument
774 ALOGV("message received msg=%d, ext1=%d, ext2=%d", msg, ext1, ext2);
784 listener->notify(msg, ext1, ext2);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp248 sp<AMessage> msg = new AMessage(what, this); local
249 msg->setInt32("generation", generation);
250 msg->post();
269 const sp<AMessage> &msg, int32_t currentGeneration,
273 CHECK(msg->findInt32("generation", &generation));
293 msg->post(delayUs > 0ll ? delayUs : 0ll);
308 msg->post(1000000ll);
311 void NuPlayer::HTTPLiveSource::onMessageReceived(const sp<AMessage> &msg) { argument
312 switch (msg->what()) {
315 onSessionNotify(msg);
268 pollForRawData( const sp<AMessage> &msg, int32_t currentGeneration, LiveSession::StreamType fetchType, int32_t pushWhat) argument
349 onSessionNotify(const sp<AMessage> &msg) argument
[all...]
H A DNuPlayerDecoderPassThrough.cpp96 bool NuPlayer::DecoderPassThrough::isStaleReply(const sp<AMessage> &msg) { argument
98 CHECK(msg->findInt32("generation", &generation));
115 sp<AMessage> msg = new AMessage(); local
117 err = fetchInputData(msg);
122 onInputBufferFetched(msg);
243 sp<AMessage> msg = mNotify->dup(); local
244 msg->setInt32("what", kWhatInputDiscontinuity);
247 msg->setInt32("formatChange", false);
248 msg->post();
283 const sp<AMessage> &msg) {
282 onInputBufferFetched( const sp<AMessage> &msg) argument
414 onMessageReceived(const sp<AMessage> &msg) argument
[all...]
H A DStreamingSource.cpp293 const sp<AMessage> &msg) {
294 switch (msg->what()) {
292 onMessageReceived( const sp<AMessage> &msg) argument
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp168 void ALooper::post(const sp<AMessage> &msg, int64_t delayUs) { argument
185 event.mMessage = msg;
H A DParsedMessage.cpp29 sp<ParsedMessage> msg = new ParsedMessage; local
30 ssize_t res = msg->parse(data, size, noMoreData);
38 return msg;
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4ElementaryAssembler.cpp403 sp<AMessage> msg = mNotifyMsg->dup(); local
404 msg->setBuffer("access-unit", accessUnit);
405 msg->post();
428 sp<AMessage> msg = mNotifyMsg->dup(); local
429 msg->setInt32("eos", true);
430 msg->post();
/frameworks/av/media/libstagefright/wifi-display/
H A DMediaSender.cpp285 void MediaSender::onMessageReceived(const sp<AMessage> &msg) { argument
286 switch (msg->what()) {
290 CHECK(msg->findInt32("generation", &generation));
295 onSenderNotify(msg);
304 void MediaSender::onSenderNotify(const sp<AMessage> &msg) { argument
306 CHECK(msg->findInt32("what", &what));
314 CHECK(msg->findInt32("err", &err));
331 CHECK(msg->findInt32("err", &err));
340 CHECK(msg->findSize("numBytesQueued", &numBytesQueued));
349 CHECK(msg
[all...]
/frameworks/av/media/ndk/
H A DNdkMediaFormat.cpp67 sp<AMessage> msg = new AMessage(); local
68 return AMediaFormat_fromMsg(&msg);
/frameworks/base/cmds/hid/src/com/android/commands/hid/
H A DDevice.java81 Message msg = mHandler.obtainMessage(MSG_SEND_REPORT, report);
82 mHandler.sendMessageAtTime(msg, mEventTime);
90 Message msg = mHandler.obtainMessage(MSG_CLOSE_DEVICE);
91 msg.setAsynchronous(true);
92 mHandler.sendMessageAtTime(msg, mEventTime + 1);
109 public void handleMessage(Message msg) { argument
110 switch (msg.what) {
112 SomeArgs args = (SomeArgs) msg.obj;
120 nativeSendReport(mPtr, (byte[]) msg.obj);
158 Message msg
[all...]
H A DEvent.java244 private static void error(String msg) { argument
245 error(msg, null);
248 private static void error(String msg, Exception e) { argument
249 System.out.println(msg);
250 Log.e(TAG, msg);
/frameworks/base/core/java/android/app/usage/
H A DNetworkStatsManager.java465 private static Object getObject(Message msg, String key) { argument
466 return msg.getData().getParcelable(key);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHost.java82 Message msg = handler.obtainMessage(HANDLE_UPDATE, appWidgetId, 0, views);
83 msg.sendToTarget();
94 Message msg = handler.obtainMessage(HANDLE_PROVIDER_CHANGED,
96 msg.sendToTarget();
112 Message msg = handler.obtainMessage(HANDLE_VIEW_DATA_CHANGED,
114 msg.sendToTarget();
127 public void handleMessage(Message msg) { argument
128 switch (msg.what) {
130 updateAppWidgetView(msg.arg1, (RemoteViews)msg
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dp.java836 private static void log(String msg) { argument
837 Log.d(TAG, msg);
H A DBluetoothA2dpSink.java513 private static void log(String msg) { argument
514 Log.d(TAG, msg);
H A DBluetoothMap.java388 private static void log(String msg) { argument
389 Log.d(TAG, msg);
H A DBluetoothPan.java400 private static void log(String msg) { argument
401 Log.d(TAG, msg);
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java77 public void executeMessage(Message msg) { argument
81 switch (msg.what) {
84 SomeArgs args = (SomeArgs)msg.obj;
91 switch (msg.what) {
96 mInputMethodSession.displayCompletions((CompletionInfo[])msg.obj);
99 mInputMethodSession.updateExtractedText(msg.arg1,
100 (ExtractedText)msg.obj);
103 SomeArgs args = (SomeArgs)msg.obj;
110 mInputMethodSession.updateCursor((Rect)msg.obj);
114 mInputMethodSession.updateCursorAnchorInfo((CursorAnchorInfo)msg
[all...]
H A DIInputMethodWrapper.java126 public void executeMessage(Message msg) { argument
129 if (inputMethod == null && msg.what != DO_DUMP) {
130 Log.w(TAG, "Input method reference was null, ignoring message: " + msg.what);
134 switch (msg.what) {
140 SomeArgs args = (SomeArgs)msg.obj;
155 inputMethod.attachToken((IBinder)msg.obj);
159 inputMethod.bindInput((InputBinding)msg.obj);
166 final SomeArgs args = (SomeArgs) msg.obj;
167 final int missingMethods = msg.arg1;
168 final boolean restarting = msg
[all...]
/frameworks/base/core/java/android/net/
H A DIpSecManager.java81 * @param msg Description indicating the colliding SPI
84 SpiUnavailableException(String msg, int spi) { argument
85 super(msg + "(spi: " + spi + ")");
102 ResourceUnavailableException(String msg) { argument
103 super(msg);

Completed in 3794 milliseconds

1234567891011>>