Searched defs:msg (Results 51 - 75 of 474) sorted by relevance

1234567891011>>

/frameworks/av/include/media/stagefright/
H A DMediaWriter.h60 void notify(int msg, int ext1, int ext2) { argument
62 mListener->notify(msg, ext1, ext2);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoderBase.cpp49 const sp<AMessage> &msg, sp<AMessage> *response) {
50 status_t err = msg->postAndAwaitResponse(response);
64 sp<AMessage> msg = new AMessage(kWhatConfigure, id()); local
65 msg->setMessage("format", format);
66 msg->post();
74 sp<AMessage> msg = new AMessage(kWhatSetRenderer, id()); local
75 msg->setObject("renderer", renderer);
76 msg->post();
80 sp<AMessage> msg = new AMessage(kWhatGetInputBuffers, id()); local
81 msg
48 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
92 sp<AMessage> msg = new AMessage(kWhatResume, id()); local
114 sp<AMessage> msg = new AMessage(kWhatRequestInputBuffers, id()); local
118 onMessageReceived(const sp<AMessage> &msg) argument
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DALooperRoster.cpp101 const sp<AMessage> &msg, int64_t delayUs) {
103 sp<ALooper> looper = findLooper(msg->target());
108 looper->post(msg, delayUs);
112 void ALooperRoster::deliverMessage(const sp<AMessage> &msg) { argument
118 ssize_t index = mHandlers.indexOfKey(msg->target());
131 msg->target());
138 handler->onMessageReceived(msg);
161 const sp<AMessage> &msg, sp<AMessage> *response) {
162 sp<ALooper> looper = findLooper(msg->target());
167 msg
100 postMessage( const sp<AMessage> &msg, int64_t delayUs) argument
160 postAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAH263Assembler.cpp196 sp<AMessage> msg = mNotifyMsg->dup(); local
197 msg->setBuffer("access-unit", accessUnit);
198 msg->post();
209 sp<AMessage> msg = mNotifyMsg->dup(); local
210 msg->setInt32("eos", true);
211 msg->post();
H A DARawAudioAssembler.cpp98 sp<AMessage> msg = mNotifyMsg->dup(); local
99 msg->setBuffer("access-unit", buffer);
100 msg->post();
114 sp<AMessage> msg = mNotifyMsg->dup(); local
115 msg->setInt32("eos", true);
116 msg->post();
H A DSDPLoader.cpp54 sp<AMessage> msg = new AMessage(kWhatLoad, id()); local
55 msg->setString("url", url);
58 msg->setPointer(
63 msg->post();
72 void SDPLoader::onMessageReceived(const sp<AMessage> &msg) { argument
73 switch (msg->what()) {
75 onLoad(msg);
84 void SDPLoader::onLoad(const sp<AMessage> &msg) { argument
88 CHECK(msg->findString("url", &url));
91 msg
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.cpp50 const sp<AMessage> &msg) {
52 status_t err = msg->postAndAwaitResponse(&response);
70 sp<AMessage> msg = new AMessage(kWhatStop, id()); local
71 msg->setMessage("notify", notify);
72 msg->post();
83 void MediaPuller::onMessageReceived(const sp<AMessage> &msg) { argument
84 switch (msg->what()) {
109 CHECK(msg->senderAwaitsResponse(&replyID));
127 CHECK(msg->findMessage("notify", &notify));
135 CHECK(msg
49 postSynchronouslyAndReturnError( const sp<AMessage> &msg) argument
218 sp<AMessage> msg = new AMessage(kWhatPull, id()); local
[all...]
/frameworks/av/media/ndk/
H A DNdkMediaMuxer.cpp82 sp<AMessage> msg; local
83 AMediaFormat_getFormat(format, &msg);
84 return translate_error(muxer->mImpl->addTrack(msg));
/frameworks/base/core/java/android/app/
H A DIntentService.java64 public void handleMessage(Message msg) { argument
65 onHandleIntent((Intent)msg.obj);
66 stopSelf(msg.arg1);
116 Message msg = mServiceHandler.obtainMessage();
117 msg.arg1 = startId;
118 msg.obj = intent;
119 mServiceHandler.sendMessage(msg);
/frameworks/base/core/java/android/app/job/
H A DJobService.java121 public void handleMessage(Message msg) { argument
122 final JobParameters params = (JobParameters) msg.obj;
123 switch (msg.what) {
143 final boolean needsReschedule = (msg.arg2 == 1);
/frameworks/base/core/java/android/view/
H A DInputFilter.java225 public void handleMessage(Message msg) { argument
226 switch (msg.what) {
228 mHost = (IInputFilterHost) msg.obj;
247 final InputEvent event = (InputEvent)msg.obj;
252 onInputEvent(event, msg.arg1);
/frameworks/base/core/jni/android/graphics/
H A DUtils.cpp123 jobject android::nullObjectReturn(const char msg[]) { argument
124 if (msg) {
125 SkDebugf("--- %s\n", msg);
/frameworks/base/core/tests/coretests/src/android/net/
H A DLinkAddressTest.java347 private void assertGlobalPreferred(LinkAddress l, String msg) { argument
348 assertTrue(msg, l.isGlobalPreferred());
351 private void assertNotGlobalPreferred(LinkAddress l, String msg) { argument
352 assertFalse(msg, l.isGlobalPreferred());
/frameworks/base/core/tests/coretests/src/android/os/
H A DBroadcasterTest.java46 Message msg = new Message();
47 msg.what = MESSAGE_A;
49 b.broadcast(msg);
52 public void handleMessage(Message msg) {
53 if (msg.what == MESSAGE_B) {
82 Message msg = new Message();
83 msg.what = MESSAGE_A;
85 b.broadcast(msg);
88 public void handleMessage(Message msg) { argument
89 int index = msg
[all...]
H A DMemoryFileTest.java123 private void readIndexOutOfBoundsException(int offset, int count, String msg) argument
132 fail(msg);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DSystemBars.java110 private RuntimeException andLog(String msg, Throwable t) { argument
111 Log.w(TAG, msg, t);
112 throw new RuntimeException(msg, t);
/frameworks/base/services/core/java/com/android/server/am/
H A DLockTaskNotify.java83 public void handleMessage(Message msg) { argument
84 switch(msg.what) {
86 handleShowToast(msg.arg1 != 0);
/frameworks/base/services/core/java/com/android/server/wm/
H A DKeyguardDisableHandler.java55 public void handleMessage(Message msg) { argument
60 switch (msg.what) {
62 final Pair<IBinder, String> pair = (Pair<IBinder, String>)msg.obj;
67 mKeyguardTokenWatcher.release((IBinder)msg.obj);
/frameworks/base/tests/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/
H A DSetAlarm.java103 private void errorFinish(String msg) { argument
105 ret.putString("error", msg);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/
H A DLog.java58 public static void d(Tag tag, String msg) { argument
60 android.util.Log.d(tag.toString(), msg);
64 public static void d(Tag tag, String msg, Throwable tr) { argument
66 android.util.Log.d(tag.toString(), msg, tr);
70 public static void e(Tag tag, String msg) { argument
72 android.util.Log.e(tag.toString(), msg);
76 public static void e(Tag tag, String msg, Throwable tr) { argument
78 android.util.Log.e(tag.toString(), msg, tr);
82 public static void i(Tag tag, String msg) { argument
84 android.util.Log.i(tag.toString(), msg);
88 i(Tag tag, String msg, Throwable tr) argument
94 v(Tag tag, String msg) argument
100 v(Tag tag, String msg, Throwable tr) argument
106 w(Tag tag, String msg) argument
112 w(Tag tag, String msg, Throwable tr) argument
[all...]
/frameworks/multidex/library/test/src/android/util/
H A DLog.java65 * @param msg The message you would like logged.
67 public static int v(String tag, String msg) { argument
68 return println(LOG_ID_MAIN, VERBOSE, tag, msg);
75 * @param msg The message you would like logged.
78 public static int v(String tag, String msg, Throwable tr) { argument
79 return println(LOG_ID_MAIN, VERBOSE, tag, msg + '\n' + getStackTraceString(tr));
86 * @param msg The message you would like logged.
88 public static int d(String tag, String msg) { argument
89 return println(LOG_ID_MAIN, DEBUG, tag, msg);
96 * @param msg Th
99 d(String tag, String msg, Throwable tr) argument
109 i(String tag, String msg) argument
120 i(String tag, String msg, Throwable tr) argument
130 w(String tag, String msg) argument
141 w(String tag, String msg, Throwable tr) argument
161 e(String tag, String msg) argument
172 e(String tag, String msg, Throwable tr) argument
210 println(int priority, String tag, String msg) argument
221 println(int bufID, int priority, String tag, String msg) argument
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMnsService.java61 public void handleMessage(Message msg) { argument
62 Log.d(TAG, "Handler: msg: " + msg.what);
64 switch (msg.what) {
66 int instanceId = msg.arg1;
72 BluetoothMapEventReport ev = (BluetoothMapEventReport) msg.obj;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsStorageMonitor.java100 * @param msg the message to handle
103 public void handleMessage(Message msg) { argument
106 switch (msg.what) {
112 ar = (AsyncResult) msg.obj;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DRuimFileHandler.java74 protected void logd(String msg) { argument
75 Rlog.d(LOG_TAG, "[RuimFileHandler] " + msg);
79 protected void loge(String msg) { argument
80 Rlog.e(LOG_TAG, "[RuimFileHandler] " + msg);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGSMTestHandler.java62 public boolean handleMessage(Message msg) { argument
64 mCurrentMessage = msg;
96 Message msg;
98 msg = null;
108 msg = Message.obtain();
109 msg.copyFrom(mCurrentMessage);
115 if (msg == null || code == GSMPhoneTest.ANY_MESSAGE || msg.what == code) return msg;

Completed in 7482 milliseconds

1234567891011>>