/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 | 48 assertEquals(1L, ParseUtils.parseLong(null, 1)); in testParseLong() 49 assertEquals(1L, ParseUtils.parseLong("", 1)); in testParseLong() 50 assertEquals(1L, ParseUtils.parseLong("1x", 1)); in testParseLong() 51 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/core/java/com/android/internal/os/ |
D | KernelUidCpuTimeReader.java | 81 final long userTimeUs = Long.parseLong(splitter.next(), 10); in readDeltaImpl() 82 final long systemTimeUs = Long.parseLong(splitter.next(), 10); in readDeltaImpl() 150 final long userTimeUs = Long.parseLong(splitter.next(), 10); in readAbsolute() 151 final long systemTimeUs = Long.parseLong(splitter.next(), 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/media/java/android/media/ |
D | SRTRenderer.java | 194 long hours = Long.parseLong(in.split(":")[0].trim()); in parseMs() 195 long minutes = Long.parseLong(in.split(":")[1].trim()); in parseMs() 196 long seconds = Long.parseLong(in.split(":")[2].split(",")[0].trim()); in parseMs() 197 long millies = Long.parseLong(in.split(":")[2].split(",")[1].trim()); in parseMs()
|
D | TtmlRenderer.java | 132 double durationSeconds = Long.parseLong(hours) * 3600; in parseTimeExpression() 134 durationSeconds += Long.parseLong(minutes) * 60; in parseTimeExpression() 136 durationSeconds += Long.parseLong(seconds); in parseTimeExpression() 140 durationSeconds += (frames != null) ? ((double)Long.parseLong(frames)) / frameRate : 0; in parseTimeExpression() 142 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 | Media2HTTPConnection.java | 88 return Long.parseLong(val) != 0; in parseBoolean() 279 mTotalSize = Long.parseLong(total); in seekTo()
|
/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()
|
/frameworks/base/core/java/android/util/ |
D | KeyValueListParser.java | 96 return Long.parseLong(value); in getLong() 207 return Long.parseLong(value); in getDurationMillis()
|
/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/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/ |
D | CertXml.java | 136 return Long.parseLong(contents.get(0)); in parseSerial() 146 return Long.parseLong(contents.get(0)); in parseRefreshInterval()
|
/frameworks/base/core/java/android/content/ |
D | ContentUris.java | 86 return last == null ? -1 : Long.parseLong(last); in parseId()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobStore.java | 728 lastSuccessfulRunTime = val == null ? 0 : Long.parseLong(val); in restoreJobFromXml() 731 lastFailedRunTime = val == null ? 0 : Long.parseLong(val); in restoreJobFromXml() 784 final long periodMillis = Long.parseLong(val); in restoreJobFromXml() 900 ? Long.parseLong(netUnwantedCapabilities) in buildConstraintsFromXml() 905 BitUtils.unpackBits(Long.parseLong(netCapabilities)), in buildConstraintsFromXml() 908 BitUtils.unpackBits(Long.parseLong(netTransportTypes))); in buildConstraintsFromXml() 947 long initialBackoff = Long.parseLong(val); in maybeBuildBackoffPolicyFromXml() 971 ? Long.parseLong(val) in buildRtcExecutionTimesFromXml() 975 ? Long.parseLong(val) in buildRtcExecutionTimesFromXml() 996 long latestRuntimeWallclock = Long.parseLong(val); in buildExecutionTimesFromXml() [all …]
|
/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/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() 544 Long.parseLong(parser.getAttributeValue(null, ATTR_ELAPSED_IDLE)); in readAppIdleTimes() 546 Long.parseLong(parser.getAttributeValue(null, ATTR_SCREEN_IDLE)); in readAppIdleTimes() 585 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/tests/net/java/android/net/apf/ |
D | Bpf2Apf.java | 43 final long val_long = Long.parseLong(arg.substring(3), 16); in parseImm() 44 if (val_long < 0 || val_long > Long.parseLong("ffffffff", 16)) { in parseImm()
|
/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/packages/EasterEgg/src/com/android/egg/neko/ |
D | PrefState.java | 58 long seed = Long.parseLong(key.substring(CAT_KEY_PREFIX.length())); in getCats()
|
/frameworks/base/tools/preload/ |
D | Record.java | 137 time = Long.parseLong(parts[6]); in Record()
|