• Home
  • Raw
  • Download

Lines Matching refs:mMetricsItem

88       mMetricsItem(NULL),  in NuPlayerDriver()
99 mMetricsItem = mediametrics::Item::create(kKeyPlayer); in NuPlayerDriver()
120 if (mMetricsItem != NULL) { in ~NuPlayerDriver()
121 delete mMetricsItem; in ~NuPlayerDriver()
122 mMetricsItem = NULL; in ~NuPlayerDriver()
135 if (mMetricsItem) { in setUID()
136 mMetricsItem->setUid(mClientUid); in setUID()
597 if (mMetricsItem == NULL) { in updateMetrics()
601 mMetricsItem->setInt64(kPlayerDuration, duration_ms); in updateMetrics()
602 mMetricsItem->setInt64(kPlayerPlaying, (playingTimeUs+500)/1000 ); in updateMetrics()
605 mMetricsItem->setInt64(kPlayerRebuffering, (rebufferingTimeUs+500)/1000 ); in updateMetrics()
606 mMetricsItem->setInt32(kPlayerRebufferingCount, rebufferingEvents); in updateMetrics()
607 mMetricsItem->setInt32(kPlayerRebufferingAtExit, rebufferingAtExit); in updateMetrics()
610 mMetricsItem->setCString(kPlayerDataSourceType, mPlayer->getDataSourceType()); in updateMetrics()
624 mMetricsItem->setCString(kPlayerVMime, mime.c_str()); in updateMetrics()
626 mMetricsItem->setCString(kPlayerVCodec, name.c_str()); in updateMetrics()
631 mMetricsItem->setInt32(kPlayerWidth, width); in updateMetrics()
632 mMetricsItem->setInt32(kPlayerHeight, height); in updateMetrics()
640 mMetricsItem->setInt64(kPlayerFrames, numFramesTotal); in updateMetrics()
641 mMetricsItem->setInt64(kPlayerFramesDropped, numFramesDropped); in updateMetrics()
645 mMetricsItem->setDouble(kPlayerFrameRate, (double) frameRate); in updateMetrics()
649 mMetricsItem->setCString(kPlayerAMime, mime.c_str()); in updateMetrics()
651 mMetricsItem->setCString(kPlayerACodec, name.c_str()); in updateMetrics()
668 if (mMetricsItem == NULL || mMetricsItem->isEnabled() == false) { in logMetrics()
677 if (mMetricsItem->count() > 3) { in logMetrics()
679 mMetricsItem->selfrecord(); in logMetrics()
682 delete mMetricsItem ; in logMetrics()
683 mMetricsItem = mediametrics::Item::create(kKeyPlayer); in logMetrics()
684 if (mMetricsItem) { in logMetrics()
685 mMetricsItem->setUid(mClientUid); in logMetrics()
688 ALOGV("nothing to record (only %zu fields)", mMetricsItem->count()); in logMetrics()
837 if (mMetricsItem != NULL) { in getParameter()
838 mMetricsItem->writeToParcel(reply); in getParameter()
1065 if (mMetricsItem != NULL) { in notifyListener_l()
1066 mMetricsItem->setInt32(kPlayerError, ext1); in notifyListener_l()
1068 mMetricsItem->setInt32(kPlayerErrorCode, ext2); in notifyListener_l()
1070 mMetricsItem->setCString(kPlayerErrorState, stateString(mState).c_str()); in notifyListener_l()