/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/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/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/sensoryfeedback/ |
D | EmergencyActionAlarmHelper.java | 70 mMediaPlayer.setOnCompletionListener(mp -> mp.release()); in playWarningSound() 72 (MediaPlayer mp, int what, int extra) -> { in playWarningSound() argument 75 mp.release(); in playWarningSound()
|
/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()
|
/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/kotlin/src/com/android/music/ |
D | AudioPreview.kt | 218 override fun onPrepared(mp: MediaPlayer?) { in onPrepared() 220 mPlayer = mp as PreviewPlayer in onPrepared() 336 override fun onError(mp: MediaPlayer?, what: Int, extra: Int): Boolean { in onError() 342 override fun onCompletion(mp: MediaPlayer?) { in onCompletion() 439 override fun onPrepared(mp: MediaPlayer?) { in onPrepared() 441 mActivity.onPrepared(mp) in onPrepared()
|
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/ |
D | MediaControlProfile.java | 711 MediaPlayerWrapper mp = mMediaPlayerList.getActivePlayer(); in getCurrentPlayerPlayingOrder() local 712 if (mp == null) return PlayingOrder.IN_ORDER_ONCE; in getCurrentPlayerPlayingOrder() 715 if (mp.isShuffleSet()) { in getCurrentPlayerPlayingOrder() 716 if (mp.isRepeatSet()) { in getCurrentPlayerPlayingOrder() 723 if (mp.isRepeatSet()) { in getCurrentPlayerPlayingOrder() 733 MediaPlayerWrapper mp = mMediaPlayerList.getActivePlayer(); in getSupportedPlayingOrder() local 734 if (mp == null) return null; in getSupportedPlayingOrder() 738 if (mp.isRepeatSupported()) playing_order |= SupportedPlayingOrder.IN_ORDER_REPEAT; in getSupportedPlayingOrder() 740 if (mp.isShuffleSupported()) { in getSupportedPlayingOrder() 741 if (mp.isRepeatSupported()) { in getSupportedPlayingOrder()
|
/packages/providers/MediaProvider/jni/ |
D | FuseDaemon.cpp | 273 mp(0), in fuse() 386 mediaprovider::fuse::MediaProviderWrapper* mp; member 588 fuse->mp->FileLookup(path, req->ctx.uid, req->ctx.pid); in validate_node_path() 808 MediaProviderWrapper* mp = fuse->mp; in is_app_accessible_path() local 835 if (!mp->isUidAllowedAccessToDataOrObbPath(uid, path)) { in is_app_accessible_path() 898 !fuse->mp->ShouldAllowLookup(req->ctx.uid, userId)) { in is_user_accessible_path() 982 !fuse->mp->isUidAllowedAccessToDataOrObbPath(req->ctx.uid, path)) { in pf_lookup_postfilter() 1090 std::unique_ptr<FileOpenResult> result = fuse->mp->OnFileOpen( in pf_setattr() 1242 int status = fuse->mp->IsCreatingDirAllowed(child_path, ctx->uid); in pf_mkdir() 1284 int status = fuse->mp->DeleteFile(child_path, ctx->uid); in pf_unlink() [all …]
|
D | FuseDaemon.h | 144 MediaProviderWrapper mp; variable
|
/packages/providers/MediaProvider/tools/photopicker-gradle/app/src/main/java/com/android/providers/media/tools/photopicker/ |
D | PhotoPickerToolActivity.java | 279 video.setOnPreparedListener(mp -> { in generateVideoView() 280 mp.setLooping(true); in generateVideoView() 281 mp.seekTo(0); in generateVideoView() 282 mp.start(); in generateVideoView()
|
/packages/providers/MediaProvider/tools/photopicker/src/com/android/providers/media/tools/photopicker/ |
D | PhotoPickerToolActivity.java | 326 video.setOnPreparedListener(mp -> { in generateVideoView() 327 mp.setLooping(true); in generateVideoView() 328 mp.seekTo(0); in generateVideoView() 329 mp.start(); in generateVideoView()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaProviderTest.java | 1732 MediaProvider mp = (MediaProvider) cpc.getLocalContentProvider(); in testRedactionForInvalidUris() local 1734 assertNull(mp.getRedactedUri(MediaStore.Images.Media.getContentUri(volumeName))); in testRedactionForInvalidUris() 1735 assertNull(mp.getRedactedUri(MediaStore.Video.Media.getContentUri(volumeName))); in testRedactionForInvalidUris() 1736 assertNull(mp.getRedactedUri(MediaStore.Audio.Media.getContentUri(volumeName))); in testRedactionForInvalidUris() 1737 assertNull(mp.getRedactedUri(MediaStore.Audio.Albums.getContentUri(volumeName))); in testRedactionForInvalidUris() 1738 assertNull(mp.getRedactedUri(MediaStore.Audio.Artists.getContentUri(volumeName))); in testRedactionForInvalidUris() 1739 assertNull(mp.getRedactedUri(MediaStore.Audio.Genres.getContentUri(volumeName))); in testRedactionForInvalidUris() 1740 assertNull(mp.getRedactedUri(MediaStore.Audio.Playlists.getContentUri(volumeName))); in testRedactionForInvalidUris() 1741 assertNull(mp.getRedactedUri(MediaStore.Downloads.getContentUri(volumeName))); in testRedactionForInvalidUris() 1742 assertNull(mp.getRedactedUri(MediaStore.Files.getContentUri(volumeName))); in testRedactionForInvalidUris() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareServiceImpl.java | 439 public void setMasterPreference(int clientId, IBinder binder, int mp) { in setMasterPreference() argument 450 if (mp < 0) { in setMasterPreference() 454 if (mp == 1 || mp == 255 || mp > 255) { in setMasterPreference() 463 mStateManager.setMasterPreference(clientId, mp); in setMasterPreference()
|
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AudioRoutingManager.java | 156 BluetoothMethodProxy mp = BluetoothMethodProxy.getInstance(); in start() local 157 mp.threadStart(mHandlerThread); in start() 158 mHandler = new AudioRoutingHandler(mp.handlerThreadGetLooper(mHandlerThread)); in start() 686 BluetoothMethodProxy mp = BluetoothMethodProxy.getInstance(); in shouldActivateWhenConnected() local 687 if (!mp.mediaSessionManagerGetActiveSessions(mSessionManager).isEmpty() in shouldActivateWhenConnected()
|
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_1/ |
D | SdkApi.java | 220 videoView.setOnPreparedListener(mp -> videoView.start()); in createVideoAd() 225 public void onCompletion(MediaPlayer mp) { in createVideoAd()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioPlayer.java | 252 public boolean onError(MediaPlayer mp, int what, int extra) { in doStart() 268 public void onCompletion(MediaPlayer mp) { in doStart()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TrimVideo.java | 335 public void onCompletion(MediaPlayer mp) { in onCompletion() argument 340 public boolean onError(MediaPlayer mp, int what, int extra) { in onError() 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 | 490 MimeMultipart mp = new MimeMultipart(); in parseBodyStructure() local 505 mp.addBodyPart(bp); in parseBodyStructure() 509 mp.setSubType(bs.getStringOrEmpty(i).getString().toLowerCase(Locale.US)); in parseBodyStructure() 514 part.setBody(mp); in parseBodyStructure()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MediaAnimationController.java | 48 mMediaPlayer.setOnSeekCompleteListener(mp -> mVideoReady = true); in MediaAnimationController()
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | IWifiAwareManager.aidl | 63 void setMasterPreference(int clientId, in IBinder binder, int mp); in setMasterPreference() argument
|