Home
last modified time | relevance | path

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

12345678910>>...16

/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()
/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()
494 Integer.parseInt(url.getPathSegments().get(0)); in getType()
625 subId = Integer.parseInt(url.getPathSegments().get(1)); in insertInner()
866 int message_id = Integer.parseInt(url.getPathSegments().get(0)); in delete()
878 threadID = Integer.parseInt(url.getPathSegments().get(1)); in delete()
922 subId = 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/modules/Connectivity/framework/src/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()
/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/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DEnergySaverFragment.java133 final int newSleepTime = Integer.parseInt((String) newValue); in onPreferenceChange()
155 updateTimeOut((boolean) newValue, Integer.parseInt(mSleepTimePref.getValue())); in onPreferenceChange()
207 if (Integer.parseInt(option) != -1) { in getValidatedTimeout()
208 int currentDiff = Math.abs(purposedTimeout - Integer.parseInt(option)); in getValidatedTimeout()
211 validatedTimeout = Integer.parseInt(option); in getValidatedTimeout()
223 if (newSleepTime == Integer.parseInt(optionsValues[i])) { in getConfirmationDialogDescription()
/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/Settings/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceController.java132 final int newPreferredNetworkMode = Integer.parseInt((String) object); in onPreferenceChange()
244 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
258 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
269 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
280 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
293 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
303 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
315 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
327 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
338 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java624 int uid = Integer.parseInt(uidString); in runSetZoneIdForUid()
625 int zoneId = Integer.parseInt(zoneString); in runSetZoneIdForUid()
631 int groupId = Integer.parseInt(groupIdString); in runSetMuteCarVolumeGroup()
632 int zoneId = Integer.parseInt(zoneString); in runSetMuteCarVolumeGroup()
645 int groupId = Integer.parseInt(groupIdString); in runSetGroupVolume()
646 int zoneId = Integer.parseInt(zoneIdString); in runSetGroupVolume()
647 int percentVolume = Integer.parseInt(volumeString); in runSetGroupVolume()
663 int userId = Integer.parseInt(userIdString); in runSetOccupantZoneIdForUserId()
664 int occupantZoneId = Integer.parseInt(occupantZoneIdString); in runSetOccupantZoneIdForUserId()
672 int occupantZoneId = Integer.parseInt(occupantZoneIdString); in runResetOccupantZoneId()
[all …]
/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/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java255 newPollIntervalMsecs = Integer.parseInt(getNextArgRequired()); in onCommand()
308 carrierId = Integer.parseInt(arg1); in onCommand()
324 carrierId = Integer.parseInt(arg1); in onCommand()
340 carrierId = Integer.parseInt(arg1); in onCommand()
392 apChannelMHz = Integer.parseInt(getNextArgRequired()); in onCommand()
651 mWifiService.forget(Integer.parseInt(networkId), actionListener); in onCommand()
658 int netId = Integer.parseInt(networkId); in onCommand()
685 int subId = Integer.parseInt(getNextArgRequired()); in onCommand()
870 int score = Integer.parseInt(getNextArgRequired()); in onCommand()
941 frequency = Integer.parseInt(freqStr); in onCommand()
[all …]
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/ts43/
DTs43VowifiStatus.java95 .map(status -> Integer.parseInt(status)) in builder()
101 .map(status -> Integer.parseInt(status)) in builder()
107 .map(status -> Integer.parseInt(status)) in builder()
113 .map(status -> Integer.parseInt(status)) in builder()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/entitlement/
DEntitlementConfiguration.java62 .map(Integer::parseInt) in getVolteStatus()
75 .map(Integer::parseInt) in getVoWifiStatus()
88 .map(Integer::parseInt) in getSmsOverIpStatus()
181 .map(Integer::parseInt) in entitlementValidation()
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DOneHandedSettingsUtilsTest.java97 .isEqualTo(Integer.parseInt(mConfigTimeout[TIMEOUT_INDEX_NEVER])); in setTimeout_setNever_shouldReturnNeverValue()
108 .isEqualTo(Integer.parseInt(mConfigTimeout[TIMEOUT_INDEX_SHORT])); in setTimeout_setShort_shouldReturnShortValue()
119 .isEqualTo(Integer.parseInt(mConfigTimeout[TIMEOUT_INDEX_MEDIUM])); in setTimeout_setMedium_shouldReturnMediumValue()
130 .isEqualTo(Integer.parseInt(mConfigTimeout[TIMEOUT_INDEX_LONG])); in setTimeout_setLong_shouldReturnLongValue()
/packages/services/Telephony/testapps/GbaTestApp/src/com/android/phone/testapps/gbatestapp/ui/main/
DTestConfigFragment.java87 Integer.parseInt(mAppType.getText().toString()), in onCreateView()
90 Integer.parseInt(mOrg.getText().toString()), in onCreateView()
91 Integer.parseInt(mSpId.getText().toString()), in onCreateView()
92 Integer.parseInt(mTlsCs.getText().toString())); in onCreateView()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DClusterRenderingService.java22 import static java.lang.Integer.parseInt;
344 emulateKeyEvent(parseInt(args[1])); in execShellCommand()
369 new Rect(parseInt(args[2]), parseInt(args[3]), in execShellCommand()
370 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/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/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()

12345678910>>...16