Home
last modified time | relevance | path

Searched refs:physicalDisplayId (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/view/
DDisplayEventReceiver.java159 public void onVsync(long timestampNanos, long physicalDisplayId, int frame) { in onVsync() argument
171 public void onHotplug(long timestampNanos, long physicalDisplayId, boolean connected) { in onHotplug() argument
182 public void onConfigChanged(long timestampNanos, long physicalDisplayId, int configId) { in onConfigChanged() argument
202 private void dispatchVsync(long timestampNanos, long physicalDisplayId, int frame) { in dispatchVsync() argument
203 onVsync(timestampNanos, physicalDisplayId, frame); in dispatchVsync()
209 private void dispatchHotplug(long timestampNanos, long physicalDisplayId, boolean connected) { in dispatchHotplug() argument
210 onHotplug(timestampNanos, physicalDisplayId, connected); in dispatchHotplug()
215 private void dispatchConfigChanged(long timestampNanos, long physicalDisplayId, int configId) { in dispatchConfigChanged() argument
216 onConfigChanged(timestampNanos, physicalDisplayId, configId); in dispatchConfigChanged()
DDisplayAddress.java39 public static Physical fromPhysicalDisplayId(long physicalDisplayId) { in fromPhysicalDisplayId() argument
40 return new Physical(physicalDisplayId); in fromPhysicalDisplayId()
141 private Physical(long physicalDisplayId) { in Physical() argument
142 mPhysicalDisplayId = physicalDisplayId; in Physical()
DSurfaceControl.java149 private static native IBinder nativeGetPhysicalDisplayToken(long physicalDisplayId); in nativeGetPhysicalDisplayToken() argument
1945 public static IBinder getPhysicalDisplayToken(long physicalDisplayId) { in getPhysicalDisplayToken() argument
1946 return nativeGetPhysicalDisplayToken(physicalDisplayId); in getPhysicalDisplayToken()
DChoreographer.java926 public void onVsync(long timestampNanos, long physicalDisplayId, int frame) { in onVsync() argument
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java88 for (long physicalDisplayId : SurfaceControl.getPhysicalDisplayIds()) { in registerLocked()
89 tryConnectDisplayLocked(physicalDisplayId); in registerLocked()
93 private void tryConnectDisplayLocked(long physicalDisplayId) { in tryConnectDisplayLocked() argument
94 final IBinder displayToken = SurfaceControl.getPhysicalDisplayToken(physicalDisplayId); in tryConnectDisplayLocked()
98 Slog.w(TAG, "No valid info found for display device " + physicalDisplayId); in tryConnectDisplayLocked()
104 Slog.w(TAG, "No valid configs found for display device " + physicalDisplayId); in tryConnectDisplayLocked()
111 Slog.w(TAG, "No active config found for display device " + physicalDisplayId); in tryConnectDisplayLocked()
120 physicalDisplayId); in tryConnectDisplayLocked()
128 LocalDisplayDevice device = mDevices.get(physicalDisplayId); in tryConnectDisplayLocked()
132 device = new LocalDisplayDevice(displayToken, physicalDisplayId, info, in tryConnectDisplayLocked()
[all …]
DDisplayDeviceConfig.java62 public static DisplayDeviceConfig create(long physicalDisplayId) { in create() argument
64 final String filename = String.format(CONFIG_FILE_FORMAT, physicalDisplayId); in create()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp687 static jobject nativeGetPhysicalDisplayToken(JNIEnv* env, jclass clazz, jlong physicalDisplayId) { in nativeGetPhysicalDisplayToken() argument
688 sp<IBinder> token = SurfaceComposerClient::getPhysicalDisplayToken(physicalDisplayId); in nativeGetPhysicalDisplayToken()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp1924 const auto convert = [](auto physicalDisplayId) { in expectHotplugReceived() argument
1925 return std::make_optional(DisplayId{physicalDisplayId}); in expectHotplugReceived()