Home
last modified time | relevance | path

Searched refs:fromCursor (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/TV/src/com/android/tv/util/
DAsyncDbTask.java236 T t = fromCursor(c); in onQuery()
256 protected abstract T fromCursor(Cursor c); in fromCursor() method in AsyncDbTask.AsyncQueryListTask
284 T result = fromCursor(c); in onQuery()
308 protected abstract T fromCursor(Cursor c); in fromCursor() method in AsyncDbTask.AsyncQueryItemTask
326 protected final Channel fromCursor(Cursor c) { in fromCursor() method in AsyncDbTask.AsyncChannelQueryTask
327 return ChannelImpl.fromCursor(c); in fromCursor()
366 protected final Program fromCursor(Cursor c) { in fromCursor() method in AsyncDbTask.AsyncProgramQueryTask
367 return ProgramImpl.fromCursor(c); in fromCursor()
379 protected final RecordedProgram fromCursor(Cursor c) { in fromCursor() method in AsyncDbTask.AsyncRecordedProgramQueryTask
380 return RecordedProgram.fromCursor(c); in fromCursor()
[all …]
/packages/apps/Car/libs/car-telephony-common/tests/robotests/src/com/android/car/telephony/common/
DContactTest.java87 mNullName = Contact.fromCursor(mMockContext, mMockCursor); in setup()
89 mEmptyName = Contact.fromCursor(mMockContext, mMockCursor); in setup()
91 mLetterName1 = Contact.fromCursor(mMockContext, mMockCursor); in setup()
93 mLetterName2 = Contact.fromCursor(mMockContext, mMockCursor); in setup()
95 mDigitName1 = Contact.fromCursor(mMockContext, mMockCursor); in setup()
97 mDigitName2 = Contact.fromCursor(mMockContext, mMockCursor); in setup()
99 mSpecCharName = Contact.fromCursor(mMockContext, mMockCursor); in setup()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DContact.java210 public static Contact fromCursor(Context context, Cursor cursor) { in fromCursor() method in Contact
211 return fromCursor(context, cursor, null); in fromCursor()
223 public static Contact fromCursor(Context context, Cursor cursor, @Nullable Contact contact) { in fromCursor() method in Contact
328 PhoneNumber newNumber = PhoneNumber.fromCursor(context, cursor); in addPhoneNumber()
357 PostalAddress newAddress = PostalAddress.fromCursor(cursor); in addPostalAddress()
DPhoneCallLog.java79 public static PhoneCallLog fromCursor(Context context, Cursor cursor) { in fromCursor() method in PhoneCallLog
DPostalAddress.java55 public static PostalAddress fromCursor(Cursor cursor) { in fromCursor() method in PostalAddress
DInMemoryPhoneBook.java226 subMap.put(lookupKey, Contact.fromCursor(mContext, cursor, subMap.get(lookupKey))); in onCursorLoaded()
/packages/apps/Contacts/src/com/android/contacts/util/
DDataStatus.java48 fromCursor(cursor); in DataStatus()
73 fromCursor(cursor); in possibleUpdate()
76 private void fromCursor(Cursor cursor) { in fromCursor() method in DataStatus
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java1581 String fromCursor = c.getString(columnIndex); in getCardIdfromIccid() local
1582 if (!TextUtils.isEmpty(fromCursor)) { in getCardIdfromIccid()
1583 cv.put(Telephony.SimInfo.COLUMN_CARD_ID, fromCursor); in getCardIdfromIccid()
2004 String fromCursor = c.getString(columnIndex); in getStringValueFromCursor() local
2005 if (fromCursor != null) { in getStringValueFromCursor()
2006 cv.put(key, fromCursor); in getStringValueFromCursor()
2021 String fromCursor = c.getString(columnIndex); in getNetworkTypeBitmaskFromCursor() local
2022 if (!TextUtils.isEmpty(fromCursor) && fromCursor.matches("\\d+")) { in getNetworkTypeBitmaskFromCursor()
2023 int networkBitmask = Integer.valueOf(fromCursor); in getNetworkTypeBitmaskFromCursor()
2031 String fromCursor = c.getString(columnIndex); in getNetworkTypeBitmaskFromCursor() local
[all …]
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDbFuture.java152 scheduledRecordings.add(ScheduledRecording.fromCursor(c)); in dbHelperInBackground()
218 scheduledRecordings.add(SeriesRecording.fromCursor(c)); in dbHelperInBackground()
/packages/apps/TV/src/com/android/tv/data/
DPreviewDataManager.java238 androidx.tvprovider.media.tv.Channel.fromCursor(cursor); in doInBackground()
258 androidx.tvprovider.media.tv.Channel.fromCursor(cursor); in doInBackground()
283 PreviewProgram.fromCursor(previewProgramCursor); in doInBackground()
DProgramDataManager.java774 Program program = ProgramImpl.fromCursor(c); in onQuery()
825 Program program = ProgramImpl.fromCursor(c); in onQuery()
888 program = ProgramImpl.fromCursor(c); in onQuery()
/packages/apps/TV/tests/robotests/src/com/android/tv/search/
DLocalSearchProviderTest.java231 assertThat(fromCursor(cursor)).containsExactly(FakeSearchInterface.fromProgram(mProgram1)); in query_program1()
234 private List<SearchResult> fromCursor(Cursor cursor) { in fromCursor() method in LocalSearchProviderTest
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/
DSpeedDialUiItemMutator.java211 SpeedDialUiItem.fromCursor( in insertNewContactEntry()
436 SpeedDialUiItem.fromCursor( in getSpeedDialUiItemsFromEntries()
552 SpeedDialUiItem.fromCursor( in getStarredContacts()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentInfo.java153 return fromCursor(cursor, authority); in fromDirectoryCursor()
156 public static DocumentInfo fromCursor(Cursor cursor, String authority) { in fromCursor() method in DocumentInfo
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManager.java270 TunerChannel channel = TunerChannel.fromCursor(cursor); in notifyScanStarted()
697 TunerChannel tunerChannel = TunerChannel.fromCursor(cursor); in getChannelId()
767 TunerChannel channel = TunerChannel.fromCursor(cursor); in buildChannelMap()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/
DBluetoothFavoriteContactsLiveData.java46 Contact favoriteEntry = Contact.fromCursor(mContext, cursor); in convertToEntity()
/packages/apps/Camera2/src/com/android/camera/data/
DPhotoItemFactory.java47 FilmstripItemData data = mPhotoDataFactory.fromCursor(c); in get()
DVideoItemFactory.java50 VideoItemData data = mVideoDataFactory.fromCursor(c); in get()
DVideoDataFactory.java35 public VideoItemData fromCursor(Cursor c) { in fromCursor() method in VideoDataFactory
DPhotoDataFactory.java32 public FilmstripItemData fromCursor(Cursor c) { in fromCursor() method in PhotoDataFactory
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DUnreadMissedCallLiveData.java72 PhoneCallLog phoneCallLog = PhoneCallLog.fromCursor(mContext, cursor); in convertToEntity()
DCallHistoryLiveData.java109 PhoneCallLog phoneCallLog = PhoneCallLog.fromCursor(mContext, cursor); in convertToEntity()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DCp2Contact.java95 public static Cp2Contact fromCursor(Cursor cursor) { in fromCursor() method in Cp2Contact
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocumentsAccess.java106 result.add(DocumentInfo.fromCursor(cursor, authority)); in getDocuments()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DRuntimeDataSupplier.java77 DocumentInfo docInfo = DocumentInfo.fromCursor(cursor, uri.getAuthority()); in loadDocInfo()

12