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

1 2 3 4

  /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();
  /cts/tests/tests/media/src/android/media/cts/
MediaPlayerTest.java 56 MediaPlayer mp = MediaPlayer.create(mContext, resid); local
58 mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
59 mp.setWakeMode(mContext, PowerManager.PARTIAL_WAKE_LOCK);
61 assertFalse(mp.isPlaying());
62 mp.start();
63 assertTrue(mp.isPlaying());
65 assertFalse(mp.isLooping());
66 mp.setLooping(true);
67 assertTrue(mp.isLooping());
69 assertEquals(mp3Duration, mp.getDuration(), tolerance)
432 MediaPlayer mp = new MediaPlayer(); local
    [all...]
AudioManagerTest.java 158 MediaPlayer mp = MediaPlayer.create(mContext, MP3_TO_PLAY); local
159 mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
160 mp.start();
164 mp.stop();
165 mp.release();
559 MediaPlayer mp = MediaPlayer.create(mContext, MP3_TO_PLAY); local
560 mp.setAudioStreamType(STREAM_MUSIC);
561 mp.setLooping(true);
562 mp.start();
585 mp.stop()
    [all...]
  /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/
SlideListItemView.java 123 MediaPlayer mp = new MediaPlayer(); local
125 mp.setDataSource(mContext, video);
126 mImagePreview.setImageBitmap(mp.getFrameAt(1000));
130 mp.release();
SlideshowAttachmentView.java 104 MediaPlayer mp = new MediaPlayer(); local
106 mp.setDataSource(mContext, video);
107 mImageView.setImageBitmap(mp.getFrameAt(1000));
111 mp.release();
  /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;
  /system/media/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
217 mp = new MediaPlayer();
218 mp.setDataSource(MediaNames.SINE_200_1000);
219 mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
220 mp.attachAuxEffect(mReverb.getId());
221 mp.setAuxEffectSendLevel(1.0f);
224 mp.prepare();
225 mp.start();
227 mp.stop();
247 if (mp != null)
268 MediaPlayer mp = null; local
    [all...]
MediaEnvReverbTest.java 354 MediaPlayer mp = null; local
372 mp = new MediaPlayer();
373 mp.setDataSource(MediaNames.SINE_200_1000);
374 mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
375 mp.attachAuxEffect(mReverb.getId());
376 mp.setAuxEffectSendLevel(1.0f);
381 mp.prepare();
382 mp.start();
384 mp.stop();
404 if (mp != null)
425 MediaPlayer mp = null; local
    [all...]
MediaVisualizerTest.java 201 MediaPlayer mp = null; local
218 mp = new MediaPlayer();
219 mp.setDataSource(MediaNames.SINE_200_1000);
220 mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
221 getVisualizer(mp.getAudioSessionId());
233 mp.prepare();
234 mp.start();
260 if (mp != null) {
261 mp.release();
277 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 299 MediaPlayer mp = new MediaPlayer(); local
300 mp.setDataSource(recordedFile);
301 mp.prepare();
302 int duration = mp.getDuration();
306 mp.release();
365 MediaPlayer mp = new MediaPlayer(); local
366 mp.setDataSource(filename);
367 mp.setDisplay(MediaFrameworkTest.getSurfaceView().getHolder());
368 mp.prepare();
369 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...]
  /system/media/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);
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
MediaRecorderStressTest.java 298 MediaPlayer mp = new MediaPlayer(); local
299 mp.setDataSource(recorded_file);
300 mp.prepare();
301 int duration = mp.getDuration();
305 mp.release();
378 MediaPlayer mp = new MediaPlayer(); local
379 mp.setDataSource(filename);
380 mp.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder());
381 mp.prepare();
382 mp.start()
455 MediaPlayer mp = new MediaPlayer(); local
    [all...]

Completed in 301 milliseconds

1 2 3 4