Home
last modified time | relevance | path

Searched refs:PROJECTION (Results 1 – 25 of 100) sorted by relevance

1234

/packages/apps/Messaging/src/com/android/messaging/util/
DContactUtil.java82 public static final String[] PROJECTION = new String[] { field in ContactUtil.PhoneQuery
99 public static final String[] PROJECTION = new String[] { field in ContactUtil.PhoneLookupQuery
117 public static final String[] PROJECTION = new String[] { field in ContactUtil.FrequentContactQuery
131 public static final String[] PROJECTION = new String[] { field in ContactUtil.EmailQuery
150 public static final String[] PROJECTION = new String[] { field in ContactUtil.SelfQuery
162 public static final String[] PROJECTION = new String[] { field in ContactUtil.StructuredNameQuery
217 return new CursorQueryData(context, Profile.CONTENT_URI, SelfQuery.PROJECTION, null, null, in getSelf()
239 return new CursorQueryData(context, uri, PhoneQuery.PROJECTION, null, null, in getPhones()
317 PhoneQuery.PROJECTION, null, null, in filterPhonesInternal()
336 return new CursorQueryData(context, uri, PhoneLookupQuery.PROJECTION, null, null, null); in lookupPhone()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java569 ImagesBucketQuery.PROJECTION, ImageColumns.BUCKET_ID + "=?", in queryDocument()
578 ImageQuery.PROJECTION, BaseColumns._ID + "=?", queryArgs, in queryDocument()
590 VideosBucketQuery.PROJECTION, VideoColumns.BUCKET_ID + "=?", in queryDocument()
599 VideoQuery.PROJECTION, BaseColumns._ID + "=?", queryArgs, in queryDocument()
611 ArtistQuery.PROJECTION, BaseColumns._ID + "=?", queryArgs, in queryDocument()
620 AlbumQuery.PROJECTION, BaseColumns._ID + "=?", queryArgs, in queryDocument()
629 SongQuery.PROJECTION, BaseColumns._ID + "=?", queryArgs, in queryDocument()
659 ImagesBucketQuery.PROJECTION, null, null, ImagesBucketQuery.SORT_ORDER); in queryChildDocuments()
673 ImageQuery.PROJECTION, ImageColumns.BUCKET_ID + "=?", in queryChildDocuments()
682 VideosBucketQuery.PROJECTION, null, null, VideosBucketQuery.SORT_ORDER); in queryChildDocuments()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/database/
DNoNullCursorAsyncQueryHandlerTest.java39 private static final String[] PROJECTION = new String[]{"column1", "column2"}; field in NoNullCursorAsyncQueryHandlerTest
78 handler.startQuery(1, null, URI, PROJECTION, null, null, null); in testCursorIsNotNull()
105 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null); in testCursorContainsCorrectCookies()
132 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null); in testCursorContainsCorrectColumns()
137 assertSame(PROJECTION, cursorHolder.obj.getColumnNames()); in testCursorContainsCorrectColumns()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DTestDataFactory.java116 return new FakeCursor(ConversationListItemData.PROJECTION, sConversationListCursorColumns, in getConversationListCursor()
123 return new FakeCursor(ConversationListItemData.PROJECTION, sConversationListCursorColumns, in getEmptyConversationListCursor()
202 return new FakeCursor(ParticipantData.ParticipantsQuery.PROJECTION, in getConversationParticipantsCursor()
225 return new FakeCursor(ContactUtil.PhoneQuery.PROJECTION, sContactCursorColumns, in getAllContactListCursor()
246 return new FakeCursor(ContactUtil.PhoneQuery.PROJECTION, sContactCursorColumns, in getFrequentContactListCursor()
262 return new FakeCursor(ContactUtil.FrequentContactQuery.PROJECTION, in getStrequentContactsCursor()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionDbHelper.java40 static final String[] PROJECTION = field in TranscriptionDbHelper
68 try (Cursor cursor = contentResolver.query(uri, PROJECTION, null, null, null)) { in getTranscriptionAndState() argument
99 try (Cursor cursor = contentResolver.query(uri, PROJECTION, whereClause, whereArgs, null)) { in getUntranscribedVoicemails() argument
118 try (Cursor cursor = contentResolver.query(uri, PROJECTION, whereClause, whereArgs, null)) { in getTranscribingVoicemails() argument
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMessageMove.java57 public static final String[] PROJECTION = new String[] { field
71 public static final String[] PROJECTION = new String[] { ID, SRC_FOLDER_KEY }; field
121 final Cursor c = getCursor(cr, CONTENT_URI, ProjectionMoveQuery.PROJECTION, accountId); in getMoves()
230 final Cursor moveCursor = cr.query(CONTENT_URI, ProjectionLastSyncedMailboxQuery.PROJECTION, in getLastSyncedMailboxForMessage()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadIdleService.java100 final String[] PROJECTION = new String[] { field
119 StaleQuery.PROJECTION, Downloads.Impl.COLUMN_STATUS + " >= '200' AND " in cleanStale()
140 final String[] PROJECTION = new String[] { field
157 OrphanQuery.PROJECTION, null, null, null); in cleanOrphans()
/packages/apps/TV/src/com/android/tv/util/
DAsyncDbTask.java314 ChannelImpl.PROJECTION, in AsyncChannelQueryTask()
329 super(executor, context, Programs.CONTENT_URI, Program.PROJECTION, null, null, null); in AsyncProgramQueryTask()
344 Program.PROJECTION, in AsyncProgramQueryTask()
361 super(executor, context, uri, RecordedProgram.PROJECTION, null, null, null); in AsyncRecordedProgramQueryTask()
421 Program.PROJECTION, in AsyncQueryProgramTask()
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVoicemailsQueryHelper.java35 static final String[] PROJECTION = field in VoicemailsQueryHelper
91 Cursor cursor = contentResolver.query(sourceUri, PROJECTION, selection, null, null); in getLocalVoicemails()
222 cursor = contentResolver.query(sourceUri, PROJECTION, whereClause, whereArgs, null); in isVoicemailUnique()
265 contentResolver.query(sourceUri, PROJECTION, ARCHIVED_SELECTION, null, sortAndLimit)) { in oldestVoicemailsOnServer() argument
DVoicemailStatusQueryHelper.java29 static final String[] PROJECTION = field in VoicemailStatusQueryHelper
101 cursor = contentResolver.query(sourceUri, PROJECTION, whereClause, whereArgs, null); in isFieldEqualTo()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumbersUtil.java86 ContactsQuery.PROJECTION, in checkForSendToVoicemailContact()
137 PhoneQuery.PROJECTION, in importSendToVoicemailContacts()
334 static final String[] PROJECTION = {Contacts._ID}; field in FilteredNumbersUtil.ContactsQuery
343 public static final String[] PROJECTION = {Contacts._ID, Phone.NORMALIZED_NUMBER, Phone.NUMBER}; field in FilteredNumbersUtil.PhoneQuery
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalAlbum.java75 mProjection = LocalImage.PROJECTION; in LocalAlbum()
82 mProjection = LocalVideo.PROJECTION; in LocalAlbum()
176 projection = LocalImage.PROJECTION; in getMediaItemById()
180 projection = LocalVideo.PROJECTION; in getMediaItemById()
DLocalImage.java72 static final String[] PROJECTION = { field in LocalImage
96 PROJECTION[INDEX_WIDTH] = MediaColumns.WIDTH; in updateWidthAndHeightProjection()
97 PROJECTION[INDEX_HEIGHT] = MediaColumns.HEIGHT; in updateWidthAndHeightProjection()
118 Cursor cursor = LocalAlbum.getItemCursor(resolver, uri, PROJECTION, id); in LocalImage()
DSecureAlbum.java36 private static final String[] PROJECTION = {MediaColumns._ID}; field in SecureAlbum
138 Cursor cursor = mContext.getContentResolver().query(uri, PROJECTION, in queryExistingIds()
155 Cursor cursor = mContext.getContentResolver().query(uri, PROJECTION, in isCameraBucketEmpty()
/packages/apps/Contacts/tests/src/com/android/contacts/
DDynamicShortcutsTests.java288 .withProjection(DynamicShortcuts.PROJECTION)
292 populateQueryRows(query, DynamicShortcuts.PROJECTION.length, rows);
298 .withProjection(DynamicShortcuts.PROJECTION)
350 return queryResult(DynamicShortcuts.PROJECTION, values);
/packages/apps/Gallery2/src/com/android/photos/data/
DAlbumSetLoader.java17 public static final String[] PROJECTION = { field in AlbumSetLoader
31 MatrixCursor c = new MatrixCursor(PROJECTION, count); in createRandomCursor()
DPhotoSetLoader.java39 public static final String[] PROJECTION = new String[] { field in PhotoSetLoader
67 super(context, CONTENT_URI, PROJECTION, SELECTION, null, SORT_ORDER); in PhotoSetLoader()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogNotificationsQueryHelper.java308 private static final String[] PROJECTION = { field in CallLogNotificationsQueryHelper.DefaultNewCallsQuery
324 list.addAll(Arrays.asList(PROJECTION)); in Arrays.asList() argument
392 (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) ? PROJECTION_O : PROJECTION, in query()
431 (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) ? PROJECTION_O : PROJECTION, in queryUnreadVoicemail()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarDatabaseHelperTest.java453 private static final String[] PROJECTION = {"tbl_name", "sql"}; field in CalendarDatabaseHelperTest
463 Cursor goodCursor = mGoodDb.query(SQLITE_MASTER, PROJECTION, null, null, null, null, in testSchemasEqualForAllTables()
465 Cursor badCursor = mBadDb.query(SQLITE_MASTER, PROJECTION, null, null, null, null, in testSchemasEqualForAllTables()
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/
DChannelUtils.java53 String[] projections = new String[ChannelInfo.PROJECTION.length + 1]; in queryChannelInfoMapForTvInput()
55 System.arraycopy(ChannelInfo.PROJECTION, 0, projections, 1, ChannelInfo.PROJECTION.length); in queryChannelInfoMapForTvInput()
/packages/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java425 DeleteContactQuery.PROJECTION, in getDeletedContactCursor()
727 UpdatedContactQuery.PROJECTION, in updateSmartDialDatabase()
756 PhoneQuery.PROJECTION, in updateSmartDialDatabase()
1078 String[] PROJECTION = field
1135 String[] PROJECTION = field
1151 String[] PROJECTION = field
/packages/apps/Contacts/src/com/android/contacts/database/
DSimContactDaoImpl.java361 DataQuery.PROJECTION, in queryRawContactsForSimContacts()
380 AccountQuery.PROJECTION, in queryAccountsOfRawContacts()
444 public static final String[] PROJECTION = new String[] { field in SimContactDaoImpl.DataQuery
471 public static final String[] PROJECTION = new String[] { field in SimContactDaoImpl.AccountQuery
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoriesCursorLoader.java39 public static final String[] PROJECTION = { field in DirectoriesCursorLoader
54 PROJECTION, in DirectoriesCursorLoader()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetDatabaseHelper.java56 private static final String[] PROJECTION = { field in WidgetDatabaseHelper
237 cursor = db.query(TABLE_WIDGETS, PROJECTION, in getEntry()
258 cursor = db.query(TABLE_WIDGETS, PROJECTION, in getEntries()
/packages/apps/Dialer/java/com/android/incallui/legacyblocking/
DDeleteBlockedCallTask.java79 CallLogDeleteBlockedCallQuery.PROJECTION, in doInBackground() argument
116 static final String[] PROJECTION = new String[] {CallLog.Calls._ID, CallLog.Calls.DATE}; field in DeleteBlockedCallTask.CallLogDeleteBlockedCallQuery

1234