Home
last modified time | relevance | path

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

12345678910>>...16

/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.java82 int year = 2000 + Integer.parseInt(nitzSubs[0]); in parse()
92 int month = Integer.parseInt(nitzSubs[1]) - 1; in parse()
95 int date = Integer.parseInt(nitzSubs[2]); in parse()
98 int hour = Integer.parseInt(nitzSubs[3]); in parse()
101 int minute = Integer.parseInt(nitzSubs[4]); in parse()
104 int second = Integer.parseInt(nitzSubs[5]); in parse()
109 int totalUtcOffsetQuarterHours = Integer.parseInt(nitzSubs[6]); in parse()
116 (nitzSubs.length >= 8) ? Integer.parseInt(nitzSubs[7]) : null; in parse()
/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/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/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/com/android/internal/os/
DZygoteArguments.java251 mUid = Integer.parseInt( in parseArgs()
259 mGid = Integer.parseInt( in parseArgs()
267 mTargetSdkVersion = Integer.parseInt( in parseArgs()
272 mRuntimeFlags = Integer.parseInt( in parseArgs()
309 rlimitTuple[i] = Integer.parseInt(limitStrings[i]); in parseArgs()
328 mGids[i] = Integer.parseInt(params[i]); in parseArgs()
388 mHiddenApiAccessLogSampleRate = Integer.parseInt(rateStr); in parseArgs()
397 mHiddenApiAccessStatslogSampleRate = Integer.parseInt(rateStr); in parseArgs()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberRange.java142 if (Integer.parseInt(lowerBound) > Integer.parseInt(upperBound)) { in validateLowerAndUpperBounds()
167 int lower = Integer.parseInt(mLowerBound); in matches()
168 int upper = Integer.parseInt(mUpperBound); in matches()
169 int numberToCheck = Integer.parseInt(numberPostfix); in matches()
/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/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/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/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/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/services/core/java/com/android/server/notification/
DNotificationShellCmd.java118 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
129 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
143 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
156 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
169 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
182 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
202 Integer.parseInt(getNextArgRequired()), in onCommand()
209 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
217 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
/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/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/opt/telephony/src/java/com/android/internal/telephony/cdma/
DEriManager.java208 mEriFile.mVersionNumber = Integer.parseInt( in loadEriFileFromXml()
210 mEriFile.mNumberOfEriEntries = Integer.parseInt( in loadEriFileFromXml()
212 mEriFile.mEriFileType = Integer.parseInt( in loadEriFileFromXml()
225 int id = Integer.parseInt(parser.getAttributeValue(null, "Id")); in loadEriFileFromXml()
234 int roamingIndicator = Integer.parseInt( in loadEriFileFromXml()
236 int iconIndex = Integer.parseInt(parser.getAttributeValue(null, "IconIndex")); in loadEriFileFromXml()
237 int iconMode = Integer.parseInt(parser.getAttributeValue(null, "IconMode")); in loadEriFileFromXml()
239 int callPromptId = Integer.parseInt( in loadEriFileFromXml()
241 int alertId = Integer.parseInt(parser.getAttributeValue(null, "AlertId")); in loadEriFileFromXml()
/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()
/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()
/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()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionManagerServiceShellCommand.java49 final int userId = Integer.parseInt(getNextArgRequired()); in onCommand()
55 final int duration = Integer.parseInt(getNextArgRequired()); in onCommand()

12345678910>>...16