Home
last modified time | relevance | path

Searched refs:parseInt (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestRunner.java89 sEnableIterations = Integer.parseInt(val); in onCreate()
98 sDiscoverableIterations = Integer.parseInt(val); in onCreate()
107 sScanIterations = Integer.parseInt(val); in onCreate()
116 sEnablePanIterations = Integer.parseInt(val); in onCreate()
125 sPairIterations = Integer.parseInt(val); in onCreate()
134 sConnectA2dpIterations = Integer.parseInt(val); in onCreate()
143 sConnectHeadsetIterations = Integer.parseInt(val); in onCreate()
152 sConnectInputIterations = Integer.parseInt(val); in onCreate()
161 sConnectPanIterations = Integer.parseInt(val); in onCreate()
170 sStartStopScoIterations = Integer.parseInt(val); in onCreate()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaRecorderStressTestRunner.java75 mIterations = Integer.parseInt(iterations); in onCreate()
78 mVideoEncoder = Integer.parseInt(videoEncoder); in onCreate()
81 mAudioEncoder = Integer.parseInt(audioEncoder); in onCreate()
84 mFrameRate = Integer.parseInt(frameRate); in onCreate()
87 mVideoWidth = Integer.parseInt(videoWidth); in onCreate()
90 mVideoHeight = Integer.parseInt(videoHeight); in onCreate()
93 mBitRate = Integer.parseInt(bitRate); in onCreate()
96 mDuration = Integer.parseInt(recordDuration); in onCreate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DHardwareConfig.java124 type = Integer.parseInt(split[0]); in HardwareConfig()
130 Integer.parseInt(split[2]), /* state */ in HardwareConfig()
131 Integer.parseInt(split[3]), /* ril-model */ in HardwareConfig()
132 Integer.parseInt(split[4]), /* rat */ in HardwareConfig()
133 Integer.parseInt(split[5]), /* max-voice */ in HardwareConfig()
134 Integer.parseInt(split[6]), /* max-data */ in HardwareConfig()
135 Integer.parseInt(split[7]) /* max-standby */ in HardwareConfig()
142 Integer.parseInt(split[2]), /* state */ in HardwareConfig()
DNitzData.java81 int year = 2000 + Integer.parseInt(nitzSubs[0]); in parse()
91 int month = Integer.parseInt(nitzSubs[1]) - 1; in parse()
94 int date = Integer.parseInt(nitzSubs[2]); in parse()
97 int hour = Integer.parseInt(nitzSubs[3]); in parse()
100 int minute = Integer.parseInt(nitzSubs[4]); in parse()
103 int second = Integer.parseInt(nitzSubs[5]); in parse()
108 int totalUtcOffsetQuarterHours = Integer.parseInt(nitzSubs[6]); in parse()
115 (nitzSubs.length >= 8) ? Integer.parseInt(nitzSubs[7]) : null; in parse()
/frameworks/base/tools/preload/
DMemoryUsage.java55 nativeSharedPages = Integer.parseInt(parsed[1]); in MemoryUsage()
56 javaSharedPages = Integer.parseInt(parsed[2]); in MemoryUsage()
57 otherSharedPages = Integer.parseInt(parsed[3]); in MemoryUsage()
58 nativePrivatePages = Integer.parseInt(parsed[4]); in MemoryUsage()
59 javaPrivatePages = Integer.parseInt(parsed[5]); in MemoryUsage()
60 otherPrivatePages = Integer.parseInt(parsed[6]); in MemoryUsage()
61 allocCount = Integer.parseInt(parsed[7]); in MemoryUsage()
62 allocSize = Integer.parseInt(parsed[8]); in MemoryUsage()
63 freedCount = Integer.parseInt(parsed[9]); in MemoryUsage()
64 freedSize = Integer.parseInt(parsed[10]); in MemoryUsage()
DRecord.java128 ppid = Integer.parseInt(parts[0]); in Record()
129 pid = Integer.parseInt(parts[1]); in Record()
130 tid = Integer.parseInt(parts[2]); in Record()
134 classLoader = Integer.parseInt(parts[4]); in Record()
156 result = String.format("%s%c%s", before, Integer.parseInt(escaped, 16), after); in decode()
/frameworks/base/core/java/android/net/
DNetworkConfig.java67 type = Integer.parseInt(fragments[1]); in NetworkConfig()
68 radio = Integer.parseInt(fragments[2]); in NetworkConfig()
69 priority = Integer.parseInt(fragments[3]); in NetworkConfig()
70 restoreTime = Integer.parseInt(fragments[4]); in NetworkConfig()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DParseUtilsTest.java26 assertEquals(1, ParseUtils.parseInt(null, 1)); in testParseInt()
27 assertEquals(1, ParseUtils.parseInt("", 1)); in testParseInt()
28 assertEquals(1, ParseUtils.parseInt("1x", 1)); in testParseInt()
29 assertEquals(2, ParseUtils.parseInt("2", 1)); in testParseInt()
31 assertEquals(2, ParseUtils.parseInt("+2", 1)); in testParseInt()
32 assertEquals(-2, ParseUtils.parseInt("-2", 1)); in testParseInt()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java152 density = Integer.parseInt(densityStr); in runDisplayDensity()
187 rect.left = Integer.parseInt(matcher.group(1)); in runDisplayOverscan()
188 rect.top = Integer.parseInt(matcher.group(2)); in runDisplayOverscan()
189 rect.right = Integer.parseInt(matcher.group(3)); in runDisplayOverscan()
190 rect.bottom = Integer.parseInt(matcher.group(4)); in runDisplayOverscan()
218 return Integer.parseInt(s.substring(0, s.length() - 2)); in parseDimension()
227 return Integer.parseInt(s.substring(0, s.length() - 2)) * density / in parseDimension()
230 return Integer.parseInt(s); in parseDimension()
/frameworks/base/tests/net/java/android/net/apf/
DBpf2Apf.java60 int label = Integer.parseInt(line.substring(1, 4)); in convertLine()
97 int memory_slot = Integer.parseInt(arg.substring(2, arg.length() - 1)); in convertLine()
109 int offset = Integer.parseInt(arg.substring(5, arg.length() - 1)); in convertLine()
125 int offset = Integer.parseInt(arg.substring(1, arg.length() - 1)); in convertLine()
148 int memory_slot = Integer.parseInt(arg.substring(2, arg.length() - 1)); in convertLine()
212 boolean true_label_is_fallthrough = Integer.parseInt(true_label) == label + 1; in convertLine()
213 boolean false_label_is_fallthrough = Integer.parseInt(false_label) == label + 1; in convertLine()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DRgbPlayerActivity.java119 mStartX = Integer.parseInt(prop.getProperty("startX")); in RgbView()
120 mStartY = Integer.parseInt(prop.getProperty("startY")); in RgbView()
121 mWidth = Integer.parseInt(prop.getProperty("width")); in RgbView()
122 mHeight = Integer.parseInt(prop.getProperty("height")); in RgbView()
123 mBytesPerPixel = Integer.parseInt(prop.getProperty("bytesPerPixel")); in RgbView()
124 mFrameRate = Integer.parseInt(prop.getProperty("frameRate")); in RgbView()
/frameworks/base/core/java/com/android/internal/util/
DParseUtils.java31 public static int parseInt(@Nullable String value, int defValue) { in parseInt() method in ParseUtils
41 return Integer.parseInt(value, base); in parseIntWithBase()
96 return parseInt(value, defValue ? 1 : 0) != 0; in parseBoolean()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
DMediaSizeUtils.java66 sMediaSizeStandardIso = Integer.parseInt(context.getString( in getStandardForMediaSize()
76 int value = Integer.parseInt(mediaSizeToStandardMapValues[i + 1]); in getStandardForMediaSize()
104 mCurrentStandard = Integer.parseInt(mContext.getString(R.string.mediasize_standard)); in MediaSizeComparator()
116 .parseInt(mContext.getString(R.string.mediasize_standard)); in onConfigurationChanged()
/frameworks/support/buildSrc/src/main/kotlin/androidx/build/
DVersion.kt34 Integer.parseInt(checkedMatcher(versionString).group(1)),
35 Integer.parseInt(checkedMatcher(versionString).group(2)),
36 Integer.parseInt(checkedMatcher(versionString).group(3)),
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerStressTestRunner.java64 int scanIteration = Integer.parseInt(scanIterationStr); in onCreate()
82 int iteration = Integer.parseInt(reconnectStr); in onCreate()
90 int sleepTime = Integer.parseInt(sleepTimeStr); in onCreate()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkHistory.java406 config.numNoInternetAccessReports = Integer.parseInt(value); in readNetworkHistory()
427 config.meteredOverride = Integer.parseInt(value); in readNetworkHistory()
433 config.creatorUid = Integer.parseInt(value); in readNetworkHistory()
436 config.numScorerOverride = Integer.parseInt(value); in readNetworkHistory()
439 config.numScorerOverrideAndSwitchedNetwork = Integer.parseInt(value); in readNetworkHistory()
442 config.numAssociation = Integer.parseInt(value); in readNetworkHistory()
445 config.lastConnectUid = Integer.parseInt(value); in readNetworkHistory()
448 config.lastUpdateUid = Integer.parseInt(value); in readNetworkHistory()
454 int networkStatusValue = Integer.parseInt(value); in readNetworkHistory()
464 networkStatus.setNetworkSelectionDisableReason(Integer.parseInt(value)); in readNetworkHistory()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DEriManager.java206 mEriFile.mVersionNumber = Integer.parseInt( in loadEriFileFromXml()
208 mEriFile.mNumberOfEriEntries = Integer.parseInt( in loadEriFileFromXml()
210 mEriFile.mEriFileType = Integer.parseInt( in loadEriFileFromXml()
223 int id = Integer.parseInt(parser.getAttributeValue(null, "Id")); in loadEriFileFromXml()
232 int roamingIndicator = Integer.parseInt( in loadEriFileFromXml()
234 int iconIndex = Integer.parseInt(parser.getAttributeValue(null, "IconIndex")); in loadEriFileFromXml()
235 int iconMode = Integer.parseInt(parser.getAttributeValue(null, "IconMode")); in loadEriFileFromXml()
237 int callPromptId = Integer.parseInt( in loadEriFileFromXml()
239 int alertId = Integer.parseInt(parser.getAttributeValue(null, "AlertId")); in loadEriFileFromXml()
/frameworks/base/services/core/java/com/android/server/firewall/
DPortFilter.java67 value = Integer.parseInt(equalsValue);
87 lowerBound = Integer.parseInt(lowerBoundString);
97 upperBound = Integer.parseInt(upperBoundString);
/frameworks/base/cmds/vr/src/com/android/commands/vr/
DVr.java84 int width = Integer.parseInt(widthStr); in runSetVr2dDisplayProperties()
87 int height = Integer.parseInt(heightStr); in runSetVr2dDisplayProperties()
90 int dpi = Integer.parseInt(dpiStr); in runSetVr2dDisplayProperties()
/frameworks/base/core/java/android/view/textclassifier/
DSelectionSessionLogger.java204 final int index = Integer.parseInt(Objects.toString(log.getTaggedData(INDEX), ZERO)); in debugLog()
215 final int smartStart = Integer.parseInt( in debugLog()
217 final int smartEnd = Integer.parseInt( in debugLog()
219 final int eventStart = Integer.parseInt( in debugLog()
221 final int eventEnd = Integer.parseInt( in debugLog()
297 return Integer.parseInt(signature.substring(index2)); in getHash()
DGenerateLinksLogger.java137 final int numLinks = Integer.parseInt( in debugLog()
139 final int linkLength = Integer.parseInt( in debugLog()
141 final int textLength = Integer.parseInt( in debugLog()
143 final int latencyMs = Integer.parseInt( in debugLog()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java322 mSamplingInterval = Integer.parseInt(getNextArgRequired()); in makeIntent()
342 mRepeat = Integer.parseInt(getNextArgRequired()); in makeIntent()
352 mDisplayId = Integer.parseInt(getNextArgRequired()); in makeIntent()
354 mWindowingMode = Integer.parseInt(getNextArgRequired()); in makeIntent()
356 mActivityType = Integer.parseInt(getNextArgRequired()); in makeIntent()
358 mTaskId = Integer.parseInt(getNextArgRequired()); in makeIntent()
776 mSamplingInterval = Integer.parseInt(getNextArgRequired());
989 pid = Integer.parseInt(arg);
1545 uid = Integer.parseInt(getNextArgRequired());
1651 mInterface.switchUser(Integer.parseInt(user));
[all …]
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerShellCommand.java147 userId = Integer.parseInt(getNextArgRequired()); in runJob()
157 final int jobId = Integer.parseInt(getNextArgRequired()); in runJob()
204 final int jobId = jobIdStr != null ? Integer.parseInt(jobIdStr) : -1; in timeout()
240 final int jobId = jobIdStr != null ? Integer.parseInt(jobIdStr) : -1; in cancelJob()
328 final int jobId = Integer.parseInt(jobIdStr); in getJobState()
344 final int numBeats = (arg != null) ? Integer.parseInt(arg) : 0; in doHeartbeat()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DTriData.java100 int num_verts = Integer.parseInt(lnr.readLine()); in read()
111 int num_tri = Integer.parseInt(lnr.readLine()); in read()
118 mIndex[k++] = Integer.parseInt(s[j]); in read()
/frameworks/base/core/java/android/util/
DSize.java134 return new Size(Integer.parseInt(string.substring(0, sep_ix)), in parseSize()
135 Integer.parseInt(string.substring(sep_ix + 1))); in parseSize()

12345678910>>...15