Searched defs:msg (Results 1 - 25 of 637) 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/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 ...
H A Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/squareup/picasso/ com/squareup/picasso/Action ...
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
H A DPlaybackControlGlue.java194 public void handleMessage(Message msg) { argument
195 if (msg.what == MSG_UPDATE_PLAYBACK_STATE) {
196 PlaybackControlGlue glue = ((WeakReference<PlaybackControlGlue>) msg.obj).get();
H A DPlaybackTransportControlGlue.java107 public void handleMessage(Message msg) { argument
108 if (msg.what == MSG_UPDATE_PLAYBACK_STATE) {
110 ((WeakReference<PlaybackTransportControlGlue>) 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.java156 public void handleMessage(Message msg) { argument
157 switch (msg.what) {
162 ((DialogInterface.OnClickListener) msg.obj).onClick(mDialog.get(), msg.what);
166 ((DialogInterface) msg.obj).dismiss();
302 * You only need to pass one of {@code listener} or {@code msg}.
310 * @param msg The {@link Message} to be sent when clicked.
313 DialogInterface.OnClickListener listener, Message msg) {
315 if (msg == null && listener != null) {
316 msg
312 setButton(int whichButton, CharSequence text, DialogInterface.OnClickListener listener, Message msg) argument
[all...]
H A DAlertDialog.java207 * @param msg The {@link Message} to be sent when clicked.
209 public void setButton(int whichButton, CharSequence text, Message msg) { argument
210 mAlert.setButton(whichButton, text, null, msg);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java807 static void handleInvalidParams(String msg) { argument
808 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.java505 Message msg = Message.obtain();
506 msg.what = what;
507 msg.arg1 = requestId;
508 msg.arg2 = arg;
509 msg.obj = obj;
510 msg.setData(data);
512 messenger.send(msg);
529 public void handleMessage(Message msg) { argument
530 switch (msg.what) {
532 onBinderDied((Messenger)msg
655 handleMessage(Message msg) argument
[all...]
H A DMediaRouter.java2868 public void post(int msg, Object obj) { argument
2869 obtainMessage(msg, obj).sendToTarget();
2872 public void post(int msg, Object obj, int arg) { argument
2873 Message message = obtainMessage(msg, obj);
2879 public void handleMessage(Message msg) { argument
2880 final int what = msg.what;
2881 final Object obj = msg.obj;
2882 final int arg = msg.arg1;
H A DRegisteredMediaRouteProvider.java623 Message msg = Message.obtain();
624 msg.what = what;
625 msg.arg1 = requestId;
626 msg.arg2 = arg;
627 msg.obj = obj;
628 msg.setData(data);
629 msg.replyTo = mReceiveMessenger;
631 mServiceMessenger.send(msg);
672 public void handleMessage(Message msg) { argument
675 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.java407 public void assertNoCallbacks(String msg, long timeout) throws Throwable { argument
410 assertFalse(msg + " :" + latchCount, latchCount == 0);
H A DBaseRecyclerViewInstrumentationTest.java595 public void assertLayoutCount(int count, String msg, long timeout) throws Throwable { argument
597 assertEquals(msg, count, layoutLatch.getCount());
600 public void assertNoLayout(String msg, long timeout) throws Throwable { argument
602 assertFalse(msg, layoutLatch.getCount() == 0);
H A DBaseStaggeredGridLayoutManagerTest.java553 public void assertNoLayout(String msg, long timeout) throws Throwable { argument
555 assertFalse(msg, layoutLatch.getCount() == 0);
779 private void validateChildren(String msg) { argument
806 layoutToString("ERROR") + "\n msg:" + msg);
H A DRecyclerViewFocusRecoveryTest.java399 String msg = !mRecyclerView.isComputingLayout() ? " before laying out the children"
401 assertThat("RV should have focus after calling requestFocus()" + msg,
403 assertThat("RV after calling requestFocus() should become focused" + msg,
472 String msg = " when descendant focusability is FOCUS_AFTER_DESCENDANTS";
473 assertThat("RV should pass the focus down to its children after layout" + msg,
476 + " after layout" + msg,
480 + "should be focused after layout" + msg,
483 assertThat("RV's first child should be focused after layout" + msg,
802 private void assertFocus(String msg, RecyclerView.ViewHolder vh, boolean hasFocus) { argument
804 assertThat(msg, fv
[all...]
H A DRecyclerViewLayoutTest.java3202 public void adapterChangeInMainThreadTest(String msg, argument
3235 assertTrue("Invalid data updates should be caught:" + msg,
3272 public void adapterChangeDuringScrollTest(String msg, final int orientation, argument
3332 assertTrue("Invalid data updates should be caught:" + msg,
H A DStaggeredGridLayoutManagerTest.java1075 void assertSpans(String msg, int[]... childSpanTuples) { argument
1076 msg = msg + mLayoutManager.layoutToString("\n\n");
1078 assertSpan(msg, childSpanTuples[i][0], childSpanTuples[i][1]);
1082 void assertSpan(String msg, int childPosition, int expectedSpan) { argument
1084 assertNotNull(msg + " view at position " + childPosition + " should exists", view);
1085 assertEquals(msg + "[child:" + childPosition + "]", expectedSpan,
1170 void assertSpanAssignmentEquality(String msg, int[] set1, int[] set2, int start1, int start2, argument
1173 assertEquals(msg + " ind1:" + (start1 + i) + ", ind2:" + (start2 + i), set1[start1 + i],

Completed in 1466 milliseconds

1234567891011>>