/frameworks/support/core-utils/java/android/support/v4/content/ |
H A D | CursorLoader.java | 129 public CursorLoader(Context context, Uri uri, String[] projection, String selection, argument 134 mProjection = projection; 198 public void setProjection(String[] projection) { argument 199 mProjection = projection;
|
H A D | FileProvider.java | 417 * @param projection The list of columns to put into the {@link Cursor}. If null all columns are 432 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 437 if (projection == null) { 438 projection = COLUMNS; 441 String[] cols = new String[projection.length]; 442 Object[] values = new Object[projection.length]; 444 for (String col : projection) {
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | Queries.java | 87 public Query(String[] projection, Uri contentFilter, Uri content) { argument 88 mProjection = projection;
|
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsProvider.java | 337 * @param projection list of {@link Root} columns to put into the cursor. If 340 public abstract Cursor queryRoots(String[] projection) throws FileNotFoundException; argument 351 * @param projection list of {@link Document} columns to put into the 357 public Cursor queryRecentDocuments(String rootId, String[] projection) argument 367 * @param projection list of {@link Document} columns to put into the 371 public abstract Cursor queryDocument(String documentId, String[] projection) argument 396 * @param projection list of {@link Document} columns to put into the 410 String parentDocumentId, String[] projection, String sortOrder) 416 String parentDocumentId, String[] projection, String sortOrder) 448 * @param projection lis 409 queryChildDocuments( String parentDocumentId, String[] projection, String sortOrder) argument 415 queryChildDocumentsForManage( String parentDocumentId, String[] projection, String sortOrder) argument 456 querySearchDocuments(String rootId, String query, String[] projection) argument 562 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument [all...] |
H A D | CalendarContract.java | 870 * @param projection the columns to return in the cursor 873 public static final Cursor query(ContentResolver cr, long eventId, String[] projection) { argument 875 return cr.query(CONTENT_URI, projection, ATTENDEES_WHERE, attArgs /* selection args */, 1744 * @param projection The columns to return 1751 public static final Cursor query(ContentResolver cr, String[] projection, argument 1756 return cr.query(builder.build(), projection, WHERE_CALENDARS_SELECTED, 1769 * @param projection The columns to return 1780 public static final Cursor query(ContentResolver cr, String[] projection, argument 1786 return cr.query(builder.build(), projection, WHERE_CALENDARS_SELECTED, 2026 * @param projection th 2030 query(ContentResolver cr, int startDay, int numDays, String[] projection) argument 2114 query(ContentResolver cr, long eventId, String[] projection) argument [all...] |
H A D | MediaStore.java | 846 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { argument 847 return cr.query(uri, projection, null, null, DEFAULT_SORT_ORDER); 850 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, argument 852 return cr.query(uri, projection, where, 856 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, argument 858 return cr.query(uri, projection, selection, 1049 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { argument 1050 return cr.query(uri, projection, null, null, DEFAULT_SORT_ORDER); 1054 String[] projection) { 1055 return cr.query(uri, projection, "kin 1053 queryMiniThumbnails(ContentResolver cr, Uri uri, int kind, String[] projection) argument 1058 queryMiniThumbnail(ContentResolver cr, long origId, int kind, String[] projection) argument 1969 query(ContentResolver cr, Uri uri, String[] projection) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | AsyncQueryHandler.java | 51 public String[] projection; field in class:AsyncQueryHandler.WorkerArgs 79 cursor = resolver.query(args.uri, args.projection, 151 * @param projection A list of which columns to return. Passing null will 165 String[] projection, String selection, String[] selectionArgs, 174 args.projection = projection; 164 startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument
|
H A D | ContentProviderOperation.java | 316 String[] projection = null; 318 // Build projection map from expected values 323 projection = projectionList.toArray(new String[projectionList.size()]); 325 final Cursor cursor = provider.query(mUri, projection, mSelection, selectionArgs, null); 328 if (projection != null) { 330 for (int i = 0; i < projection.length; i++) { 332 final String expectedValue = values.getAsString(projection[i]); 338 + projection[i]);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | MediaProjectionPermissionActivity.java | 26 import android.media.projection.IMediaProjection; 27 import android.media.projection.IMediaProjectionManager; 28 import android.media.projection.MediaProjectionManager; 91 Log.e(TAG, "Error checking projection permissions", e); 170 Log.e(TAG, "Error granting projection permission", e); 187 IMediaProjection projection = mService.createProjection(uid, packageName, 190 intent.putExtra(MediaProjectionManager.EXTRA_MEDIA_PROJECTION, projection.asBinder());
|
/frameworks/base/libs/hwui/ |
H A D | Program.cpp | 78 projection = addUniform("projection"); 157 glUniformMatrix4fv(projection, 1, GL_FALSE, &projectionMatrix.data[0]); 166 glUniformMatrix4fv(projection, 1, GL_FALSE, &p.data[0]);
|
/frameworks/base/media/java/android/media/projection/ |
H A D | MediaProjection.java | 17 package android.media.projection; 25 import android.media.projection.IMediaProjection; 26 import android.media.projection.IMediaProjectionCallback; 61 throw new RuntimeException("Failed to start media projection", e); 152 * Stops projection. 158 Log.e(TAG, "Unable to stop projection", e); 171 * Callbacks for the projection session.
|
H A D | MediaProjectionInfo.java | 17 package android.media.projection;
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SqliteWrapper.java | 57 String[] projection, String selection, String[] selectionArgs, String sortOrder) { 59 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); 56 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | IDisplayManager.aidl | 23 import android.media.projection.IMediaProjection;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | CastControllerImpl.java | 25 import android.media.projection.MediaProjectionInfo; 26 import android.media.projection.MediaProjectionManager; 178 final MediaProjectionInfo projection = (MediaProjectionInfo) device.tag; 179 if (Objects.equals(mProjectionManager.getActiveProjectionInfo(), projection)) { 182 Log.w(TAG, "Projection is no longer active: " + projection); 189 private void setProjection(MediaProjectionInfo projection, boolean started) { argument 193 final boolean isCurrent = Objects.equals(projection, mProjection); 195 mProjection = projection;
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | TrackerProvider.java | 111 public Cursor query(Uri uri, String[] projection, String selection, argument 115 Cursor cursor = db.query(TABLE_NAME, projection, selection,
|
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
H A D | SqliteWrapper.java | 69 String[] projection, String selection, String[] selectionArgs, String sortOrder) { 71 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); 68 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | FakeSmsContentProvider.java | 74 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, argument 78 return db.query(RAW_TABLE_NAME, projection, selection, selectionArgs, null, null,
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
H A D | StubProvider.java | 148 public Cursor queryRoots(String[] projection) throws FileNotFoundException { argument 149 final MatrixCursor result = new MatrixCursor(projection != null ? projection 165 public Cursor queryDocument(String documentId, String[] projection) argument 167 final MatrixCursor result = new MatrixCursor(projection != null ? projection 220 public Cursor queryChildDocumentsForManage(String parentDocumentId, String[] projection, argument 222 return queryChildDocuments(parentDocumentId, projection, sortOrder); 226 public Cursor queryChildDocuments(String parentDocumentId, String[] projection, String sortOrder) argument 232 final MatrixCursor result = new MatrixCursor(projection ! 247 queryRecentDocuments(String rootId, String[] projection) argument 255 querySearchDocuments(String rootId, String query, String[] projection) argument [all...] |
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 261 private static String[] resolveRootProjection(String[] projection) { argument 262 return projection != null ? projection : DEFAULT_ROOT_PROJECTION; 265 private static String[] resolveDocumentProjection(String[] projection) { argument 266 return projection != null ? projection : DEFAULT_DOCUMENT_PROJECTION; 398 public Cursor queryRoots(String[] projection) throws FileNotFoundException { argument 399 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection)); 532 public Cursor queryDocument(String documentId, String[] projection) argument 535 return mArchiveHelper.queryDocument(documentId, projection); 544 queryChildDocuments( String parentDocumentId, String[] projection, String sortOrder) argument 562 querySearchDocuments(String rootId, String query, String[] projection) argument [all...] |
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | SingleUserProvider.java | 35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/ |
H A D | SharingSupportProvider.java | 45 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/ |
H A D | SharingSupportProvider.java | 45 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayManagerService.java | 35 import android.media.projection.IMediaProjection; 36 import android.media.projection.IMediaProjectionManager; 561 IMediaProjection projection, int callingUid, String packageName, 571 callback, projection, callingUid, packageName, 1389 IMediaProjection projection, String packageName, String name, 1416 if (projection != null) { 1418 if (!getProjectionService().isValidMediaProjection(projection)) { 1419 throw new SecurityException("Invalid media projection"); 1421 flags = projection.applyVirtualDisplayFlags(flags); 1423 throw new SecurityException("unable to validate media projection o 560 createVirtualDisplayInternal(IVirtualDisplayCallback callback, IMediaProjection projection, int callingUid, String packageName, String name, int width, int height, int densityDpi, Surface surface, int flags) argument 1388 createVirtualDisplay(IVirtualDisplayCallback callback, IMediaProjection projection, String packageName, String name, int width, int height, int densityDpi, Surface surface, int flags) argument 1519 canProjectVideo(IMediaProjection projection) argument 1537 canProjectSecureVideo(IMediaProjection projection) argument [all...] |
/frameworks/ex/common/java/com/android/common/content/ |
H A D | SyncStateContentProviderHelper.java | 81 public Cursor query(SQLiteDatabase db, String[] projection, argument 83 return db.query(SYNC_STATE_TABLE, projection, selection, selectionArgs,
|