Home
last modified time | relevance | path

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

123456

/frameworks/base/core/java/com/android/internal/os/
DStoragedUidIoStatsReader.java99 final long fgCharsRead = Long.parseLong(fields[1], 10); in readAbsoluteInternal()
100 final long fgCharsWrite = Long.parseLong(fields[2], 10); in readAbsoluteInternal()
101 final long fgBytesRead = Long.parseLong(fields[3], 10); in readAbsoluteInternal()
102 final long fgBytesWrite = Long.parseLong(fields[4], 10); in readAbsoluteInternal()
103 final long bgCharsRead = Long.parseLong(fields[5], 10); in readAbsoluteInternal()
104 final long bgCharsWrite = Long.parseLong(fields[6], 10); in readAbsoluteInternal()
105 final long bgBytesRead = Long.parseLong(fields[7], 10); in readAbsoluteInternal()
106 final long bgBytesWrite = Long.parseLong(fields[8], 10); in readAbsoluteInternal()
107 final long fgFsync = Long.parseLong(fields[9], 10); in readAbsoluteInternal()
108 final long bgFsync = Long.parseLong(fields[10], 10); in readAbsoluteInternal()
DKernelMemoryBandwidthStats.java76 + Long.parseLong(splitter.next()) / 1000000); in parseStats()
78 mBandwidthEntries.put(bandwidth, Long.parseLong(splitter.next()) / 1000000); in parseStats()
DKernelCpuSpeedReader.java76 long time = Long.parseLong(splitter.next()) * mJiffyMillis; in readDelta()
110 long time = Long.parseLong(splitter.next()) * mJiffyMillis; in readAbsolute()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DParseUtilsTest.java61 assertEquals(1L, ParseUtils.parseLong(null, 1)); in testParseLong()
62 assertEquals(1L, ParseUtils.parseLong("", 1)); in testParseLong()
63 assertEquals(1L, ParseUtils.parseLong("1x", 1)); in testParseLong()
64 assertEquals(2L, ParseUtils.parseLong("2", 1)); in testParseLong()
/frameworks/base/services/core/java/com/android/server/am/
DMemoryStatUtil.java149 memoryStat.pgfault = Long.parseLong(splits[PGFAULT_INDEX]); in parseMemoryStatFromProcfs()
150 memoryStat.pgmajfault = Long.parseLong(splits[PGMAJFAULT_INDEX]); in parseMemoryStatFromProcfs()
151 memoryStat.rssInBytes = Long.parseLong(splits[RSS_IN_PAGES_INDEX]) * PAGE_SIZE; in parseMemoryStatFromProcfs()
173 return m.find() ? Long.parseLong(m.group(1)) : 0; in tryParseLong()
/frameworks/base/core/java/android/content/
DContentUris.java90 return last == null ? -1 : Long.parseLong(last); in parseId()
131 Long.parseLong(last); in removeId()
/frameworks/base/core/java/com/android/internal/util/
DParseUtils.java49 public static long parseLong(@Nullable String value, long defValue) { in parseLong() method in ParseUtils
59 return Long.parseLong(value, base); in parseLongWithBase()
/frameworks/base/media/java/android/media/
DSRTRenderer.java195 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()
DTtmlRenderer.java135 double durationSeconds = Long.parseLong(hours) * 3600; in parseTimeExpression()
137 durationSeconds += Long.parseLong(minutes) * 60; in parseTimeExpression()
139 durationSeconds += Long.parseLong(seconds); in parseTimeExpression()
143 durationSeconds += (frames != null) ? ((double)Long.parseLong(frames)) / frameRate : 0; in parseTimeExpression()
145 durationSeconds += (subframes != null) ? ((double)Long.parseLong(subframes)) in parseTimeExpression()
/frameworks/base/services/core/java/com/android/server/compat/overrides/
DAppCompatOverridesParser.java141 long changeId = Long.parseLong(changeIdStr); in parseRemoveOverrides()
171 result.add(Long.parseLong(changeIdStr)); in parseOwnedChangeIds()
225 changeId = Long.parseLong(changeIdAndVersions.get(0)); in parsePackageOverrides()
248 overrideBuilder.setMinVersionCode(Long.parseLong(minVersionCodeStr)); in parsePackageOverrides()
251 overrideBuilder.setMaxVersionCode(Long.parseLong(maxVersionCodeStr)); in parsePackageOverrides()
/frameworks/base/services/core/java/com/android/server/timedetector/
DNetworkTimeSuggestion.java136 elapsedRealtimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArg()
140 unixEpochTimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArg()
/frameworks/base/core/java/android/app/time/
DUnixEpochTime.java63 elapsedRealtimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArgs()
67 unixEpochTimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArgs()
DTimeState.java86 elapsedRealtimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArgs()
90 unixEpochTimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArgs()
/frameworks/base/core/java/android/content/pm/
DConstrainDisplayApisConfig.java165 minVersionCodeStr.isEmpty() ? Long.MIN_VALUE : Long.parseLong( in buildConfigMap()
168 maxVersionCodeStr.isEmpty() ? Long.MAX_VALUE : Long.parseLong( in buildConfigMap()
/frameworks/base/core/java/android/net/sntp/
DTimestamp64.java65 long eraSeconds = Long.parseLong(eraSecondsString, 16); in fromString()
69 long fractionBitsAsLong = Long.parseLong(fractionString, 16); in fromString()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DIonMemoryUtil.java71 return matcher.find() ? Long.parseLong(matcher.group(1)) : 0; in parseIonHeapSizeFromDebugfs()
103 final long sizeInBytes = Long.parseLong(m.group(2)); in parseProcessIonHeapSizesFromDebugfs()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreManagerShellCommand.java159 args.expiryTimeMillis = Long.parseLong(getNextArgRequired()); in parseOptions()
165 args.blobId = Long.parseLong(getNextArgRequired()); in parseOptions()
/frameworks/base/core/java/android/app/timedetector/
DTimeSuggestionHelper.java173 elapsedRealtimeMillis = Long.parseLong(cmd.getNextArgRequired()); in handleParseCommandLineArg()
177 unixEpochTimeMillis = Long.parseLong(cmd.getNextArgRequired()); in handleParseCommandLineArg()
DTelephonyTimeSuggestion.java110 elapsedRealtimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArg()
114 unixEpochTimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArg()
/frameworks/base/services/core/java/com/android/server/pm/
DPerPackageReadTimeouts.java31 return Long.parseLong(str); in tryParseLong()
100 final long versionCode = Long.parseLong(splits[0]); in parse()
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DSettingsValidators.java235 return Long.parseLong(value) >= 0;
247 Long.parseLong(value);
/frameworks/layoutlib/bridge/src/com/android/internal/util/
DXmlUtils_Delegate.java72 return ((int)Long.parseLong(nm.substring(index), base)) * sign; in convertValueToInt()
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
DRequestSync.java201 mExtras.putLong(key, Long.parseLong(value)); in parseArgs()
205 mExtras.putFloat(key, Long.parseLong(value)); in parseArgs()
209 mExtras.putFloat(key, Long.parseLong(value)); in parseArgs()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java139 builder.setMinimumLatency(Long.parseLong(delay) * 1000); in scheduleJob()
143 builder.setOverrideDeadline(Long.parseLong(deadline) * 1000); in scheduleJob()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DCpuPowerStatsCollectorValidationTest.java105 duration = Long.parseLong(durationMatcher.group(1)); in totalTimeInPowerBrackets()
112 stats[i] = Long.parseLong(strings[i]); in totalTimeInPowerBrackets()

123456