/frameworks/base/core/java/com/android/internal/os/ |
D | StoragedUidIoStatsReader.java | 90 final long fgCharsRead = Long.parseLong(fields[1], 10); in readAbsolute() 91 final long fgCharsWrite = Long.parseLong(fields[2], 10); in readAbsolute() 92 final long fgBytesRead = Long.parseLong(fields[3], 10); in readAbsolute() 93 final long fgBytesWrite = Long.parseLong(fields[4], 10); in readAbsolute() 94 final long bgCharsRead = Long.parseLong(fields[5], 10); in readAbsolute() 95 final long bgCharsWrite = Long.parseLong(fields[6], 10); in readAbsolute() 96 final long bgBytesRead = Long.parseLong(fields[7], 10); in readAbsolute() 97 final long bgBytesWrite = Long.parseLong(fields[8], 10); in readAbsolute() 98 final long fgFsync = Long.parseLong(fields[9], 10); in readAbsolute() 99 final long bgFsync = Long.parseLong(fields[10], 10); in readAbsolute()
|
D | KernelMemoryBandwidthStats.java | 76 + Long.parseLong(splitter.next()) / 1000000); in parseStats() 78 mBandwidthEntries.put(bandwidth, Long.parseLong(splitter.next()) / 1000000); in parseStats()
|
D | KernelCpuSpeedReader.java | 76 long time = Long.parseLong(splitter.next()) * mJiffyMillis; in readDelta() 110 long time = Long.parseLong(splitter.next()) * mJiffyMillis; in readAbsolute()
|
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
D | BatteryStatsParser.java | 94 time += Long.parseLong(matches[0]) * 60 * 60 * 1000; // hours in getTime() 99 time += Long.parseLong(matches[0]) * 60 * 1000; // minutes in getTime() 104 time += Long.parseLong(matches[0]) * 1000; // seconds in getTime() 109 time += Long.parseLong(group); // milliseconds in getTime()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | ParseUtilsTest.java | 49 assertEquals(1L, ParseUtils.parseLong(null, 1)); in testParseLong() 50 assertEquals(1L, ParseUtils.parseLong("", 1)); in testParseLong() 51 assertEquals(1L, ParseUtils.parseLong("1x", 1)); in testParseLong() 52 assertEquals(2L, ParseUtils.parseLong("2", 1)); in testParseLong()
|
/frameworks/base/core/tests/SvcMonitor/src/com/android/google/experimental/svcmoniter/ |
D | SvcMonitor.java | 184 psTime = Long.parseLong(statBreakDown[1]) in getPsTime() 185 + Long.parseLong(statBreakDown[2]) in getPsTime() 186 + Long.parseLong(statBreakDown[3]) in getPsTime() 187 + Long.parseLong(statBreakDown[4]); in getPsTime() 189 psTime = Long.parseLong(statBreakDown[13]) in getPsTime() 190 + Long.parseLong(statBreakDown[14]); in getPsTime()
|
/frameworks/base/media/java/android/media/ |
D | SRTRenderer.java | 195 long hours = Long.parseLong(in.split(":")[0].trim()); in parseMs() 196 long minutes = Long.parseLong(in.split(":")[1].trim()); in parseMs() 197 long seconds = Long.parseLong(in.split(":")[2].split(",")[0].trim()); in parseMs() 198 long millies = Long.parseLong(in.split(":")[2].split(",")[1].trim()); in parseMs()
|
D | TtmlRenderer.java | 134 double durationSeconds = Long.parseLong(hours) * 3600; in parseTimeExpression() 136 durationSeconds += Long.parseLong(minutes) * 60; in parseTimeExpression() 138 durationSeconds += Long.parseLong(seconds); in parseTimeExpression() 142 durationSeconds += (frames != null) ? ((double)Long.parseLong(frames)) / frameRate : 0; in parseTimeExpression() 144 durationSeconds += (subframes != null) ? ((double)Long.parseLong(subframes)) in parseTimeExpression()
|
D | Utils.java | 263 Long.parseLong(s.substring(0, ix), 10), 264 Long.parseLong(s.substring(ix + 1), 10)); 266 long value = Long.parseLong(s);
|
D | MediaHTTPConnection.java | 123 return Long.parseLong(val) != 0; in parseBoolean() 357 mTotalSize = Long.parseLong(total); in seekTo()
|
/frameworks/base/core/java/android/content/ |
D | ContentUris.java | 89 return last == null ? -1 : Long.parseLong(last); in parseId() 130 Long.parseLong(last); in removeId()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | MemoryStatUtil.java | 222 memoryStat.pgfault = Long.parseLong(splits[PGFAULT_INDEX]); in parseMemoryStatFromProcfs() 223 memoryStat.pgmajfault = Long.parseLong(splits[PGMAJFAULT_INDEX]); in parseMemoryStatFromProcfs() 230 memoryStat.startTimeNanos = Long.parseLong(splits[START_TIME_INDEX]) * JIFFY_NANOS; in parseMemoryStatFromProcfs() 297 final long sizeInBytes = Long.parseLong(m.group(2)); in parseProcessIonHeapSizesFromDebugfs() 333 return m.find() ? Long.parseLong(m.group(1)) : 0; in tryParseLong()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ParseUtils.java | 48 public static long parseLong(@Nullable String value, long defValue) { in parseLong() method in ParseUtils 58 return Long.parseLong(value, base); in parseLongWithBase()
|
D | FileRotator.java | 430 startMillis = Long.parseLong(name.substring(dotIndex + 1, dashIndex)); in parse() 435 endMillis = Long.parseLong(name.substring(dashIndex + 1)); in parse()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/ |
D | PpsMoParser.java | 703 oiArray[i] = parseLong(oiStrArray[i], 16); in parseRoamingConsortiumOI() 754 hessid = parseLong(getPpsNodeValue(child), 16); in parseNetworkIdInstance() 1231 downlinkBandwidth = parseLong(getPpsNodeValue(child), 10); in parseMinBackhaulThresholdInstance() 1234 uplinkBandwidth = parseLong(getPpsNodeValue(child), 10); in parseMinBackhaulThresholdInstance() 1276 updateParam.setUpdateIntervalInMinutes(parseLong(getPpsNodeValue(child), 10)); in parseUpdateParameter() 1555 config.setUsageLimitDataLimit(parseLong(getPpsNodeValue(child), 10)); in parseUsageLimits() 1561 config.setUsageLimitTimeLimitInMinutes(parseLong(getPpsNodeValue(child), 10)); in parseUsageLimits() 1565 parseLong(getPpsNodeValue(child), 10)); in parseUsageLimits() 1636 private static long parseLong(String value, int radix) throws ParsingException { in parseLong() method in PpsMoParser 1638 return Long.parseLong(value, radix); in parseLong()
|
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/ |
D | RequestSync.java | 199 mExtras.putLong(key, Long.parseLong(value)); in parseArgs() 203 mExtras.putFloat(key, Long.parseLong(value)); in parseArgs() 207 mExtras.putFloat(key, Long.parseLong(value)); in parseArgs()
|
/frameworks/layoutlib/bridge/src/com/android/internal/util/ |
D | XmlUtils_Delegate.java | 72 return ((int)Long.parseLong(nm.substring(index), base)) * sign; in convertValueToInt()
|
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/ |
D | MainActivity.java | 139 builder.setMinimumLatency(Long.parseLong(delay) * 1000); in scheduleJob() 143 builder.setOverrideDeadline(Long.parseLong(deadline) * 1000); in scheduleJob()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobStore.java | 782 lastSuccessfulRunTime = val == null ? 0 : Long.parseLong(val); in restoreJobFromXml() 785 lastFailedRunTime = val == null ? 0 : Long.parseLong(val); in restoreJobFromXml() 838 final long periodMillis = Long.parseLong(val); in restoreJobFromXml() 963 ? Long.parseLong(netUnwantedCapabilities) in buildConstraintsFromXml() 968 BitUtils.unpackBits(Long.parseLong(netCapabilities)), in buildConstraintsFromXml() 971 BitUtils.unpackBits(Long.parseLong(netTransportTypes))); in buildConstraintsFromXml() 1018 long initialBackoff = Long.parseLong(val); in maybeBuildBackoffPolicyFromXml() 1042 ? Long.parseLong(val) in buildRtcExecutionTimesFromXml() 1046 ? Long.parseLong(val) in buildRtcExecutionTimesFromXml()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppIdleHistory.java | 182 mScreenOnDuration = Long.parseLong(reader.readLine()); in readScreenOnTime() 183 mElapsedDuration = Long.parseLong(reader.readLine()); in readScreenOnTime() 549 Long.parseLong(parser.getAttributeValue(null, ATTR_ELAPSED_IDLE)); in readAppIdleTimes() 551 Long.parseLong(parser.getAttributeValue(null, ATTR_SCREEN_IDLE)); in readAppIdleTimes() 590 return Long.parseLong(value); in getLongValue()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | CpuFrequencies.java | 67 final long freq = Long.parseLong(coreAndFreq[1]); in parseString()
|
/frameworks/base/core/java/android/util/ |
D | KeyValueListParser.java | 98 return Long.parseLong(value); in getLong() 209 return Long.parseLong(value); in getDurationMillis()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | KeySetManagerService.java | 753 lastIssuedKeyId = Long.parseLong(parser.getAttributeValue(null, "value")); in readKeySetsLPw() 755 lastIssuedKeySetId = Long.parseLong(parser.getAttributeValue(null, "value")); in readKeySetsLPw() 791 currentKeySetId = Long.parseLong(encodedID); in readKeySetListLPw() 797 long id = Long.parseLong(encodedID); in readKeySetListLPw() 806 long identifier = Long.parseLong(encodedID); in readPublicKeyLPw()
|
/frameworks/base/tools/preload/ |
D | Record.java | 137 time = Long.parseLong(parts[6]); in Record()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PacManager.java | 216 contentLength = Long.parseLong(urlConnection.getHeaderField("Content-Length")); in get() 266 return Long.parseLong(list[delayIndex]); in getDownloadDelay()
|