/frameworks/base/media/tests/projection/src/android/media/projection/ |
D | MediaProjectionTest.java | 127 doReturn(mVirtualDisplay).when(mDisplayManager).createVirtualDisplay( in setup() 159 assertThat(createVirtualDisplay(null)).isNotNull(); in createVirtualDisplay_noCallbackRequired_missingMediaProjectionCallback() 160 assertThat(createVirtualDisplay(mVirtualDisplayCallback)).isNotNull(); in createVirtualDisplay_noCallbackRequired_missingMediaProjectionCallback() 167 assertThat(createVirtualDisplay(null)).isNotNull(); in createVirtualDisplay_noCallbackRequired_givenMediaProjectionCallback() 168 assertThat(createVirtualDisplay(mVirtualDisplayCallback)).isNotNull(); in createVirtualDisplay_noCallbackRequired_givenMediaProjectionCallback() 175 () -> createVirtualDisplay(mVirtualDisplayCallback)); in createVirtualDisplay_callbackRequired_missingMediaProjectionCallback() 182 assertThat(createVirtualDisplay(null)).isNotNull(); in createVirtualDisplay_callbackRequired_givenMediaProjectionCallback() 183 assertThat(createVirtualDisplay(mVirtualDisplayCallback)).isNotNull(); in createVirtualDisplay_callbackRequired_givenMediaProjectionCallback() 186 private VirtualDisplay createVirtualDisplay(@Nullable VirtualDisplay.Callback callback) { in createVirtualDisplay() method in MediaProjectionTest 188 return mMediaProjection.createVirtualDisplay( in createVirtualDisplay()
|
/frameworks/base/media/java/android/media/projection/ |
D | MediaProjection.java | 143 public VirtualDisplay createVirtualDisplay(@NonNull String name, in createVirtualDisplay() method in MediaProjection 156 return createVirtualDisplay(builder, callback, handler); in createVirtualDisplay() 214 public VirtualDisplay createVirtualDisplay(@NonNull String name, in createVirtualDisplay() method in MediaProjection 231 return createVirtualDisplay(builder, callback, handler); in createVirtualDisplay() 249 public VirtualDisplay createVirtualDisplay( in createVirtualDisplay() method in MediaProjection 262 final VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(this, in createVirtualDisplay()
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManager.java | 1023 public VirtualDisplay createVirtualDisplay(@NonNull String name, in createVirtualDisplay() method in DisplayManager 1029 return createVirtualDisplay(name, width, height, densityDpi, surface, flags, null, null); in createVirtualDisplay() 1075 public VirtualDisplay createVirtualDisplay(@NonNull String name, in createVirtualDisplay() method in DisplayManager 1089 return createVirtualDisplay(builder.build(), handler, callback); in createVirtualDisplay() 1098 public VirtualDisplay createVirtualDisplay(@NonNull VirtualDisplayConfig config) { in createVirtualDisplay() method in DisplayManager 1099 return createVirtualDisplay(config, /*handler=*/null, /*callback=*/null); in createVirtualDisplay() 1137 public VirtualDisplay createVirtualDisplay( in createVirtualDisplay() method in DisplayManager 1141 return createVirtualDisplay(null /* projection */, config, callback, handler); in createVirtualDisplay() 1146 public VirtualDisplay createVirtualDisplay( in createVirtualDisplay() method in DisplayManager 1166 return createVirtualDisplay(projection, builder.build(), callback, handler); in createVirtualDisplay() [all …]
|
D | IDisplayManager.aidl | 103 int createVirtualDisplay(in VirtualDisplayConfig virtualDisplayConfig, in createVirtualDisplay() method
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_CreateDisplayTest.cpp | 40 sp<IBinder> displayToken = mFlinger.createVirtualDisplay(name, false, requestedRefreshRate); in createDisplayWithRequestedRefreshRate() 84 sp<IBinder> displayToken = mFlinger.createVirtualDisplay(name, false); in TEST_F() 115 sp<IBinder> displayToken = mFlinger.createVirtualDisplay(kDisplayName, true); in TEST_F() 145 sp<IBinder> displayToken = mFlinger.createVirtualDisplay(kDisplayName, false, kUniqueId); in TEST_F()
|
D | SurfaceFlinger_GetDisplayStatsTest.cpp | 46 sp<IBinder> displayToken = mFlinger.createVirtualDisplay(kDisplayName, false /*isSecure*/); in TEST_F()
|
D | SurfaceFlinger_ColorMatrixTest.cpp | 57 mFlinger.createVirtualDisplay(kDisplayName, false /*isSecure=*/); in TEST_F()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayControl.java | 50 public static IBinder createVirtualDisplay(String name, boolean secure) { in createVirtualDisplay() method in DisplayControl 68 public static IBinder createVirtualDisplay(String name, boolean secure, in createVirtualDisplay() method in DisplayControl
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarButtonTest.java | 74 final Display display = createVirtualDisplay(); in setup() 91 private Display createVirtualDisplay() { in createVirtualDisplay() method in NavigationBarButtonTest 103 mVirtualDisplay = displayManager.createVirtualDisplay(displayName, displayInfo.logicalWidth, in createVirtualDisplay()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | DisplaySourceService.java | 122 createVirtualDisplay(); in handleSinkAvailable() 135 private void createVirtualDisplay() { in createVirtualDisplay() method in DisplaySourceService 206 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay( in run()
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 121 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivateVirtualDisplay() 142 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivatePresentationVirtualDisplay() 167 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPublicPresentationVirtualDisplay() 213 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testSecurePublicPresentationVirtualDisplay() 246 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testTrustedVirtualDisplay()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 462 int displayId = bs.createVirtualDisplay(builder.build(), mMockAppToken /* callback */, 589 int displayId = bs.createVirtualDisplay(builder.build(), mMockAppToken /* callback */, 624 int displayId = bs.createVirtualDisplay(builder.build(), /* callback= */ mMockAppToken, 662 int displayId = bs.createVirtualDisplay(builder.build(), /* callback= */ mMockAppToken, 697 int displayId = bs.createVirtualDisplay(builder.build(), /* callback= */ mMockAppToken, 739 int displayId = bs.createVirtualDisplay(ownerDisplayConfig, /* callback= */ mMockAppToken, 1028 final int firstDisplayId = binderService.createVirtualDisplay(builder.build(), 1041 final int secondDisplayId = binderService.createVirtualDisplay(builder2.build(), 1078 localService.createVirtualDisplay( 1095 localService.createVirtualDisplay( [all …]
|
/frameworks/native/services/surfaceflinger/tests/ |
D | VirtualDisplay_test.cpp | 46 SurfaceComposerClient::createVirtualDisplay(kDisplayName, false /*isSecure*/); in TEST_F()
|
D | Credentials_test.cpp | 235 sp<IBinder> testDisplay = SurfaceComposerClient::createVirtualDisplay(kDisplayName, true); in TEST_F() 270 sp<IBinder> testDisplay = SurfaceComposerClient::createVirtualDisplay(kDisplayName, false); in TEST_F()
|
D | TransactionTestHarnesses.h | 70 vDisplay = SurfaceComposerClient::createVirtualDisplay(kDisplayName, in getScreenCapture()
|
D | MultiDisplayLayerBounds_test.cpp | 64 SurfaceComposerClient::createVirtualDisplay(kDisplayName, false /*isSecure*/); in createDisplay()
|
/frameworks/base/core/java/android/companion/virtual/ |
D | IVirtualDeviceManager.aidl | 106 int createVirtualDisplay(in VirtualDisplayConfig virtualDisplayConfig, in createVirtualDisplay() method
|
D | VirtualDeviceManager.java | 672 public VirtualDisplay createVirtualDisplay( in createVirtualDisplay() method in VirtualDeviceManager.VirtualDevice 691 return mVirtualDeviceInternal.createVirtualDisplay(builder.build(), executor, callback); in createVirtualDisplay() 709 public VirtualDisplay createVirtualDisplay( in createVirtualDisplay() method in VirtualDeviceManager.VirtualDevice 714 return mVirtualDeviceInternal.createVirtualDisplay(config, executor, callback); in createVirtualDisplay()
|
D | VirtualDeviceInternal.java | 220 VirtualDisplay createVirtualDisplay( in createVirtualDisplay() method in VirtualDeviceInternal 228 displayId = mService.createVirtualDisplay(config, callbackWrapper, mVirtualDevice, in createVirtualDisplay()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | mediaprojection.md | 25 `MediaProjection#createVirtualDisplay`
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | DesktopModeWindowDecorViewModelTests.kt | 265 val secondaryDisplay = createVirtualDisplay() ?: return in testEventReceiversOnMultipleDisplays() 291 val secondaryDisplay = createVirtualDisplay() ?: return in testBackEventHasRightDisplayId() 572 private fun createVirtualDisplay(): VirtualDisplay? { in createVirtualDisplay() method 575 return dm.createVirtualDisplay( in createVirtualDisplay()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskStackChangedListenerTest.java | 116 private VirtualDisplay createVirtualDisplay() { in createVirtualDisplay() method in TaskStackChangedListenerTest 127 mVirtualDisplay = displayManager.createVirtualDisplay(name, width, height, density, in createVirtualDisplay() 292 final int virtualDisplayId = createVirtualDisplay().getDisplay().getDisplayId(); in testTaskDisplayChanged()
|
/frameworks/layoutlib/bridge/src/android/hardware/display/ |
D | DisplayManagerGlobal.java | 123 public VirtualDisplay createVirtualDisplay(@NonNull Context context, MediaProjection projection, in createVirtualDisplay() method in DisplayManagerGlobal
|
/frameworks/base/services/core/jni/ |
D | com_android_server_display_DisplayControl.cpp | 31 sp<IBinder> token(SurfaceComposerClient::createVirtualDisplay(std::string(name.c_str()), in nativeCreateVirtualDisplay()
|
/frameworks/native/libs/gui/aidl/android/gui/ |
D | ISurfaceComposer.aidl | 108 @nullable IBinder createVirtualDisplay(@utf8InCpp String displayName, boolean isSecure, in createVirtualDisplay() method
|