Searched refs:usageStats (Results 1 – 2 of 2) sorted by relevance
342 private UsageStats usageStats = new UsageStats(); field in ShadowUsageStatsManager.UsageStatsBuilder352 return usageStats; in build()356 usageStats.mPackageName = packageName; in setPackageName()361 usageStats.mBeginTimeStamp = firstTimeStamp; in setFirstTimeStamp()366 usageStats.mEndTimeStamp = lastTimeStamp; in setLastTimeStamp()371 usageStats.mTotalTimeInForeground = totalTimeInForeground; in setTotalTimeInForeground()376 usageStats.mLastTimeUsed = lastTimeUsed; in setLastTimeUsed()
303 auto& usageStats = stats_.byUsage[int(request.usage)]; in allocate() local304 ++usageStats.count; in allocate()305 usageStats.bytes += request.size; in allocate()313 auto& usageStats = stats_.byUsage[int(allocation.request.usage)]; in free() local314 MARL_ASSERT(usageStats.count > 0, in free()316 MARL_ASSERT(usageStats.bytes >= allocation.request.size, in free()318 --usageStats.count; in free()319 usageStats.bytes -= allocation.request.size; in free()