/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 72 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/ |
D | DisplayTransactionTest.cpp | 101 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/ |
D | LocalDisplayAdapter.java | 91 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()
|
D | DisplayDevice.java | 55 public DisplayDevice(DisplayAdapter displayAdapter, IBinder displayToken, String uniqueId) { in DisplayDevice() argument 57 mDisplayToken = displayToken; in DisplayDevice()
|
D | VirtualDisplayAdapter.java | 91 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()
|
D | OverlayDisplayAdapter.java | 237 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()
|
D | WifiDisplayAdapter.java | 382 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/ |
D | android_view_SurfaceControl.cpp | 164 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/ |
D | DisplayDevice.cpp | 221 const wp<IBinder>& displayToken, in DisplayDevice() argument 236 mDisplayToken(displayToken), in DisplayDevice()
|
D | DisplayDevice.h | 85 const wp<IBinder>& displayToken,
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 492 final long displayToken = p.start(GlobalSettingsProto.DISPLAY); in dumpProtoGlobalSettingsLocked() local 502 p.end(displayToken); in dumpProtoGlobalSettingsLocked()
|