Home
last modified time | relevance | path

Searched refs:Integer (Results 1 – 25 of 227) sorted by relevance

12345678910

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DConditionPriorityBlockingQueueTest.java30 private ConditionPriorityBlockingQueue<Integer> mQueue;
38 mQueue = new ConditionPriorityBlockingQueue<Integer>(new IntCompare()); in setUp()
52 Integer one = Integer.valueOf(1); in testTake()
63 Integer one = Integer.valueOf(1); in testTake_priority()
64 Integer two = Integer.valueOf(2); in testTake_priority()
76 ConditionPriorityBlockingQueue<Integer> fifoQueue = in testTake_fifo()
77 new ConditionPriorityBlockingQueue<Integer>(); in testTake_fifo()
78 Integer one = Integer.valueOf(1); in testTake_fifo()
79 Integer two = Integer.valueOf(2); in testTake_fifo()
92 Integer one = Integer.valueOf(1); in testTake_priorityReverse()
[all …]
DDirectedGraphTest.java26 DirectedGraph<Integer> graph = new DirectedGraph<Integer>(); in testBasicGraph()
39 DirectedGraph<Integer> graph = new DirectedGraph<Integer>(); in testCyclicGraph()
55 DirectedGraph<Integer> graph = new DirectedGraph<Integer>(); in testRemoveUnexistingVertex()
DRegexTrieTest.java40 private RegexTrie<Integer> mTrie = null;
41 private static final Integer STORED_VAL = 42;
46 mTrie = new RegexTrie<Integer>(); in setUp()
52 Integer retrieved = mTrie.retrieve("part1", "part2", "part3"); in testStringPattern()
59 Integer retrieved; in testAlternation_single()
75 Integer retrieved; in testAlternation_multiple()
96 Integer retrieved; in testGroups_fullMatch()
127 Integer retrieved; in testGroups_partialMatch()
160 Integer retrieved; in testWildcard()
186 Integer retrieved; in testWildcard_precedence()
[all …]
/tools/loganalysis/src/com/android/loganalysis/parser/
DProcrankParser.java68 item.addProcrankLine(Integer.parseInt(m.group(1)), m.group(6), in parse()
69 Integer.parseInt(m.group(2)), Integer.parseInt(m.group(3)), in parse()
70 Integer.parseInt(m.group(4)), Integer.parseInt(m.group(5))); in parse()
76 item.addProcrankLine(Integer.parseInt(m.group(1)), m.group(10), in parse()
77 Integer.parseInt(m.group(2)), Integer.parseInt(m.group(3)), in parse()
78 Integer.parseInt(m.group(4)), Integer.parseInt(m.group(5))); in parse()
DTopParser.java58 item.setUser(Integer.parseInt(m.group(1))); in parse()
59 item.setNice(Integer.parseInt(m.group(2))); in parse()
60 item.setSystem(Integer.parseInt(m.group(3))); in parse()
61 item.setIdle(Integer.parseInt(m.group(4))); in parse()
62 item.setIow(Integer.parseInt(m.group(5))); in parse()
63 item.setIrq(Integer.parseInt(m.group(6))); in parse()
64 item.setSirq(Integer.parseInt(m.group(7))); in parse()
65 item.setTotal(Integer.parseInt(m.group(8))); in parse()
DGfxInfoParser.java63 Integer pid = null; in parse()
66 Integer percentile90 = null; in parse()
67 Integer percentile95 = null; in parse()
68 Integer percentile99 = null; in parse()
77 pid = Integer.parseInt(m.group(1)); in parse()
99 percentile90 = Integer.parseInt(m.group(1)); in parse()
104 percentile95 = Integer.parseInt(m.group(1)); in parse()
109 percentile99 = Integer.parseInt(m.group(1)); in parse()
DMonkeyLogParser.java93 private Integer mPid = null;
198 mMonkeyLog.setThrottle(Integer.parseInt(m.group(1))); in parseLine()
203 mMonkeyLog.setTargetCount(Integer.parseInt(m.group(2))); in parseLine()
226 mMonkeyLog.setTotalDuration(60 * 1000 * Integer.parseInt(m.group(3)) + in parseLine()
227 1000 *Integer.parseInt(m.group(4))); in parseLine()
231 mMonkeyLog.setIntermediateCount(Integer.parseInt(m.group(1))); in parseLine()
235 mMonkeyLog.setFinalCount(Integer.parseInt(m.group(1))); in parseLine()
247 mMonkeyLog.setDroppedCount(DroppedCategory.KEYS, Integer.parseInt(m.group(1))); in parseLine()
251 mMonkeyLog.setDroppedCount(DroppedCategory.POINTERS, Integer.parseInt(m.group(1))); in parseLine()
255 mMonkeyLog.setDroppedCount(DroppedCategory.TRACKBALLS, Integer.parseInt(m.group(1))); in parseLine()
[all …]
DBatteryDischargeStatsInfoParser.java44 Integer minPercent = null; in parse()
45 Integer maxPercent = null; in parse()
46 Integer minProjectionPercent = null; in parse()
47 Integer maxProjectionPercent = null; in parse()
53 int percent = Integer.parseInt(m.group(8)); in parse()
DQtaguidParser.java49 int uid = Integer.parseInt(columns[3]); in parse()
50 int rxBytes = Integer.parseInt(columns[5]); in parse()
51 int txBytes = Integer.parseInt(columns[7]); in parse()
DDvmLockSampleParser.java98 1 == Integer.parseInt(m.group(2))); in parse()
104 Integer.parseInt(m.group(4))); in parse()
110 Integer.parseInt(m.group(6))); in parse()
118 Integer.parseInt(m.group(8))); in parse()
121 Integer.parseInt(m.group(9))); in parse()
DBatteryStatsSummaryInfoParser.java74 final int year = Integer.parseInt(resetTimeMatcher.group(1)); in parse()
75 final int month = Integer.parseInt(resetTimeMatcher.group(2)); in parse()
76 final int day = Integer.parseInt(resetTimeMatcher.group(3)); in parse()
77 final int hour = Integer.parseInt(resetTimeMatcher.group(4)); in parse()
78 final int minute = Integer.parseInt(resetTimeMatcher.group(5)); in parse()
79 final int second = Integer.parseInt(resetTimeMatcher.group(6)); in parse()
88 final int batteryLevel = Integer.parseInt(dischargeMatcher.group(6)); in parse()
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DProcrankParserTest.java56 assertEquals((Integer) 87136, procrank.getVss(178)); in testProcRankParserShortLine()
57 assertEquals((Integer) 77996, procrank.getRss(1313)); in testProcRankParserShortLine()
58 assertEquals((Integer) 33122, procrank.getPss(3247)); in testProcRankParserShortLine()
59 assertEquals((Integer) 28360, procrank.getUss(334)); in testProcRankParserShortLine()
89 assertEquals((Integer) 3454396, procrank.getVss(6711)); in testProcRankParserLongLine()
90 assertEquals((Integer) 146300, procrank.getRss(6711)); in testProcRankParserLongLine()
91 assertEquals((Integer) 108431, procrank.getPss(6711)); in testProcRankParserLongLine()
92 assertEquals((Integer) 105524, procrank.getUss(6711)); in testProcRankParserLongLine()
/tools/loganalysis/src/com/android/loganalysis/item/
DTopItem.java64 return (Integer) getAttribute(USER); in getUser()
78 return (Integer) getAttribute(NICE); in getNice()
92 return (Integer) getAttribute(SYSTEM); in getSystem()
106 return (Integer) getAttribute(IDLE); in getIdle()
120 return (Integer) getAttribute(IOW); in getIow()
134 return (Integer) getAttribute(IRQ); in getIrq()
148 return (Integer) getAttribute(SIRQ); in getSirq()
162 return (Integer) getAttribute(TOTAL); in getTotal()
DProcrankItem.java68 private Map<Integer, ProcrankValue> mProcrankLines = new HashMap<Integer, ProcrankValue>();
87 public Set<Integer> getPids() { in getPids()
105 public Integer getVss(int pid) { in getVss()
116 public Integer getRss(int pid) { in getRss()
127 public Integer getPss(int pid) { in getPss()
138 public Integer getUss(int pid) { in getUss()
184 for (Entry<Integer, ProcrankValue> entry : mProcrankLines.entrySet()) { in toJson()
DMiscLogcatItem.java82 public Integer getPid() { in getPid()
83 return (Integer) getAttribute(PID); in getPid()
89 public void setPid(Integer pid) { in setPid()
96 public Integer getTid() { in getTid()
97 return (Integer) getAttribute(TID); in getTid()
103 public void setTid(Integer tid) { in setTid()
DMonkeyLogItem.java160 return (Integer) getAttribute(THROTTLE); in getThrottle()
187 public Integer getTargetCount() { in getTargetCount()
188 return (Integer) getAttribute(TARGET_COUNT); in getTargetCount()
291 return (Integer) getAttribute(INTERMEDIATE_COUNT); in getIntermediateCount()
308 public Integer getFinalCount() { in getFinalCount()
309 return (Integer) getAttribute(FINAL_COUNT); in getFinalCount()
322 public Integer getDroppedCount(DroppedCategory category) { in getDroppedCount()
323 return (Integer) getAttribute(category.toString()); in getDroppedCount()
DTracesItem.java54 public Integer getPid() { in getPid()
55 return (Integer) getAttribute(PID); in getPid()
61 public void setPid(Integer pid) { in setPid()
DDvmLockSampleItem.java50 put(WAIT_TIME, Integer.class);
52 put(WAITING_SOURCE_LINE, Integer.class);
54 put(OWNER_ACQUIRE_SOURCE_LINE, Integer.class);
55 put(SAMPLE_PERCENTAGE, Integer.class);
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DBandwidthUtils.java32 private Map<Integer, BandwidthStats> mUidStats = new HashMap<Integer, BandwidthStats>();
87 int uid = Integer.parseInt(parts[3]); in parseUidStats()
88 int rb = Integer.parseInt(parts[5]); in parseUidStats()
89 int rp = Integer.parseInt(parts[6]); in parseUidStats()
90 int tb = Integer.parseInt(parts[7]); in parseUidStats()
91 int tp = Integer.parseInt(parts[8]); in parseUidStats()
123 int rb = Integer.parseInt(parts[1]); in parseNetDevStats()
124 int rp = Integer.parseInt(parts[2]); in parseNetDevStats()
125 int tb = Integer.parseInt(parts[9]); in parseNetDevStats()
126 int tp = Integer.parseInt(parts[10]); in parseNetDevStats()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java79 private Integer mMinBattery = null;
84 private Integer mMaxBattery = null;
92 private Integer mMaxBatteryTemperature = null;
113 private Integer mMinSdk = null;
117 private Integer mMaxSdk = null;
271 public void setMinBatteryLevel(Integer minBattery) { in setMinBatteryLevel()
278 public Integer getMinBatteryLevel() { in getMinBatteryLevel()
285 public void setMaxBatteryLevel(Integer maxBattery) { in setMaxBatteryLevel()
292 public Integer getMaxBatteryLevel() { in getMaxBatteryLevel()
297 public void setMaxBatteryTemperature(Integer maxBatteryTemperature) { in setMaxBatteryTemperature()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/command/
DICommandOptions.java135 public Integer getShardCount(); in getShardCount()
140 public void setShardCount(Integer shardCount); in setShardCount()
145 public Integer getShardIndex(); in getShardIndex()
150 public void setShardIndex(Integer shardIndex); in setShardIndex()
/tools/tradefederation/core/src/com/android/tradefed/host/
DHostOptions.java33 private Integer mConcurrentFlasherLimit = 1;
41 private Integer mConcurrentDownloadLimit = null;
59 public Integer getConcurrentFlasherLimit() { in getConcurrentFlasherLimit()
65 public Integer getConcurrentDownloadLimit() { in getConcurrentDownloadLimit()
/tools/loganalysis/tests/src/com/android/loganalysis/util/
DRegexTrieTest.java40 private RegexTrie<Integer> mTrie = null;
41 private static final Integer STORED_VAL = 42;
46 mTrie = new RegexTrie<Integer>(); in setUp()
52 Integer retrieved = mTrie.retrieve("part1", "part2", "part3"); in testStringPattern()
59 Integer retrieved; in testAlternation_single()
75 Integer retrieved; in testAlternation_multiple()
96 Integer retrieved; in testGroups_fullMatch()
127 Integer retrieved; in testGroups_partialMatch()
160 Integer retrieved; in testWildcard()
186 Integer retrieved; in testWildcard_precedence()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DTableFormatter.java51 List<Integer> maxColumnSizes = getColumnSizes(table); in displayTable()
68 private List<Integer> getColumnSizes(List<List<String>> table) { in getColumnSizes()
69 List<Integer> maxColumnSizes = new ArrayList<Integer>(); in getColumnSizes()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DSystemServerFileDescriptorChecker.java51 Integer pid = getIntegerFromCommand(device, "pidof system_server"); in postExecutionCheck()
57 Integer fds = getIntegerFromCommand(device, "su root ls /proc/" + pid + "/fd | wc -w"); in postExecutionCheck()
73 private static Integer getIntegerFromCommand(ITestDevice device, String command) in getIntegerFromCommand()
82 return Integer.parseInt(output); in getIntegerFromCommand()

12345678910