Home
last modified time | relevance | path

Searched refs:playlistId (Results 1 – 4 of 4) sorted by relevance

/packages/apps/FMRadio/src/com/android/fmradio/
DFmRecorder.java403 int playlistId = getPlaylistId(context); in addRecordingToDatabase() local
404 if (playlistId < 0) { in addRecordingToDatabase()
406 playlistId = createPlaylist(context); in addRecordingToDatabase()
408 if (playlistId < 0) { in addRecordingToDatabase()
413 addToPlaylist(context, playlistId, recordingId); in addRecordingToDatabase()
435 int playlistId = -1; in getPlaylistId() local
439 playlistId = playlistCursor.getInt(0); in getPlaylistId()
445 return playlistId; in getPlaylistId()
498 private void addToPlaylist(final Context context, final int playlistId, final int recordingId) { in addToPlaylist() argument
500 Uri uri = MediaStore.Audio.Playlists.Members.getContentUri("external", playlistId); in addToPlaylist()
DFmMainActivity.java820 int playlistId = FmRecorder.getPlaylistId(mContext); in onOptionsItemSelected() local
822 extras.putInt("playlist", playlistId); in onOptionsItemSelected()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2940 long playlistId = Long.parseLong(uri.getPathSegments().get(3)); in playlistBulkInsert() local
2954 helper.bind(playlistididx, playlistId); in playlistBulkInsert()
3286 long playlistId = c.getLong(0); in getObjectReferences() local
3294 new String[] { Long.toString(playlistId) } ); in getObjectReferences()
3305 long playlistId = 0; in setObjectReferences() local
3317 playlistId = c.getLong(0); in setObjectReferences()
3322 if (playlistId == 0) { in setObjectReferences()
3329 new String[] { Long.toString(playlistId) }); in setObjectReferences()
3357 v.put(MediaStore.Audio.Playlists.Members.PLAYLIST_ID, playlistId); in setObjectReferences()
3371 Audio.Playlists.Members.getContentUri(EXTERNAL_VOLUME, playlistId), in setObjectReferences()
[all …]
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DSoundRecorder.java535 private void addToPlaylist(ContentResolver resolver, int audioId, long playlistId) { in addToPlaylist() argument
539 Uri uri = MediaStore.Audio.Playlists.Members.getContentUri("external", playlistId); in addToPlaylist()