Home
last modified time | relevance | path

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

123

/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/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/calllog/
DDefaultVoicemailNotifier.java239 private static final String[] PROJECTION = { field in DefaultVoicemailNotifier.DefaultNewCallsQuery
258 cursor = mContentResolver.query(Calls.CONTENT_URI_WITH_VOICEMAIL, PROJECTION, in query()
305 private static final String[] PROJECTION = { PhoneLookup.DISPLAY_NAME }; field in DefaultVoicemailNotifier.DefaultNameLookupQuery
320 PROJECTION, null, null, null); in query()
/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.java75 static final String[] PROJECTION = { field in LocalImage
99 PROJECTION[INDEX_WIDTH] = MediaColumns.WIDTH; in updateWidthAndHeightProjection()
100 PROJECTION[INDEX_HEIGHT] = MediaColumns.HEIGHT; in updateWidthAndHeightProjection()
121 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/
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.java38 private static final String[] PROJECTION = {BaseColumns._ID, Contacts.DISPLAY_NAME}; field in ContactsBinaryDictionary
135 .query(uri, PROJECTION, null, null, null); in loadDictionaryAsyncForUri()
257 Contacts.CONTENT_URI, PROJECTION, null, null, null); in hasContentChanged()
/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()
DBookmarkWidgetConfigure.java119 static final String[] PROJECTION = new String[] { field in BookmarkWidgetConfigure.AccountsLoader
133 .build(), PROJECTION, null, null, null); in AccountsLoader()
/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()
DAccountsChangedReceiver.java33 private static final String[] PROJECTION = new String[] { field in AccountsChangedReceiver
56 Cursor c = cr.query(Accounts.CONTENT_URI, PROJECTION, in run()
DBrowserHistoryPage.java88 static final String[] PROJECTION = new String[] { field
122 HistoryQuery.PROJECTION, where, null, sort); in onCreateLoader()
132 HistoryQuery.PROJECTION, where, null, Combined.VISITS + " DESC"); in onCreateLoader()
/packages/apps/Email/src/com/android/email/activity/
DMailboxFragmentAdapter.java111 private static final String[] PROJECTION = new String[] { MailboxColumns.ID, field in MailboxFragmentAdapter
521 : PROJECTION, in MailboxFragmentLoader()
557 Mailbox.CONTENT_URI, PROJECTION, SYSTEM_MAILBOX_SELECTION, in loadInBackground()

123