Home
last modified time | relevance | path

Searched refs:displayToken (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/view/
DSurfaceControl.java72 private static native Bitmap nativeScreenshot(IBinder displayToken, in nativeScreenshot() argument
75 private static native GraphicBuffer nativeScreenshotToBuffer(IBinder displayToken, in nativeScreenshotToBuffer() argument
78 private static native void nativeScreenshot(IBinder displayToken, Surface consumer, in nativeScreenshot() argument
123 private static native void nativeDestroyDisplay(IBinder displayToken); in nativeDestroyDisplay() argument
125 IBinder displayToken, long nativeSurfaceObject); in nativeSetDisplaySurface() argument
127 IBinder displayToken, int layerStack); in nativeSetDisplayLayerStack() argument
129 IBinder displayToken, int orientation, in nativeSetDisplayProjection() argument
132 private static native void nativeSetDisplaySize(long transactionObj, IBinder displayToken, in nativeSetDisplaySize() argument
135 IBinder displayToken); in nativeGetDisplayConfigs() argument
136 private static native int nativeGetActiveConfig(IBinder displayToken); in nativeGetActiveConfig() argument
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp101 bool hasDisplayDevice(sp<IBinder> displayToken);
102 sp<DisplayDevice> getDisplayDevice(sp<IBinder> displayToken);
103 bool hasCurrentDisplayState(sp<IBinder> displayToken);
104 const DisplayDeviceState& getCurrentDisplayState(sp<IBinder> displayToken);
105 bool hasDrawingDisplayState(sp<IBinder> displayToken);
106 const DisplayDeviceState& getDrawingDisplayState(sp<IBinder> displayToken);
209 bool DisplayTransactionTest::hasDisplayDevice(sp<IBinder> displayToken) { in hasDisplayDevice() argument
210 return mFlinger.mutableDisplays().indexOfKey(displayToken) >= 0; in hasDisplayDevice()
213 sp<DisplayDevice> DisplayTransactionTest::getDisplayDevice(sp<IBinder> displayToken) { in getDisplayDevice() argument
214 return mFlinger.mutableDisplays().valueFor(displayToken); in getDisplayDevice()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java91 IBinder displayToken = SurfaceControl.getBuiltInDisplay(builtInDisplayId); in tryConnectDisplayLocked() local
92 if (displayToken != null) { in tryConnectDisplayLocked()
94 SurfaceControl.getDisplayConfigs(displayToken); in tryConnectDisplayLocked()
101 int activeConfig = SurfaceControl.getActiveConfig(displayToken); in tryConnectDisplayLocked()
109 int activeColorMode = SurfaceControl.getActiveColorMode(displayToken); in tryConnectDisplayLocked()
118 int[] colorModes = SurfaceControl.getDisplayColorModes(displayToken); in tryConnectDisplayLocked()
122 device = new LocalDisplayDevice(displayToken, builtInDisplayId, in tryConnectDisplayLocked()
184 public LocalDisplayDevice(IBinder displayToken, int builtInDisplayId, in LocalDisplayDevice() argument
187 super(LocalDisplayAdapter.this, displayToken, UNIQUE_ID_PREFIX + builtInDisplayId); in LocalDisplayDevice()
199 mHdrCapabilities = SurfaceControl.getHdrCapabilities(displayToken); in LocalDisplayDevice()
DDisplayDevice.java55 public DisplayDevice(DisplayAdapter displayAdapter, IBinder displayToken, String uniqueId) { in DisplayDevice() argument
57 mDisplayToken = displayToken; in DisplayDevice()
DVirtualDisplayAdapter.java91 IBinder displayToken = mSurfaceControlDisplayFactory.createDisplay(name, secure); in createVirtualDisplayLocked() local
100 VirtualDisplayDevice device = new VirtualDisplayDevice(displayToken, appToken, in createVirtualDisplayLocked()
210 public VirtualDisplayDevice(IBinder displayToken, IBinder appToken, in VirtualDisplayDevice() argument
214 super(VirtualDisplayAdapter.this, displayToken, uniqueId); in VirtualDisplayDevice()
DOverlayDisplayAdapter.java237 public OverlayDisplayDevice(IBinder displayToken, String name, in OverlayDisplayDevice() argument
242 super(OverlayDisplayAdapter.this, displayToken, UNIQUE_ID_PREFIX + number); in OverlayDisplayDevice()
406 IBinder displayToken = SurfaceControl.createDisplay(mName, mSecure); in onWindowCreated() local
407 mDevice = new OverlayDisplayDevice(displayToken, mName, mModes, mActiveMode, in onWindowCreated()
DWifiDisplayAdapter.java382 IBinder displayToken = SurfaceControl.createDisplay(name, secure); in addDisplayDeviceLocked() local
383 mDisplayDevice = new WifiDisplayDevice(displayToken, name, width, height, in addDisplayDeviceLocked()
590 public WifiDisplayDevice(IBinder displayToken, String name, in WifiDisplayDevice() argument
593 super(WifiDisplayAdapter.this, displayToken, DISPLAY_NAME_PREFIX + address); in WifiDisplayDevice()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp164 sp<IBinder> displayToken = ibinderForJavaObject(env, displayTokenObj); in nativeScreenshotToBuffer() local
165 if (displayToken == NULL) { in nativeScreenshotToBuffer()
174 status_t res = ScreenshotClient::capture(displayToken, in nativeScreenshotToBuffer()
194 sp<IBinder> displayToken = ibinderForJavaObject(env, displayTokenObj); in nativeScreenshotBitmap() local
195 if (displayToken == NULL) { in nativeScreenshotBitmap()
209 res = ScreenshotClient::capture(displayToken, sourceCrop, width, height, in nativeScreenshotBitmap()
257 sp<IBinder> displayToken = ibinderForJavaObject(env, displayTokenObj); in nativeScreenshot() local
258 if (displayToken == NULL) { in nativeScreenshot()
278 ScreenshotClient::capture(displayToken, sourceCrop, width, height, minLayer, maxLayer, in nativeScreenshot()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp221 const wp<IBinder>& displayToken, in DisplayDevice() argument
236 mDisplayToken(displayToken), in DisplayDevice()
DDisplayDevice.h85 const wp<IBinder>& displayToken,
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java492 final long displayToken = p.start(GlobalSettingsProto.DISPLAY); in dumpProtoGlobalSettingsLocked() local
502 p.end(displayToken); in dumpProtoGlobalSettingsLocked()