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.java243 ImagesBucketQuery.PROJECTION, ImageColumns.BUCKET_ID + "=" + ident.id, in queryDocument()
252 ImageQuery.PROJECTION, BaseColumns._ID + "=" + ident.id, null, in queryDocument()
264 VideosBucketQuery.PROJECTION, VideoColumns.BUCKET_ID + "=" + ident.id, in queryDocument()
273 VideoQuery.PROJECTION, BaseColumns._ID + "=" + ident.id, null, in queryDocument()
285 ArtistQuery.PROJECTION, BaseColumns._ID + "=" + ident.id, null, in queryDocument()
294 AlbumQuery.PROJECTION, BaseColumns._ID + "=" + ident.id, null, in queryDocument()
303 SongQuery.PROJECTION, BaseColumns._ID + "=" + ident.id, null, in queryDocument()
332 ImagesBucketQuery.PROJECTION, null, null, ImagesBucketQuery.SORT_ORDER); in queryChildDocuments()
346 ImageQuery.PROJECTION, ImageColumns.BUCKET_ID + "=" + ident.id, in queryChildDocuments()
355 VideosBucketQuery.PROJECTION, null, null, VideosBucketQuery.SORT_ORDER); in queryChildDocuments()
[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/TV/usbtuner/src/com/android/usbtuner/tvinput/
DTunerRecordingSessionWorker.java390 private static final String[] PROJECTION = { field in TunerRecordingSessionWorker.Program
452 values.put(PROJECTION[0], mChannelId); in buildValues()
453 values.put(PROJECTION[1], mTitle); in buildValues()
454 values.put(PROJECTION[2], mEpisodeTitle); in buildValues()
455 values.put(PROJECTION[3], mSeasonNumber); in buildValues()
456 values.put(PROJECTION[4], mEpisodeNumber); in buildValues()
457 values.put(PROJECTION[5], mDescription); in buildValues()
458 values.put(PROJECTION[6], mPosterArtUri); in buildValues()
459 values.put(PROJECTION[7], mThumbnailUri); in buildValues()
460 values.put(PROJECTION[8], mCanonicalGenres); in buildValues()
[all …]
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailStatusHelperImpl.java49 public static final String[] PROJECTION = new String[NUM_COLUMNS]; field in VoicemailStatusHelperImpl
51 PROJECTION[SOURCE_PACKAGE_INDEX] = Status.SOURCE_PACKAGE;
52 PROJECTION[CONFIGURATION_STATE_INDEX] = Status.CONFIGURATION_STATE;
53 PROJECTION[DATA_CHANNEL_STATE_INDEX] = Status.DATA_CHANNEL_STATE;
54 PROJECTION[NOTIFICATION_CHANNEL_STATE_INDEX] = Status.NOTIFICATION_CHANNEL_STATE;
55 PROJECTION[SETTINGS_URI_INDEX] = Status.SETTINGS_URI;
56 PROJECTION[VOICEMAIL_ACCESS_URI_INDEX] = Status.VOICEMAIL_ACCESS_URI;
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/database/
DNoNullCursorAsyncQueryHandlerTest.java37 private static final String[] PROJECTION = new String[]{"column1", "column2"}; field in NoNullCursorAsyncQueryHandlerTest
76 handler.startQuery(1, null, URI, PROJECTION, null, null, null); in testCursorIsNotNull()
103 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null); in testCursorContainsCorrectCookies()
130 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null); in testCursorContainsCorrectColumns()
135 assertSame(PROJECTION, cursorHolder.obj.getColumnNames()); in testCursorContainsCorrectColumns()
/packages/apps/Contacts/src/com/android/contacts/
DGroupMemberLoader.java38 private static final String[] PROJECTION = new String[] { field in GroupMemberLoader.GroupEditorQuery
54 private static final String[] PROJECTION = new String[] { field in GroupMemberLoader.GroupDetailQuery
78 return new GroupMemberLoader(context, groupId, GroupEditorQuery.PROJECTION); in constructLoaderForGroupEditorQuery()
86 return new GroupMemberLoader(context, groupId, GroupDetailQuery.PROJECTION); in constructLoaderForGroupDetailQuery()
/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/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/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/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()
DSnoozeAlarmsService.java34 private static final String[] PROJECTION = new String[] { field in SnoozeAlarmsService
75 dismissValues.put(PROJECTION[COLUMN_INDEX_STATE], CalendarAlerts.STATE_DISMISSED); in onHandleIntent()
/packages/apps/Dialer/src/com/android/dialer/filterednumber/
DFilteredNumbersUtil.java96 static final String[] PROJECTION = { field in FilteredNumbersUtil.ContactsQuery
106 static final String[] PROJECTION = { field in FilteredNumbersUtil.PhoneQuery
133 ContactsQuery.PROJECTION, in checkForSendToVoicemailContact()
180 PhoneQuery.PROJECTION, in importSendToVoicemailContacts()
/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/src/com/android/dialer/calllog/
DCallLogNotificationsHelper.java225 private static final String[] PROJECTION = { field in CallLogNotificationsHelper.DefaultNewCallsQuery
264 PROJECTION, selection, selectionArgs, Calls.DEFAULT_SORT_ORDER)) { in query() argument
322 private static final String[] PROJECTION = { PhoneLookup.DISPLAY_NAME }; field in CallLogNotificationsHelper.DefaultNameLookupQuery
342 PROJECTION, null, null, null)) { in query() argument
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/
DVoicemailsQueryHelper.java36 final static String[] PROJECTION = new String[] { field in VoicemailsQueryHelper
98 Cursor cursor = mContentResolver.query(mSourceUri, PROJECTION, selection, null, null); in getLocalVoicemails()
213 mSourceUri, PROJECTION, whereClause, whereArgs, null); in isVoicemailUnique()
DVoicemailStatusQueryHelper.java31 final static String[] PROJECTION = new String[] { field in VoicemailStatusQueryHelper
100 mSourceUri, PROJECTION, whereClause, whereArgs, null); in isFieldEqualTo()
/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/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/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/
DChannelUtils.java56 String[] projections = new String[ChannelInfo.PROJECTION.length + 1]; in queryChannelInfoMapForTvInput()
58 System.arraycopy(ChannelInfo.PROJECTION, 0, projections, 1, ChannelInfo.PROJECTION.length); in queryChannelInfoMapForTvInput()
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DGroupingListAdapterTests.java40 static private final String[] PROJECTION = new String[] { field in GroupingListAdapterTests
94 mCursor = new MatrixCursor(PROJECTION); in buildCursor()

12345