/frameworks/base/core/java/android/hardware/display/ |
H A D | WifiDisplayStatus.java | 26 * currently connected display and all available or remembered displays. 75 WifiDisplay[] displays = WifiDisplay.CREATOR.newArray(in.readInt()); 76 for (int i = 0; i < displays.length; i++) { 77 displays[i] = WifiDisplay.CREATOR.createFromParcel(in); 84 activeDisplay, displays, sessionInfo); 98 WifiDisplay activeDisplay, WifiDisplay[] displays, WifiDisplaySessionInfo sessionInfo) { 99 if (displays == null) { 100 throw new IllegalArgumentException("displays must not be null"); 107 mDisplays = displays; 117 * connecting to displays hav 97 WifiDisplayStatus(int featureState, int scanState, int activeDisplayState, WifiDisplay activeDisplay, WifiDisplay[] displays, WifiDisplaySessionInfo sessionInfo) argument [all...] |
H A D | DisplayManager.java | 31 * Manages the properties of attached displays. 72 * Display category: Presentation displays. 74 * This category can be used to identify secondary displays that are suitable for 75 * use as presentation displays such as HDMI or Wireless displays. Applications 76 * may automatically project their content to presentation displays to provide 90 * <h3>Public virtual displays</h3> 96 * windows on the display and the system may mirror the contents of other displays 104 * <h3>Private virtual displays</h3> 129 * <h3>Presentation virtual displays</h 302 addAllDisplaysLocked(ArrayList<Display> displays, int[] displayIds) argument 311 addPresentationDisplaysLocked( ArrayList<Display> displays, int[] displayIds, int matchType) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | RemoteDisplayState.java | 26 * Information available from IRemoteDisplayProvider about available remote displays. 41 * A list of all remote displays. 43 public final ArrayList<RemoteDisplayInfo> displays; field in class:RemoteDisplayState 46 displays = new ArrayList<RemoteDisplayInfo>(); 50 displays = src.createTypedArrayList(RemoteDisplayInfo.CREATOR); 54 if (displays == null) { 57 final int count = displays.size(); 59 if (!displays.get(i).isValid()) { 73 dest.writeTypedList(displays);
|
H A D | MediaRouter.java | 127 // Only the system can configure wifi displays. The display manager 620 * Temporary interop constant to identify remote displays. 932 Log.e(TAG, "Cannot connect to wifi displays because this process " 1303 WifiDisplay[] displays; 1306 displays = status.getDisplays(); 1311 // still publishes information about all available displays. 1315 displays = new WifiDisplay[] { activeDisplay }; 1317 displays = WifiDisplay.EMPTY_ARRAY; 1321 displays = WifiDisplay.EMPTY_ARRAY; 1328 for (int i = 0; i < displays 1443 findWifiDisplay(WifiDisplay[] displays, String deviceAddress) argument [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | PersistentDataStore.java | 51 * <remembered-wifi-displays> 53 * >remembered-wifi-displays> 116 public WifiDisplay[] applyWifiDisplayAliases(WifiDisplay[] displays) { argument 117 WifiDisplay[] results = displays; 119 int count = displays.length; 121 WifiDisplay result = applyWifiDisplayAlias(displays[i]); 122 if (result != displays[i]) { 123 if (results == displays) { 125 System.arraycopy(displays, 0, results, 0, count); 240 if (parser.getName().equals("remembered-wifi-displays")) { [all...] |
H A D | WifiDisplayAdapter.java | 49 * Connects to Wifi displays that implement the Miracast protocol. 56 * This class is responsible for connecting to Wifi displays and mediating 71 // Unique id prefix for wifi displays 296 List<WifiDisplay> displays = new ArrayList<WifiDisplay>( 308 displays.add(new WifiDisplay(d.getDeviceAddress(), d.getDeviceName(), 314 displays.add(new WifiDisplay(d.getDeviceAddress(), d.getDeviceName(), 317 mDisplays = displays.toArray(WifiDisplay.EMPTY_ARRAY); 329 // Consult the list of available displays and update the name if needed. 472 // Check whether any of the available displays changed canConnect status.
|
H A D | WifiDisplayController.java | 87 // 4. We don't seem to get updated results for displays we've already found until 470 final WifiDisplay[] displays = WifiDisplay.CREATOR.newArray(count); 473 displays[i] = createWifiDisplay(device); 480 mListener.onScanResults(displays); 1096 * Called on the handler thread when displays are connected or disconnected.
|
/frameworks/native/libs/gui/ |
H A D | ISurfaceComposer.cpp | 74 const Vector<DisplayState>& displays, 85 data.writeUint32(static_cast<uint32_t>(displays.size())); 86 for (const auto& d : displays) { 333 Vector<DisplayState> displays; local 334 displays.setCapacity(count); 339 displays.add(d); 343 setTransactionState(state, displays, stateFlags); 72 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
H A D | VirtualDisplayTest.java | 47 * Tests that applications can create virtual displays and present content on them. 65 // deliver BGRA buffers to virtual displays instead. 334 private Display findDisplay(Display[] displays, String name) { argument 335 for (int i = 0; i < displays.length; i++) { 336 if (displays[i].getName().equals(name)) { 337 return displays[i];
|
/frameworks/native/include/gui/ |
H A D | ISurfaceComposer.h | 95 /* get the token for the existing default displays. possible values 102 const Vector<DisplayState>& displays, uint32_t flags) = 0; 121 * intended to be used to get information about built-in displays */
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 226 flinger->mCurrentState.displays.removeItem(this); 241 mCurrentState.displays.add(token, info); 249 ssize_t idx = mCurrentState.displays.indexOfKey(display); 255 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx)); 261 mCurrentState.displays.removeItemsAt(idx); 270 // All non-virtual displays are currently considered secure. 272 mCurrentState.displays.add(mBuiltinDisplays[type], info); 471 // initialize our non-virtual displays 474 // set-up the displays that are already connected 476 // All non-virtual displays ar 2093 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument [all...] |
H A D | SurfaceFlinger.h | 109 // force full composition on all displays 182 DefaultKeyedVector< wp<IBinder>, DisplayDeviceState> displays; member in struct:android::SurfaceFlinger::State 201 const Vector<DisplayState>& displays, uint32_t flags);
|
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/ |
H A D | RemoteDisplayProvider.java | 125 * are any remote displays paired or available but doesn't need the latest or 225 * Gets the current collection of displays. 227 * @return The current collection of displays, which must not be modified. 318 state.displays.add(display.getInfo());
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaRouterService.java | 60 * Currently supports discovering remote displays via remote display provider 601 * route id for certain routes that have global effects, such as remote displays. 1108 final List<RemoteDisplayInfo> routeDescriptors = descriptor.displays;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityStackSupervisor.java | 394 Display[] displays = mDisplayManager.getDisplays(); 395 for (int displayNdx = displays.length - 1; displayNdx >= 0; --displayNdx) { 396 final int displayId = displays[displayNdx].getDisplayId();
|