/frameworks/base/test-mock/src/android/test/mock/ |
H A D | MockContentProvider.java | 101 public Cursor query(String callingPackage, Uri url, @Nullable String[] projection, argument 105 return MockContentProvider.this.query(url, projection, queryArgs, null); 216 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
|
H A D | MockIContentProvider.java | 89 public Cursor query(String callingPackage, Uri url, @Nullable String[] projection, argument
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayManagerGlobal.java | 24 import android.media.projection.IMediaProjection; 25 import android.media.projection.MediaProjection; 399 public VirtualDisplay createVirtualDisplay(Context context, MediaProjection projection, argument 411 IMediaProjection projectionToken = projection != null ? projection.getProjection() : null;
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | VirtualDisplayAdapter.java | 32 import android.media.projection.IMediaProjection; 33 import android.media.projection.IMediaProjectionCallback; 87 IMediaProjection projection, int ownerUid, String ownerPackageName, String name, 107 if (projection != null) { 108 projection.registerCallback(new MediaProjectionCallback(appToken)); 180 Slog.i(TAG, "Virtual display device released because media projection stopped: " 86 createVirtualDisplayLocked(IVirtualDisplayCallback callback, IMediaProjection projection, int ownerUid, String ownerPackageName, String name, int width, int height, int densityDpi, Surface surface, int flags, String uniqueId) argument
|
H A D | DisplayManagerService.java | 55 import android.media.projection.IMediaProjection; 56 import android.media.projection.IMediaProjectionManager; 739 IMediaProjection projection, int callingUid, String packageName, String name, int width, 749 callback, projection, callingUid, packageName, name, width, height, densityDpi, 1782 IMediaProjection projection, String packageName, String name, 1816 if (projection != null) { 1818 if (!getProjectionService().isValidMediaProjection(projection)) { 1819 throw new SecurityException("Invalid media projection"); 1821 flags = projection.applyVirtualDisplayFlags(flags); 1823 throw new SecurityException("unable to validate media projection o 738 createVirtualDisplayInternal(IVirtualDisplayCallback callback, IMediaProjection projection, int callingUid, String packageName, String name, int width, int height, int densityDpi, Surface surface, int flags, String uniqueId) argument 1781 createVirtualDisplay(IVirtualDisplayCallback callback, IMediaProjection projection, String packageName, String name, int width, int height, int densityDpi, Surface surface, int flags, String uniqueId) argument 2090 canProjectVideo(IMediaProjection projection) argument 2108 canProjectSecureVideo(IMediaProjection projection) argument [all...] |
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 293 private static String[] resolveRootProjection(String[] projection) { argument 294 return projection != null ? projection : DEFAULT_ROOT_PROJECTION; 434 public Cursor queryRoots(String[] projection) throws FileNotFoundException { argument 435 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection)); 541 public Cursor querySearchDocuments(String rootId, String query, String[] projection) argument 548 return querySearchDocuments(parent, query, projection, Collections.emptySet());
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 209 public Cursor query(String callingPkg, Uri uri, @Nullable String[] projection, argument 220 if (projection != null) { 221 return new MatrixCursor(projection, 0); 224 // Null projection means all columns but we have no idea which they are. 229 uri, projection, queryArgs, 241 uri, projection, queryArgs, 936 projection, // Which columns to return. 957 projection, 970 * @param projection The list of columns to put into the cursor. If 981 public abstract @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, argument 1052 query(@onNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) argument 1136 query(@onNull Uri uri, @Nullable String[] projection, @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) argument [all...] |
H A D | ContentProviderNative.java | 86 // String[] projection 88 String[] projection = null; 90 projection = new String[num]; 92 projection[i] = data.readString(); 102 Cursor cursor = query(callingPkg, url, projection, queryArgs, cancellationSignal); 392 public Cursor query(String callingPkg, Uri url, @Nullable String[] projection, argument 404 if (projection != null) { 405 length = projection.length; 409 data.writeString(projection[i]);
|
H A D | ContentResolver.java | 267 * <p>Columns present in this list must also be included in the projection 682 * <li>Provide an explicit projection, to prevent 693 * @param projection A list of which columns to return. Passing null will 708 @Nullable String[] projection, @Nullable String selection, 710 return query(uri, projection, selection, selectionArgs, sortOrder, null); 719 * <li>Provide an explicit projection, to prevent 730 * @param projection A list of which columns to return. Passing null will 748 @Nullable String[] projection, @Nullable String selection, 752 return query(uri, projection, queryArgs, cancellationSignal); 761 * <li>Provide an explicit projection, t 707 query(@equiresPermission.Read @onNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder) argument 747 query(@equiresPermission.Read @onNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) argument 782 query(final @RequiresPermission.Read @NonNull Uri uri, @Nullable String[] projection, @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) argument 2914 maybeLogQueryToEventLog( long durationMillis, Uri uri, String[] projection, @Nullable Bundle queryArgs) argument [all...] |
H A D | IContentProvider.java | 38 public Cursor query(String callingPkg, Uri url, @Nullable String[] projection, argument
|
/frameworks/support/slices/core/src/main/java/androidx/slice/ |
H A D | SliceProvider.java | 327 public final Cursor query(@NonNull Uri uri, @Nullable String[] projection, argument 336 public final Cursor query(@NonNull Uri uri, @Nullable String[] projection, argument 344 public final Cursor query(@NonNull Uri uri, @Nullable String[] projection, argument
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
H A D | TestFontsProvider.java | 76 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, argument
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardComposer.java | 320 * contentUri, projection, selection, selectionArgs, sortOrder); 336 * @param projection projection used with 350 public boolean init(final Uri contentUri, final String[] projection, argument 362 if (!initInterCursorCreationPart(contentUri, projection, selection, selectionArgs, 413 final Uri contentUri, final String[] projection, 417 contentUri, projection, selection, selectionArgs, sortOrder); 412 initInterCursorCreationPart( final Uri contentUri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder) argument
|
/frameworks/base/telephony/java/android/provider/ |
H A D | Telephony.java | 305 public static Cursor query(ContentResolver cr, String[] projection) { argument 306 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER); 313 public static Cursor query(ContentResolver cr, String[] projection, argument 315 return cr.query(CONTENT_URI, projection, where, 2017 ContentResolver cr, String[] projection) { 2018 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER); 2026 ContentResolver cr, String[] projection, 2028 return cr.query(CONTENT_URI, projection, 2016 query( ContentResolver cr, String[] projection) argument 2025 query( ContentResolver cr, String[] projection, String where, String orderBy) argument
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | Intents.java | 38 public static final String EXTRA_PROJECTION = "projection"; 116 /** The projection for the query to use; optional */ 187 /** Sets the query projection */ 188 public PhotoViewIntentBuilder setProjection(String[] projection) { argument 189 mProjection = projection;
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
H A D | Content.java | 67 * adb shell content query --uri content://settings/secure --projection name:value 107 + " [--projection <PROJECTION>] [--where <WHERE>] [--sort <SORT_ORDER>]\n" 114 + " adb shell content query --uri content://settings/secure --projection name:value" 149 private static final String ARGUMENT_PROJECTION = "--projection"; 368 String[] projection = null; 381 projection = argumentValueRequired(argument).split("[\\s]*:[\\s]*"); 390 return new QueryCommand(uri, userId, projection, where, sort); 611 Uri uri, int userId, String[] projection, String where, String sortOrder) { 613 mProjection = projection; 610 QueryCommand( Uri uri, int userId, String[] projection, String where, String sortOrder) argument
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | ContentProviderOperationTest.java | 144 public Cursor query(Uri uri, String[] projection, String selection, 163 public Cursor query(Uri uri, String[] projection, String selection, 179 public Cursor query(Uri uri, String[] projection, String selection, 195 public Cursor query(Uri uri, String[] projection, String selection, 529 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
|
/frameworks/rs/script_api/ |
H A D | rs_matrix.spec | 60 Computes 6 frustum planes from the view projection matrix 262 summary: Load a frustum projection matrix 264 Constructs a frustum projection matrix, transforming the box identified by 267 To apply this projection to a vector, multiply the vector by the created 312 summary: Load an orthographic projection matrix 314 Constructs an orthographic projection matrix, transforming the box identified by the 318 To apply this projection to a vector, multiply the vector by the created matrix 332 summary: Load a perspective projection matrix 334 Constructs a perspective projection matrix, assuming a symmetrical field of view. 336 To apply this projection t [all...] |
/frameworks/base/media/java/android/media/ |
H A D | RingtoneManager.java | 682 String[] projection, 686 return query(uri, projection, selection, selectionArgs, sortOrder, mContext); 690 String[] projection, 696 return mActivity.managedQuery(uri, projection, selection, selectionArgs, sortOrder); 698 return context.getContentResolver().query(uri, projection, selection, selectionArgs, 755 final String[] projection = {MediaStore.Audio.Media.DATA}; 759 try (Cursor cursor = query(uri, projection, constructBooleanTrueWhereClause(mFilterColumns), 681 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 689 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, Context context) argument
|
/frameworks/base/core/java/android/app/slice/ |
H A D | SliceProvider.java | 323 public final Cursor query(Uri uri, String[] projection, String selection, argument 330 public final Cursor query(Uri uri, String[] projection, String selection, String[] argument 337 public final Cursor query(Uri uri, String[] projection, Bundle queryArgs, argument
|
/frameworks/support/tv-provider/src/androidTest/java/androidx/tvprovider/media/tv/ |
H A D | ProgramTest.java | 264 private static MatrixCursor getProgramCursor(String[] projection, ContentValues contentValues) { argument 265 MatrixCursor cursor = new MatrixCursor(projection); 267 for (String row : projection) {
|
H A D | WatchNextProgramTest.java | 355 private static MatrixCursor getProgramCursor(String[] projection, ContentValues contentValues) { argument 356 MatrixCursor cursor = new MatrixCursor(projection); 358 for (String col : projection) {
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
H A D | MbmsTempFileProvider.java | 53 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsNumberUtils.java | 249 String projection[] = {MccIdd.IDD, MccIdd.MCC}; 262 cursor = context.getContentResolver().query(MccIdd.CONTENT_URI, projection, 465 String projection[] = {MccLookup.COUNTRY_CODE}; 467 projection, null, null, null);
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | ExportTestProvider.java | 114 public Cursor query(Uri uri,String[] projection, argument
|