Home
last modified time | relevance | path

Searched refs:usageStats (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUsageStatsManager.java342 private UsageStats usageStats = new UsageStats(); field in ShadowUsageStatsManager.UsageStatsBuilder
352 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()
/external/swiftshader/third_party/marl/include/marl/
Dmemory.h303 auto& usageStats = stats_.byUsage[int(request.usage)]; in allocate() local
304 ++usageStats.count; in allocate()
305 usageStats.bytes += request.size; in allocate()
313 auto& usageStats = stats_.byUsage[int(allocation.request.usage)]; in free() local
314 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()