Lines Matching refs:mAnalyticsItem

71       mAnalyticsItem(NULL),  in NuPlayerDriver()
79 mAnalyticsItem = new MediaAnalyticsItem(kKeyPlayer); in NuPlayerDriver()
80 mAnalyticsItem->generateSessionID(); in NuPlayerDriver()
100 if (mAnalyticsItem != NULL) { in ~NuPlayerDriver()
101 delete mAnalyticsItem; in ~NuPlayerDriver()
102 mAnalyticsItem = NULL; in ~NuPlayerDriver()
537 mAnalyticsItem->setCString(kPlayerVMime, mime.c_str()); in updateMetrics()
539 mAnalyticsItem->setCString(kPlayerVCodec, name.c_str()); in updateMetrics()
544 mAnalyticsItem->setInt32(kPlayerWidth, width); in updateMetrics()
545 mAnalyticsItem->setInt32(kPlayerHeight, height); in updateMetrics()
553 mAnalyticsItem->setInt64(kPlayerFrames, numFramesTotal); in updateMetrics()
554 mAnalyticsItem->setInt64(kPlayerFramesDropped, numFramesDropped); in updateMetrics()
558 mAnalyticsItem->setCString(kPlayerAMime, mime.c_str()); in updateMetrics()
560 mAnalyticsItem->setCString(kPlayerACodec, name.c_str()); in updateMetrics()
571 mAnalyticsItem->setInt64(kPlayerDuration, duration_ms); in updateMetrics()
573 mAnalyticsItem->setInt64(kPlayerPlaying, (mPlayingTimeUs+500)/1000 ); in updateMetrics()
575 mAnalyticsItem->setCString(kPlayerDataSourceType, mPlayer->getDataSourceType()); in updateMetrics()
585 if (mAnalyticsItem == NULL || mAnalyticsItem->isEnabled() == false) { in logMetrics()
594 if (mAnalyticsItem->count() > 3) { in logMetrics()
596 mAnalyticsItem->setFinalized(true); in logMetrics()
597 mAnalyticsItem->selfrecord(); in logMetrics()
600 delete mAnalyticsItem ; in logMetrics()
601 mAnalyticsItem = new MediaAnalyticsItem("nuplayer"); in logMetrics()
602 if (mAnalyticsItem) { in logMetrics()
603 mAnalyticsItem->generateSessionID(); in logMetrics()
740 mAnalyticsItem->writeToParcel(reply); in getParameter()
951 mAnalyticsItem->setInt32(kPlayerError, ext1); in notifyListener_l()
953 mAnalyticsItem->setInt32(kPlayerErrorCode, ext2); in notifyListener_l()