/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupUtil.java | 324 groupId = list.indexOf(Groups._ID); in GroupsProjection() 325 title = list.indexOf(Groups.TITLE); in GroupsProjection() 326 summaryCount = list.indexOf(Groups.SUMMARY_COUNT); in GroupsProjection() 327 systemId = list.indexOf(Groups.SYSTEM_ID); in GroupsProjection() 328 accountName = list.indexOf(Groups.ACCOUNT_NAME); in GroupsProjection() 329 accountType = list.indexOf(Groups.ACCOUNT_TYPE); in GroupsProjection() 330 dataSet = list.indexOf(Groups.DATA_SET); in GroupsProjection() 331 autoAdd = list.indexOf(Groups.AUTO_ADD); in GroupsProjection() 332 favorites = list.indexOf(Groups.FAVORITES); in GroupsProjection() 333 isReadOnly = list.indexOf(Groups.GROUP_IS_READ_ONLY); in GroupsProjection() [all …]
|
/packages/providers/TvProvider/src/com/android/providers/tv/util/ |
D | SqliteTokenFinder.java | 49 return set.indexOf(ch) >= 0; in isAnyOf() 100 pos = sql.indexOf(ch, pos); in findTokens() 116 if (token.indexOf(ch) >= 0) { in findTokens() 139 pos = sql.indexOf(']', pos); in findTokens() 155 pos = sql.indexOf('\n', pos); in findTokens() 166 pos = sql.indexOf("*/", pos); in findTokens()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | SQLiteTokenizer.java | 53 return set.indexOf(ch) >= 0; in isAnyOf() 119 pos = sql.indexOf(ch, pos); in tokenize() 139 if (tokenUnquoted.indexOf(ch) >= 0) { in tokenize() 158 pos = sql.indexOf(']', pos); in tokenize() 177 pos = sql.indexOf('\n', pos); in tokenize() 188 pos = sql.indexOf("*/", pos); in tokenize()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | SQLiteTokenizer.java | 53 return set.indexOf(ch) >= 0; in isAnyOf() 119 pos = sql.indexOf(ch, pos); in tokenize() 139 if (tokenUnquoted.indexOf(ch) >= 0) { in tokenize() 158 pos = sql.indexOf(']', pos); in tokenize() 177 pos = sql.indexOf('\n', pos); in tokenize() 188 pos = sql.indexOf("*/", pos); in tokenize()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/ |
D | SqlChecker.java | 69 return set.indexOf(ch) >= 0; in isAnyOf() 170 pos = sql.indexOf(ch, pos); in findTokens() 190 if (tokenUnquoted.indexOf(ch) >= 0) { in findTokens() 209 pos = sql.indexOf(']', pos); in findTokens() 228 pos = sql.indexOf('\n', pos); in findTokens() 239 pos = sql.indexOf("*/", pos); in findTokens()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | VendorCommandResponseProcessor.java | 85 int indexOfSemicolon = atCommand.indexOf(';'); in sendCommand() 93 int indexOfEqual = atCommand.indexOf('='); in sendCommand() 94 int indexOfQuestionMark = atCommand.indexOf('?'); in sendCommand() 131 int indexOfEqual = atString.indexOf('='); in processEvent() 132 int indexOfColon = atString.indexOf(':'); in processEvent()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | Address.java | 101 int atSign = address.indexOf('@'); in getSimplifiedName() 107 int end = personal.indexOf(' '); in getSimplifiedName() 453 if ((addressList.indexOf(LIST_DELIMITER_PERSONAL) == -1) in fromHeader() 454 && (addressList.indexOf(LIST_DELIMITER_EMAIL) == -1)) { in fromHeader() 468 int addressEndIndex = addressList.indexOf(LIST_DELIMITER_PERSONAL); in fromHeader() 471 pairEndIndex = addressList.indexOf(LIST_DELIMITER_EMAIL, pairStartIndex); in fromHeader() 486 addressEndIndex = addressList.indexOf(LIST_DELIMITER_PERSONAL, pairEndIndex + 1); in fromHeader()
|
D | PackedString.java | 89 int tagEndIndex = packed.indexOf(DELIMITER_TAG); in explode() 92 elementEndIndex = packed.indexOf(DELIMITER_ELEMENT, elementStartIndex); in explode() 107 tagEndIndex = packed.indexOf(DELIMITER_TAG, elementEndIndex + 1); in explode()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | MediaDb.java | 649 int index = mAudios.indexOf(audio); in updateAudio() 658 int index = mArtists.indexOf(artist); in updateArtist() 667 int index = mAlbums.indexOf(album); in updateAlbum() 676 int index = mGenres.indexOf(genre); in updateGenre() 685 int index = mPlaylists.indexOf(playlist); in updatePlaylist() 694 int index = mMovies.indexOf(movie); in updateMovie() 703 int index = mSeries.indexOf(series); in updateSeries() 712 int index = mEpisodes.indexOf(episode); in updateEpisode() 721 int index = mOthers.indexOf(other); in updateOther()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | EmailAddress.java | 136 final int firstDot = host.indexOf('.'); in isValidInternal() 144 if (host.indexOf("..") >= 0) { in isValidInternal() 153 final int secondDot = host.indexOf(".", firstDot + 1); in isValidInternal() 178 if (user.indexOf("..") >= 0) { in isValidInternal()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | Bpf2Apf.java | 57 if (line.indexOf("(") != 0 || line.indexOf(")") != 4 || line.indexOf(" ") != 5) { in convertLine() 208 int jt_offset = line.indexOf("jt"); in convertLine() 209 int jf_offset = line.indexOf("jf"); in convertLine()
|
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/service/ |
D | LeanbackImeService.java | 244 int indexOf = editorText.indexOf('@'); in getAmpersandLocation() local 245 if (indexOf < 0) { in getAmpersandLocation() 246 indexOf = editorText.length(); in getAmpersandLocation() 249 return indexOf; in getAmpersandLocation()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | ArchiveId.java | 29 assert(archiveUri.toString().indexOf(DELIMITER) == -1); in ArchiveId() 38 final int delimiterPosition = documentId.indexOf(DELIMITER); in fromDocumentId() 41 final int secondDelimiterPosition = documentId.indexOf(DELIMITER, delimiterPosition + 1); in fromDocumentId()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | SmsMmsContacts.java | 52 Arrays.asList(ADDRESS_PROJECTION).indexOf(CanonicalAddressesColumns._ID); 54 Arrays.asList(ADDRESS_PROJECTION).indexOf(CanonicalAddressesColumns.ADDRESS); 59 Arrays.asList(CONTACT_PROJECTION).indexOf(Contacts._ID); 61 Arrays.asList(CONTACT_PROJECTION).indexOf(Contacts.DISPLAY_NAME);
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | LongArrayTest.java | 54 assertEquals(5, a.indexOf(20)); in testLongArray() 57 assertEquals(-1, a.indexOf(99)); in testLongArray() 70 assertEquals(2, a.indexOf(30)); in testLongArray()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | DvrHistoryRowAdapter.java | 196 notifyArrayItemRangeChanged(indexOf(row), 1); in onScheduledRecordingRemoved() 210 notifyArrayItemRangeChanged(indexOf(row), 1); in onScheduledRecordingRemoved() 226 notifyArrayItemRangeChanged(indexOf(row), 1); in onScheduledRecordingUpdated() 237 notifyArrayItemRangeChanged(indexOf(row), 1); in onScheduledRecordingUpdated() 344 replace(indexOf(headerRow), headerRow); in removeScheduleRow()
|
D | ScheduleRowAdapter.java | 252 replace(indexOf(headerRow), headerRow); in removeScheduleRow() 289 notifyArrayItemRangeChanged(indexOf(row), 1); in onScheduledRecordingRemoved() 322 notifyArrayItemRangeChanged(indexOf(row), 1); in onScheduledRecordingUpdated() 339 notifyArrayItemRangeChanged(indexOf(row), 1); in onScheduledRecordingUpdated() 367 int index = indexOf(row); in executePendingUpdate()
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
D | JarUtils.java | 46 final String jarPath = path.substring("file:".length(), path.indexOf('!')); in getJarFile() 96 final int localePos = parentName.indexOf('-'); 102 final int regionPos = localeStr.indexOf("-r");
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsDiffReporter.java | 82 index = currentEntries.indexOf(orgRowEntry); in process() 91 index = orgRowEntry != null? currentEntries.indexOf(orgRowEntry): in process() 107 index = currentEntries.indexOf(orgRowEntry); in process()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | IntArray.java | 178 public int indexOf(int value) { in indexOf() method in IntArray 189 return indexOf(value) >= 0; in contains() 209 int index = indexOf(value); in removeValue()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/ |
D | MediaOutputSliceTest.java | 302 assertThat(TextUtils.indexOf(sliceInfo, mContext.getText(R.string.add))).isEqualTo(-1); in getSlice_singleCastDevice_notContainGroupIconText() 337 assertThat(TextUtils.indexOf(sliceInfo, mContext.getText(R.string.add))).isNotEqualTo(-1); in getSlice_multipleCastDevices_containGroupIconText() 373 assertThat(TextUtils.indexOf(sliceInfo, mContext.getText(R.string.media_output_switching))) in getSlice_onTransferring_containTransferringSubtitle() 411 assertThat(TextUtils.indexOf(sliceInfo, mContext.getText( in getSlice_onTransferringFailed_containFailedSubtitle() 438 assertThat(TextUtils.indexOf(sliceInfo, mContext.getText( in getSlice_zeroState_containPairingText() 474 assertThat(TextUtils.indexOf(sliceInfo, mContext.getText( in getSlice_twoConnectedDevices_notContainPairingText() 511 assertThat(TextUtils.indexOf(sliceInfo, mContext.getText(R.string.media_output_switching))) in getSlice_disconnectedBtOnTransferring_containTransferringSubtitle() 549 assertThat(TextUtils.indexOf(sliceInfo, in getSlice_disconnectedBtOnTransferringFailed_containTransferringFailedSubtitle()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ContactsManager.java | 218 if (TextUtils.isEmpty(name) || name.indexOf(Constants.CODE_COMMERCIAL_AT) != -1) { in isValidName() 221 final boolean hasSpace = name.indexOf(Constants.CODE_SPACE) != -1; in isValidName() 225 return name.indexOf(Constants.CODE_DASH) == -1; in isValidName()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeySpecParser.java | 80 if (text.indexOf(BACKSLASH) < 0) { in parseEscape() 100 if (keySpec.indexOf(BACKSLASH) < 0) { in indexOfLabelEnd() 101 final int labelEnd = keySpec.indexOf(VERTICAL_BAR); in indexOfLabelEnd()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/ |
D | TrackRecordTest.kt | 85 assertEquals(9, indexOf(0)) in <lambda>() 87 assertEquals(1, indexOf(13)) in <lambda>() 89 assertEquals(3, indexOf(94)) in <lambda>() 91 assertEquals(-1, indexOf(ABSENT_VALUE)) in <lambda>()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaMediaItem.java | 148 int myIndex = queueItems.indexOf(this); in getPrevious() 156 int myIndex = queueItems.indexOf(this); in getNext() 197 int index = mParent.mPlayableChildren.indexOf(this); in getQueueId()
|