Home
last modified time | relevance | path

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

12345

/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java244 ImagesBucketQuery.PROJECTION, ImageColumns.BUCKET_ID + "=?", in queryDocument()
253 ImageQuery.PROJECTION, BaseColumns._ID + "=?", queryArgs, in queryDocument()
265 VideosBucketQuery.PROJECTION, VideoColumns.BUCKET_ID + "=?", in queryDocument()
274 VideoQuery.PROJECTION, BaseColumns._ID + "=?", queryArgs, in queryDocument()
286 ArtistQuery.PROJECTION, BaseColumns._ID + "=?", queryArgs, in queryDocument()
295 AlbumQuery.PROJECTION, BaseColumns._ID + "=?", queryArgs, in queryDocument()
304 SongQuery.PROJECTION, BaseColumns._ID + "=?", queryArgs, in queryDocument()
334 ImagesBucketQuery.PROJECTION, null, null, ImagesBucketQuery.SORT_ORDER); in queryChildDocuments()
348 ImageQuery.PROJECTION, ImageColumns.BUCKET_ID + "=?", in queryChildDocuments()
357 VideosBucketQuery.PROJECTION, null, null, VideosBucketQuery.SORT_ORDER); in queryChildDocuments()
[all …]
/packages/apps/TV/src/com/android/tv/tuner/tvinput/
DTunerRecordingSessionWorker.java414 private static final String[] PROJECTION = { field in TunerRecordingSessionWorker.Program
451 SoftPreconditions.checkArgument(index == PROJECTION.length); in Program()
484 values.put(PROJECTION[index++], mChannelId); in buildValues()
485 values.put(PROJECTION[index++], mTitle); in buildValues()
486 values.put(PROJECTION[index++], mSeasonTitle); in buildValues()
487 values.put(PROJECTION[index++], mEpisodeTitle); in buildValues()
488 values.put(PROJECTION[index++], mSeasonNumber); in buildValues()
489 values.put(PROJECTION[index++], mEpisodeNumber); in buildValues()
490 values.put(PROJECTION[index++], mDescription); in buildValues()
491 values.put(PROJECTION[index++], mPosterArtUri); in buildValues()
[all …]
/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/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/TV/src/com/android/tv/util/
DAsyncDbTask.java277 super(contentResolver, TvContract.Channels.CONTENT_URI, Channel.PROJECTION, in AsyncChannelQueryTask()
292 super(contentResolver, Programs.CONTENT_URI, Program.PROJECTION, null, null, null); in AsyncProgramQueryTask()
297 super(contentResolver, uri, Program.PROJECTION, selection, selectionArgs, sortOrder, in AsyncProgramQueryTask()
313 super(contentResolver, uri, RecordedProgram.PROJECTION, null, null, null); in AsyncRecordedProgramQueryTask()
366 super(contentResolver, TvContract.buildProgramUri(programId), Program.PROJECTION, null, in AsyncQueryProgramTask()
/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/Dialer/java/com/android/voicemail/impl/sync/
DVoicemailsQueryHelper.java37 static final String[] PROJECTION = field in VoicemailsQueryHelper
104 Cursor cursor = mContentResolver.query(mSourceUri, PROJECTION, selection, null, null); in getLocalVoicemails()
235 cursor = mContentResolver.query(mSourceUri, PROJECTION, whereClause, whereArgs, null); in isVoicemailUnique()
279 mContentResolver.query(mSourceUri, PROJECTION, ARCHIVED_SELECTION, null, sortAndLimit)) { in oldestVoicemailsOnServer() argument
DVoicemailStatusQueryHelper.java29 static final String[] PROJECTION = field in VoicemailStatusQueryHelper
101 cursor = mContentResolver.query(mSourceUri, 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()
329 static final String[] PROJECTION = {Contacts._ID}; field in FilteredNumbersUtil.ContactsQuery
338 public static final String[] PROJECTION = {Contacts._ID, Phone.NORMALIZED_NUMBER, Phone.NUMBER}; field in FilteredNumbersUtil.PhoneQuery
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertActivity.java56 private static final String[] PROJECTION = new String[] { field in AlertActivity
98 values.put(PROJECTION[INDEX_STATE], CalendarAlerts.STATE_DISMISSED); in dismissFiredAlarms()
127 values.put(PROJECTION[INDEX_STATE], CalendarAlerts.STATE_DISMISSED); in dismissAlarm()
236 mQueryHandler.startQuery(0, null, uri, PROJECTION, SELECTION, SELECTIONARG, in onResume()
/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/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java376 DeleteContactQuery.PROJECTION, in getDeletedContactCursor()
650 UpdatedContactQuery.PROJECTION, in updateSmartDialDatabase()
679 PhoneQuery.PROJECTION, in updateSmartDialDatabase()
1000 String[] PROJECTION = field
1057 String[] PROJECTION = field
1073 String[] PROJECTION = field
/packages/apps/Contacts/tests/src/com/android/contacts/
DDynamicShortcutsTests.java287 .withProjection(DynamicShortcuts.PROJECTION)
291 populateQueryRows(query, DynamicShortcuts.PROJECTION.length, rows);
297 .withProjection(DynamicShortcuts.PROJECTION)
349 return queryResult(DynamicShortcuts.PROJECTION, values);
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectVisibleCalendarsFragment.java50 private static final String[] PROJECTION = new String[] { field in SelectVisibleCalendarsFragment
151 mService.startQuery(mQueryToken, null, Calendars.CONTENT_URI, PROJECTION, SELECTION, in onResume()
174 mService.startQuery(mQueryToken, null, Calendars.CONTENT_URI, PROJECTION, SELECTION, in eventsChanged()
DCalendarColorCache.java43 private static String[] PROJECTION = new String[] {Colors.ACCOUNT_NAME, Colors.ACCOUNT_TYPE }; field in CalendarColorCache
77 mService.startQuery(0, null, Colors.CONTENT_URI, PROJECTION, in CalendarColorCache()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DChannelUtils.java55 String[] projections = new String[ChannelInfo.PROJECTION.length + 1]; in queryChannelInfoMapForTvInput()
57 System.arraycopy(ChannelInfo.PROJECTION, 0, projections, 1, ChannelInfo.PROJECTION.length); in queryChannelInfoMapForTvInput()
/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()
DCalendarProvider2Test.java1774 final String[] PROJECTION = new String[] { in testInstanceSearchQuery() local
1839 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
1851 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
1863 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
1875 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
1887 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
1899 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
1911 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
1923 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
2603 final String[] PROJECTION = new String[] { in testInstanceQuery() local
[all …]
/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/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/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()

12345