Lines Matching refs:MediaAnalyticsItem
161 mOpen = new List<MediaAnalyticsItem *>(); in MediaAnalyticsService()
162 mFinalized = new List<MediaAnalyticsItem *>(); in MediaAnalyticsService()
189 MediaAnalyticsItem::SessionID_t MediaAnalyticsService::generateUniqueSessionID() { in generateUniqueSessionID()
197 MediaAnalyticsItem::SessionID_t MediaAnalyticsService::submit(MediaAnalyticsItem *item, bool forcen… in submit()
199 MediaAnalyticsItem::SessionID_t id = MediaAnalyticsItem::SessionIDInvalid; in submit()
242 return MediaAnalyticsItem::SessionIDInvalid; in submit()
261 MediaAnalyticsItem *oitem = findItem(mOpen, item, finalizing | forcenew); in submit()
412 MediaAnalyticsItem * oitem = *(mFinalized->begin()); in dump()
431 int enabled = MediaAnalyticsItem::isEnabled(); in dumpHeaders()
505 String8 MediaAnalyticsService::dumpQueue(List<MediaAnalyticsItem *> *theList) { in dumpQueue()
509 String8 MediaAnalyticsService::dumpQueue(List<MediaAnalyticsItem *> *theList, nsecs_t ts_since, con… in dumpQueue()
516 List<MediaAnalyticsItem *>::iterator it = theList->begin(); in dumpQueue()
541 void MediaAnalyticsService::saveItem(List<MediaAnalyticsItem *> *l, MediaAnalyticsItem * item, int … in saveItem()
555 MediaAnalyticsItem * oitem = *(l->begin()); in saveItem()
564 static bool compatibleItems(MediaAnalyticsItem * oitem, MediaAnalyticsItem * nitem) { in compatibleItems()
587 MediaAnalyticsItem::SessionID_t osession = oitem->getSessionID(); in compatibleItems()
588 MediaAnalyticsItem::SessionID_t nsession = nitem->getSessionID(); in compatibleItems()
600 MediaAnalyticsItem *MediaAnalyticsService::findItem(List<MediaAnalyticsItem*> *theList, MediaAnalyt… in findItem()
605 MediaAnalyticsItem *item = NULL; in findItem()
609 for (List<MediaAnalyticsItem *>::iterator it = theList->begin(); in findItem()
611 MediaAnalyticsItem *tmp = (*it); in findItem()
629 void MediaAnalyticsService::deleteItem(List<MediaAnalyticsItem *> *l, MediaAnalyticsItem *item) { in deleteItem()
633 for (List<MediaAnalyticsItem *>::iterator it = l->begin(); in deleteItem()
652 bool MediaAnalyticsService::contentValid(MediaAnalyticsItem *item, bool isTrusted) { in contentValid()
677 bool MediaAnalyticsService::rateLimited(MediaAnalyticsItem *) { in rateLimited() argument
684 void MediaAnalyticsService::summarize(MediaAnalyticsItem *item) { in summarize()