Home
last modified time | relevance | path

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

123

/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java213 ImagesBucketQuery.PROJECTION, ImageColumns.BUCKET_ID + "=" + ident.id, in queryDocument()
222 ImageQuery.PROJECTION, BaseColumns._ID + "=" + ident.id, null, in queryDocument()
234 VideosBucketQuery.PROJECTION, VideoColumns.BUCKET_ID + "=" + ident.id, in queryDocument()
243 VideoQuery.PROJECTION, BaseColumns._ID + "=" + ident.id, null, in queryDocument()
255 ArtistQuery.PROJECTION, BaseColumns._ID + "=" + ident.id, null, in queryDocument()
264 AlbumQuery.PROJECTION, BaseColumns._ID + "=" + ident.id, null, in queryDocument()
273 SongQuery.PROJECTION, BaseColumns._ID + "=" + ident.id, null, in queryDocument()
302 ImagesBucketQuery.PROJECTION, null, null, ImagesBucketQuery.SORT_ORDER); in queryChildDocuments()
316 ImageQuery.PROJECTION, ImageColumns.BUCKET_ID + "=" + ident.id, in queryChildDocuments()
325 VideosBucketQuery.PROJECTION, null, null, VideosBucketQuery.SORT_ORDER); in queryChildDocuments()
[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/Browser/tests/src/com/android/browser/tests/
DBP2ProviderTests.java36 static final String[] PROJECTION = new String[] { field in BP2ProviderTests
86 PROJECTION, null, null, null); in doTestIsValidParent()
105 PROJECTION, null, null, null); in doTestIsValidParent()
125 PROJECTION, null, null, null); in doTestIsValidParent()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadIdleService.java81 final String[] PROJECTION = new String[] { field
100 StaleQuery.PROJECTION, Downloads.Impl.COLUMN_STATUS + " >= '200' AND " in cleanStale()
121 final String[] PROJECTION = new String[] { field
138 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/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/src/com/android/dialer/calllog/
DDefaultVoicemailNotifier.java254 private static final String[] PROJECTION = { field in DefaultVoicemailNotifier.DefaultNewCallsQuery
277 cursor = mContentResolver.query(Calls.CONTENT_URI_WITH_VOICEMAIL, PROJECTION, in query()
327 private static final String[] PROJECTION = { PhoneLookup.DISPLAY_NAME }; field in DefaultVoicemailNotifier.DefaultNameLookupQuery
342 PROJECTION, null, null, null); in query()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1761 final String[] PROJECTION = new String[] { in testInstanceSearchQuery() local
1826 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
1838 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
1850 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
1862 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
1874 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
1886 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
1898 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
1910 cursor = queryInstances(mResolver, PROJECTION, in testInstanceSearchQuery()
2539 final String[] PROJECTION = new String[] { in testInstanceQuery() local
[all …]
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/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DContactsBinaryDictionary.java44 private static final String[] PROJECTION = {BaseColumns._ID, Contacts.DISPLAY_NAME}; field in ContactsBinaryDictionary
148 cursor = mContext.getContentResolver().query(uri, PROJECTION, null, null, null); in loadDictionaryForUriLocked()
290 final Cursor cursor = mContext.getContentResolver().query(Contacts.CONTENT_URI, PROJECTION, in haveContentsChanged()
/packages/apps/Browser/src/com/android/browser/homepages/
DRequestHandler.java102 private static final String[] PROJECTION = new String[] { field in RequestHandler
112 History.CONTENT_URI, PROJECTION, SELECTION, in writeTemplatedIndex()
118 Bookmarks.CONTENT_URI, PROJECTION, SELECTION, in writeTemplatedIndex()
/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/Browser/src/com/android/browser/widget/
DBookmarkThumbnailWidgetService.java58 private static final String[] PROJECTION = new String[] { field in BookmarkThumbnailWidgetService
344 mBookmarks = mContext.getContentResolver().query(uri, PROJECTION, in loadBookmarks()
350 Cursor c = mContext.getContentResolver().query(uri, PROJECTION, in loadBookmarks()
/packages/apps/Dialer/src/com/android/dialer/database/
DDialerDatabaseHelper.java131 static final String[] PROJECTION = new String[] { field
183 static final String[] PROJECTION = new String[] { field
524 DeleteContactQuery.PROJECTION, in removeDeletedContacts()
773 PhoneQuery.PROJECTION, PhoneQuery.SELECTION, in updateSmartDialDatabase()
/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/Browser/src/com/android/browser/
DBookmarksLoader.java38 public static final String[] PROJECTION = new String[] { field in BookmarksLoader
56 PROJECTION, null, null, null); in BookmarksLoader()

123