Home
last modified time | relevance | path

Searched refs:indexOf (Results 1 – 25 of 220) sorted by relevance

123456789

/packages/apps/Contacts/src/com/android/contacts/group/
DGroupUtil.java324 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/
DSqliteTokenFinder.java49 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/TelephonyProvider/src/com/android/providers/telephony/
DSQLiteTokenizer.java53 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/
DSqlChecker.java69 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/
DVendorCommandResponseProcessor.java85 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/
DAddress.java101 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()
DPackedString.java89 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/
DMediaDb.java649 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/
DEmailAddress.java136 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/
DBpf2Apf.java57 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/
DLeanbackImeService.java244 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/
DArchiveId.java29 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/
DSmsMmsContacts.java52 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/apps/TV/src/com/android/tv/dvr/ui/list/
DDvrHistoryRowAdapter.java196 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()
DScheduleRowAdapter.java252 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/
DJarUtils.java46 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/util/
DIntArray.java178 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/Launcher3/src/com/android/launcher3/widget/
DWidgetsDiffReporter.java82 index = currentEntries.indexOf(orgRowEntry); in process()
91 index = orgRowEntry != null? currentEntries.indexOf(orgRowEntry): in process()
107 index = currentEntries.indexOf(orgRowEntry); in process()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DContactsManager.java218 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/modules/NetworkStack/tests/unit/src/com/android/net/module/util/
DTrackRecordTest.kt83 assertEquals(9, indexOf(0)) in <lambda>()
85 assertEquals(1, indexOf(13)) in <lambda>()
87 assertEquals(3, indexOf(94)) in <lambda>()
89 assertEquals(-1, indexOf(ABSENT_VALUE)) in <lambda>()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeySpecParser.java80 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/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaMediaItem.java135 int myIndex = queueItems.indexOf(this); in getPrevious()
143 int myIndex = queueItems.indexOf(this); in getNext()
187 int index = mParent.mPlayableChildren.indexOf(this); in getQueueId()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewItemManager.java350 int prevIndex = newItems.indexOf(moveIn.get(i));
353 updateTransitionParam(p, moveIn.get(i), ENTER_INDEX, newItems.indexOf(moveIn.get(i)),
359 int oldIndex = oldItems.indexOf(newItems.get(newIndex));
371 int oldIndex = oldItems.indexOf(item);
/packages/apps/DeskClock/src/com/android/deskclock/
DItemAdapter.java49 final int position = mItemHolders.indexOf(itemHolder);
60 final int position = mItemHolders.indexOf(itemHolder);
220 final int index = mItemHolders.indexOf(itemHolder); in removeItem()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DQueryParameterUtils.java47 index = query.indexOf(parameter, index); in getQueryParameter()
64 int ampIndex = query.indexOf('&', index); in getQueryParameter()

123456789