HomeSort by relevance Sort by last modified time
    Searched defs:mp (Results 1 - 25 of 89) sorted by null

1 2 3 4

  /cts/tests/tests/media/src/android/media/cts/
MediaPlayerTest.java 69 MediaPlayer mp = MediaPlayer.create(mContext, resid); local
71 mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
72 mp.setWakeMode(mContext, PowerManager.PARTIAL_WAKE_LOCK);
74 assertFalse(mp.isPlaying());
75 mp.start();
76 assertTrue(mp.isPlaying());
78 assertFalse(mp.isLooping());
79 mp.setLooping(true);
80 assertTrue(mp.isLooping());
82 assertEquals(mp3Duration, mp.getDuration(), tolerance)
    [all...]
AudioManagerTest.java 108 MediaPlayer mp = MediaPlayer.create(mContext, MP3_TO_PLAY); local
109 mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
110 mp.start();
114 mp.stop();
115 mp.release();
354 MediaPlayer mp = MediaPlayer.create(mContext, MP3_TO_PLAY); local
355 mp.setAudioStreamType(STREAM_MUSIC);
356 mp.setLooping(true);
357 mp.start();
380 mp.stop()
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/power/
MediaPlayerPowerTest.java 51 MediaPlayer mp = new MediaPlayer(); local
52 mp.setDataSource(filePath);
53 mp.prepare();
54 mp.start();
56 mp.stop();
57 mp.release();
  /external/dropbear/libtommath/etc/
mont.c 7 mp_digit mp; local
23 mp_montgomery_setup(&modulus, &mp);
29 mp_montgomery_reduce(&pp, &modulus, mp);
  /cts/tests/tests/speech/src/android/speech/tts/cts/
