OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MediaPlayer
(Results
26 - 50
of
159
) sorted by null
1
2
3
4
5
6
7
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
MediaPlayerGetCurrentPositionStateUnitTest.java
19
import android.media.
MediaPlayer
;
25
*
MediaPlayer
.getCurrentPosition() method can be called.
55
public void invokeMethodUnderTest(
MediaPlayer
player) {
MediaPlayerGetDurationStateUnitTest.java
19
import android.media.
MediaPlayer
;
25
*
MediaPlayer
.getDuration() method can be called.
55
public void invokeMethodUnderTest(
MediaPlayer
player) {
MediaPlayerGetVideoHeightStateUnitTest.java
19
import android.media.
MediaPlayer
;
25
*
MediaPlayer
.getVideoHeight() method can be called.
55
public void invokeMethodUnderTest(
MediaPlayer
player) {
MediaPlayerGetVideoWidthStateUnitTest.java
19
import android.media.
MediaPlayer
;
25
*
MediaPlayer
.getVideoWidth() method can be called.
55
public void invokeMethodUnderTest(
MediaPlayer
player) {
MediaPlayerIsPlayingStateUnitTest.java
19
import android.media.
MediaPlayer
;
25
*
MediaPlayer
.isPlaying() method can be called.
55
public void invokeMethodUnderTest(
MediaPlayer
player) {
MediaPlayerPauseStateUnitTest.java
19
import android.media.
MediaPlayer
;
25
*
MediaPlayer
.pause() method can be called.
55
public void invokeMethodUnderTest(
MediaPlayer
player) {
MediaPlayerResetStateUnitTest.java
19
import android.media.
MediaPlayer
;
25
*
MediaPlayer
.reset() method can be called.
55
public void invokeMethodUnderTest(
MediaPlayer
player) {
MediaPlayerSeekToStateUnitTest.java
19
import android.media.
MediaPlayer
;
25
*
MediaPlayer
.seekTo() method can be called.
55
public void invokeMethodUnderTest(
MediaPlayer
player) {
MediaPlayerSetAudioStreamTypeStateUnitTest.java
19
import android.media.
MediaPlayer
;
26
*
MediaPlayer
.setAudioStreamType() method can be called.
56
public void invokeMethodUnderTest(
MediaPlayer
player) {
MediaPlayerSetLoopingStateUnitTest.java
19
import android.media.
MediaPlayer
;
25
*
MediaPlayer
.setLooping() method can be called.
56
public void invokeMethodUnderTest(
MediaPlayer
player) {
MediaPlayerSetVolumeStateUnitTest.java
19
import android.media.
MediaPlayer
;
25
*
MediaPlayer
.setVolume() method can be called.
55
public void invokeMethodUnderTest(
MediaPlayer
player) {
MediaPlayerStartStateUnitTest.java
19
import android.media.
MediaPlayer
;
25
*
MediaPlayer
.start() method can be called.
55
public void invokeMethodUnderTest(
MediaPlayer
player) {
MediaPlayerStopStateUnitTest.java
19
import android.media.
MediaPlayer
;
25
*
MediaPlayer
.stop() method can be called.
55
public void invokeMethodUnderTest(
MediaPlayer
player) {
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
MediaPlayerDataSource.java
20
import android.media.
MediaPlayer
;
31
* {@link android.media.
MediaPlayer
} easier, or the calling of the correct
53
public void setAsSourceFor(
MediaPlayer
mediaPlayer
) throws IOException {
55
mediaPlayer
.setDataSource(mContext, mUri);
57
mediaPlayer
.setDataSource(mPath);
SingleThreadedMediaPlayerProxy.java
20
import android.media.
MediaPlayer
;
37
public synchronized void setOnErrorListener(
MediaPlayer
.OnErrorListener listener) {
42
public synchronized void setOnCompletionListener(
MediaPlayer
.OnCompletionListener listener) {
/cts/tests/tests/permission/src/android/permission/cts/
AudioPermissionTest.java
20
import android.media.
MediaPlayer
;
37
MediaPlayer
mMediaPlayer = null;
90
MediaPlayer
plyr = new
MediaPlayer
();
NoWakeLockPermissionTest.java
21
import android.media.
MediaPlayer
;
62
* Verify that
MediaPlayer
.start() requires permissions.
68
final
MediaPlayer
mediaPlayer
= new
MediaPlayer
();
69
mediaPlayer
.setWakeMode(mContext, PowerManager.FULL_WAKE_LOCK);
71
mediaPlayer
.start();
72
fail("
MediaPlayer
.setWakeMode() did not throw SecurityException as expected");
77
mediaPlayer
.stop();
/external/chromium_org/third_party/WebKit/Source/core/html/track/
InbandTextTrack.h
41
class
MediaPlayer
;
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/
HTMLVideoElementMediaSource.cpp
48
MediaPlayer
* player = videoElement->player();
/cts/tests/tests/media/src/android/media/cts/
MediaPlayerSurfaceStubActivity.java
23
import android.media.
MediaPlayer
;
34
private
MediaPlayer
mMediaPlayer = null;
41
mMediaPlayer = new
MediaPlayer
();
MediaPlayerTest.java
24
import android.media.
MediaPlayer
;
44
* Tests for the
MediaPlayer
API and local video/audio playback.
94
MediaPlayer
mp =
MediaPlayer
.create(mContext, resid);
146
private void initMediaPlayer(
MediaPlayer
player) throws Exception {
228
mMediaPlayer.setOnCompletionListener(new
MediaPlayer
.OnCompletionListener() {
230
public void onCompletion(
MediaPlayer
mp) {
235
mMediaPlayer2.setOnInfoListener(new
MediaPlayer
.OnInfoListener() {
237
public boolean onInfo(
MediaPlayer
mp, int what, int extra) {
239
if (what ==
MediaPlayer
.MEDIA_INFO_STARTED_AS_NEXT)
[
all
...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
MediaPlayerInvokeTest.java
28
import android.media.
MediaPlayer
;
34
// Tests for the invoke method in the
MediaPlayer
.
37
private
MediaPlayer
mPlayer;
48
mPlayer = new
MediaPlayer
();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/power/
MediaPlayerPowerTest.java
21
import android.media.
MediaPlayer
;
51
MediaPlayer
mp = new
MediaPlayer
();
/frameworks/base/media/jni/
android_media_MediaPlayer.cpp
19
#define LOG_TAG "
MediaPlayer
-JNI"
22
#include <media/
mediaplayer
.h>
78
jclass mClass; // Reference to
MediaPlayer
class
79
jobject mObject; // Weak ref to
MediaPlayer
Java object to call on
85
// Hold onto the
MediaPlayer
class for use in calling the static method
89
ALOGE("Can't find android/media/
MediaPlayer
");
95
// We use a weak reference so the
MediaPlayer
object can be garbage collected.
133
static sp<
MediaPlayer
> getMediaPlayer(JNIEnv* env, jobject thiz)
136
MediaPlayer
* const p = (
MediaPlayer
*)env->GetIntField(thiz, fields.context)
[
all
...]
/packages/apps/DeskClock/src/com/android/deskclock/
TimerRingService.java
25
import android.media.
MediaPlayer
;
26
import android.media.
MediaPlayer
.OnErrorListener;
39
private
MediaPlayer
mMediaPlayer;
112
mMediaPlayer = new
MediaPlayer
();
115
public boolean onError(
MediaPlayer
mp, int what, int extra) {
159
private void startAlarm(
MediaPlayer
player)
176
MediaPlayer
player, int res) throws java.io.IOException {
Completed in 197 milliseconds
1
2
3
4
5
6
7