Home
last modified time | relevance | path

Searched refs:projection (Results 1 – 25 of 133) sorted by relevance

123456

/frameworks/base/media/java/android/media/projection/
DIMediaProjectionManager.aidl17 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
DMediaProjectionManager.java17 package android.media.projection;
27 import android.media.projection.IMediaProjection;
100 IBinder projection = resultData.getIBinderExtra(EXTRA_MEDIA_PROJECTION); in getMediaProjection() local
101 if (projection == null) { in getMediaProjection()
104 return new MediaProjection(mContext, IMediaProjection.Stub.asInterface(projection)); in getMediaProjection()
DIMediaProjectionWatcherCallback.aidl17 package android.media.projection;
19 import android.media.projection.MediaProjectionInfo;
DIMediaProjection.aidl17 package android.media.projection;
19 import android.media.projection.IMediaProjectionCallback;
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java17 package com.android.server.media.projection;
30 import android.media.projection.IMediaProjection;
31 import android.media.projection.IMediaProjectionCallback;
32 import android.media.projection.IMediaProjectionManager;
33 import android.media.projection.IMediaProjectionWatcherCallback;
34 import android.media.projection.MediaProjectionInfo;
35 import android.media.projection.MediaProjectionManager;
160 private void startProjectionLocked(final MediaProjection projection) { in startProjectionLocked() argument
167 mProjectionToken = projection.asBinder(); in startProjectionLocked()
168 mProjectionGrant = projection; in startProjectionLocked()
[all …]
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java60 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/native/cmds/surfacereplayer/replayer/trace_creator/
Dtrace_creator.py160 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/media/java/android/media/
DAudioPlaybackCaptureConfiguration.java24 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/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java93 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/
DDocumentsProvider.java444 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 …]
DSearchIndexablesProvider.java115 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
149 public abstract Cursor queryXmlResources(String[] projection); in queryXmlResources() argument
160 public abstract Cursor queryRawData(String[] projection); in queryRawData() argument
171 public abstract Cursor queryNonIndexableKeys(String[] projection); in queryNonIndexableKeys() argument
DCalendarContract.java984 public static final Cursor query(ContentResolver cr, long eventId, String[] projection) { in query() argument
986 return cr.query(CONTENT_URI, projection, ATTENDEES_WHERE, attArgs /* selection args */, in query()
1915 public static final Cursor query(ContentResolver cr, String[] projection, in query() argument
1920 return cr.query(builder.build(), projection, WHERE_CALENDARS_SELECTED, in query()
1944 public static final Cursor query(ContentResolver cr, String[] projection, in query() argument
1950 return cr.query(builder.build(), projection, WHERE_CALENDARS_SELECTED, in query()
2255 String[] projection) { in query() argument
2263 return cr.query(builder.build(), projection, SELECTION, in query()
2338 public static final Cursor query(ContentResolver cr, long eventId, String[] projection) { in query() argument
2340 return cr.query(CONTENT_URI, projection, REMINDERS_WHERE, remArgs /*selection args*/, in query()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsNumberUtilsTest.java51 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/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsProvider.java169 public Cursor queryRoots(String[] projection) throws FileNotFoundException { in queryRoots() argument
170 if (projection == null) { in queryRoots()
171 projection = MtpDocumentsProvider.DEFAULT_ROOT_PROJECTION; in queryRoots()
173 final Cursor cursor = mDatabase.queryRoots(mResources, projection); in queryRoots()
180 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument
182 if (projection == null) { in queryDocument()
183 projection = MtpDocumentsProvider.DEFAULT_DOCUMENT_PROJECTION; in queryDocument()
185 final Cursor cursor = mDatabase.queryDocument(documentId, projection); in queryDocument()
202 return mDatabase.queryDocument(documentId, projection); in queryDocument()
230 final MatrixCursor output = new MatrixCursor(projection, 1); in queryDocument()
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
DPhotoPagerLoader.java35 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/
DSearchRecentSuggestionsProvider.java321 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()
DCursorLoader.java140 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()
DAsyncQueryHandler.java51 public String[] projection; field in AsyncQueryHandler.WorkerArgs
79 cursor = resolver.query(args.uri, args.projection, in handleMessage()
165 String[] projection, String selection, String[] selectionArgs, in startQuery() argument
174 args.projection = projection; in startQuery()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java124 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/services/backup/java/com/android/server/backup/encryption/storage/
DTertiaryKeysTable.java59 String[] projection = { in getKey() local
75 projection, in getKey() argument
99 String[] projection = { in getAllKeys() local
112 projection, in getAllKeys() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java28 import android.media.projection.IMediaProjection;
29 import android.media.projection.IMediaProjectionManager;
30 import android.media.projection.MediaProjectionManager;
194 IMediaProjection projection = mService.createProjection(uid, packageName, in getMediaProjectionIntent() local
197 intent.putExtra(MediaProjectionManager.EXTRA_MEDIA_PROJECTION, projection.asBinder()); in getMediaProjectionIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCastControllerImpl.java27 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DFakeProviderWithAsserts.java48 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/tests/src/com/android/systemui/qs/tiles/
DCastTileTest.java29 import android.media.projection.MediaProjectionInfo;
211 CastController.CastDevice projection = new CastController.CastDevice(); in testUpdateState_castingAndProjection() local
212 projection.state = CastDevice.STATE_CONNECTED; in testUpdateState_castingAndProjection()
213 projection.tag = mock(MediaProjectionInfo.class); in testUpdateState_castingAndProjection()
214 projection.name = "Test Projection Device"; in testUpdateState_castingAndProjection()
218 devices.add(projection); in testUpdateState_castingAndProjection()
/frameworks/base/core/tests/coretests/src/android/provider/
DTestDocumentsProvider.java60 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

123456