/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/ |
D | NewVoicemailMediaPlayerView.java | 153 NewVoicemailMediaPlayer mp, in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() argument 179 mediaPlayer = mp; in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 204 if (mp.isPlaying() && mp.getLastPlayedOrPlayingVoicemailUri().equals(voicemailUri)) { in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 206 mp.getLastPlayedOrPlayingVoicemailUri() in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 207 .equals(mp.getLastPreparedOrPreparingToPlayVoicemailUri())); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 213 currentSeekBarPosition.setText(formatAsMinutesAndSeconds(mp.getCurrentPosition())); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 215 if (seekBarView.getMax() != mp.getDuration()) { in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 216 seekBarView.setMax(mp.getDuration()); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 218 seekBarView.setProgress(mp.getCurrentPosition()); in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() 220 } else if (mediaPlayer.isPaused() && mp.getLastPausedVoicemailUri().equals(voicemailUri)) { in bindValuesFromAdapterOfExpandedViewHolderMediaPlayerView() [all …]
|
D | NewVoicemailViewHolder.java | 369 NewVoicemailViewHolder newVoicemailViewHolder, NewVoicemailMediaPlayer mp) { in updateMediaPlayerViewWithPlayingState() argument 376 mp.getCurrentPosition(), in updateMediaPlayerViewWithPlayingState() 377 mp.getDuration(), in updateMediaPlayerViewWithPlayingState() 378 mp.isPlaying()); in updateMediaPlayerViewWithPlayingState() 381 mp.isPlaying(), in updateMediaPlayerViewWithPlayingState() 395 mp.getLastPlayedOrPlayingVoicemailUri() in updateMediaPlayerViewWithPlayingState() 396 .equals(mp.getLastPreparedOrPreparingToPlayVoicemailUri()), in updateMediaPlayerViewWithPlayingState() 400 mediaPlayerView.updateSeekBarDurationAndShowPlayButton(mp); in updateMediaPlayerViewWithPlayingState()
|
D | NewVoicemailAdapter.java | 890 public void onCompletion(MediaPlayer mp) { 921 public void onPrepared(MediaPlayer mp) { 953 public boolean onError(MediaPlayer mp, int what, int extra) { 956 mediaPlayer.getMediaPlayer().equals(mp),
|
/packages/providers/MediaProvider/jni/ |
D | FuseDaemon.cpp | 243 mp(0), in fuse() 287 mediaprovider::fuse::MediaProviderWrapper* mp; member 492 static bool is_app_accessible_path(MediaProviderWrapper* mp, const string& path, uid_t uid) { in is_app_accessible_path() argument 511 if (!mp->IsUidForPackage(pkg, uid)) { in is_app_accessible_path() 531 … if (!fuse->IsRoot(parent_node) && !is_app_accessible_path(fuse->mp, parent_path, req->ctx.uid)) { in do_lookup() 607 if (!is_app_accessible_path(fuse->mp, path, req->ctx.uid)) { in pf_getattr() 636 if (!is_app_accessible_path(fuse->mp, path, req->ctx.uid)) { in pf_setattr() 648 int status = fuse->mp->IsOpenAllowed(path, ctx->uid, true); in pf_setattr() 724 if (node && is_app_accessible_path(fuse->mp, path, req->ctx.uid)) { in pf_canonical_path() 745 if (!is_app_accessible_path(fuse->mp, parent_path, req->ctx.uid)) { in pf_mknod() [all …]
|
D | FuseDaemon.h | 60 MediaProviderWrapper mp; variable
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowSettingsMediaPlayer.java | 39 final MediaPlayer mp = new MediaPlayer(); in create() local 40 final ShadowMediaPlayer shadow = Shadow.extract(mp); in create() 44 mp.prepare(); in create() 49 return mp; in create()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeUtility.java | 369 MimeMultipart mp = (MimeMultipart) part.getBody(); in collectParts() local 371 if (mp.getSubTypeForTest().equals("alternative")) { in collectParts() 372 for (int i = 0; i < mp.getCount(); i++) { in collectParts() 373 if (mp.getBodyPart(i).isMimeType("text/html")) { in collectParts() 379 for (int i = 0; i < mp.getCount(); i++) { in collectParts() 381 BodyPart bp = mp.getBodyPart(i); in collectParts()
|
/packages/apps/Music/src/com/android/music/ |
D | AudioPreview.java | 245 public void onPrepared(MediaPlayer mp) { in onPrepared() argument 247 mPlayer = (PreviewPlayer) mp; in onPrepared() 370 public boolean onError(MediaPlayer mp, int what, int extra) { in onError() argument 376 public void onCompletion(MediaPlayer mp) { in onCompletion() argument 478 public void onPrepared(MediaPlayer mp) { in onPrepared() argument 480 mActivity.onPrepared(mp); in onPrepared()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | MediaUtilImpl.java | 47 public void onCompletion(final MediaPlayer mp) { in playSound() 51 mp.stop(); in playSound() 52 mp.release(); in playSound()
|
D | NotificationPlayer.java | 221 public void onCompletion(final MediaPlayer mp) { in onCompletion() argument
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AudioAttachmentView.java | 232 public void onCompletion(final MediaPlayer mp) { in setupMediaPlayer() 246 public void onPrepared(final MediaPlayer mp) { in setupMediaPlayer() 264 public boolean onError(final MediaPlayer mp, final int what, final int extra) { in setupMediaPlayer()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioPlayer.java | 160 public boolean onError(MediaPlayer mp, int what, int extra) { in doStart() 175 public void onCompletion(MediaPlayer mp) { in doStart()
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
D | Recorder.java | 255 public boolean onError(MediaPlayer mp, int what, int extra) { in onError() argument 261 public void onCompletion(MediaPlayer mp) { in onCompletion() argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
D | SetupWizardActivity.java | 202 public void onPrepared(final MediaPlayer mp) { in onCreate() 206 mp.setLooping(true); in onCreate() 211 public boolean onError(final MediaPlayer mp, final int what, final int extra) { in onCreate()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
D | ImapFolder.java | 489 MimeMultipart mp = new MimeMultipart(); in parseBodyStructure() local 504 mp.addBodyPart(bp); in parseBodyStructure() 508 mp.setSubType(bs.getStringOrEmpty(i).getString().toLowerCase(Locale.US)); in parseBodyStructure() 513 part.setBody(mp); in parseBodyStructure()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TrimVideo.java | 329 public void onCompletion(MediaPlayer mp) { in onCompletion() argument 334 public boolean onError(MediaPlayer mp, int what, int extra) { in onError() argument
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | VoicemailPlaybackPresenter.java | 545 public void onPrepared(MediaPlayer mp) { in onPrepared() argument 558 if (!mp.isPlaying()) { in onPrepared() 574 public boolean onError(MediaPlayer mp, int what, int extra) { in onError() argument
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertAudio.java | 452 public boolean onError(MediaPlayer mp, int what, int extra) { in playAlertTone() 466 public void onCompletion(MediaPlayer mp) { in playAlertTone()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MediaAnimationController.java | 48 mMediaPlayer.setOnSeekCompleteListener(mp -> mVideoReady = true); in MediaAnimationController()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageShow.java | 388 Matrix mp = master.computeImageToScreen(previousImage, 0, false); in drawImageAndAnimate() local 390 mp.mapRect(dp); in drawImageAndAnimate() 480 canvas.drawBitmap(previousImage, mp, mPaint); in drawImageAndAnimate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | VideoPreference.java | 227 mMediaPlayer.setOnSeekCompleteListener(mp -> mVideoReady = true); in initMediaPlayer()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | MovieViewControl.java | 236 public void onCompletion(MediaPlayer mp) { in onCompletion() argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkStreamHandler.java | 311 mMediaPlayer.setOnErrorListener((mp, what, extra) -> { in requestMediaKeyFocus() argument
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallTonePlayer.java | 428 public void onCompletion(MediaPlayer mp) { in playMediaTone()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AsyncRingtonePlayer.java | 300 public boolean onError(MediaPlayer mp, int what, int extra) {
|