/frameworks/base/core/java/com/android/internal/os/ |
D | StoragedUidIoStatsReader.java | 99 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()
|
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/core/tests/coretests/src/com/android/internal/util/ |
D | ParseUtilsTest.java | 61 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/ |
D | MemoryStatUtil.java | 149 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/ |
D | ContentUris.java | 90 return last == null ? -1 : Long.parseLong(last); in parseId() 131 Long.parseLong(last); in removeId()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ParseUtils.java | 49 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/ |
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 | 135 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/ |
D | AppCompatOverridesParser.java | 141 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/ |
D | NetworkTimeSuggestion.java | 136 elapsedRealtimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArg() 140 unixEpochTimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArg()
|
/frameworks/base/core/java/android/app/time/ |
D | UnixEpochTime.java | 63 elapsedRealtimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArgs() 67 unixEpochTimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArgs()
|
D | TimeState.java | 86 elapsedRealtimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArgs() 90 unixEpochTimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArgs()
|
/frameworks/base/core/java/android/content/pm/ |
D | ConstrainDisplayApisConfig.java | 165 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/ |
D | Timestamp64.java | 65 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/ |
D | IonMemoryUtil.java | 71 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/ |
D | BlobStoreManagerShellCommand.java | 159 args.expiryTimeMillis = Long.parseLong(getNextArgRequired()); in parseOptions() 165 args.blobId = Long.parseLong(getNextArgRequired()); in parseOptions()
|
/frameworks/base/core/java/android/app/timedetector/ |
D | TimeSuggestionHelper.java | 173 elapsedRealtimeMillis = Long.parseLong(cmd.getNextArgRequired()); in handleParseCommandLineArg() 177 unixEpochTimeMillis = Long.parseLong(cmd.getNextArgRequired()); in handleParseCommandLineArg()
|
D | TelephonyTimeSuggestion.java | 110 elapsedRealtimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArg() 114 unixEpochTimeMillis = Long.parseLong(cmd.getNextArgRequired()); in parseCommandLineArg()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PerPackageReadTimeouts.java | 31 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/ |
D | SettingsValidators.java | 235 return Long.parseLong(value) >= 0; 247 Long.parseLong(value);
|
/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/cmds/requestsync/src/com/android/commands/requestsync/ |
D | RequestSync.java | 201 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/ |
D | MainActivity.java | 139 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/ |
D | CpuPowerStatsCollectorValidationTest.java | 105 duration = Long.parseLong(durationMatcher.group(1)); in totalTimeInPowerBrackets() 112 stats[i] = Long.parseLong(strings[i]); in totalTimeInPowerBrackets()
|