Home
last modified time | relevance | path

Searched refs:isAfterLast (Results 1 – 25 of 56) sorted by relevance

123

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapSimVcardManagerTest.java171 assertThat(mManager.isAfterLast()).isFalse(); in testIsAfterLast_beforeInit()
176 final boolean isAfterLast = true; in testIsAfterLast_success()
178 when(cursor.isAfterLast()).thenReturn(isAfterLast); in testIsAfterLast_success()
180 assertThat(mManager.isAfterLast()).isEqualTo(isAfterLast); in testIsAfterLast_success()
208 when(cursor.isAfterLast()) in testMoveToPosition_byAlphabeticalOrder_success()
273 when(cursor.isAfterLast()) in testGetSIMPhonebookNameList_orderByIndexed()
325 when(cursor.isAfterLast()) in testGetSIMPhonebookNameList_orderByAlphabet()
376 when(cursor.isAfterLast()) in testGetSIMContactNamesByNumber()
467 when(cursor.isAfterLast()).thenReturn(false); in testComposeAndSendSIMPhonebookVcards_success()
510 when(cursor.isAfterLast()).thenReturn(false); in testComposeAndSendSIMPhonebookOneVcard_success()
[all …]
DBluetoothPbapCallLogComposerTest.java201 when(mMockCursor.isAfterLast()).thenReturn(cursorIsAfterLast); in testIsAfterLast_success()
203 assertThat(mComposer.isAfterLast()).isEqualTo(cursorIsAfterLast); in testIsAfterLast_success()
208 assertThat(mComposer.isAfterLast()).isEqualTo(false); in testIsAfterLast_returnsFalseWhenNotInitialized()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/util/cursor/
DCursors.kt35 override fun isAfterLast(): Boolean = getCount() == 0 || super.getPosition() >= getCount() in limit() method
67 override fun isAfterLast(): Boolean = count == 0 || super.isAfterLast() in Cursor() method
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapSimVcardManager.java146 if (mCursor == null || mCursor.isAfterLast()) { in createOneEntry()
229 public boolean isAfterLast() { in isAfterLast() method in BluetoothPbapSimVcardManager
233 return mCursor.isAfterLast(); in isAfterLast()
256 for (mCursor.moveToFirst(); !mCursor.isAfterLast(); mCursor.moveToNext()) { in setPositionByAlpha()
273 for (mCursor.moveToFirst(); !mCursor.isAfterLast(); mCursor.moveToNext()) { in setPositionByAlpha()
312 !contactCursor.isAfterLast(); in getSIMPhonebookNameList()
357 !contactCursor.isAfterLast(); in getSIMContactNamesByNumber()
DBluetoothPbapCallLogComposer.java154 if (mCursor == null || mCursor.isAfterLast()) { in createOneEntry()
317 public boolean isAfterLast() { in isAfterLast() method in BluetoothPbapCallLogComposer
321 return mCursor.isAfterLast(); in isAfterLast()
DBluetoothPbapVcardManager.java252 for (callCursor.moveToFirst(); !callCursor.isAfterLast(); callCursor.moveToNext()) { in loadCallHistoryList()
415 while (!contactCursor.isAfterLast()) { in getSelectedPhonebookNameList()
897 while (!contactIdCursor.isAfterLast()) { in composeContactsAndSendVCards()
1014 while (!contactIdCursor.isAfterLast()) { in composeContactsAndSendSelectedVCards()
1118 while (!composer.isAfterLast()) { in composeCallLogsAndSendSelectedVCards()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DAudioStore.java92 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in load()
119 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in load()
157 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in load()
197 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in load()
221 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in load()
437 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in loadAlbums()
463 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in loadAudios()
490 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in loadAudios()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppService.java752 boolean isAfterLast = cursor.isAfterLast(); in run()
770 while (!isAfterLast || arrayPos < mShares.size() && mListenStarted) { in run()
771 if (isAfterLast) { in run()
792 isAfterLast = cursor.isAfterLast(); in run()
808 isAfterLast = cursor.isAfterLast(); in run()
817 isAfterLast = cursor.isAfterLast(); in run()
DBluetoothOppNotification.java316 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in updateActiveNotification()
482 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in updateCompletedNotification()
571 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in updateCompletedNotification()
681 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in updateIncomingFileConfirmNotification()
DBluetoothOppTransferHistory.java275 while (!mTransferCursor.isAfterLast()) { in isTransferComplete()
298 while (!mTransferCursor.isAfterLast()) { in clearAllDownloads()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DCoalescer.java110 if (!isRowMerged || allAnnotatedCallLogRowsSortedByTimestampDesc.isAfterLast()) { in coalesceInternal()
115 } while (!allAnnotatedCallLogRowsSortedByTimestampDesc.isAfterLast()); in coalesceInternal()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/
DVoicemailStatusWorker.java62 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in doInBackground()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionarySettings.java206 if (mCursor.isAfterLast()) return null; in getWord()
216 if (mCursor.isAfterLast()) return null; in getShortcut()
DUserDictionaryCursorLoader.java86 for (candidate.moveToFirst(); !candidate.isAfterLast(); candidate.moveToNext()) { in loadInBackground()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionarySettings.java264 if (mCursor.isAfterLast()) return null; in getWord()
275 if (mCursor.isAfterLast()) return null; in getShortcut()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DCursorPhotoSource.java49 if (!current.cursor.isAfterLast()) { in naturalNext()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java476 while (smsCursor != null && !smsCursor.isAfterLast() && in onFullBackup()
477 mmsCursor != null && !mmsCursor.isAfterLast()) { in onFullBackup()
489 while (smsCursor != null && !smsCursor.isAfterLast()) { in onFullBackup()
494 while (mmsCursor != null && !mmsCursor.isAfterLast()) { in onFullBackup()
542 if (cursor == null || cursor.isAfterLast()) { in backupAll()
567 for (; results.count < mMaxMsgPerFile && !cursor.isAfterLast(); in putMmsMessagesToJson()
581 for (; results.count < mMaxMsgPerFile && !cursor.isAfterLast(); in putSmsMessagesToJson()
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/
DSpeedDialUiItemMutator.java434 for (cursor.moveToFirst(); !cursor.isAfterLast(); /* Iterate in the loop */ ) { in getSpeedDialUiItemsFromEntries()
524 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in getStarredContacts()
550 for (cursor.moveToFirst(); !cursor.isAfterLast(); /* Iterate in the loop */ ) { in getStarredContacts()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DContactFilterCursor.java398 public boolean isAfterLast() { in isAfterLast() method in ContactFilterCursor
399 return cursor.isAfterLast(); in isAfterLast()
/packages/apps/Dialer/java/com/android/dialer/contacts/hiresphoto/
DHighResolutionPhotoRequesterImpl.java132 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) {
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardFeatureProviderImplTest.java77 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in getContextualCards_shouldSortByScore()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSystemBroadcastReceiver.java126 for (c.moveToFirst(); !c.isAfterLast(); c.moveToNext()) { in removeOldDownloads()
DUserBinaryDictionary.java201 while (!cursor.isAfterLast()) { in addWordsLocked()
DContactsManager.java163 while (!cursor.isAfterLast()) { in getValidNames()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DRingtoneModel.kt140 while (!cursor.isAfterLast()) { in loadRingtoneTitles()

123