Lines Matching refs:DISPLAY
17 package com.android.server.display;
27 import android.hardware.display.WifiDisplay;
28 import android.hardware.display.WifiDisplayStatus;
64 * accidentally introducing any deadlocks due to the display manager calling
86 // A unique token to identify the remote submix that is managed by Wifi display.
108 // True if Wifi display is enabled by the user.
139 // The remote display that is listening on the connection.
143 // The remote display interface.
476 + " from Wifi display: " + mConnectedDevice.deviceName);
496 Slog.i(TAG, "Disconnecting from Wifi display: " + mConnectedDevice.deviceName);
506 Slog.i(TAG, "Disconnected from Wifi display: " + oldDevice.deviceName);
512 Slog.i(TAG, "Failed to disconnect from Wifi display: "
533 Slog.i(TAG, "Canceling connection to Wifi display: " + mConnectingDevice.deviceName);
544 Slog.i(TAG, "Canceled connection to Wifi display: " + oldDevice.deviceName);
550 Slog.i(TAG, "Failed to cancel connection to Wifi display: "
573 Slog.i(TAG, "Connecting to Wifi display: " + mDesiredDevice.deviceName);
581 // We do keypad if peer does display
584 wps.setup = WpsInfo.DISPLAY;
591 WifiDisplay display = createWifiDisplay(mConnectingDevice);
592 advertiseDisplay(display, null, 0, 0, 0);
601 Slog.i(TAG, "Initiated connection to Wifi display: " + newDevice.deviceName);
609 Slog.i(TAG, "Failed to initiate connection to Wifi display: "
624 + "with Wifi display: " + mConnectedDevice.deviceName);
638 + " from Wifi display: " + mConnectedDevice.deviceName);
645 Slog.i(TAG, "Opened RTSP connection with Wifi display: "
650 final WifiDisplay display = createWifiDisplay(mConnectedDevice);
651 advertiseDisplay(display, surface, width, height, flags);
658 Slog.i(TAG, "Closed RTSP connection with Wifi display: "
668 Slog.i(TAG, "Lost RTSP connection with Wifi display due to error "
710 Slog.i(TAG, "Aborting connection to Wifi display because "
724 Slog.i(TAG, "Connected to Wifi display: "
752 Slog.i(TAG, "Timed out waiting for Wifi display connection after "
765 Slog.i(TAG, "Timed out waiting for Wifi display RTSP connection after "
774 Slog.i(TAG, "Wifi display connection failed!");
784 Slog.i(TAG, "Retrying Wifi display connection. Retries left: "
796 private void advertiseDisplay(final WifiDisplay display,
798 if (!Objects.equal(mAdvertisedDisplay, display)
806 mAdvertisedDisplay = display;
817 } else if (oldDisplay != null && !oldDisplay.hasSameAddress(display)) {
821 if (display != null) {
822 if (!display.hasSameAddress(oldDisplay)) {
823 mListener.onDisplayConnecting(display);
824 } else if (!display.equals(oldDisplay)) {
827 mListener.onDisplayChanged(display);
830 mListener.onDisplayConnected(display, surface, width, height, flags);
842 private void readvertiseDisplay(WifiDisplay display) {
843 advertiseDisplay(display, mAdvertisedDisplaySurface,
947 void onDisplayConnecting(WifiDisplay display);
949 void onDisplayChanged(WifiDisplay display);
950 void onDisplayConnected(WifiDisplay display,