Searched defs:msg (Results 1 - 25 of 578) sorted by last modified time

1234567891011>>

/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.cpp381 void AudioSfDecoder::onSeek(const sp<AMessage> &msg) { argument
384 CHECK(msg->findInt64(WHATPARAM_SEEK_SEEKTIME_MS, &timeMsec));
393 GenericPlayer::onSeek(msg);
397 void AudioSfDecoder::onLoop(const sp<AMessage> &msg) { argument
400 CHECK(msg->findInt32(WHATPARAM_LOOP_LOOPING, &loop));
411 GenericPlayer::onLoop(msg);
415 void AudioSfDecoder::onCheckCache(const sp<AMessage> &msg) { argument
440 msg->post(100000);
568 sp<AMessage> msg = new AMessage(kWhatRender, this); local
569 msg
574 onMessageReceived(const sp<AMessage> &msg) argument
613 onNotify(const sp<AMessage> &msg) argument
[all...]
H A Dandroid_GenericMediaPlayer.cpp61 // Map a media_event_type enum (the msg of an IMediaPlayerClient::notify) to a string or NULL
62 static const char *media_event_type_to_string(media_event_type msg) argument
64 switch (msg) {
85 #define _(code, msg) case code: return msg;
99 #define _(code, msg) case code: return msg;
116 void MediaPlayerNotificationClient::notify(int msg, int ext1, int ext2, const Parcel *obj) { argument
118 SL_LOGV("MediaPlayerNotificationClient::notify(msg=%s (%d), ext1=%d, ext2=%d)",
119 media_event_type_to_string((enum media_event_type) msg), ms
395 onSeek(const sp<AMessage> &msg) argument
430 onLoop(const sp<AMessage> &msg) argument
458 onAttachAuxEffect(const sp<AMessage> &msg) argument
472 onSetAuxEffectSendLevel(const sp<AMessage> &msg) argument
486 onBufferingUpdate(const sp<AMessage> &msg) argument
[all...]
H A Dandroid_GenericPlayer.cpp139 sp<AMessage> msg = new AMessage(kWhatPrepare, this); local
140 msg->post();
147 sp<AMessage> msg = new AMessage(kWhatPlay, this); local
148 msg->post();
154 sp<AMessage> msg = new AMessage(kWhatPause, this); local
155 msg->post();
174 sp<AMessage> msg = new AMessage(kWhatSeek, this); local
175 msg->setInt64(WHATPARAM_SEEK_SEEKTIME_MS, timeMsec);
176 msg->post();
182 sp<AMessage> msg local
190 sp<AMessage> msg = new AMessage(kWhatBuffUpdateThres, this); local
219 sp<AMessage> msg = new AMessage(kWhatAttachAuxEffect, this); local
229 sp<AMessage> msg = new AMessage(kWhatSetAuxEffectSendLevel, this); local
260 sp<AMessage> msg = new AMessage(kWhatSetPlayEvents, this); local
288 sp<AMessage> msg = new AMessage(kWhatNotif, this); local
301 sp<AMessage> msg = new AMessage(kWhatNotif, this); local
313 onMessageReceived(const sp<AMessage> &msg) argument
408 onNotify(const sp<AMessage> &msg) argument
474 onSeek(const sp<AMessage> &msg) argument
479 onLoop(const sp<AMessage> &msg) argument
499 onBufferingUpdate(const sp<AMessage> &msg) argument
504 onSetBufferingUpdateThreshold(const sp<AMessage> &msg) argument
514 onAttachAuxEffect(const sp<AMessage> &msg) argument
519 onSetAuxEffectSendLevel(const sp<AMessage> &msg) argument
524 onSetPlayEvents(const sp<AMessage> &msg) argument
538 onOneShot(const sp<AMessage> &msg) argument
568 sp<AMessage> msg = new AMessage(kWhatSeekComplete, this); local
575 sp<AMessage> msg = new AMessage(kWhatBufferingUpdate, this); local
708 sp<AMessage> msg = new AMessage(kWhatOneShot, this); local
[all...]
H A Dandroid_StreamPlayer.cpp98 void StreamSourceAppProxy::receivedCmd_l(IStreamListener::Command cmd, const sp<AMessage> &msg) { argument
100 mListener->issueCommand(cmd, false /* synchronous */, msg);
161 sp<AMessage> msg = new AMessage(); local
162 msg->setInt64(IStreamListener::kKeyResumeAtPTS,
164 receivedCmd_l(IStreamListener::DISCONTINUITY, msg /*msg*/);
167 sp<AMessage> msg = new AMessage(); local
168 msg->setInt32(
171 receivedCmd_l(IStreamListener::DISCONTINUITY, msg /*msg*/);
174 sp<AMessage> msg = new AMessage(); local
313 onMessageReceived(const sp<AMessage> &msg) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DPlaybackControlGlue.java185 public void handleMessage(Message msg) { argument
186 if (msg.what == MSG_UPDATE_PLAYBACK_STATE) {
187 PlaybackControlGlue glue = ((WeakReference<PlaybackControlGlue>) msg.obj).get();
H A DPlaybackControlSupportGlue.java187 public void handleMessage(Message msg) { argument
188 if (msg.what == MSG_UPDATE_PLAYBACK_STATE) {
189 PlaybackControlSupportGlue glue = ((WeakReference<PlaybackControlSupportGlue>) msg.obj).get();
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DAssertHelper.java21 public static void assertGreaterThan(String msg, int a, int b) { argument
22 junit.framework.Assert.assertTrue(msg + ": " + a + " > " + b, a > b);
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAlertController.java151 public void handleMessage(Message msg) { argument
152 switch (msg.what) {
157 ((DialogInterface.OnClickListener) msg.obj).onClick(mDialog.get(), msg.what);
161 ((DialogInterface) msg.obj).dismiss();
290 * You only need to pass one of {@code listener} or {@code msg}.
298 * @param msg The {@link Message} to be sent when clicked.
301 DialogInterface.OnClickListener listener, Message msg) {
303 if (msg == null && listener != null) {
304 msg
300 setButton(int whichButton, CharSequence text, DialogInterface.OnClickListener listener, Message msg) argument
[all...]
H A DAlertDialog.java205 * @param msg The {@link Message} to be sent when clicked.
207 public void setButton(int whichButton, CharSequence text, Message msg) { argument
208 mAlert.setButton(whichButton, text, null, msg);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java801 static void handleInvalidParams(String msg) { argument
802 throw new IllegalArgumentException(msg + ". ");
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProvider.java438 public void handleMessage(Message msg) { argument
439 switch (msg.what) {
H A DMediaRouteProviderService.java479 Message msg = Message.obtain();
480 msg.what = what;
481 msg.arg1 = requestId;
482 msg.arg2 = arg;
483 msg.obj = obj;
484 msg.setData(data);
486 messenger.send(msg);
503 public void handleMessage(Message msg) { argument
504 switch (msg.what) {
506 onBinderDied((Messenger)msg
630 handleMessage(Message msg) argument
[all...]
H A DMediaRouter.java2808 public void post(int msg, Object obj) { argument
2809 obtainMessage(msg, obj).sendToTarget();
2812 public void post(int msg, Object obj, int arg) { argument
2813 Message message = obtainMessage(msg, obj);
2819 public void handleMessage(Message msg) { argument
2820 final int what = msg.what;
2821 final Object obj = msg.obj;
2822 final int arg = msg.arg1;
H A DRegisteredMediaRouteProvider.java596 Message msg = Message.obtain();
597 msg.what = what;
598 msg.arg1 = requestId;
599 msg.arg2 = arg;
600 msg.obj = obj;
601 msg.setData(data);
602 msg.replyTo = mReceiveMessenger;
604 mServiceMessenger.send(msg);
645 public void handleMessage(Message msg) { argument
648 final int what = msg
[all...]
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
H A DAdapterHelperTest.java188 void log(String msg) { argument
190 mLog.append(msg).append("\n");
192 Log.d(TAG, msg);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseLinearLayoutManagerTest.java408 public void assertNoCallbacks(String msg, long timeout) throws Throwable { argument
411 assertFalse(msg + " :" + latchCount, latchCount == 0);
H A DBaseRecyclerViewInstrumentationTest.java597 public void assertLayoutCount(int count, String msg, long timeout) throws Throwable { argument
599 assertEquals(msg, count, layoutLatch.getCount());
602 public void assertNoLayout(String msg, long timeout) throws Throwable { argument
604 assertFalse(msg, layoutLatch.getCount() == 0);
H A DBaseStaggeredGridLayoutManagerTest.java548 public void assertNoLayout(String msg, long timeout) throws Throwable { argument
550 assertFalse(msg, layoutLatch.getCount() == 0);
775 private void validateChildren(String msg) { argument
802 layoutToString("ERROR") + "\n msg:" + msg);
H A DRecyclerViewFocusRecoveryTest.java425 private void assertFocus(String msg, RecyclerView.ViewHolder vh, boolean hasFocus) { argument
427 assertThat(msg, fvh.getViewToFocus().hasFocus(), is(hasFocus));
H A DRecyclerViewLayoutTest.java3048 public void adapterChangeInMainThreadTest(String msg, argument
3081 assertTrue("Invalid data updates should be caught:" + msg,
3118 public void adapterChangeDuringScrollTest(String msg, final int orientation, argument
3178 assertTrue("Invalid data updates should be caught:" + msg,
H A DStaggeredGridLayoutManagerTest.java624 void assertSpans(String msg, int[]... childSpanTuples) { argument
625 msg = msg + mLayoutManager.layoutToString("\n\n");
627 assertSpan(msg, childSpanTuples[i][0], childSpanTuples[i][1]);
631 void assertSpan(String msg, int childPosition, int expectedSpan) { argument
633 assertNotNull(msg + " view at position " + childPosition + " should exists", view);
634 assertEquals(msg + "[child:" + childPosition + "]", expectedSpan,
719 void assertSpanAssignmentEquality(String msg, int[] set1, int[] set2, int start1, int start2, argument
722 assertEquals(msg + " ind1:" + (start1 + i) + ", ind2:" + (start2 + i), set1[start1 + i],
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java1153 public void setMessageHandler(RSMessageHandler msg) { argument
1154 mMessageCallback = msg;
1193 public void setErrorHandler(RSErrorHandler msg) { argument
1194 mErrorCallback = msg;
1271 int msg = mRS.nContextPeekMessage(mRS.mContext, mAuxData);
1275 if (msg == RS_MESSAGE_TO_CLIENT_USER) {
1295 if (msg == RS_MESSAGE_TO_CLIENT_ERROR) {
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jar ... FieldAttributes) com.google.gson.FieldAttributes offendingField StringBuilder msg } com/google/gson/CompositionFieldNamingPolicy.class CompositionFieldNamingPolicy.java package ...
H A Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/squareup/picasso/ com/squareup/picasso/Action ...
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jar ... FieldAttributes) com.google.gson.FieldAttributes offendingField StringBuilder msg } com/google/gson/CompositionFieldNamingPolicy.class CompositionFieldNamingPolicy.java package ...

Completed in 400 milliseconds

1234567891011>>