/frameworks/base/media/java/android/media/projection/ |
D | IMediaProjectionManager.aidl | 17 package android.media.projection; 19 import android.media.projection.IMediaProjection; 20 import android.media.projection.IMediaProjectionCallback; 21 import android.media.projection.IMediaProjectionWatcherCallback; 22 import android.media.projection.MediaProjectionInfo; 31 boolean isValidMediaProjection(IMediaProjection projection); in isValidMediaProjection() argument
|
D | IMediaProjectionWatcherCallback.aidl | 17 package android.media.projection; 19 import android.media.projection.MediaProjectionInfo;
|
D | IMediaProjection.aidl | 17 package android.media.projection; 19 import android.media.projection.IMediaProjectionCallback;
|
D | MediaProjectionManager.java | 17 package android.media.projection; 115 IBinder projection = resultData.getIBinderExtra(EXTRA_MEDIA_PROJECTION); in getMediaProjection() local 116 if (projection == null) { in getMediaProjection() 119 return new MediaProjection(mContext, IMediaProjection.Stub.asInterface(projection)); in getMediaProjection()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportStorageProvider.java | 60 public Cursor queryRoots(String[] projection) throws FileNotFoundException { in queryRoots() argument 61 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection)); in queryRoots() 73 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument 75 final Cursor c = super.queryChildDocuments(parentDocumentId, projection, sortOrder); in queryChildDocuments() 84 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument 87 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); in queryDocument() 91 return super.queryDocument(documentId, projection); in queryDocument() 111 private static String[] resolveRootProjection(String[] projection) { in resolveRootProjection() argument 112 return projection != null ? projection : DEFAULT_ROOT_PROJECTION; in resolveRootProjection() 115 private static String[] resolveDocumentProjection(String[] projection) { in resolveDocumentProjection() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 17 package com.android.server.media.projection; 31 import android.media.projection.IMediaProjection; 32 import android.media.projection.IMediaProjectionCallback; 33 import android.media.projection.IMediaProjectionManager; 34 import android.media.projection.IMediaProjectionWatcherCallback; 35 import android.media.projection.MediaProjectionInfo; 36 import android.media.projection.MediaProjectionManager; 162 private void startProjectionLocked(final MediaProjection projection) { in startProjectionLocked() argument 169 mProjectionToken = projection.asBinder(); in startProjectionLocked() 170 mProjectionGrant = projection; in startProjectionLocked() [all …]
|
/frameworks/base/media/java/android/media/ |
D | AudioPlaybackCaptureConfiguration.java | 24 import android.media.projection.MediaProjection; 79 MediaProjection projection) { in AudioPlaybackCaptureConfiguration() argument 81 mProjection = projection; in AudioPlaybackCaptureConfiguration() 158 public Builder(@NonNull MediaProjection projection) { in Builder() argument 159 Preconditions.checkNotNull(projection); in Builder() 161 Preconditions.checkArgument(projection.getProjection().canProjectAudio(), in Builder() 166 mProjection = projection; in Builder()
|
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/ |
D | trace_creator.py | 160 projection(change) 272 def projection(change): function 273 change.projection.orientation = input("Enter orientation: ") 275 change.projection.viewport.left, \ 276 change.projection.viewport.top, \ 277 change.projection.viewport.right,\ 278 change.projection.viewport.bottom = rectangle() 280 change.projection.frame.left, \ 281 change.projection.frame.top, \ 282 change.projection.frame.right,\ [all …]
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | ContactsQueryHelper.java | 68 final String[] projection = new String[] { in querySince() local 73 return queryContact(Contacts.CONTENT_URI, projection, selection, selectionArgs); in querySince() 107 final String[] projection = new String[] { in queryWithUri() local 109 return queryContact(uri, projection, /* selection= */ null, /* selectionArgs= */ null); in queryWithUri() 112 private boolean queryContact(@NonNull Uri uri, @NonNull String[] projection, in queryContact() argument 119 uri, projection, selection, selectionArgs, /* sortOrder= */ null)) { in queryContact() argument 160 String[] projection = new String[] { in queryPhoneNumber() local 165 ContactsContract.CommonDataKinds.Phone.CONTENT_URI, projection, selection, in queryPhoneNumber() argument
|
D | MmsQueryHelper.java | 70 String[] projection = new String[] { Mms._ID, Mms.DATE, Mms.MESSAGE_BOX }; in querySince() local 78 Mms.CONTENT_URI, projection, selection, selectionArgs, null)) { in querySince() argument 116 String[] projection = new String[] { Mms.Addr.ADDRESS, Mms.Addr.TYPE }; in getMmsAddress() local 119 addressUri, projection, null, null, null)) { in getMmsAddress() argument
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | TestDocumentsProvider.java | 93 private static String[] resolveRootProjection(String[] projection) { in resolveRootProjection() argument 95 return projection != null ? projection : DEFAULT_ROOT_PROJECTION; in resolveRootProjection() 98 private static String[] resolveDocumentProjection(String[] projection) { in resolveDocumentProjection() argument 100 return projection != null ? projection : DEFAULT_DOCUMENT_PROJECTION; in resolveDocumentProjection() 112 public Cursor queryRoots(String[] projection) throws FileNotFoundException { in queryRoots() argument 132 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection)); in queryRoots() 145 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument 150 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); in queryDocument() 225 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument 236 CloudCursor result = new CloudCursor(resolveDocumentProjection(projection)); in queryChildDocuments() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsProvider.java | 444 public abstract Cursor queryRoots(String[] projection) throws FileNotFoundException; in queryRoots() argument 461 public Cursor queryRecentDocuments(String rootId, String[] projection) in queryRecentDocuments() argument 494 @NonNull String rootId, @Nullable String[] projection, @Nullable Bundle queryArgs, in queryRecentDocuments() argument 498 Cursor c = queryRecentDocuments(rootId, projection); in queryRecentDocuments() 517 public abstract Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument 562 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument 604 String parentDocumentId, @Nullable String[] projection, @Nullable Bundle queryArgs) in queryChildDocuments() argument 608 parentDocumentId, projection, getSortClause(queryArgs)); in queryChildDocuments() 614 String parentDocumentId, @Nullable String[] projection, @Nullable String sortOrder) in queryChildDocumentsForManage() argument 655 public Cursor querySearchDocuments(String rootId, String query, String[] projection) in querySearchDocuments() argument [all …]
|
D | SearchIndexablesProvider.java | 118 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 154 public abstract Cursor queryXmlResources(String[] projection); in queryXmlResources() argument 165 public abstract Cursor queryRawData(String[] projection); in queryRawData() argument 176 public abstract Cursor queryNonIndexableKeys(String[] projection); in queryNonIndexableKeys() argument 209 public Cursor queryDynamicRawData(@Nullable String[] projection) { in queryDynamicRawData() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SmsNumberUtilsTest.java | 51 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 55 logd(" projection = " + Arrays.toString(projection)); in query() 61 if (projection.length == 2 && projection[0].equals(HbpcdLookup.MccIdd.IDD) && in query() 62 projection[1].equals(HbpcdLookup.MccIdd.MCC) && selectionArgs.length == 1) { in query() 88 if (projection.length == 1 && projection[0].equals( in query()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/ |
D | PhotoPagerLoader.java | 35 Context context, Uri photosUri, String[] projection) { in PhotoPagerLoader() argument 38 mProjection = projection != null ? projection : PhotoContract.PhotoQuery.PROJECTION; in PhotoPagerLoader()
|
/frameworks/base/core/java/android/content/ |
D | SearchRecentSuggestionsProvider.java | 321 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 360 if (projection != null && projection.length > 0) { in query() 361 useProjection = new String[projection.length + 1]; in query() 362 System.arraycopy(projection, 0, useProjection, 0, projection.length); in query() 363 useProjection[projection.length] = "_id AS _id"; in query()
|
D | CursorLoader.java | 140 public CursorLoader(Context context, Uri uri, String[] projection, String selection, in CursorLoader() argument 145 mProjection = projection; in CursorLoader() 209 public void setProjection(String[] projection) { in setProjection() argument 210 mProjection = projection; in setProjection()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDb.java | 124 String[] projection = { in getKey() local 139 projection, in getKey() argument 204 String[] projection = { in getStatusForAllKeys() local 215 projection, in getStatusForAllKeys() argument 268 String[] projection = { in getAllKeys() local 288 projection, in getAllKeys() argument 349 String[] projection = { in getUserSerialNumbers() local 358 projection, in getUserSerialNumbers() argument 426 String[] projection = { in getPlatformKeyGenerationId() local 436 projection, in getPlatformKeyGenerationId() argument [all …]
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/storage/ |
D | TertiaryKeysTable.java | 59 String[] projection = { in getKey() local 75 projection, in getKey() argument 99 String[] projection = { in getAllKeys() local 112 projection, in getAllKeys() argument
|
/frameworks/base/packages/SettingsLib/SearchProvider/src/com/android/settingslib/searchprovider/ |
D | SettingsXmlIndexProvider.java | 43 public Cursor queryXmlResources(String[] projection) { in queryXmlResources() argument 70 public Cursor queryRawData(String[] projection) { in queryRawData() argument 83 public Cursor queryNonIndexableKeys(String[] projection) { in queryNonIndexableKeys() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | FakeProviderWithAsserts.java | 48 ExpectedQuery(Uri uri, String[] projection, String whereClause, String[] whereArgs, in ExpectedQuery() argument 51 mProjection = projection; in ExpectedQuery() 102 public Cursor query(Uri uri, String[] projection, String whereClause, String[] whereArgs, in query() argument 106 assertThat(projection).isEqualTo(expectedQuery.mProjection); in query()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | CastControllerImpl.java | 27 import android.media.projection.MediaProjectionInfo; 28 import android.media.projection.MediaProjectionManager; 207 final MediaProjectionInfo projection = (MediaProjectionInfo) device.tag; in stopCasting() local 208 if (Objects.equals(mProjectionManager.getActiveProjectionInfo(), projection)) { in stopCasting() 211 Log.w(TAG, "Projection is no longer active: " + projection); in stopCasting() 218 private void setProjection(MediaProjectionInfo projection, boolean started) { in setProjection() argument 222 final boolean isCurrent = Objects.equals(projection, mProjection); in setProjection() 224 mProjection = projection; in setProjection()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | FileSystemProvider.java | 378 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument 380 final MatrixCursor result = new MatrixCursor(resolveProjection(projection)); in queryDocument() 408 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocumentsShowAll() argument 410 return queryChildDocuments(parentDocumentId, projection, sortOrder, File -> true); in queryChildDocumentsShowAll() 415 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument 418 return queryChildDocuments(parentDocumentId, projection, sortOrder, this::shouldShow); in queryChildDocuments() 422 String parentDocumentId, String[] projection, String sortOrder, in queryChildDocuments() argument 426 resolveProjection(projection), parentDocumentId, parent); in queryChildDocuments() 458 File folder, String[] projection, Set<String> exclusion, Bundle queryArgs) in querySearchDocuments() argument 460 final MatrixCursor result = new MatrixCursor(resolveProjection(projection)); in querySearchDocuments() [all …]
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | TestDocumentsProvider.java | 60 public Cursor queryRoots(String[] projection) throws FileNotFoundException { in queryRoots() argument 65 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument 71 public Cursor queryChildDocuments(String parentDocumentId, String[] projection, in queryChildDocuments() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 28 import android.media.projection.IMediaProjection; 29 import android.media.projection.IMediaProjectionManager; 30 import android.media.projection.MediaProjectionManager; 195 IMediaProjection projection = mService.createProjection(uid, packageName, in getMediaProjectionIntent() local 198 intent.putExtra(MediaProjectionManager.EXTRA_MEDIA_PROJECTION, projection.asBinder()); in getMediaProjectionIntent()
|