Home
last modified time | relevance | path

Searched refs:USER (Results 1 – 7 of 7) sorted by relevance

/tools/loganalysis/src/com/android/loganalysis/item/
DTopItem.java28 public static final String USER = "USER"; field in TopItem
47 USER, NICE, SYSTEM, IDLE, IOW, IRQ, SIRQ, TOTAL, TEXT));
64 return (Integer) getAttribute(USER); in getUser()
71 setAttribute(USER, user); in setUser()
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DAnrParserTest.java58 assertEquals(21.0, anr.getCpuUsage(AnrItem.CpuUsageCategory.USER)); in testParse_application_not_responding()
91 assertEquals(21.0, anr.getCpuUsage(AnrItem.CpuUsageCategory.USER)); in testParse_anr_in_app()
124 assertEquals(21.0, anr.getCpuUsage(AnrItem.CpuUsageCategory.USER)); in testParse_anr_in_app_class_package()
159 assertEquals(21.0, anr.getCpuUsage(AnrItem.CpuUsageCategory.USER)); in testParse_anr_in_app_class_package_pid()
/tools/loganalysis/src/com/android/loganalysis/parser/
DAnrParser.java53 private static final Pattern USER = Pattern.compile("^.* (\\d+(\\.\\d+)?)% user.*$"); field in AnrParser
98 m = USER.matcher(line); in parse()
100 anr.setCpuUsage(AnrItem.CpuUsageCategory.USER, usage); in parse()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DCpuStatsCollectorTest.java166 assertEquals(2, stats.mTimeStats.get(TimeCategory.USER).intValue()); in testCpuStatsParser_single()
175 assertEquals(100.0 * 2 / 58, stats.getPercentage(TimeCategory.USER), 0.01); in testCpuStatsParser_single()
195 assertEquals(37, stats.mTimeStats.get(TimeCategory.USER).intValue()); in testCpuStatsParser_single()
211 assertEquals(83, stats.mTimeStats.get(TimeCategory.USER).intValue()); in testCpuStatsParser_single()
243 assertEquals(2, stats.mTimeStats.get(TimeCategory.USER).intValue()); in testCpuStatsParser_single_non_aggregate()
252 assertEquals(100.0 * 2 / 58, stats.getPercentage(TimeCategory.USER), 0.01); in testCpuStatsParser_single_non_aggregate()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTopHelper.java56 USER, enumConstant
272 return getAveragePercentage(topStats, PercentCategory.USER); in getUserAverage()
321 case USER: in getAveragePercentage()
/tools/test/connectivity/acts/framework/acts/test_utils/net/
Dconnectivity_const.py92 USER = "username" variable in VpnProfile
/tools/test/connectivity/acts/tests/google/net/
DLegacyVpnTest.py95 vpn_profile = {VPN_CONST.USER: self.vpn_username,