/frameworks/base/media/java/android/media/ |
D | AsyncPlayer.java | 42 boolean looping; field in AsyncPlayer.Command 47 return "{ code=" + code + " looping=" + looping + " attr=" + attributes in toString() 63 player.setLooping(cmd.looping); in startSound() 166 public void play(Context context, Uri uri, boolean looping, int stream) { in play() argument 172 play(context, uri, looping, in play() 193 public void play(@NonNull Context context, @NonNull Uri uri, boolean looping, in play() argument 203 cmd.looping = looping; in play()
|
D | IRingtonePlayer.aidl | 29 … oneway void play(IBinder token, in Uri uri, in AudioAttributes aa, float volume, boolean looping); in play() argument 32 oneway void setPlaybackProperties(IBinder token, float volume, boolean looping); in setPlaybackProperties() argument 35 oneway void playAsync(in Uri uri, in UserHandle user, boolean looping, in AudioAttributes aa); in playAsync() argument
|
D | Ringtone.java | 153 public void setLooping(boolean looping) { in setLooping() argument 155 mIsLooping = looping; in setLooping() 338 final boolean looping; in play() 341 looping = mIsLooping; in play() 345 mRemotePlayer.play(mRemoteToken, canonicalUri, mAudioAttributes, volume, looping); in play()
|
D | MediaPlayer.java | 2113 public native void setLooping(boolean looping); in setLooping() argument
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaPlayerSetLoopingStateUnitTest.java | 29 private boolean looping = false; field in MediaPlayerSetLoopingStateUnitTest 57 looping = !looping; // Flip the looping mode. in invokeMethodUnderTest() 58 player.setLooping(looping); in invokeMethodUnderTest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | NotificationPlayer.java | 50 boolean looping; field in NotificationPlayer.Command 55 return "{ code=" + code + " looping=" + looping + " attributes=" + attributes in toString() 93 player.setLooping(mCmd.looping); in run() 104 if (mCmd.looping) { in run() 313 public void play(Context context, Uri uri, boolean looping, int stream) { in play() argument 320 cmd.looping = looping; in play() 341 public void play(Context context, Uri uri, boolean looping, AudioAttributes attributes) { in play() argument 347 cmd.looping = looping; in play()
|
D | RingtonePlayer.java | 102 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/wilhelm/tests/sandbox/ |
D | xaplay.c | 254 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/ |
D | android_media_MediaPlayer.cpp | 824 android_media_MediaPlayer_setLooping(JNIEnv *env, jobject thiz, jboolean looping) in android_media_MediaPlayer_setLooping() argument 826 ALOGV("setLooping: %d", looping); in android_media_MediaPlayer_setLooping() 832 process_media_player_call( env, thiz, mp->setLooping(looping), NULL, NULL ); in android_media_MediaPlayer_setLooping()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 3794 boolean looping = (record.getNotification().flags & Notification.FLAG_INSISTENT) != 0; in playSound() 3805 player.playAsync(soundUri, record.sbn.getUser(), looping, in playSound()
|