/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/logging/ |
D | ContextualCardLogUtils.java | 158 final String[] parts = clickLog.split("\\|"); in parseCardClickLog() local 159 if (parts.length < 5) { in parseCardClickLog() 164 builder.setSliceRow(Integer.parseInt(parts[2])) in parseCardClickLog() 165 .setSliceTapTarget(Integer.parseInt(parts[3])) in parseCardClickLog() 166 .setUiPosition(Integer.parseInt(parts[4])) in parseCardClickLog() 167 .setSliceUri(parts[0]) in parseCardClickLog() 168 .setRankingScore(Double.parseDouble(parts[1])); in parseCardClickLog() 196 final String[] parts = dismissLog.split("\\|"); in parseCardDismissLog() local 197 if (parts.length < 2) { in parseCardDismissLog() 202 builder.setSliceUri(parts[0]) in parseCardDismissLog() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/logging/ |
D | ContextualCardLogUtils.java | 158 final String[] parts = clickLog.split("\\|"); in parseCardClickLog() local 159 if (parts.length < 5) { in parseCardClickLog() 164 builder.setSliceRow(Integer.parseInt(parts[2])) in parseCardClickLog() 165 .setSliceTapTarget(Integer.parseInt(parts[3])) in parseCardClickLog() 166 .setUiPosition(Integer.parseInt(parts[4])) in parseCardClickLog() 167 .setSliceUri(parts[0]) in parseCardClickLog() 168 .setRankingScore(Double.parseDouble(parts[1])); in parseCardClickLog() 196 final String[] parts = dismissLog.split("\\|"); in parseCardDismissLog() local 197 if (parts.length < 2) { in parseCardDismissLog() 202 builder.setSliceUri(parts[0]) in parseCardDismissLog() [all …]
|
/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/ |
D | ParameterParser.java | 67 String[] parts = input.split(" "); in parsePhoneNumberRange() local 68 if (parts.length != 4) { in parsePhoneNumberRange() 71 return new PhoneNumberRange(parts[0], parts[1], parts[2], parts[3]); in parsePhoneNumberRange() 88 String[] parts = input.split("/"); in parseRadioAccessSpecifier() local 89 int ran = Integer.parseInt(parts[0]); in parseRadioAccessSpecifier() 90 String[] bandStrings = parts[1].split("\\+"); in parseRadioAccessSpecifier() 92 String[] chanStrings = parts[2].split("\\+"); in parseRadioAccessSpecifier()
|
D | TelephonyManagerTestApp.java | 195 String[] parts = typeName.split("[. ]"); in getShortTypeName() local 196 return parts[parts.length - 1]; in getShortTypeName()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | Multipart.java | 23 protected ArrayList<BodyPart> parts = new ArrayList<BodyPart>(); field in Multipart 28 parts.add(part); in addBodyPart() 32 parts.add(index, part); in addBodyPart() 36 return parts.get(index); in getBodyPart() 44 return parts.size(); in getCount() 48 return parts.remove(part); in removeBodyPart() 52 parts.remove(index); in removeBodyPart()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessage.java | 251 String[] parts; in parseVcard() local 257 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' in parseVcard() 258 if (parts.length == 2) { in parseVcard() 259 name = parts[1]; in parseVcard() 264 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' in parseVcard() 265 if (parts.length == 2) { in parseVcard() 266 formattedName = parts[1]; in parseVcard() 271 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' in parseVcard() 272 if (parts.length == 2) { in parseVcard() 273 String[] subParts = parts[1].split("[^\\\\];"); in parseVcard() [all …]
|
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/ |
D | WallpaperManagerCompatVL.java | 148 String[] parts = value.split(","); in parseValue() local 149 Integer wallpaperId = Integer.parseInt(parts[1]); in parseValue() 150 if (parts.length == 2) { in parseValue() 155 int primary = parts.length > 2 ? Integer.parseInt(parts[2]) : 0; in parseValue() 156 int secondary = parts.length > 3 ? Integer.parseInt(parts[3]) : 0; in parseValue() 157 int tertiary = parts.length > 4 ? Integer.parseInt(parts[4]) : 0; in parseValue()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | CityDAO.kt | 142 val parts = formattedName.split("[=:]".toRegex()).toTypedArray() in createCity() constant 143 val name = parts[1] in createCity() 146 val indexString = if (TextUtils.isEmpty(parts[0])) name.substring(0, 1) else parts[0] in createCity() 147 val phoneticName = if (parts.size == 3) parts[2] else name in createCity()
|
D | CityDAO.java | 153 final String[] parts = formattedName.split("[=:]"); in createCity() local 154 final String name = parts[1]; in createCity() 157 final String indexString = TextUtils.isEmpty(parts[0]) in createCity() 158 ? name.substring(0, 1) : parts[0]; in createCity() 159 final String phoneticName = parts.length == 3 ? parts[2] : name; in createCity()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/ |
D | Utility.java | 31 public static String combine(Object[] parts, char separator) { in combine() argument 32 if (parts == null) { in combine() 36 for (int i = 0; i < parts.length; i++) { in combine() 37 sb.append(parts[i].toString()); in combine() 38 if (i < parts.length - 1) { in combine()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | DetailsAddressResolver.java | 86 String parts[] = { in updateLocation() local 99 for (int i = 0; i < parts.length; i++) { in updateLocation() 100 if (parts[i] == null || parts[i].isEmpty()) continue; in updateLocation() 104 addressText += parts[i]; in updateLocation()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | MetadataUtils.java | 94 String [] parts = rationalString.split(","); in convertRationalLatLonToFloat() local 97 pair = parts[0].split("/"); in convertRationalLatLonToFloat() 101 pair = parts[1].split("/"); in convertRationalLatLonToFloat() 105 pair = parts[2].split("/"); in convertRationalLatLonToFloat()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PicasaSource.java | 180 String[] parts = id.split(":"); in findImages() local 181 if (parts.length > 2) { in findImages() 184 albumIds.add(parts[1]); in findImages() 283 String[] parts = id.split(":"); in resolveAlbumIds() local 284 if (parts.length < 3) { in resolveAlbumIds() 291 String selection = (PICASA_ALBUM_USER + " = '" + parts[2] + "' AND " + in resolveAlbumIds() 292 PICASA_ALBUM_TYPE + " = '" + parts[1] + "'"); in resolveAlbumIds()
|
D | LocalSource.java | 196 String[] parts = id.split(":"); in findImages() local 197 if (parts.length > 1) { in findImages() 201 selection += MediaStore.Images.Media.BUCKET_ID + " = '" + parts[1] + "'"; in findImages()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ConversationMessageData.java | 282 final List<MessagePartData> parts = new LinkedList<MessagePartData>(); 284 parts.add(makePartData( 294 parts, 304 return parts; 309 final List<MessagePartData> parts, 327 parts.add(makePartData( 337 if (parts.size() != partsCount) { 338 LogUtil.wtf(TAG, "Only unpacked " + parts.size() + " parts from message (id="
|
/packages/services/Car/service/src/com/android/car/ |
D | BluetoothProfileInhibitManager.java | 155 String[] parts = flattenedParams.split("/"); in decode() local 158 if (!"null".equals(parts[0])) { in decode() 159 device = adapter.getRemoteDevice(parts[0]); in decode() 165 if (!"null".equals(parts[1])) { in decode() 166 profile = Integer.valueOf(parts[1]); in decode()
|
D | CarBugreportManagerService.java | 178 String[] parts = progressOverTotal.split("/"); in handleProgress() local 179 if (parts.length != 2) { in handleProgress() 186 progress = Float.parseFloat(parts[0]); in handleProgress() 187 total = Float.parseFloat(parts[1]); in handleProgress()
|
/packages/services/Car/tools/ |
D | update-obd2-sensors.py | 59 parts = string.split('\n') 60 parts = [indent + part for part in parts] 61 return '\n'.join(parts) + "\n"
|
/packages/apps/Protips/src/com/android/protips/ |
D | ProtipWidget.java | 212 String[] parts = sNewlineRegex.split(mTips[mMessage], 2); in buildUpdate() local 213 String title = parts[0]; in buildUpdate() 214 String text = parts.length > 1 ? parts[1] : ""; in buildUpdate()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/touch/ |
D | SingleAxisSwipeDetectorTest.java | 51 public static void L(String s, Object... parts) { in L() argument 52 Log.d(TAG, (parts.length == 0) ? s : String.format(s, parts)); in L()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | SettingsUtil.java | 409 String[] parts = sizeSettingString.split(SIZE_SETTING_STRING_DIMENSION_DELIMITER); in sizeFromSettingString() local 410 if (parts.length != 2) { in sizeFromSettingString() 415 int width = Integer.parseInt(parts[0]); in sizeFromSettingString() 416 int height = Integer.parseInt(parts[1]); in sizeFromSettingString()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | HotwordSwitchController.java | 223 String[] parts = TextUtils.split(resource, ":"); in getLocalizedStringResource() local 224 if (parts.length == 0) { in getLocalizedStringResource() 227 final String pkgName = parts[0]; in getLocalizedStringResource()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunChannelScan.java | 164 String[] parts = guideNumber.split(Pattern.quote(separator)); in readProgram() local 165 major = Integer.parseInt(parts[0]); in readProgram() 166 minor = Integer.parseInt(parts[1]); in readProgram()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeUtility.java | 186 String[] parts = unfold(header).split(";"); in getHeaderParameter() local 188 return parts[0].trim(); in getHeaderParameter() 191 for (String part : parts) { in getHeaderParameter()
|
D | MimeMultipart.java | 93 for (int i = 0, count = parts.size(); i < count; i++) { in writeTo() 94 BodyPart bodyPart = parts.get(i); in writeTo()
|