Home
last modified time | relevance | path

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

12345678910>>...16

/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestRunner.java91 sEnableIterations = Integer.parseInt(val); in onCreate()
100 sDiscoverableIterations = Integer.parseInt(val); in onCreate()
109 sScanIterations = Integer.parseInt(val); in onCreate()
118 sEnablePanIterations = Integer.parseInt(val); in onCreate()
127 sPairIterations = Integer.parseInt(val); in onCreate()
136 sConnectA2dpIterations = Integer.parseInt(val); in onCreate()
145 sConnectHeadsetIterations = Integer.parseInt(val); in onCreate()
154 sConnectInputIterations = Integer.parseInt(val); in onCreate()
163 sConnectPanIterations = Integer.parseInt(val); in onCreate()
172 sStartStopScoIterations = Integer.parseInt(val); in onCreate()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DHardwareConfig.java122 type = Integer.parseInt(split[0]); in HardwareConfig()
128 Integer.parseInt(split[2]), /* state */ in HardwareConfig()
129 Integer.parseInt(split[3]), /* ril-model */ in HardwareConfig()
130 Integer.parseInt(split[4]), /* rat */ in HardwareConfig()
131 Integer.parseInt(split[5]), /* max-voice */ in HardwareConfig()
132 Integer.parseInt(split[6]), /* max-data */ in HardwareConfig()
133 Integer.parseInt(split[7]) /* max-standby */ in HardwareConfig()
140 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/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/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java96 displayId = Integer.parseInt(getNextArgRequired()); in getDisplayId()
191 density = Integer.parseInt(densityStr); in runDisplayDensity()
238 rect.set(Integer.parseInt(matcher.group(1)), Integer.parseInt(matcher.group(2)), in runDisplayFoldedArea()
239 Integer.parseInt(matcher.group(3)), Integer.parseInt(matcher.group(4))); in runDisplayFoldedArea()
260 rect.left = Integer.parseInt(matcher.group(1)); in runDisplayOverscan()
261 rect.top = Integer.parseInt(matcher.group(2)); in runDisplayOverscan()
262 rect.right = Integer.parseInt(matcher.group(3)); in runDisplayOverscan()
263 rect.bottom = Integer.parseInt(matcher.group(4)); in runDisplayOverscan()
292 return Integer.parseInt(s.substring(0, s.length() - 2)); in parseDimension()
301 return Integer.parseInt(s.substring(0, s.length() - 2)) * density / in parseDimension()
[all …]
/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/tests/coretests/src/com/android/internal/util/
DParseUtilsTest.java27 assertEquals(1, ParseUtils.parseInt(null, 1)); in testParseInt()
28 assertEquals(1, ParseUtils.parseInt("", 1)); in testParseInt()
29 assertEquals(1, ParseUtils.parseInt("1x", 1)); in testParseInt()
30 assertEquals(2, ParseUtils.parseInt("2", 1)); in testParseInt()
32 assertEquals(2, ParseUtils.parseInt("+2", 1)); in testParseInt()
33 assertEquals(-2, ParseUtils.parseInt("-2", 1)); in testParseInt()
/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/java/com/android/internal/os/
DZygoteArguments.java267 mUid = Integer.parseInt( in parseArgs()
275 mGid = Integer.parseInt( in parseArgs()
283 mTargetSdkVersion = Integer.parseInt( in parseArgs()
288 mRuntimeFlags = Integer.parseInt( in parseArgs()
325 rlimitTuple[i] = Integer.parseInt(limitStrings[i]); in parseArgs()
344 mGids[i] = Integer.parseInt(params[i]); in parseArgs()
406 mHiddenApiAccessLogSampleRate = Integer.parseInt(rateStr); in parseArgs()
415 mHiddenApiAccessStatslogSampleRate = Integer.parseInt(rateStr); in parseArgs()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberRange.java144 if (Integer.parseInt(lowerBound) > Integer.parseInt(upperBound)) { in validateLowerAndUpperBounds()
169 int lower = Integer.parseInt(mLowerBound); in matches()
170 int upper = Integer.parseInt(mUpperBound); in matches()
171 int numberToCheck = Integer.parseInt(numberPostfix); in matches()
/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/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecMessageBuilderTest.java70 int src = Integer.parseInt(parts[0].substring(0, 1), 16); in buildMessage()
71 int dest = Integer.parseInt(parts[0].substring(1, 2), 16); in buildMessage()
72 int opcode = Integer.parseInt(parts[1], 16); in buildMessage()
/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/telephony/src/java/com/android/internal/telephony/cdma/
DEriManager.java207 mEriFile.mVersionNumber = Integer.parseInt( in loadEriFileFromXml()
209 mEriFile.mNumberOfEriEntries = Integer.parseInt( in loadEriFileFromXml()
211 mEriFile.mEriFileType = Integer.parseInt( in loadEriFileFromXml()
224 int id = Integer.parseInt(parser.getAttributeValue(null, "Id")); in loadEriFileFromXml()
233 int roamingIndicator = Integer.parseInt( in loadEriFileFromXml()
235 int iconIndex = Integer.parseInt(parser.getAttributeValue(null, "IconIndex")); in loadEriFileFromXml()
236 int iconMode = Integer.parseInt(parser.getAttributeValue(null, "IconMode")); in loadEriFileFromXml()
238 int callPromptId = Integer.parseInt( in loadEriFileFromXml()
240 int alertId = Integer.parseInt(parser.getAttributeValue(null, "AlertId")); in loadEriFileFromXml()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java161 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
172 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
186 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
199 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
212 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
225 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
245 Integer.parseInt(getNextArgRequired()), in onCommand()
252 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
260 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsManagerServiceShellCommand.java101 final int userId = Integer.parseInt(getNextArgRequired()); in setTemporaryService()
107 final int duration = Integer.parseInt(getNextArgRequired()); in setTemporaryService()
129 return Integer.parseInt(getNextArgRequired()); in getNextIntArgRequired()
/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/
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()
DSelectionSessionLogger.java213 final int index = Integer.parseInt(Objects.toString(log.getTaggedData(INDEX), ZERO)); in debugLog()
224 final int smartStart = Integer.parseInt( in debugLog()
226 final int smartEnd = Integer.parseInt( in debugLog()
228 final int eventStart = Integer.parseInt( in debugLog()
230 final int eventEnd = Integer.parseInt( in debugLog()
306 return Integer.parseInt(signature.substring(index2)); in getHash()
/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/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierConfigEfData.java105 Integer.parseInt(info[1]) /* lactac_start */, in getOperatorPlmnList()
106 Integer.parseInt(info[2]) /* lactac_end */, in getOperatorPlmnList()
107 Integer.parseInt(info[3]) /* pnn index */)); in getOperatorPlmnList()

12345678910>>...16