TextToSpeechWrapper.java 181 MediaPlayer mp = null; local
183 mp = new MediaPlayer();
184 mp.setDataSource(filePath);
185 mp.prepare();
186 mp.start();
187 mp.stop();
193 if (mp != null) {
194 mp.release();
  /packages/apps/Mms/src/com/android/mms/ui/
SlideshowAttachmentView.java 104 MediaPlayer mp = new MediaPlayer(); local
106 mp.setDataSource(mContext, video);
107 mImageView.setImageBitmap(mp.getFrameAt(1000));
111 mp.release();
SlideListItemView.java 123 MediaPlayer mp = new MediaPlayer(); local
125 mp.setDataSource(mContext, video);
126 mImagePreview.setImageBitmap(mp.getFrameAt(1000));
130 mp.release();
  /external/jmonkeyengine/engine/src/android/com/jme3/audio/android/
AndroidAudioRenderer.java 230 MediaPlayer mp = musicPlaying.get(src); local
250 mp.setVolume(volume, volume);
284 MediaPlayer mp = musicPlaying.get(src); local
286 mp.stop();
287 mp.release();
295 public void onCompletion(MediaPlayer mp) {
296 mp.seekTo(0);
297 mp.stop();
301 if (musicPlaying.get(src) == mp) {
379 MediaPlayer mp = musicPlaying.get(src); local
436 MediaPlayer mp = musicPlaying.get(src); local
455 MediaPlayer mp = musicPlaying.get(src); local
474 MediaPlayer mp = musicPlaying.remove(src); local
    [all...]
  /external/dropbear/libtomcrypt/src/pk/ecc/
ecc_verify_hash.c 52 void *mp; local
62 mp = NULL;
128 /* find the montgomery mp */
129 if ((err = mp_montgomery_setup(m, &mp)) != CRYPT_OK) { goto error; }
132 if ((err = ltc_mp.ecc_ptadd(mQ, mG, mG, m, mp)) != CRYPT_OK) { goto error; }
135 if ((err = ltc_mp.ecc_map(mG, m, mp)) != CRYPT_OK) { goto error; }
155 if (mp != NULL) {
156 mp_montgomery_free(mp);
ltc_ecc_mulmod.c 43 void *mu, *mp; local
53 if ((err = mp_montgomery_setup(modulus, &mp)) != CRYPT_OK) {
57 mp_montgomery_free(mp);
61 mp_montgomery_free(mp);
73 mp_montgomery_free(mp);
98 if ((err = ltc_mp.ecc_ptdbl(tG, M[0], modulus, mp)) != CRYPT_OK) { goto done; }
99 if ((err = ltc_mp.ecc_ptdbl(M[0], M[0], modulus, mp)) != CRYPT_OK) { goto done; }
100 if ((err = ltc_mp.ecc_ptdbl(M[0], M[0], modulus, mp)) != CRYPT_OK) { goto done; }
104 if ((err = ltc_mp.ecc_ptadd(M[j-9], tG, M[j-8], modulus, mp)) != CRYPT_OK) { goto done; }
138 if ((err = ltc_mp.ecc_ptdbl(R, R, modulus, mp)) != CRYPT_OK) { goto done;
    [all...]
ltc_ecc_mulmod_timing.c 41 void *mu, *mp; local
51 if ((err = mp_montgomery_setup(modulus, &mp)) != CRYPT_OK) {
55 mp_montgomery_free(mp);
60 mp_montgomery_free(mp);
72 mp_montgomery_free(mp);
94 if ((err = ltc_mp.ecc_ptdbl(tG, M[1], modulus, mp)) != CRYPT_OK) { goto done; }
122 if ((err = ltc_mp.ecc_ptadd(M[0], M[1], M[2], modulus, mp)) != CRYPT_OK) { goto done; }
123 if ((err = ltc_mp.ecc_ptdbl(M[1], M[2], modulus, mp)) != CRYPT_OK) { goto done; }
130 if ((err = ltc_mp.ecc_ptadd(M[0], M[1], M[2], modulus, mp)) != CRYPT_OK) { goto done; }
131 if ((err = ltc_mp.ecc_ptdbl(M[1], M[2], modulus, mp)) != CRYPT_OK) { goto done;
    [all...]
ltc_ecc_mul2add.c 46 void *mp, *mu; local
97 if ((err = mp_montgomery_setup(modulus, &mp)) != CRYPT_OK) {
117 if ((err = ltc_mp.ecc_ptdbl(precomp[1], precomp[2], modulus, mp)) != CRYPT_OK) { goto ERR_MU; }
118 if ((err = ltc_mp.ecc_ptadd(precomp[1], precomp[2], precomp[3], modulus, mp)) != CRYPT_OK) { goto ERR_MU; }
121 if ((err = ltc_mp.ecc_ptdbl(precomp[1<<2], precomp[2<<2], modulus, mp)) != CRYPT_OK) { goto ERR_MU; }
122 if ((err = ltc_mp.ecc_ptadd(precomp[1<<2], precomp[2<<2], precomp[3<<2], modulus, mp)) != CRYPT_OK) { goto ERR_MU; }
127 if ((err = ltc_mp.ecc_ptadd(precomp[x], precomp[(y<<2)], precomp[x+(y<<2)], modulus, mp)) != CRYPT_OK) { goto ERR_MU; }
160 if ((err = ltc_mp.ecc_ptdbl(C, C, modulus, mp)) != CRYPT_OK) { goto ERR_MU; }
161 if ((err = ltc_mp.ecc_ptdbl(C, C, modulus, mp)) != CRYPT_OK) { goto ERR_MU; }
174 if ((err = ltc_mp.ecc_ptadd(C, precomp[nA + (nB<<2)], C, modulus, mp)) != CRYPT_OK) { goto ERR_MU;
    [all...]
  /external/dropbear/libtommath/
bn_mp_exptmod_fast.c 35 mp_digit buf, mp; local
89 if ((err = mp_montgomery_setup (P, &mp)) != MP_OKAY) {
116 mp_dr_setup(P, &mp);
125 if ((err = mp_reduce_2k_setup(P, &mp)) != MP_OKAY) {
178 if ((err = redux (&M[1 << (winsize - 1)], P, mp)) != MP_OKAY) {
188 if ((err = redux (&M[x], P, mp)) != MP_OKAY) {
231 if ((err = redux (&res, P, mp)) != MP_OKAY) {
248 if ((err = redux (&res, P, mp)) != MP_OKAY) {
257 if ((err = redux (&res, P, mp)) != MP_OKAY) {
275 if ((err = redux (&res, P, mp)) != MP_OKAY)
    [all...]
  /external/libgsm/src/
preprocess.c 42 word mp = S->mp; local
105 msp = GSM_MULT_R( mp, -28180 );
106 mp = SASR( L_temp, 15 );
107 *so++ = GSM_ADD( mp, msp );
112 S->mp = mp;
  /frameworks/wilhelm/src/itf/
ISeek.c 76 CMediaPlayer *mp = InterfaceToCMediaPlayer(thiz); local
77 if (NULL != mp) {
78 result = android_Player_loop(mp, loopEnable);
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaPresetReverbTest.java 199 MediaPlayer mp = null; local
219 mp = new MediaPlayer();
220 mp.setDataSource(MediaNames.SINE_200_1000);
221 mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
222 mp.attachAuxEffect(mReverb.getId());
223 mp.setAuxEffectSendLevel(1.0f);
226 mp.prepare();
227 mp.start();
229 mp.stop();
249 if (mp != null)
271 MediaPlayer mp = null; local
    [all...]
MediaEnvReverbTest.java 354 MediaPlayer mp = null; local
374 mp = new MediaPlayer();
375 mp.setDataSource(MediaNames.SINE_200_1000);
376 mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
377 mp.attachAuxEffect(mReverb.getId());
378 mp.setAuxEffectSendLevel(1.0f);
383 mp.prepare();
384 mp.start();
386 mp.stop();
406 if (mp != null)
428 MediaPlayer mp = null; local
    [all...]
MediaVisualizerTest.java 232 MediaPlayer mp = null; local
251 mp = new MediaPlayer();
252 mp.setDataSource(MediaNames.SINE_200_1000);
253 mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
254 getVisualizer(mp.getAudioSessionId());
266 mp.prepare();
267 mp.start();
293 if (mp != null) {
294 mp.release();
311 MediaPlayer mp = null local
445 MediaPlayer mp = null; local
    [all...]
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
CodecTest.java 82 MediaPlayer mp = new MediaPlayer(); local
84 mp.setDataSource(filePath);
85 mp.prepare();
89 int duration = mp.getDuration();
91 mp.release();
101 MediaPlayer mp = new MediaPlayer(); local
103 mp.setDataSource(filePath);
105 mp.prepare();
106 mp.start();
109 mp.pause()
129 MediaPlayer mp = new MediaPlayer(); local
156 MediaPlayer mp = new MediaPlayer(); local
194 MediaPlayer mp = new MediaPlayer(); local
219 MediaPlayer mp = new MediaPlayer(); local
228 MediaPlayer mp = new MediaPlayer(); local
322 MediaPlayer mp = new MediaPlayer(); local
356 MediaPlayer mp = new MediaPlayer(); local
384 MediaPlayer mp = new MediaPlayer(); local
412 MediaPlayer mp = new MediaPlayer(); local
442 MediaPlayer mp = new MediaPlayer(); local
480 MediaPlayer mp = new MediaPlayer(); local
548 MediaPlayer mp = new MediaPlayer(); local
567 MediaPlayer mp = new MediaPlayer(); local
581 MediaPlayer mp = null; local
615 MediaPlayer mp = null; local
    [all...]
MediaRecorderStressTest.java 338 MediaPlayer mp = new MediaPlayer(); local
339 mp.setDataSource(recordedFile);
340 mp.prepare();
341 int duration = mp.getDuration();
345 mp.release();
409 MediaPlayer mp = new MediaPlayer(); local
410 mp.setDataSource(filename);
411 mp.setDisplay(MediaFrameworkTest.getSurfaceView().getHolder());
412 mp.prepare();
413 mp.start()
    [all...]
  /external/apache-harmony/auth/src/test/java/common/org/ietf/jgss/
MessagePropTest.java 31 MessageProp mp= new MessageProp(true); local
32 int qop= mp.getQOP();
37 MessageProp mp= new MessageProp(10, true); local
38 int qop= mp.getQOP();
43 MessageProp mp= new MessageProp(true); local
44 mp.setQOP(5);
45 int qop= mp.getQOP();
50 MessageProp mp= new MessageProp(10, true); local
51 mp.setQOP(5);
52 int qop= mp.getQOP()
57 MessageProp mp= new MessageProp(true); local
63 MessageProp mp= new MessageProp(false); local
70 MessageProp mp= new MessageProp(10, true); local
76 MessageProp mp= new MessageProp(10, true); local
83 MessageProp mp= new MessageProp(true); local
89 MessageProp mp= new MessageProp(true); local
96 MessageProp mp= new MessageProp(true); local
102 MessageProp mp= new MessageProp(true); local
109 MessageProp mp= new MessageProp(true); local
115 MessageProp mp= new MessageProp(true); local
122 MessageProp mp= new MessageProp(true); local
128 MessageProp mp= new MessageProp(true); local
135 MessageProp mp= new MessageProp(true); local
141 MessageProp mp= new MessageProp(true); local
148 MessageProp mp= new MessageProp(true); local
154 MessageProp mp= new MessageProp(true); local
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
CodecTest.java 90 MediaPlayer mp = new MediaPlayer(); local
92 mp.setDataSource(filePath);
93 mp.prepare();
97 int duration = mp.getDuration();
99 mp.release();
109 MediaPlayer mp = new MediaPlayer(); local
111 mp.setDataSource(filePath);
113 mp.prepare();
114 mp.start();
117 mp.pause()
142 MediaPlayer mp = new MediaPlayer(); local
169 MediaPlayer mp = new MediaPlayer(); local
207 MediaPlayer mp = new MediaPlayer(); local
232 MediaPlayer mp = new MediaPlayer(); local
241 MediaPlayer mp = new MediaPlayer(); local
335 MediaPlayer mp = new MediaPlayer(); local
381 MediaPlayer mp = new MediaPlayer(); local
409 MediaPlayer mp = new MediaPlayer(); local
437 MediaPlayer mp = new MediaPlayer(); local
467 MediaPlayer mp = new MediaPlayer(); local
505 MediaPlayer mp = new MediaPlayer(); local
573 MediaPlayer mp = new MediaPlayer(); local
592 MediaPlayer mp = new MediaPlayer(); local
606 MediaPlayer mp = null; local
640 MediaPlayer mp = null; local
    [all...]
  /frameworks/wilhelm/src/
handler_bodies.c 53 CMediaPlayer *mp = (CMediaPlayer *) thiz; local
54 android_Player_volumeUpdate(mp);
108 CMediaPlayer *mp = (CMediaPlayer *) thiz; local
109 android_Player_usePlayEventMask(mp);
117 CMediaPlayer *mp = (CMediaPlayer *) thiz; local
118 android::GenericPlayer* avp = mp->mAVPlayer.get();
120 android_Player_setPlayState(avp, mp->mPlay.mState, &(mp->mAndroidObjState));
151 CMediaPlayer* mp = (CMediaPlayer *)thiz; local
152 if (SL_PLAYSTATE_PLAYING == mp->mPlay.mState)
161 CMediaPlayer *mp = (CMediaPlayer *) thiz; local
    [all...]
  /external/dropbear/libtomcrypt/testprof/
ecc_test.c 35 void *modulus, *mp, *kA, *kB, *rA, *rB; local
59 DO(mp_montgomery_setup(modulus, &mp));
84 DO(ltc_mp.ecc_ptadd(C1, C2, C1, modulus, mp));
85 DO(ltc_mp.ecc_map(C1, modulus, mp));
96 mp_montgomery_free(mp);
  /external/e2fsprogs/lib/ext2fs/
ismounted.c 201 struct statfs *mp; local
206 n = getmntinfo(&mp, MNT_NOWAIT);
217 s2 = mp->f_mntfromname;
226 ++mp;
229 strncpy(mtpt, mp->f_mntonname, mtlen);

Completed in 968 milliseconds

1 2 3 4