/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/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]);
|
H A D | ContentProviderClient.java | 124 public @Nullable Cursor query(@NonNull Uri url, @Nullable String[] projection, argument 127 return query(url, projection, selection, selectionArgs, sortOrder, null); 131 public @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, argument 137 return query(uri, projection, queryArgs, cancellationSignal); 141 public @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, argument 155 mPackageName, uri, projection, queryArgs, remoteCancellationSignal);
|
/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/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | MtpDocumentsProvider.java | 165 public Cursor queryRoots(String[] projection) throws FileNotFoundException { argument 166 if (projection == null) { 167 projection = MtpDocumentsProvider.DEFAULT_ROOT_PROJECTION; 169 final Cursor cursor = mDatabase.queryRoots(mResources, projection); 176 public Cursor queryDocument(String documentId, String[] projection) argument 178 if (projection == null) { 179 projection = MtpDocumentsProvider.DEFAULT_DOCUMENT_PROJECTION; 181 final Cursor cursor = mDatabase.queryDocument(documentId, projection); 198 return mDatabase.queryDocument(documentId, projection); 226 final MatrixCursor output = new MatrixCursor(projection, 235 queryChildDocuments(String parentDocumentId, String[] projection, String sortOrder) argument 711 createErrorCursor(String[] projection, int stringResId) argument [all...] |
/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); 153 * Stops projection. 159 Log.e(TAG, "Unable to stop projection", e); 172 * 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 | 75 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, argument 79 return db.query(RAW_TABLE_NAME, projection, selection, selectionArgs, null, null,
|
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsProvider.java | 439 * @param projection list of {@link Root} columns to put into the cursor. If 442 public abstract Cursor queryRoots(String[] projection) throws FileNotFoundException; argument 453 * @param projection list of {@link Document} columns to put into the 459 public Cursor queryRecentDocuments(String rootId, String[] projection) argument 469 * @param projection list of {@link Document} columns to put into the 476 public abstract Cursor queryDocument(String documentId, String[] projection) argument 504 * @param projection list of {@link Document} columns to put into the 521 String parentDocumentId, String[] projection, String sortOrder) 545 * @param projection list of {@link Document} columns to put into the 563 String parentDocumentId, @Nullable String[] projection, 520 queryChildDocuments( String parentDocumentId, String[] projection, String sortOrder) argument 562 queryChildDocuments( String parentDocumentId, @Nullable String[] projection, @Nullable Bundle queryArgs) argument 572 queryChildDocumentsForManage( String parentDocumentId, @Nullable String[] projection, @Nullable String sortOrder) argument 614 querySearchDocuments(String rootId, String query, String[] projection) argument 741 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 759 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument 776 query( Uri uri, String[] projection, Bundle queryArgs, CancellationSignal cancellationSignal) 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 | 862 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { argument 863 return cr.query(uri, projection, null, null, DEFAULT_SORT_ORDER); 866 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, argument 868 return cr.query(uri, projection, where, 872 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, argument 874 return cr.query(uri, projection, selection, 1065 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { argument 1066 return cr.query(uri, projection, null, null, DEFAULT_SORT_ORDER); 1070 String[] projection) { 1071 return cr.query(uri, projection, "kin 1069 queryMiniThumbnails(ContentResolver cr, Uri uri, int kind, String[] projection) argument 1074 queryMiniThumbnail(ContentResolver cr, long origId, int kind, String[] projection) argument 1986 query(ContentResolver cr, Uri uri, 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/core/java/com/android/internal/content/ |
H A D | FileSystemProvider.java | 277 public Cursor queryDocument(String documentId, String[] projection) argument 279 final MatrixCursor result = new MatrixCursor(resolveProjection(projection)); 286 String parentDocumentId, String[] projection, String sortOrder) 291 resolveProjection(projection), parentDocumentId, parent); 305 * @param projection projection of the returned cursor 311 File folder, String query, String[] projection, Set<String> exclusion) 315 final MatrixCursor result = new MatrixCursor(resolveProjection(projection)); 446 private String[] resolveProjection(String[] projection) { argument 447 return projection 285 queryChildDocuments( String parentDocumentId, String[] projection, String sortOrder) argument 310 querySearchDocuments( File folder, String query, String[] projection, Set<String> exclusion) argument [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayManagerService.java | 44 import android.media.projection.IMediaProjection; 45 import android.media.projection.IMediaProjectionManager; 622 IMediaProjection projection, int callingUid, String packageName, String name, int width, 632 callback, projection, callingUid, packageName, name, width, height, densityDpi, 1517 IMediaProjection projection, String packageName, String name, 1551 if (projection != null) { 1553 if (!getProjectionService().isValidMediaProjection(projection)) { 1554 throw new SecurityException("Invalid media projection"); 1556 flags = projection.applyVirtualDisplayFlags(flags); 1558 throw new SecurityException("unable to validate media projection o 621 createVirtualDisplayInternal(IVirtualDisplayCallback callback, IMediaProjection projection, int callingUid, String packageName, String name, int width, int height, int densityDpi, Surface surface, int flags, String uniqueId) argument 1516 createVirtualDisplay(IVirtualDisplayCallback callback, IMediaProjection projection, String packageName, String name, int width, int height, int densityDpi, Surface surface, int flags, String uniqueId) argument 1648 canProjectVideo(IMediaProjection projection) argument 1666 canProjectSecureVideo(IMediaProjection projection) argument [all...] |
/frameworks/support/core-utils/java/android/support/v4/content/ |
H A D | FileProvider.java | 418 * @param projection The list of columns to put into the {@link Cursor}. If null all columns are 433 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 438 if (projection == null) { 439 projection = COLUMNS; 442 String[] cols = new String[projection.length]; 443 Object[] values = new Object[projection.length]; 445 for (String col : projection) {
|
/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,
|