/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ProfileAndContactsLoader.java | 47 public void setProjection(String[] projection) { argument 48 super.setProjection(projection); 49 mProjection = projection;
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
H A D | Provider.java | 31 public Cursor query(Uri uri, String[] projection, argument
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
H A D | DeletedContactUtil.java | 36 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);
|
H A D | RawContactUtil.java | 44 long rawContactId, String[] projection) { 47 Cursor cursor = resolver.query(uri, projection, null, null, null); 57 String[] projection) { 59 Cursor cursor = resolver.query(uri, projection, null, null, null); 73 String[] projection = new String[]{ 77 projection); 43 queryByRawContactId(ContentResolver resolver, long rawContactId, String[] projection) argument 56 queryByContactId(ContentResolver resolver, long contactId, String[] projection) argument
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | JoinContactLoader.java | 71 public void setProjection(String[] projection) { argument 72 super.setProjection(projection); 73 this.mProjection = projection;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
H A D | NoNullCursorAsyncQueryHandler.java | 36 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 D | SaveVideoFileUtils.java | 61 String[] projection, ContentResolverQueryCallback callback) { 64 cursor = contentResolver.query(uri, projection, null, null, null); 108 String[] projection = new String[] { 116 querySource(contentResolver, uri, projection, 60 querySource(ContentResolver contentResolver, Uri uri, String[] projection, ContentResolverQueryCallback callback) argument
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
H A D | FileContentProvider.java | 80 public Cursor query(Uri uri, String[] projection, String selection, argument
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | SqlInjectionDetectionTest.java | 97 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/apps/Browser/src/com/android/browser/homepages/ |
H A D | HomeProvider.java | 64 public Cursor query(Uri uri, String[] projection, String selection,
argument
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | GroupMemberLoader.java | 89 private GroupMemberLoader(Context context, long groupId, String[] projection) { argument 93 setProjection(projection);
|
/packages/apps/Email/src/com/android/email/data/ |
H A D | ThrottlingCursorLoader.java | 37 public ThrottlingCursorLoader(Context context, Uri uri, String[] projection, String selection, argument 39 this(context, uri, projection, selection, selectionArgs, sortOrder, 44 public ThrottlingCursorLoader(Context context, Uri uri, String[] projection, String selection, argument 46 super(context, uri, projection, selection, selectionArgs, sortOrder);
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/ |
H A D | MockProvider.java | 139 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 141 if (selection != null || selectionArgs != null || sortOrder != null || projection == null) { 165 MatrixCursor cursor = new MatrixCursor(projection, 1); 167 Object[] rowValues = new Object[projection.length]; 169 for (String column: projection) {
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
H A D | MockProvider.java | 139 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 141 if (selection != null || selectionArgs != null || sortOrder != null || projection == null) { 165 MatrixCursor cursor = new MatrixCursor(projection, 1); 167 Object[] rowValues = new Object[projection.length]; 169 for (String column: projection) {
|
/packages/apps/Gallery2/tests/src/com/android/photos/data/ |
H A D | PhotoDatabaseTest.java | 217 private void validateTable(String table, String[] projection) { argument 219 Cursor cursor = db.query(table, projection, null, null, null, null, null); 222 assertEquals(cursor.getColumnCount(), projection.length); 223 for (int i = 0; i < projection.length; i++) { 224 assertEquals(cursor.getColumnName(i), projection[i]);
|
H A D | PhotoDatabaseUtils.java | 82 public static long queryId(SQLiteDatabase db, String table, String[] projection, argument 88 Cursor cursor = db.query(table, projection, selection, selectionArgs, null, null, null);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/tests/ |
H A D | CrashingIconProvider.java | 66 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | VoicemailTable.java | 40 public Cursor query(UriData uriData, String[] projection, String selection, argument
|
/packages/apps/Email/src/com/android/email/provider/ |
H A D | AttachmentProvider.java | 243 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 247 if (projection == null) { 248 projection = 278 MatrixCursor ret = new MatrixCursor(projection); 279 Object[] values = new Object[projection.length]; 280 for (int i = 0, count = projection.length; i < count; i++) { 281 String column = projection[i];
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
H A D | ContactStatusLoaderTest.java | 193 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
H A D | CropLoader.java | 224 private static void querySource(Context context, Uri sourceUri, String[] projection, argument 229 cursor = contentResolver.query(sourceUri, projection, null, null, 270 final String[] projection = new String[] { 274 querySource(context, sourceUri, projection,
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/ |
H A D | SharedImageProvider.java | 86 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument 91 if (projection == null) { 92 projection = new String[] { 105 MatrixCursor cursor = new MatrixCursor(projection); 106 Object[] columns = new Object[projection.length]; 107 for (int i = 0; i < projection.length; i++) { 108 if (projection[i].equalsIgnoreCase(BaseColumns._ID)) { 110 } else if (projection[i].equalsIgnoreCase(MediaStore.MediaColumns.DATA)) { 112 } else if (projection[i].equalsIgnoreCase(OpenableColumns.DISPLAY_NAME)) { 114 } else if (projection[ [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
H A D | SaveCopyTask.java | 229 private static void querySource(Context context, Uri sourceUri, String[] projection, argument 234 cursor = contentResolver.query(sourceUri, projection, null, null, 281 final String[] projection = new String[] { 285 querySource(context, sourceUri, projection,
|
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
H A D | GalleryProvider.java | 114 public Cursor query(Uri uri, String[] projection, argument 126 projection, selection, selectionArgs, sortOrder); 135 private Cursor queryPicasaItem(MediaObject image, String[] projection, argument 137 if (projection == null) projection = SUPPORTED_PICASA_COLUMNS; 138 Object[] columnValues = new Object[projection.length]; 143 for (int i = 0, n = projection.length; i < n; ++i) { 144 String column = projection[i]; 167 MatrixCursor cursor = new MatrixCursor(projection);
|
/packages/apps/Mms/src/com/android/mms/ |
H A D | TempFileProvider.java | 42 public Cursor query(Uri uri, String[] projection, argument
|