Home
last modified time | relevance | path

Searched refs:parseLong (Results 1 – 25 of 53) sorted by relevance

123

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/mobly/
DMoblyYamlResultParserTest.java197 assertEquals(Long.parseLong(DEFAULT_BEGIN_TIME), (long) mBeginTimeCaptor.getValue()); in testReportToListenersPassRecord()
201 assertEquals(Long.parseLong(DEFAULT_END_TIME), (long) mEndTimeCaptor.getValue()); in testReportToListenersPassRecord()
203 Long.parseLong(DEFAULT_END_TIME) - Long.parseLong(DEFAULT_BEGIN_TIME), in testReportToListenersPassRecord()
227 assertEquals(Long.parseLong(DEFAULT_BEGIN_TIME), (long) mBeginTimeCaptor.getValue()); in testReportToListenersFailRecord()
242 assertEquals(Long.parseLong(DEFAULT_END_TIME), (long) mEndTimeCaptor.getValue()); in testReportToListenersFailRecord()
244 Long.parseLong(DEFAULT_END_TIME) - Long.parseLong(DEFAULT_BEGIN_TIME), in testReportToListenersFailRecord()
260 assertEquals(0L - Long.parseLong(DEFAULT_BEGIN_TIME), (long) mElapseTimeCaptor.getValue()); in testReportToListenersUserData()
290 assertEquals(Long.parseLong(DEFAULT_BEGIN_TIME), ((Record) result).getBeginTime()); in testParseDocumentMapRecordPass()
291 assertEquals(Long.parseLong(DEFAULT_END_TIME), ((Record) result).getEndTime()); in testParseDocumentMapRecordPass()
307 assertEquals(Long.parseLong(DEFAULT_BEGIN_TIME), ((Record) result).getBeginTime()); in testParseDocumentMapRecordFail()
[all …]
/tools/loganalysis/src/com/android/loganalysis/parser/
DCompactMemInfoParser.java61 long pss = Long.parseLong(m.group(4)); in parse()
64 swap = Long.parseLong(m.group(6)); in parse()
77 long lostRam = Long.parseLong(m.group(1)); in parse()
88 item.setFreeRam(Long.parseLong(m.group(2))); in parse()
98 item.setTotalZram(Long.parseLong(m.group(1))); in parse()
99 item.setFreeSwapZram(Long.parseLong(m.group(3))); in parse()
109 item.setTuningLevel(Long.parseLong(m.group(3))); in parse()
DMemoryHealthParser.java79 currentProcess.put("count", parseLong(line)); in parse()
84 Long value = parseLong(m.group(2)); in parse()
99 private long parseLong(String str) { in parseLong() method in MemoryHealthParser
101 return Long.parseLong(str); in parseLong()
DEventsLogParser.java88 delayItem.setTransitionDelay(Long.parseLong(transitionInfoMap in parseTransitionDelayInfo()
93 Long.parseLong(transitionInfoMap.get(WINDOWS_DRAWN_DELAY_KEY))); in parseTransitionDelayInfo()
97 delayItem.setStartingWindowDelay(Long.parseLong(transitionInfoMap in parseTransitionDelayInfo()
138 latencyItem.setDelay(Long.parseLong(match.group("delay"))); in parseLatencyInfo()
DSmartMonkeyLogParser.java151 mSmartMonkeyLog.setStartUptimeDuration(Long.parseLong(m.group(2))); in parseLine()
156 mSmartMonkeyLog.setStopUptimeDuration(Long.parseLong(m.group(2))); in parseLine()
157 mSmartMonkeyLog.setTotalDuration(Long.parseLong(m.group(3))); in parseLine()
DGfxInfoParser.java89 totalFrames = Long.parseLong(m.group(1)); in parse()
94 jankyFrames = Long.parseLong(m.group(1)); in parse()
DMemInfoParser.java53 Long value = Long.parseLong(m.group(2)); in parse()
DDumpsysProcessMeminfoParser.java95 output.put(key, Long.parseLong(value)); in parseNextValue()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultReporter.java145 new ModulePrepTimes(Long.parseLong(prepTime), Long.parseLong(tearTime))); in invocationEnded()
152 mTotalRetrySuccess += Long.parseLong(retrySuccess); in invocationEnded()
153 mModuleRetrySuccess.put(moduleResult.getName(), Long.parseLong(retrySuccess)); in invocationEnded()
158 mTotalRetryFail += Long.parseLong(retryFailure); in invocationEnded()
159 mModuleRetryFail.put(moduleResult.getName(), Long.parseLong(retryFailure)); in invocationEnded()
163 mTotalRetryTime += Long.parseLong(retryTime); in invocationEnded()
164 mModuleRetryTime.put(moduleResult.getName(), Long.parseLong(retryTime)); in invocationEnded()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DGameQualificationFpsCollector.java141 mVSyncPeriod = Long.parseLong(raw[0]); in processRawData()
160 if (sample(Long.parseLong(parts[2]), Long.parseLong(parts[1]))) { in processRawData()
165 outputFile.write(String.format("%20d", Long.parseLong(parts[0])) + "\t"); in processRawData()
166 outputFile.write(String.format("%20d", Long.parseLong(parts[1])) + "\t"); in processRawData()
167 outputFile.write(String.format("%20d", Long.parseLong(parts[2])) + "\n"); in processRawData()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DHermeticMemoryTest.java247 memTotal = Long.parseLong(dataSplit[1]); in parseProcInfo()
250 memFree = Long.parseLong(dataSplit[1]); in parseProcInfo()
253 cached = Long.parseLong(dataSplit[1]); in parseProcInfo()
DHermeticLaunchTest.java571 SEC_TO_MILLI * Long.parseLong(match.group("secs")) in parseAtraceInfoFile()
572 + Long.parseLong(match.group("usecs")) / MILLI_TO_MICRO; in parseAtraceInfoFile()
/tools/tradefederation/contrib/src/com/android/media/tests/
DVideoMultimeterTest.java287 long nrOfDataPoints = Long.parseLong(nrOfDataPointsStr); in getResult()
325 long duration = Long.parseLong(videoInfo[3].trim()); in runMultimeterTest()
384 frameDuration = Long.parseLong(m.group(1)); in parseResult()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java500 return Long.parseLong(value); in getIntProperty()
1367 return Long.parseLong(freeSpaceString); in parseFreeSpaceFromAvailable()
1431 return Long.parseLong(matcher.group(1)); in parseFreeSpaceFromModernOutput()
4590 return Long.parseLong(dateInSecond.trim()); in getProcessStartTimeByPid()
4631 long startTime = Long.parseLong(startStr.trim()); in getBootHistory()
4896 totalMemory = Long.parseLong(results[1].replaceAll("\\D+", "")); in getTotalMemory()
/tools/apksig/src/main/java/com/android/apksig/
DHints.java111 long start = Long.parseLong(fields[1]); in parsePinPatterns()
112 long end = Long.parseLong(fields[2]); in parsePinPatterns()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyYamlResultRecordHandler.java63 mBeginTime = Long.parseLong(beginTime); in Record()
64 mEndTime = Long.parseLong(endTime); in Record()
DMoblyYamlResultUserDataHandler.java37 mTimestamp = Long.parseLong(timestamp); in UserData()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DTestRunResult.java405 Long existingLong = Long.parseLong(existingValue); in combineValues()
406 Long newLong = Long.parseLong(newValue); in combineValues()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java609 InvocationMetricLogger.addInvocationMetrics(key, Long.parseLong(val)); in mergeInvocationContext()
628 TfObjectTracker.directCount(pairSplit[0], Long.parseLong(pairSplit[1])); in mergeInvocationContext()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessTestResultsParser.java613 InvocationMetricLogger.addInvocationMetrics(key, Long.parseLong(val)); in handleEvent()
631 TfObjectTracker.directCount(pairSplit[0], Long.parseLong(pairSplit[1])); in handleEvent()
DTimeVal.java125 Long value = Long.parseLong(str); in val()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/hostmetric/
DHeapHostMonitorTest.java56 long mem = Long.parseLong(mArgsLogged.get(HeapHostMonitor.HEAP_KEY)); in testDispatchOfHeap()
/tools/loganalysis/src/com/android/loganalysis/util/
DNumberFormattingUtil.java56 return Long.parseLong(s); in parseLongOrZero()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DWaitForDeviceDatetimePreparer.java145 return Long.parseLong(datetime); in getDeviceDatetimeEpoch()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/logger/
DInvocationMetricLogger.java92 existingLong = Long.parseLong(existingVal); in addInvocationMetrics()

123