Lines Matching refs:mAnalyticsItem

90       mAnalyticsItem(NULL),  in NuPlayerDriver()
101 mAnalyticsItem = MediaAnalyticsItem::create(kKeyPlayer); in NuPlayerDriver()
121 if (mAnalyticsItem != NULL) { in ~NuPlayerDriver()
122 delete mAnalyticsItem; in ~NuPlayerDriver()
123 mAnalyticsItem = NULL; in ~NuPlayerDriver()
134 if (mAnalyticsItem) { in setUID()
135 mAnalyticsItem->setUid(mClientUid); in setUID()
563 mAnalyticsItem->setCString(kPlayerVMime, mime.c_str()); in updateMetrics()
565 mAnalyticsItem->setCString(kPlayerVCodec, name.c_str()); in updateMetrics()
570 mAnalyticsItem->setInt32(kPlayerWidth, width); in updateMetrics()
571 mAnalyticsItem->setInt32(kPlayerHeight, height); in updateMetrics()
579 mAnalyticsItem->setInt64(kPlayerFrames, numFramesTotal); in updateMetrics()
580 mAnalyticsItem->setInt64(kPlayerFramesDropped, numFramesDropped); in updateMetrics()
584 mAnalyticsItem->setDouble(kPlayerFrameRate, (double) frameRate); in updateMetrics()
588 mAnalyticsItem->setCString(kPlayerAMime, mime.c_str()); in updateMetrics()
590 mAnalyticsItem->setCString(kPlayerACodec, name.c_str()); in updateMetrics()
601 mAnalyticsItem->setInt64(kPlayerDuration, duration_ms); in updateMetrics()
605 mAnalyticsItem->setInt64(kPlayerPlaying, (mPlayingTimeUs+500)/1000 ); in updateMetrics()
608 mAnalyticsItem->setInt64(kPlayerRebuffering, (mRebufferingTimeUs+500)/1000 ); in updateMetrics()
609 mAnalyticsItem->setInt32(kPlayerRebufferingCount, mRebufferingEvents); in updateMetrics()
610 mAnalyticsItem->setInt32(kPlayerRebufferingAtExit, mRebufferingAtExit); in updateMetrics()
614 mAnalyticsItem->setCString(kPlayerDataSourceType, mPlayer->getDataSourceType()); in updateMetrics()
624 if (mAnalyticsItem == NULL || mAnalyticsItem->isEnabled() == false) { in logMetrics()
633 if (mAnalyticsItem->count() > 3) { in logMetrics()
635 mAnalyticsItem->selfrecord(); in logMetrics()
638 delete mAnalyticsItem ; in logMetrics()
639 mAnalyticsItem = MediaAnalyticsItem::create(kKeyPlayer); in logMetrics()
640 if (mAnalyticsItem) { in logMetrics()
641 mAnalyticsItem->setUid(mClientUid); in logMetrics()
644 ALOGV("nothing to record (only %d fields)", mAnalyticsItem->count()); in logMetrics()
782 if (key == FOURCC('m','t','r','X') && mAnalyticsItem != NULL) { in getParameter()
786 mAnalyticsItem->writeToParcel(reply); in getParameter()
1010 if (msg == MEDIA_ERROR && mAnalyticsItem != NULL) { in notifyListener_l()
1011 mAnalyticsItem->setInt32(kPlayerError, ext1); in notifyListener_l()
1013 mAnalyticsItem->setInt32(kPlayerErrorCode, ext2); in notifyListener_l()
1015 mAnalyticsItem->setCString(kPlayerErrorState, stateString(mState).c_str()); in notifyListener_l()