Home
last modified time | relevance | path

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

12345678910>>...15

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipPixel.java125 minWidth = Integer.parseInt(m1.group(1)); in BipPixel()
126 maxWidth = Integer.parseInt(m1.group(1)); in BipPixel()
127 minHeight = Integer.parseInt(m1.group(2)); in BipPixel()
128 maxHeight = Integer.parseInt(m1.group(2)); in BipPixel()
137 minWidth = Integer.parseInt(m2.group(1)); in BipPixel()
138 minHeight = Integer.parseInt(m2.group(2)); in BipPixel()
139 maxWidth = Integer.parseInt(m2.group(3)); in BipPixel()
140 maxHeight = Integer.parseInt(m2.group(4)); in BipPixel()
148 minWidth = Integer.parseInt(m3.group(1)); in BipPixel()
149 maxWidth = Integer.parseInt(m3.group(2)); in BipPixel()
[all …]
DBipDateTime.java69 builder.setDate(Integer.parseInt(m.group(1)), /* year */ in BipDateTime()
70 Integer.parseInt(m.group(2)) - 1, /* month */ in BipDateTime()
71 Integer.parseInt(m.group(3))); /* day of month */ in BipDateTime()
74 builder.setTimeOfDay(Integer.parseInt(m.group(4)), /* hours */ in BipDateTime()
75 Integer.parseInt(m.group(5)), /* minutes */ in BipDateTime()
76 Integer.parseInt(m.group(6)), /* seconds */ in BipDateTime()
DBipImageFormat.java132 mSize = parseInt(size); in BipImageFormat()
133 mMaxSize = parseInt(maxSize); in BipImageFormat()
136 private static int parseInt(String s) { in parseInt() method in BipImageFormat
139 return Integer.parseInt(s); in parseInt()
DBipImageDescriptor.java206 mSize = parseInt(xpp.getAttributeValue(null, "size")); in parse()
207 mMaxSize = parseInt(xpp.getAttributeValue(null, "maxsize")); in parse()
228 private static int parseInt(String s) { in parseInt() method in BipImageDescriptor
231 return Integer.parseInt(s); in parseInt()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DObexTime.java58 builder.setDate(Integer.parseInt(m.group(1)), /* year */ in ObexTime()
59 Integer.parseInt(m.group(2)) - 1, /* month */ in ObexTime()
60 Integer.parseInt(m.group(3))); /* day of month */ in ObexTime()
63 builder.setTimeOfDay(Integer.parseInt(m.group(4)), /* hours */ in ObexTime()
64 Integer.parseInt(m.group(5)), /* minutes */ in ObexTime()
65 Integer.parseInt(m.group(6)), /* seconds */ in ObexTime()
73 int ohh = Integer.parseInt(m.group(9)); in ObexTime()
74 int omm = Integer.parseInt(m.group(10)); in ObexTime()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupDatabaseHelper.java238 row.put(MccIdd.MCC, Integer.parseInt(parser.nextText())); in getTableMccIddRow()
259 row.put(MccLookup.MCC, Integer.parseInt(parser.nextText())); in getTableMccLookupTableRow()
261 row.put(MccLookup.COUNTRY_CODE, Integer.parseInt(parser.nextText())); in getTableMccLookupTableRow()
294 row.put(MccSidConflicts.MCC, Integer.parseInt(parser.nextText())); in getTableMccSidConflictRow()
296 row.put(MccSidConflicts.SID_CONFLICT, Integer.parseInt(parser.nextText())); in getTableMccSidConflictRow()
315 row.put(MccSidRange.MCC, Integer.parseInt(parser.nextText())); in getTableMccSidRangeRow()
317 row.put(MccSidRange.RANGE_LOW, Integer.parseInt(parser.nextText())); in getTableMccSidRangeRow()
319 row.put(MccSidRange.RANGE_HIGH, Integer.parseInt(parser.nextText())); in getTableMccSidRangeRow()
338 row.put(NanpAreaCode.AREA_CODE, Integer.parseInt(parser.nextText())); in getTableNanpAreaCodeRow()
357 row.put(ArbitraryMccSidMatch.MCC, Integer.parseInt(parser.nextText())); in getTableArbitraryMccSidMatch()
[all …]
DSmsProvider.java193 threadID = Integer.parseInt(url.getPathSegments().get(1)); in query()
269 subId = Integer.parseInt(url.getPathSegments().get(1)); in query()
288 messageIndex = Integer.parseInt(url.getPathSegments().get(1)); in query()
290 subId = Integer.parseInt(url.getPathSegments().get(1)); in query()
291 messageIndex = Integer.parseInt(url.getPathSegments().get(2)); in query()
466 Integer.parseInt(url.getPathSegments().get(0)); in getType()
597 subId = Integer.parseInt(url.getPathSegments().get(1)); in insertInner()
838 int message_id = Integer.parseInt(url.getPathSegments().get(0)); in delete()
850 threadID = Integer.parseInt(url.getPathSegments().get(1)); in delete()
893 messageIndex = Integer.parseInt(url.getPathSegments().get(1)); in delete()
[all …]
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DCombinedInputOutput.java126 probabilityInfo = new ProbabilityInfo(Integer.parseInt(params[1]), in readDictionaryCombined()
138 Integer.parseInt(historicalInfoParams[0]), in readDictionaryCombined()
139 Integer.parseInt(historicalInfoParams[1]), in readDictionaryCombined()
140 Integer.parseInt(historicalInfoParams[2])); in readDictionaryCombined()
159 bigramProbabilityInfo = new ProbabilityInfo(Integer.parseInt(params[1]), in readDictionaryCombined()
170 Integer.parseInt(historicalInfoParams[0]), in readDictionaryCombined()
171 Integer.parseInt(historicalInfoParams[1]), in readDictionaryCombined()
172 Integer.parseInt(historicalInfoParams[2])); in readDictionaryCombined()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DInputDeviceCriteria.java26 Integer.parseInt("0000010000000", 2);
28 Integer.parseInt("0000000000100", 2);
30 Integer.parseInt("0000000001000", 2);
32 Integer.parseInt("0000001000000", 2);
34 Integer.parseInt("0000000001100", 2);
/packages/modules/NetworkStack/tests/unit/src/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()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceController.java128 final int newPreferredNetworkMode = Integer.parseInt((String) object); in onPreferenceChange()
231 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
245 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
256 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
267 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
280 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
290 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
302 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
314 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
325 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java426 int uid = Integer.parseInt(uidString); in runSetZoneIdForUid()
427 int zoneId = Integer.parseInt(zoneString); in runSetZoneIdForUid()
433 int userId = Integer.parseInt(userIdString); in runSetOccupantZoneIdForUserId()
434 int occupantZoneId = Integer.parseInt(occupantZoneIdString); in runSetOccupantZoneIdForUserId()
442 int occupantZoneId = Integer.parseInt(occupantZoneIdString); in runResetOccupantZoneId()
660 displayId = Integer.parseInt(args[1]);
688 displayId = Integer.parseInt(args[1]);
748 display = Integer.parseInt(args[i]);
752 delayMs = Integer.parseInt(args[i]);
759 keyCode = Integer.parseInt(args[i]);
[all …]
/packages/apps/TV/src/com/android/tv/data/
DChannelNumber.java84 int major = Integer.parseInt(majorNumber); in compareTo()
85 int minor = hasDelimiter ? Integer.parseInt(minorNumber) : 0; in compareTo()
87 int opponentMajor = Integer.parseInt(another.majorNumber); in compareTo()
88 int opponentMinor = another.hasDelimiter ? Integer.parseInt(another.minorNumber) : 0; in compareTo()
174 Integer.parseInt(string); in isInteger()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFace.java37 mPosition.left = Integer.parseInt(tokenizer.nextToken()); in Face()
38 mPosition.top = Integer.parseInt(tokenizer.nextToken()); in Face()
39 mPosition.right = Integer.parseInt(tokenizer.nextToken()); in Face()
40 mPosition.bottom = Integer.parseInt(tokenizer.nextToken()); in Face()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DEnergySaverFragment.java113 final int newSleepTime = Integer.parseInt((String) newValue); in onPreferenceChange()
120 updateTimeOut((boolean) newValue, Integer.parseInt(mSleepTimePref.getValue())); in onPreferenceChange()
171 if (Integer.parseInt(option) != -1) { in getValidatedTimeout()
172 int currentDiff = Math.abs(purposedTimeout - Integer.parseInt(option)); in getValidatedTimeout()
175 validatedTimeout = Integer.parseInt(option); in getValidatedTimeout()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DCodesArrayParser.java61 final int codePoint = Integer.parseInt(codeInHex, BASE_HEX); in parseLabel()
81 return Integer.parseInt(strs[2]); in getMinSupportSdkVersion()
90 return Integer.parseInt(codeSpec, BASE_HEX); in parseCode()
102 final int codePoint = Integer.parseInt(codeInHex, BASE_HEX); in parseOutputText()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterRenderingService.java22 import static java.lang.Integer.parseInt;
337 emulateKeyEvent(parseInt(args[1])); in execShellCommand()
362 new Rect(parseInt(args[2]), parseInt(args[3]), in execShellCommand()
363 parseInt(args[4]), parseInt(args[5])))); in execShellCommand()
/packages/apps/Camera2/tests/src/com/android/camera/stress/
DCameraStressTestRunner.java52 mVideoIterations = Integer.parseInt(video_iterations); in onCreate()
55 mImageIterations = Integer.parseInt(image_iterations); in onCreate()
58 mVideoDuration = Integer.parseInt(video_duration); in onCreate()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/logging/
DContextualCardLogUtils.java164 builder.setSliceRow(Integer.parseInt(parts[2])) in parseCardClickLog()
165 .setSliceTapTarget(Integer.parseInt(parts[3])) in parseCardClickLog()
166 .setUiPosition(Integer.parseInt(parts[4])) in parseCardClickLog()
233 if (Integer.parseInt(parts[0]) < 0) { in parseCardListLog()
/packages/apps/LegacyCamera/tests/src/com/android/camera/
DCameraStressTestRunner.java54 mVideoIterations = Integer.parseInt(video_iterations); in onCreate()
57 mImageIterations = Integer.parseInt(image_iterations); in onCreate()
60 mVideoDuration = Integer.parseInt(video_duration); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/logging/
DContextualCardLogUtils.java164 builder.setSliceRow(Integer.parseInt(parts[2])) in parseCardClickLog()
165 .setSliceTapTarget(Integer.parseInt(parts[3])) in parseCardClickLog()
166 .setUiPosition(Integer.parseInt(parts[4])) in parseCardClickLog()
233 if (Integer.parseInt(parts[0]) < 0) { in parseCardListLog()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
DBluetoothNameUtils.java55 return Integer.parseInt(typeStr); in getSetupType()
84 0xff000000 | Integer.parseInt(cm.group(1), 16), in getColorConfiguration()
85 0xff000000 | Integer.parseInt(cm.group(2), 16), in getColorConfiguration()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunChannelScan.java146 recordingProhibited = (Integer.parseInt(drm)) != 0; in readProgram()
165 major = Integer.parseInt(parts[0]); in readProgram()
166 minor = Integer.parseInt(parts[1]); in readProgram()
168 major = Integer.parseInt(guideNumber); in readProgram()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DImapUtility.java70 Integer.parseInt(item); // Don't need the value; just ensure it's valid in getImapSequenceValues()
103 int first = Integer.parseInt(range.substring(0, colonPos)); in getImapRangeValues()
104 int second = Integer.parseInt(range.substring(colonPos + 1)); in getImapRangeValues()
/packages/services/Telephony/src/com/android/phone/
DTelephonyShellCommand.java460 slotId = Integer.parseInt(getNextArgRequired()); in handleImsSetServiceCommand()
480 Integer result = Integer.parseInt(features[i]); in handleImsSetServiceCommand()
545 slotId = Integer.parseInt(getNextArgRequired()); in handleImsGetServiceCommand()
562 featureType = Integer.parseInt(getNextArg()); in handleImsGetServiceCommand()
604 slotId = Integer.parseInt(getNextArgRequired()); in handleEnableIms()
631 slotId = Integer.parseInt(getNextArgRequired()); in handleDisableIms()
724 slotId = Integer.parseInt(slotString); in slotStringToSubId()
1098 bundle.putInt(key, Integer.parseInt(valueList.get(0))); in getOverrideBundle()
1112 valueIntArray[i] = Integer.parseInt(valueList.get(i)); in getOverrideBundle()

12345678910>>...15