the steps are
<android-root>$ source build/envsetup.sh
<android-root>$ lunch 1
<android-root>$ make clean
<android-root>$ make -j2 ENABLE_PV_LOGGING=1
<android-root>$ emulator & adb logcat

On Apr 7, 4:50 pm, "raj.10788" <raj.10...@gmail.com> wrote:
> hiDas,
>
> Can you please tell me the setps to execute the open core test cases.
> I am new to this one. I am trying to understand the media frame work.
> So can you please help me out in this.
>
> On Mar 4, 11:42 pm, "das.ar...@gmail.com" <das.ar...@gmail.com> wrote:
>
> > Hi I have followed the steps as mentioned in the post.I tried playing
> > MP3 clip of 52 secs.I am attaching below the logs.Please le me know me
> > whether they are the proper logs of PVMF or not??
> > ===========================================================================­===============================================
> > I/ActivityManager(   52): Starting activity: Intent
> > { action=android.intent.action.MAIN categories=
> > {android.intent.category.LAUNCHER} flags=0x10200000 comp=
> > {com.android.music/com.android.music.MusicBrowserActivity} }
>
> > I/ActivityManager(   52): Start proc com.android.music for activity
> > com.android.music/.MusicBrowserActivity: pid=182 uid=10022 gids={3003}
>
> > D/dalvikvm(   23): GC freed 267 objects / 10032 bytes in 185ms
>
> > D/dalvikvm(   23): GC freed 45 objects / 1912 bytes in 130ms
>
> > D/dalvikvm(   23): GC freed 2 objects / 48 bytes in 115ms
>
> > V/ActivityThread(  182): Resuming ActivityRecord{436b6178
> > token=android.os.binderpr...@436b5cc8 {com.android.music/
> > com.android.music.MusicBrowserActivity}} with isForward=true
>
> > V/MediaPlayer-JNI(  182): native_setup
>
> > V/MediaPlayer(  182): constructor
>
> > V/MediaPlayer(  182): setListener
>
> > I/ActivityManager(   52): Displayed activity
> > com.android.music/.MusicBrowserActivity: 2380 ms
>
> > I/ActivityManager(   52): Starting activity: Intent
> > { action=android.intent.action.PICK data= type=vnd.android.cursor.dir/
> > track comp={com.android.music/
> > com.android.music.TrackBrowserActivity} }
>
> > V/ActivityThread(  182): Resuming ActivityRecord{436e1158
> > token=android.os.binderpr...@436e0ca8 {com.android.music/
> > com.android.music.TrackBrowserActivity}} with isForward=true
>
> > I/ActivityManager(   52): Displayed activity
> > com.android.music/.TrackBrowserActivity: 1260 ms
>
> > V/MediaPlayer(  182): reset
>
> > V/MediaPlayer(  182): setDataSource(36, 0, 576460752303423487)
>
> > V/MediaPlayerService(   24): Client(1) constructor
>
> > V/MediaPlayerService(   24): Create new client(1) from pid 182, fd=10,
> > offset=0, length=576460752303423487
>
> > V/MediaPlayerService(   24): setDataSource fd=10, offset=0,
> > length=576460752303423487
>
> > V/MediaPlayerService(   24): st_dev  = 45824
>
> > V/MediaPlayerService(   24): st_mode = 32822
>
> > V/MediaPlayerService(   24): st_uid  = 1000
>
> > V/MediaPlayerService(   24): st_gid  = 1000
>
> > V/MediaPlayerService(   24): st_size = 370021
>
> > V/MediaPlayerService(   24): calculated length = 370021
>
> > V/MediaPlayerService(   24): player type = 1
>
> > V/MediaPlayerService(   24):  create PVPlayer
>
> > V/PVPlayer(   24): PVPlayer constructor
>
> > V/PVPlayer(   24): construct PlayerDriver
>
> > V/PlayerDriver(   24): constructor
>
> > V/PlayerDriver(   24): start player thread
>
> > V/PlayerDriver(   24): startPlayerThread
>
> > V/PlayerDriver(   24): InitializeForThread
>
> > V/PlayerDriver(   24): OMX_Init
>
> > V/PlayerDriver(   24): OsclScheduler::Init
>
> > V/PlayerDriver(   24): CreatePlayer
>
> > V/PlayerDriver(   24): AddToScheduler
>
> > V/PlayerDriver(   24): PendForExec
>
> > V/PlayerDriver(   24): OsclActiveScheduler::Current
>
> > V/PlayerDriver(   24): StartScheduler
>
> > V/PVPlayer(   24): send PLAYER_SETUP
>
> > V/PlayerDriver(   24): Send player command: 2
>
> > V/PlayerDriver(   24): CommandCompleted
>
> > V/PlayerDriver(   24): Command 2 status=1
>
> > V/PVPlayer(   24): setDataSource(10, 0, 370021)
>
> > V/MediaPlayer(  182): MediaPlayer::setAudioStreamType
>
> > V/MediaPlayer(  182): prepare
>
> > V/MediaPlayerService(   24): [1] setAudioStreamType(3)
>
> > V/MediaPlayerService(   24): [1] prepareAsync
>
> > V/PVPlayer(   24): prepareAsync
>
> > V/PVPlayer(   24):   data source = mem://0x40509000:0:370021
>
> > V/PlayerDriver(   24): Send player command: 3
>
> > V/PlayerDriver(   24): CommandCompleted
>
> > V/PlayerDriver(   24): Command 3 status=1
>
> > V/PVPlayer(   24): run_init s=0, cancelled=0
>
> > V/PlayerDriver(   24): Send player command: 6
>
> > V/PlayerDriver(   24): CommandCompleted
>
> > V/PlayerDriver(   24): Command 6 status=1
>
> > V/PVPlayer(   24): run_set_video_surface s=0, cancelled=0
>
> > V/PVPlayer(   24): run_set_audio_output s=0, cancelled=0
>
> > V/PlayerDriver(   24): Send player command: 5
>
> > V/PlayerDriver(   24): Create realtime output
>
> > V/PlayerDriver(   24): CommandCompleted
>
> > V/PlayerDriver(   24): Command 5 status=1
>
> > V/PVPlayer(   24): run_prepare s=0, cancelled=0
>
> > V/PlayerDriver(   24): Send player command: 7
>
> > V/PlayerDriver(   24): HandleInformationalEvent: type=44 UNHANDLED
>
> > V/PlayerDriver(   24): CommandCompleted
>
> > V/PlayerDriver(   24): Command 7 status=1
>
> > V/PlayerDriver(   24): PLAYER_PREPARE complete
> > mDownloadContextData=0x0, mDataReadyReceived=0
>
> > V/MediaPlayerService(   24): [1] notify (0xd0c8, 1, 0, 0)
>
> > V/MediaPlayer(  182): message received msg=1, ext1=0, ext2=0
>
> > V/MediaPlayer(  182): prepared
>
> > V/MediaPlayer(  182): signal application thread
>
> > V/MediaPlayer(  182): callback application
>
> > V/MediaPlayer(  182): back from callback
>
> > V/MediaPlayer(  182): prepare complete - status=0
>
> > V/MediaPlayer(  182): start
>
> > V/MediaPlayerService(   24): [1] setLooping(0)
>
> > V/PVPlayer(   24): setLooping(0)
>
> > V/PlayerDriver(   24): Send player command: 12
>
> > V/MediaPlayerService(   24): [1] setVolume(1.000000, 1.000000)
>
> > V/AudioSink(   24): setVolume(1.000000, 1.000000)
>
> > V/MediaPlayerService(   24): [1] start
>
> > V/PVPlayer(   24): setLooping(0)
>
> > V/PlayerDriver(   24): Send player command: 12
>
> > V/PVPlayer(   24): start
>
> > V/PlayerDriver(   24): Send player command: 8
>
> > V/PlayerDriver(   24): CommandCompleted
>
> > V/PlayerDriver(   24): Command 8 status=1
>
> > V/MediaPlayer(  182): getCurrentPosition
>
> > V/MediaPlayerService(   24): getCurrentPosition
>
> > V/PlayerDriver(   24): Send player command: 14
>
> > V/PlayerDriver(   24): position=0
>
> > V/MediaPlayerService(   24): [1] getCurrentPosition = 0
>
> > D/AudioSink(   24): bufferCount (4) is too small and increased to 12
>
> > V/AudioSink(   24): open(44100, 1, 1, 12)
>
> > V/AudioSink(   24): setVolume
>
> > I/ActivityManager(   52): Starting activity: Intent
> > { action=com.android.music.PLAYBACK_VIEWER flags=0x4000000 comp=
> > {com.android.music/com.android.music.MediaPlaybackActivity} }
>
> > V/AudioSink(   24): flush
>
> > V/AudioSink(   24): start
>
> > V/PlayerDriver(   24): PVMFInfoDurationAvailable event ....
>
> > V/PlayerDriver(   24): .... with duration = 52871 ms
>
> > W/AudioFlinger(   24): write blocked for 59 msecs
>
> > V/ActivityThread(  182): Resuming ActivityRecord{4370c790
> > token=android.os.binderpr...@4370c330 {com.android.music/
> > com.android.music.MediaPlaybackActivity}} with isForward=true
>
> > V/MediaPlayer(  182): getDuration
>
> > V/MediaPlayerService(   24): getDuration
>
> > V/PlayerDriver(   24): Send player command: 15
>
> > V/PlayerDriver(   24): CommandCompleted
>
> > V/PlayerDriver(   24): Command 15 status=1
>
> > V/MediaPlayerService(   24): [1] getDuration = 52871
>
> > V/MediaPlayer(  182): getCurrentPosition
>
> > V/MediaPlayerService(   24): getCurrentPosition
>
> > V/PlayerDriver(   24): Send player command: 14
>
> > V/PlayerDriver(   24): position=1758
>
> > V/MediaPlayerService(   24): [1] getCurrentPosition = 1758
>
> > V/PlayerDriver(   24): Send player command: 16
>
> > V/PlayerDriver(   24): status=4
>
> > V/MediaPlayerService(   24): [1] isPlaying: 1
>
> > V/MediaPlayer(  182): isPlaying: 1
>
> > V/PlayerDriver(   24): Send player command: 16
>
> > V/PlayerDriver(   24): status=4
>
> > V/MediaPlayerService(   24): [1] isPlaying: 1
>
> > V/MediaPlayer(  182): isPlaying: 1
>
> > V/MediaPlayer(  182): getCurrentPosition
>
> > W/AudioFlinger(   24): write blocked for 48 msecs
>
> > V/MediaPlayerService(   24): getCurrentPosition
>
> > V/PlayerDriver(   24): Send player command: 14
>
> > V/PlayerDriver(   24): position=2264
>
> > V/MediaPlayerService(   24): [1] getCurrentPosition = 2264
>
> > V/PlayerDriver(   24): Send player command: 16
>
> > V/PlayerDriver(   24): status=4
>
> > V/MediaPlayerService(   24): [1] isPlaying: 1
>
> > V/MediaPlayer(  182): isPlaying: 1
>
> > I/ActivityManager(   52): Displayed activity
> > com.android.music/.MediaPlaybackActivity: 2651 ms
>
> > V/MediaPlayer(  182): getCurrentPosition
>
> > V/MediaPlayerService(   24): getCurrentPosition
>
> > V/PlayerDriver(   24): Send player command: 14
>
> > V/PlayerDriver(   24): position=3145
>
> > V/MediaPlayerService(   24): [1] getCurrentPosition = 3145
>
> > V/PlayerDriver(   24): Send player command: 16
>
> > V/PlayerDriver(   24): status=4
>
> > V/MediaPlayerService(   24): [1] isPlaying: 1
>
> > V/MediaPlayer(  182): isPlaying: 1
>
> > V/MediaPlayer(  182): getCurrentPosition
>
> > V/MediaPlayerService(   24): getCurrentPosition
>
> > V/PlayerDriver(   24): Send player command: 14
>
> > V/PlayerDriver(   24): position=4114
>
> > V/MediaPlayerService(   24): [1] getCurrentPosition = 4114
>
> > V/PlayerDriver(   24): Send player command: 16
>
> > V/PlayerDriver(   24): status=4
>
> > V/MediaPlayerService(   24): [1] isPlaying: 1
>
> > V/MediaPlayer(  182): isPlaying: 1
>
> > V/MediaPlayer(  182): getCurrentPosition
>
> > V/MediaPlayerService(   24): getCurrentPosition
>
> > V/PlayerDriver(   24): Send player command: 14
>
> > V/PlayerDriver(   24): position=5062
>
> > V/MediaPlayerService(   24): [1] getCurrentPosition = 5062
>
> > V/PlayerDriver(   24): Send
>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to