Home
last modified time | relevance | path

Searched refs:WifiDisplay (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/hardware/display/
DWifiDisplay.java32 public final class WifiDisplay implements Parcelable { class
40 public static final WifiDisplay[] EMPTY_ARRAY = new WifiDisplay[0];
42 public static final Creator<WifiDisplay> CREATOR = new Creator<WifiDisplay>() {
43 public WifiDisplay createFromParcel(Parcel in) {
50 return new WifiDisplay(deviceAddress, deviceName, deviceAlias,
54 public WifiDisplay[] newArray(int size) {
55 return size == 0 ? EMPTY_ARRAY : new WifiDisplay[size];
59 public WifiDisplay(String deviceAddress, String deviceName, String deviceAlias, in WifiDisplay() method in WifiDisplay
132 return o instanceof WifiDisplay && equals((WifiDisplay)o); in equals()
139 public boolean equals(WifiDisplay other) { in equals()
[all …]
DWifiDisplayStatus.java37 private final WifiDisplay mActiveDisplay;
38 private final WifiDisplay[] mDisplays;
70 WifiDisplay activeDisplay = null;
72 activeDisplay = WifiDisplay.CREATOR.createFromParcel(in);
75 WifiDisplay[] displays = WifiDisplay.CREATOR.newArray(in.readInt());
77 displays[i] = WifiDisplay.CREATOR.createFromParcel(in);
94 null, WifiDisplay.EMPTY_ARRAY, null); in WifiDisplayStatus()
98 WifiDisplay activeDisplay, WifiDisplay[] displays, WifiDisplaySessionInfo sessionInfo) { in WifiDisplayStatus()
147 public WifiDisplay getActiveDisplay() { in getActiveDisplay()
156 public WifiDisplay[] getDisplays() { in getDisplays()
[all …]
DWifiDisplay.aidl19 parcelable WifiDisplay;
DIDisplayManager.aidl21 import android.hardware.display.WifiDisplay;
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java26 import android.hardware.display.WifiDisplay;
63 private ArrayList<WifiDisplay> mRememberedWifiDisplays = new ArrayList<WifiDisplay>();
85 public WifiDisplay getRememberedWifiDisplay(String deviceAddress) { in getRememberedWifiDisplay()
94 public WifiDisplay[] getRememberedWifiDisplays() { in getRememberedWifiDisplays()
96 return mRememberedWifiDisplays.toArray(new WifiDisplay[mRememberedWifiDisplays.size()]); in getRememberedWifiDisplays()
99 public WifiDisplay applyWifiDisplayAlias(WifiDisplay display) { in applyWifiDisplayAlias()
109 return new WifiDisplay(display.getDeviceAddress(), display.getDeviceName(), in applyWifiDisplayAlias()
116 public WifiDisplay[] applyWifiDisplayAliases(WifiDisplay[] displays) { in applyWifiDisplayAliases()
117 WifiDisplay[] results = displays; in applyWifiDisplayAliases()
121 WifiDisplay result = applyWifiDisplayAlias(displays[i]); in applyWifiDisplayAliases()
[all …]
DWifiDisplayAdapter.java27 import android.hardware.display.WifiDisplay;
85 private WifiDisplay mActiveDisplay;
86 private WifiDisplay[] mDisplays = WifiDisplay.EMPTY_ARRAY;
87 private WifiDisplay[] mAvailableDisplays = WifiDisplay.EMPTY_ARRAY;
88 private WifiDisplay[] mRememberedDisplays = WifiDisplay.EMPTY_ARRAY;
250 WifiDisplay display = mPersistentDataStore.getRememberedWifiDisplay(address); in requestRenameLocked()
252 display = new WifiDisplay(address, display.getDeviceName(), alias, in requestRenameLocked()
296 List<WifiDisplay> displays = new ArrayList<WifiDisplay>( in updateDisplaysLocked()
299 for (WifiDisplay d : mRememberedDisplays) { in updateDisplaysLocked()
308 displays.add(new WifiDisplay(d.getDeviceAddress(), d.getDeviceName(), in updateDisplaysLocked()
[all …]
DWifiDisplayController.java27 import android.hardware.display.WifiDisplay;
151 private WifiDisplay mAdvertisedDisplay;
470 final WifiDisplay[] displays = WifiDisplay.CREATOR.newArray(count); in handleScanResults()
691 WifiDisplay display = createWifiDisplay(mConnectingDevice); in updateConnection()
754 final WifiDisplay display = createWifiDisplay(mConnectedDevice); in updateConnection()
945 private void advertiseDisplay(final WifiDisplay display, in advertiseDisplay()
952 final WifiDisplay oldDisplay = mAdvertisedDisplay; in advertiseDisplay()
991 private void readvertiseDisplay(WifiDisplay display) { in readvertiseDisplay()
1048 private static WifiDisplay createWifiDisplay(WifiP2pDevice device) { in createWifiDisplay()
1049 return new WifiDisplay(device.deviceAddress, device.deviceName, null, in createWifiDisplay()
[all …]
/frameworks/base/media/java/android/media/
DMediaRouter.java32 import android.hardware.display.WifiDisplay;
930 final WifiDisplay activeDisplay = in selectRouteStatic()
980 static boolean matchesDeviceAddress(WifiDisplay display, RouteInfo info) { in matchesDeviceAddress()
1313 WifiDisplay[] displays; in updateWifiDisplayStatus()
1314 WifiDisplay activeDisplay; in updateWifiDisplayStatus()
1325 displays = new WifiDisplay[] { activeDisplay }; in updateWifiDisplayStatus()
1327 displays = WifiDisplay.EMPTY_ARRAY; in updateWifiDisplayStatus()
1331 displays = WifiDisplay.EMPTY_ARRAY; in updateWifiDisplayStatus()
1339 final WifiDisplay d = displays[i]; in updateWifiDisplayStatus()
1361 WifiDisplay d = findWifiDisplay(displays, route.mDeviceAddress); in updateWifiDisplayStatus()
[all …]
/frameworks/base/
Dcompiled-classes-phone1603 android.hardware.display.WifiDisplay
1604 android.hardware.display.WifiDisplay$1