Home
last modified time | relevance | path

Searched refs:createVirtualDisplay (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/base/media/tests/projection/src/android/media/projection/
DMediaProjectionTest.java127 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/
DMediaProjection.java143 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/
DDisplayManager.java1023 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 …]
DIDisplayManager.aidl103 int createVirtualDisplay(in VirtualDisplayConfig virtualDisplayConfig, in createVirtualDisplay() method
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_CreateDisplayTest.cpp40 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()
DSurfaceFlinger_GetDisplayStatsTest.cpp46 sp<IBinder> displayToken = mFlinger.createVirtualDisplay(kDisplayName, false /*isSecure*/); in TEST_F()
DSurfaceFlinger_ColorMatrixTest.cpp57 mFlinger.createVirtualDisplay(kDisplayName, false /*isSecure=*/); in TEST_F()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayControl.java50 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/
DNavigationBarButtonTest.java74 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/
DDisplaySourceService.java122 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/
DVirtualDisplayTest.java121 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/
DDisplayManagerServiceTest.java462 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/
DVirtualDisplay_test.cpp46 SurfaceComposerClient::createVirtualDisplay(kDisplayName, false /*isSecure*/); in TEST_F()
DCredentials_test.cpp235 sp<IBinder> testDisplay = SurfaceComposerClient::createVirtualDisplay(kDisplayName, true); in TEST_F()
270 sp<IBinder> testDisplay = SurfaceComposerClient::createVirtualDisplay(kDisplayName, false); in TEST_F()
DTransactionTestHarnesses.h70 vDisplay = SurfaceComposerClient::createVirtualDisplay(kDisplayName, in getScreenCapture()
DMultiDisplayLayerBounds_test.cpp64 SurfaceComposerClient::createVirtualDisplay(kDisplayName, false /*isSecure*/); in createDisplay()
/frameworks/base/core/java/android/companion/virtual/
DIVirtualDeviceManager.aidl106 int createVirtualDisplay(in VirtualDisplayConfig virtualDisplayConfig, in createVirtualDisplay() method
DVirtualDeviceManager.java672 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()
DVirtualDeviceInternal.java220 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/
Dmediaprojection.md25 `MediaProjection#createVirtualDisplay`
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDesktopModeWindowDecorViewModelTests.kt265 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/
DTaskStackChangedListenerTest.java116 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/
DDisplayManagerGlobal.java123 public VirtualDisplay createVirtualDisplay(@NonNull Context context, MediaProjection projection, in createVirtualDisplay() method in DisplayManagerGlobal
/frameworks/base/services/core/jni/
Dcom_android_server_display_DisplayControl.cpp31 sp<IBinder> token(SurfaceComposerClient::createVirtualDisplay(std::string(name.c_str()), in nativeCreateVirtualDisplay()
/frameworks/native/libs/gui/aidl/android/gui/
DISurfaceComposer.aidl108 @nullable IBinder createVirtualDisplay(@utf8InCpp String displayName, boolean isSecure, in createVirtualDisplay() method

123