Home
last modified time | relevance | path

Searched refs:USER (Results 1 – 11 of 11) 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()
DAnrItem.java33 USER, enumConstant
56 CpuUsageCategory.USER.toString(),
/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/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/src/com/android/tradefed/device/
DTopHelper.java56 USER, enumConstant
272 return getAveragePercentage(topStats, PercentCategory.USER); in getUserAverage()
321 case USER: in getAveragePercentage()
DCpuStatsCollector.java59 USER, enumConstant
251 s.mTimeStats.put(TimeCategory.USER, Integer.parseInt(args[1])); in processNewLines()
415 return (getPercentageMean(cpuStats, TimeCategory.USER) + in getUserPercentageMean()
/tools/acloud/setup/pre_setup_sh/
Dgoogle_setup_warn.sh21 USER=$(git config --get user.email)
24 if [[ $USER == *@google.com ]]; then
/tools/acloud/
Drevert_host_setup.sh24 sudo gpasswd -d $USER $g
/tools/test/connectivity/acts/framework/acts/test_utils/net/
Dconnectivity_const.py94 USER = "username" variable in VpnProfile
Dnet_test_utils.py195 vpn_profile = {VPN_CONST.USER: vpn_params['vpn_username'],