Home
last modified time | relevance | path

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

12345678910>>...20

/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.java78 int year = Integer.parseInt(nitzSubs[0]); in parse()
99 int month = Integer.parseInt(nitzSubs[1]); in parse()
100 int date = Integer.parseInt(nitzSubs[2]); in parse()
101 int hour = Integer.parseInt(nitzSubs[3]); in parse()
102 int minute = Integer.parseInt(nitzSubs[4]); in parse()
103 int second = Integer.parseInt(nitzSubs[5]); in parse()
115 int totalUtcOffsetQuarterHours = Integer.parseInt(nitzSubs[6]); in parse()
122 (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/cmds/uinput/src/com/android/commands/uinput/
DEvemuParser.java179 parseLong(timeParts[0], 10) * 1_000_000 + parseInt(timeParts[1], 10); in getNextEvent()
183 final int eventType = parseInt(parts[1], 16); in getNextEvent()
184 final int eventCode = parseInt(parts[2], 16); in getNextEvent()
185 final int value = parseInt(parts[3], 10); in getNextEvent()
222 eb.setBusId(parseInt(idStrings[0], 16)); in parseRegistrationEvent()
223 eb.setVendorId(parseInt(idStrings[1], 16)); in parseRegistrationEvent()
224 eb.setProductId(parseInt(idStrings[2], 16)); in parseRegistrationEvent()
225 eb.setVersionId(parseInt(idStrings[3], 16)); in parseRegistrationEvent()
275 final int eventType = parseInt(parts[0], 16); in parseAxisBitmaps()
307 int b = parseInt(part, 16); in parseBitmapPart()
[all …]
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextShellCommand.java151 final int userId = Integer.parseInt(getNextArgRequired());
162 final int userId = Integer.parseInt(getNextArgRequired());
173 final int userId = Integer.parseInt(getNextArgRequired());
184 final int userId = Integer.parseInt(getNextArgRequired());
191 final int userId = Integer.parseInt(getNextArgRequired());
202 final int userId = Integer.parseInt(getNextArgRequired());
211 final int userId = Integer.parseInt(getNextArgRequired());
260 final int userId = Integer.parseInt(getNextArgRequired());
269 final int userId = Integer.parseInt(getNextArgRequired());
278 final int duration = Integer.parseInt(getNextArgRequired());
[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.java37 assertEquals(1, ParseUtils.parseInt(null, 1)); in testParseInt()
38 assertEquals(1, ParseUtils.parseInt("", 1)); in testParseInt()
39 assertEquals(1, ParseUtils.parseInt("1x", 1)); in testParseInt()
40 assertEquals(2, ParseUtils.parseInt("2", 1)); in testParseInt()
42 assertEquals(2, ParseUtils.parseInt("+2", 1)); in testParseInt()
43 assertEquals(-2, ParseUtils.parseInt("-2", 1)); in testParseInt()
/frameworks/base/services/core/java/com/android/server/biometrics/
DSensorConfig.java31 id = Integer.parseInt(elems[0]); in SensorConfig()
32 modality = Integer.parseInt(elems[1]); in SensorConfig()
33 strength = Integer.parseInt(elems[2]); in SensorConfig()
/frameworks/base/services/core/java/com/android/server/wearable/
DWearableSensingShellCommand.java153 final int userId = Integer.parseInt(getNextArgRequired()); in provideDataStream()
177 final int userId = Integer.parseInt(getNextArgRequired()); in provideData()
179 final int value = Integer.parseInt(getNextArgRequired()); in provideData()
198 final int userId = Integer.parseInt(getNextArgRequired()); in setTemporaryService()
206 final int duration = Integer.parseInt(getNextArgRequired()); in setTemporaryService()
215 final int userId = Integer.parseInt(getNextArgRequired()); in getBoundPackageName()
223 int windowSizeSeconds = Integer.parseInt(getNextArgRequired()); in setDataRequestRateLimitWindowSize()
/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/services/core/java/com/android/server/rotationresolver/
DRotationResolverShellCommand.java87 final int userId = Integer.parseInt(getNextArgRequired()); in getBoundPackageName()
95 final int userId = Integer.parseInt(getNextArgRequired()); in setTemporaryService()
102 final int duration = Integer.parseInt(getNextArgRequired()); in setTemporaryService()
110 final int userId = Integer.parseInt(getNextArgRequired()); in runResolveRotation()
/frameworks/base/core/java/com/android/internal/os/
DZygoteArguments.java308 mUid = Integer.parseInt(getAssignmentValue(arg)); in parseArgs()
315 mGid = Integer.parseInt(getAssignmentValue(arg)); in parseArgs()
322 mTargetSdkVersion = Integer.parseInt(getAssignmentValue(arg)); in parseArgs()
326 mRuntimeFlags = Integer.parseInt(getAssignmentValue(arg)); in parseArgs()
362 rlimitTuple[i] = Integer.parseInt(limitStrings[i]); in parseArgs()
381 mGids[i] = Integer.parseInt(params[i]); in parseArgs()
445 mHiddenApiAccessLogSampleRate = Integer.parseInt(rateStr); in parseArgs()
454 mHiddenApiAccessStatslogSampleRate = Integer.parseInt(rateStr); in parseArgs()
/frameworks/base/services/core/java/com/android/server/audio/
DAdiDeviceState.java261 final int deviceType = Integer.parseInt(fields[0]); in fromPersistedString()
264 internalDeviceType = Integer.parseInt(fields[5]); in fromPersistedString()
268 audioDeviceCategory = Integer.parseInt(fields[6]); in fromPersistedString()
272 deviceState.setSAEnabled(Integer.parseInt(fields[2]) == 1); in fromPersistedString()
273 deviceState.setHasHeadTracker(Integer.parseInt(fields[3]) == 1); in fromPersistedString()
274 deviceState.setHeadTrackerEnabled(Integer.parseInt(fields[4]) == 1); in fromPersistedString()
/frameworks/base/core/java/com/android/internal/util/
DParseUtils.java32 public static int parseInt(@Nullable String value, int defValue) { in parseInt() method in ParseUtils
42 return Integer.parseInt(value, base); in parseIntWithBase()
97 return parseInt(value, defValue ? 1 : 0) != 0; in parseBoolean()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DSideFpsProgressBarViewBinder.kt122 location = Point(Integer.parseInt(args[1]), Integer.parseInt(args[2])), in <lambda>()
124 length = Integer.parseInt(args[3]), in <lambda>()
125 thickness = Integer.parseInt(args[4]), in <lambda>()
126 rotation = Integer.parseInt(args[5]).toFloat(), in <lambda>()
/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/libs/modules-utils/java/com/android/modules/utils/build/
DUnboundedSdkLevel.java106 return mSdkInt >= Integer.parseInt(version); in isAtLeastInternal()
113 return mSdkInt >= Integer.parseInt(version); in isAtLeastInternal()
129 return mSdkInt <= Integer.parseInt(version); in isAtMostInternal()
142 return mSdkInt < Integer.parseInt(version); in isAtMostInternal()
/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/core/java/com/android/server/display/
DDisplayManagerShellCommand.java393 width = Integer.parseInt(widthText); in setUserPreferredDisplayMode()
394 height = Integer.parseInt(heightText); in setUserPreferredDisplayMode()
410 displayId = Integer.parseInt(displayIdText); in setUserPreferredDisplayMode()
426 displayId = Integer.parseInt(displayIdText); in clearUserPreferredDisplayMode()
441 displayId = Integer.parseInt(displayIdText); in getUserPreferredDisplayMode()
466 displayId = Integer.parseInt(displayIdText); in getActiveDisplayModeAtStart()
491 matchContentFrameRatePreference = Integer.parseInt(matchContentFrameRatePrefText); in setMatchContentFrameRateUserPreference()
529 userDisabledHdrTypes[index++] = Integer.parseInt(userDisabledHdrType); in setUserDisabledHdrTypes()
591 displayId = Integer.parseInt(displayIdText); in setDisplayEnabled()
608 displayId = Integer.parseInt(displayIdText); in requestDisplayPower()
/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/core/java/android/hardware/face/
DHidlFaceSensorConfig.java49 mSensorId = Integer.parseInt(elems[0]); in parse()
50 mModality = Integer.parseInt(elems[1]); in parse()
51 mStrength = Integer.parseInt(elems[2]); in parse()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlShellCommand.java134 int deviceId = Integer.parseInt(getNextArg()); in deviceSelect()
172 deviceType = Integer.parseInt(getNextArgRequired()); in vendorCommand()
176 destination = Integer.parseInt(getNextArgRequired()); in vendorCommand()
195 params[i] = (byte) Integer.parseInt(parts[i], 16); in vendorCommand()
227 int intValue = Integer.parseInt(value); in cecSetting()
300 value = Integer.parseInt(arg); in historySize()
/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/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()

12345678910>>...20