Home
last modified time | relevance | path

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

12345678910>>...22

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/
DBipPixel.java119 minWidth = Integer.parseInt(m1.group(1)); in BipPixel()
120 maxWidth = Integer.parseInt(m1.group(1)); in BipPixel()
121 minHeight = Integer.parseInt(m1.group(2)); in BipPixel()
122 maxHeight = Integer.parseInt(m1.group(2)); in BipPixel()
131 minWidth = Integer.parseInt(m2.group(1)); in BipPixel()
132 minHeight = Integer.parseInt(m2.group(2)); in BipPixel()
133 maxWidth = Integer.parseInt(m2.group(3)); in BipPixel()
134 maxHeight = Integer.parseInt(m2.group(4)); in BipPixel()
142 minWidth = Integer.parseInt(m3.group(1)); in BipPixel()
143 maxWidth = Integer.parseInt(m3.group(2)); in BipPixel()
[all …]
DBipDateTime.java65 Integer.parseInt(m.group(1)), /* year */ in BipDateTime()
66 Integer.parseInt(m.group(2)) - 1, /* month */ in BipDateTime()
67 Integer.parseInt(m.group(3))); /* day of month */ in BipDateTime()
71 Integer.parseInt(m.group(4)), /* hours */ in BipDateTime()
72 Integer.parseInt(m.group(5)), /* minutes */ in BipDateTime()
73 Integer.parseInt(m.group(6)), /* seconds */ in BipDateTime()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DObexTime.java65 Integer.parseInt(m.group(1)), /* year */ in ObexTime()
66 Integer.parseInt(m.group(2)) - 1, /* month */ in ObexTime()
67 Integer.parseInt(m.group(3))); /* day of month */ in ObexTime()
71 Integer.parseInt(m.group(4)), /* hours */ in ObexTime()
72 Integer.parseInt(m.group(5)), /* minutes */ in ObexTime()
73 Integer.parseInt(m.group(6)), /* seconds */ in ObexTime()
81 int ohh = Integer.parseInt(m.group(9)); in ObexTime()
82 int omm = Integer.parseInt(m.group(10)); in ObexTime()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbShellCommand.java466 builder.setSessionId(Integer.parseInt(getNextArgRequired())); in buildFiraOpenSessionParams()
469 builder.setChannelNumber(Integer.parseInt(getNextArgRequired())); in buildFiraOpenSessionParams()
539 builder.setRangingIntervalMs(Integer.parseInt(getNextArgRequired())); in buildFiraOpenSessionParams()
542 builder.setSlotsPerRangingRound(Integer.parseInt(getNextArgRequired())); in buildFiraOpenSessionParams()
551 int rangeDataNtfProximityNearCm = Integer.parseInt(rangeDataNtfProximityString[0]); in buildFiraOpenSessionParams()
552 int rangeDataNtfProximityFarCm = Integer.parseInt(rangeDataNtfProximityString[1]); in buildFiraOpenSessionParams()
578 int numOfRangeMsrmts = Integer.parseInt(interleaveRatioString[0]); in buildFiraOpenSessionParams()
579 int numOfAoaAzimuthMrmts = Integer.parseInt(interleaveRatioString[1]); in buildFiraOpenSessionParams()
580 int numOfAoaElevationMrmts = Integer.parseInt(interleaveRatioString[2]); in buildFiraOpenSessionParams()
640 int slotDurationRstu = Integer.parseInt(getNextArgRequired()); in buildFiraOpenSessionParams()
[all …]
/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/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/
DReorderAlgorithmUnitTestCase.java73 testCase.x = Integer.parseInt(arguments.arguments[0]); in readNextCase()
74 testCase.y = Integer.parseInt(arguments.arguments[1]); in readNextCase()
75 testCase.spanX = Integer.parseInt(arguments.arguments[2]); in readNextCase()
76 testCase.spanY = Integer.parseInt(arguments.arguments[3]); in readNextCase()
77 testCase.minSpanX = Integer.parseInt(arguments.arguments[4]); in readNextCase()
78 testCase.minSpanY = Integer.parseInt(arguments.arguments[5]); in readNextCase()
/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/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/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 …]
/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/providers/MediaProvider/src/com/android/providers/media/stableuris/dao/
DBackupIdRow.java268 builder.setIsFavorite(Integer.parseInt(fields[2])); in deserialize()
269 builder.setIsPending(Integer.parseInt(fields[3])); in deserialize()
270 builder.setIsTrashed(Integer.parseInt(fields[4])); in deserialize()
271 builder.setMediaType(Integer.parseInt(fields[5])); in deserialize()
272 builder.setUserId(Integer.parseInt(fields[6])); in deserialize()
273 builder.setOwnerPackagedId(Integer.parseInt(fields[7])); in deserialize()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DDefaultSubscriptionControllerTest.java157 mController.setDefaultSubscription(Integer.parseInt(mSubInfo1.subId)); in getSummary_singleSub()
173 mController.setDefaultSubscription(Integer.parseInt(mSubInfo1.subId)); in getSummary_twoSubs()
187 mController.setDefaultSubscription(Integer.parseInt(mSubInfo1.subId)); in onPreferenceChange_prefChangedToSub2_callbackCalledCorrectly()
204 mController.setDefaultSubscription(Integer.parseInt(mSubInfo1.subId)); in onPreferenceChange_prefChangedToAlwaysAsk_callbackCalledCorrectly()
224 mController.setDefaultSubscription(Integer.parseInt(mSubInfo1.subId)); in onPreferenceChange_prefBecomesAvailable_onPreferenceChangeCallbackNotNull()
226 mController.setDefaultSubscription(Integer.parseInt(mSubInfo1.subId)); in onPreferenceChange_prefBecomesAvailable_onPreferenceChangeCallbackNotNull()
247 mController.setDefaultSubscription(Integer.parseInt(mSubInfo1.subId)); in onSubscriptionsChanged_twoSubscriptionsDefaultChanges_selectedEntryGetsUpdated()
256 mController.setDefaultSubscription(Integer.parseInt(mSubInfo2.subId)); in onSubscriptionsChanged_twoSubscriptionsDefaultChanges_selectedEntryGetsUpdated()
270 mController.setDefaultSubscription(Integer.parseInt(mSubInfo1.subId)); in onSubscriptionsChanged_goFromTwoSubscriptionsToOne_prefDisappears()
295 mController.setDefaultSubscription(Integer.parseInt(mSubInfo1.subId)); in onSubscriptionsChanged_goFromOneSubscriptionToTwo_prefAppears()
[all …]
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DDeviceInfoUtils.java107 final int major = Integer.parseInt(m.group(1)); in getMajorMinorVersion()
108 final int minor = TextUtils.isEmpty(m.group(3)) ? 0 : Integer.parseInt(m.group(3)); in getMajorMinorVersion()
154 final int major = Integer.parseInt(m.group(1)); in getMajorMinorSubminorVersion()
155 final int minor = Integer.parseInt(m.group(2)); in getMajorMinorSubminorVersion()
156 final int sub = TextUtils.isEmpty(m.group(4)) ? 0 : Integer.parseInt(m.group(4)); in getMajorMinorSubminorVersion()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DBpf2Apf.java82 int label = Integer.parseInt(line.substring(1, 4)); in convertLine()
119 int memory_slot = Integer.parseInt(arg.substring(2, arg.length() - 1)); in convertLine()
124 int offset = Integer.parseInt(arg.substring(5, arg.length() - 1)); in convertLine()
140 int offset = Integer.parseInt(arg.substring(1, arg.length() - 1)); in convertLine()
163 int memory_slot = Integer.parseInt(arg.substring(2, arg.length() - 1)); in convertLine()
221 boolean true_label_is_fallthrough = Integer.parseInt(true_label) == label + 1; in convertLine()
222 boolean false_label_is_fallthrough = Integer.parseInt(false_label) == label + 1; in convertLine()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/daydream/
DEnergySaverState.java78 final int newSleepTime = Integer.parseInt((String) newValue); in onPreferenceChange()
99 updateTimeOut((boolean) newValue, Integer.parseInt(mSleepTimePC.getValue())); in onPreferenceChange()
136 if (newSleepTime == Integer.parseInt(optionsValues[i])) { in getConfirmationDialogDescription()
188 if (Integer.parseInt(option) != -1) { in getValidatedTimeout()
189 int currentDiff = Math.abs(purposedTimeout - Integer.parseInt(option)); in getValidatedTimeout()
192 validatedTimeout = Integer.parseInt(option); in getValidatedTimeout()
/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/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.java522 newPollIntervalMsecs = Integer.parseInt(getNextArgRequired()); in onCommand()
577 carrierId = Integer.parseInt(arg1); in onCommand()
593 carrierId = Integer.parseInt(arg1); in onCommand()
608 final int carrierId = Integer.parseInt(arg1); in onCommand()
634 int apiType = Integer.parseInt(getNextArgRequired()); in onCommand()
680 apChannelMHz = Integer.parseInt(getNextArgRequired()); in onCommand()
690 apMaxBandWidthMHz = Integer.parseInt(bandwidthStr); in onCommand()
777 frequency = Integer.parseInt(getNextArgRequired()); in onCommand()
937 int mode = Integer.parseInt(getNextArgRequired()); in onCommand()
1057 mWifiService.forget(Integer.parseInt(networkId), actionListener); in onCommand()
[all …]
/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/ImsServiceEntitlement/src/com/android/imsserviceentitlement/ts43/
DTs43VowifiStatus.java82 .map(status -> Integer.parseInt(status)) in builder()
86 .map(status -> Integer.parseInt(status)) in builder()
90 .map(status -> Integer.parseInt(status)) in builder()
94 .map(status -> Integer.parseInt(status)) in builder()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/
DExportImportSettingsStorage.java98 return Integer.parseInt(result); in getScheduledExportPeriodInDays()
129 : Integer.parseInt(lastExportError), in getScheduledExportStatus()
130 periodInDays == null ? 0 : Integer.parseInt(periodInDays)); in getScheduledExportStatus()
156 : Integer.parseInt(lastImportError), in getImportStatus()
/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/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/services/Car/service/src/com/android/car/
DCarShellCommand.java1001 int uid = Integer.parseInt(uidString); in runSetZoneIdForUid()
1002 int zoneId = Integer.parseInt(zoneString); in runSetZoneIdForUid()
1008 int groupId = Integer.parseInt(groupIdString); in runSetMuteCarVolumeGroup()
1009 int zoneId = Integer.parseInt(zoneString); in runSetMuteCarVolumeGroup()
1022 int groupId = Integer.parseInt(groupIdString); in runSetGroupVolume()
1023 int zoneId = Integer.parseInt(zoneIdString); in runSetGroupVolume()
1024 int percentVolume = Integer.parseInt(volumeString); in runSetGroupVolume()
1036 int zoneId1 = Integer.parseInt(zoneId1String); in runSetAudioMirror()
1037 int zoneId2 = Integer.parseInt(zoneId2String); in runSetAudioMirror()
1107 int zoneId = Integer.parseInt(inputString); in runUnsetAudioMirror()
[all …]

12345678910>>...22