Home
last modified time | relevance | path

Searched refs:looping (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/media/java/android/media/
DAsyncPlayer.java41 boolean looping; field in AsyncPlayer.Command
46 return "{ code=" + code + " looping=" + looping + " attr=" + attributes in toString()
62 player.setLooping(cmd.looping); in startSound()
165 public void play(Context context, Uri uri, boolean looping, int stream) { in play() argument
170 play(context, uri, looping, in play()
191 public void play(@NonNull Context context, @NonNull Uri uri, boolean looping, in play() argument
201 cmd.looping = looping; in play()
DIRingtonePlayer.aidl29 void play(IBinder token, in Uri uri, in AudioAttributes aa, float volume, boolean looping); in play() argument
32 void setPlaybackProperties(IBinder token, float volume, boolean looping); in setPlaybackProperties() argument
35 void playAsync(in Uri uri, in UserHandle user, boolean looping, in AudioAttributes aa); in playAsync() argument
DRingtone.java151 public void setLooping(boolean looping) { in setLooping() argument
153 mIsLooping = looping; in setLooping()
334 final boolean looping; in play()
337 looping = mIsLooping; in play()
341 mRemotePlayer.play(mRemoteToken, canonicalUri, mAudioAttributes, volume, looping); in play()
DMediaPlayer.java1793 public native void setLooping(boolean looping); in setLooping() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DNotificationPlayer.java49 boolean looping; field in NotificationPlayer.Command
54 return "{ code=" + code + " looping=" + looping + " attributes=" + attributes in toString()
86 player.setLooping(mCmd.looping); in run()
94 if (mCmd.looping) { in run()
298 public void play(Context context, Uri uri, boolean looping, int stream) { in play() argument
304 cmd.looping = looping; in play()
325 public void play(Context context, Uri uri, boolean looping, AudioAttributes attributes) { in play() argument
331 cmd.looping = looping; in play()
DRingtonePlayer.java102 public void play(IBinder token, Uri uri, AudioAttributes aa, float volume, boolean looping)
118 client.mRingtone.setLooping(looping);
151 public void setPlaybackProperties(IBinder token, float volume, boolean looping) {
158 client.mRingtone.setLooping(looping);
164 public void playAsync(Uri uri, UserHandle user, boolean looping, AudioAttributes aa) {
172 mAsyncPlayer.play(getContextForUser(user), uri, looping, aa);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerSetLoopingStateUnitTest.java29 private boolean looping = false; field in MediaPlayerSetLoopingStateUnitTest
57 looping = !looping; // Flip the looping mode. in invokeMethodUnderTest()
58 player.setLooping(looping); in invokeMethodUnderTest()
/frameworks/wilhelm/tests/sandbox/
Dxaplay.c254 XAboolean looping = XA_BOOLEAN_FALSE; in main() local
279 looping = XA_BOOLEAN_TRUE; in main()
521 if (looping || seekPos != XA_TIME_UNKNOWN) { in main()
533 if (looping) { in main()
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer.cpp712 android_media_MediaPlayer_setLooping(JNIEnv *env, jobject thiz, jboolean looping) in android_media_MediaPlayer_setLooping() argument
714 ALOGV("setLooping: %d", looping); in android_media_MediaPlayer_setLooping()
720 process_media_player_call( env, thiz, mp->setLooping(looping), NULL, NULL ); in android_media_MediaPlayer_setLooping()
/frameworks/base/docs/html/ndk/guides/audio/
Dopensl-for-android.jd535 The <code>SetLoop()</code> method enables whole-file looping. To enable looping,
1047 volume control, effects, looping, or playback rate.
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2859 boolean looping = in buzzBeepBlinkLocked()
2875 player.playAsync(soundUri, record.sbn.getUser(), looping, in buzzBeepBlinkLocked()
/frameworks/base/docs/html/training/articles/
Dsmp.jd405 reads B repeatedly, looping until we read 1 from B. The idea here is that