Searched defs:projection (Results 1 - 25 of 103) sorted by relevance

12345

/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/mock/
H A DSimpleMockContentProvider.java35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastSearchIndexableProvider.java55 public Cursor queryXmlResources(String[] projection) { argument
73 public Cursor queryRawData(String[] projection) { argument
79 public Cursor queryNonIndexableKeys(String[] projection) { argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DProfileAndContactsLoader.java47 public void setProjection(String[] projection) { argument
48 super.setProjection(projection);
49 mProjection = projection;
/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DBoundCursorLoader.java33 final String[] projection, final String selection, final String[] selectionArgs,
35 super(context, uri, projection, selection, selectionArgs, sortOrder);
32 BoundCursorLoader(final String bindingId, final Context context, final Uri uri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder) argument
H A DCursorQueryData.java44 public CursorQueryData(final Context context, final Uri uri, final String[] projection, argument
48 mProjection = projection;
H A DFrequentContactsCursorQueryData.java40 String[] projection, String selection, String[] selectionArgs, String sortOrder) {
41 super(bindingId, context, uri, projection, selection, selectionArgs, sortOrder);
102 public FrequentContactsCursorQueryData(Context context, String[] projection, argument
105 super(context, Contacts.CONTENT_STREQUENT_URI, projection, selection, selectionArgs,
39 FrequentContactsCursorLoader(String bindingId, Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
H A DMediaScratchFileProvider.java101 public Cursor query(final Uri uri, final String[] projection, final String selection, argument
103 if (projection != null && projection.length > 0 &&
104 TextUtils.equals(projection[0], OpenableColumns.DISPLAY_NAME) &&
/packages/apps/Settings/src/com/android/settings/search/
H A DSettingsSearchIndexablesProvider.java47 public Cursor queryXmlResources(String[] projection) { argument
65 public Cursor queryRawData(String[] projection) { argument
71 public Cursor queryNonIndexableKeys(String[] projection) { argument
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
H A DProvider.java31 public Cursor query(Uri uri, String[] projection, argument
/packages/providers/BookmarkProvider/src/com/android/bookmarkstore/
H A DBookmarkProvider.java59 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
H A DDeletedContactUtil.java36 String[] projection = new String[]{
40 Cursor cursor = resolver.query(uri, projection, null, null, null);
48 String[] projection = new String[] {
51 Cursor cursor = resolver.query(URI, projection, null, null, null);
64 public static List<String[]> query(ContentResolver resolver, String[] projection) { argument
65 Cursor cursor = resolver.query(URI, projection, null, null, null);
74 public static List<String[]> querySinceTimestamp(ContentResolver resolver, String[] projection, argument
78 Cursor cursor = resolver.query(URI, projection, selection, args, null);
/packages/services/Telephony/src/com/android/phone/
H A DPhoneSearchIndexablesProvider.java51 public Cursor queryXmlResources(String[] projection) { argument
69 public Cursor queryRawData(String[] projection) { argument
74 public Cursor queryNonIndexableKeys(String[] projection) { argument
/packages/apps/Camera2/src/com/android/camera/data/
H A DFilmstripContentQueries.java55 * @param projection the columns to extract
62 Uri contentUri, String[] projection, long minimumId, String orderBy,
67 Cursor cursor = contentResolver.query(contentUri, projection,
61 forCameraPath(ContentResolver contentResolver, Uri contentUri, String[] projection, long minimumId, String orderBy, CursorToFilmstripItemFactory<I> factory) argument
/packages/apps/Contacts/src/com/android/contacts/list/
H A DJoinContactLoader.java75 public void setProjection(String[] projection) { argument
76 super.setProjection(projection);
77 this.mProjection = projection;
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/
H A DNoNullCursorAsyncQueryHandler.java36 public void startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, argument
38 final CookieWithProjection projectionCookie = new CookieWithProjection(cookie, projection);
39 super.startQuery(token, projectionCookie, uri, projection, selection, selectionArgs,
50 cursor = new EmptyCursor(projectionCookie.projection);
58 * Class to add projection to an existing cookie.
62 public final String[] projection; field in class:NoNullCursorAsyncQueryHandler.CookieWithProjection
64 public CookieWithProjection(Object cookie, String[] projection) { argument
66 this.projection = projection;
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DSaveVideoFileUtils.java58 String[] projection, ContentResolverQueryCallback callback) {
61 cursor = contentResolver.query(uri, projection, null, null, null);
107 String[] projection = new String[] {
115 querySource(contentResolver, uri, projection,
57 querySource(ContentResolver contentResolver, Uri uri, String[] projection, ContentResolverQueryCallback callback) argument
/packages/apps/Messaging/src/com/android/messaging/mmslib/
H A DSqliteWrapper.java38 String[] projection, String selection, String[] selectionArgs, String sortOrder) {
40 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
37 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DUIProviderValidator.java35 * Validates and returns the projection that can be used for an account query.
37 public static String[] validateAccountProjection(String[] projection) { argument
38 return getValidProjection(projection, UIProvider.ACCOUNTS_PROJECTION);
42 * Validates and returns the projection that can be used for a folder query.
44 public static String[] validateFolderProjection(String[] projection) { argument
45 return getValidProjection(projection, UIProvider.FOLDERS_PROJECTION);
49 * Validates and returns the projection that can be used for a account cookie query.
51 public static String[] validateAccountCookieProjection(String[] projection) { argument
52 return getValidProjection(projection, UIProvider.ACCOUNT_COOKIE_PROJECTION);
56 * Validates and returns the projection tha
58 validateConversationProjection(String[] projection) argument
65 validateMessageProjection(String[] projection) argument
72 validateAttachmentProjection(String[] projection) argument
95 isValidProjection(String[] projection, Set<String> validColumns) argument
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DSqlInjectionDetectionTest.java97 private void assertQueryValid(final Uri uri, final String[] projection, argument
99 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder);
104 final String[] projection, final String selection, final String sortOrder) {
108 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder);
103 assertQueryThrows(Class<T> exception, final Uri uri, final String[] projection, final String selection, final String sortOrder) argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
H A DNullContentProvider.java31 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DMmsFileProvider.java55 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
/packages/apps/Browser/src/com/android/browser/homepages/
H A DHomeProvider.java64 public Cursor query(Uri uri, String[] projection, String selection, argument
/packages/apps/Contacts/src/com/android/contacts/
H A DGroupMemberLoader.java89 private GroupMemberLoader(Context context, long groupId, String[] projection) { argument
93 setProjection(projection);
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DMockProvider.java142 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
144 if (selection != null || selectionArgs != null || sortOrder != null || projection == null) {
168 MatrixCursor cursor = new MatrixCursor(projection, 1);
170 Object[] rowValues = new Object[projection.length];
172 for (String column: projection) {
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/tests/
H A DCrashingIconProvider.java66 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument

Completed in 2235 milliseconds

12345