History log of /frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
feef9887e8f8eb6f64fc1b4552c02efb5755cdc1 22-Nov-2013 Jeff Brown <jeffbrown@google.com> Stop wifi display discovery when no longer needed.

Keep track of how many clients are requesting scans and scan
continuously until all of them are gone then explicitly terminate the
scan instead of letting it time out as before.

Suspend wifi display scans while connecting or connected to a remote
display. This is handled by both the display manager and media router
since neither has complete information about what is happening.
Much of this code will no longer be needed once wifi display support
is integrated directly into the media router service.

Ensure that we don't attempt to scan or connect to wifi displays
while the wifi display feature is off.

Infer when a connection attempt fails and unselect the wifi display
route automatically so it doesn't appear to be connecting forever.

Fix issues around correctly canceling and retrying connection attempts.
Often we would cancel but not retry.

Improved connection reliability somewhat. It seems that discovery must
already be in progress in order for a connection attempt to succeed.

Ensure QuickSettings uses exactly the same logic as the MediaRouteButton
to determine when the remote display tile should be made visible.

Bug: 11717053
Change-Id: I18afc977b0e8c26204b8c96adaa79f05225f7b6e
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
e7ae644522f692c204d0233f91e77c7841bdfe53 13-Nov-2013 Jeff Brown <jeffbrown@google.com> Finalize assets for screen casting.

Extend wifi display connection timeout.

Show a notification while connecting to wifi display.

Ensure that remote display providers are really trusted before
connecting to them.

Bug: 11257292
Change-Id: Iad0caaa30d7946df818bc75ade071f2e377f8a53
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
e38af818b10e1a4927cc3fd69d19c9125d579321 30-Aug-2013 Chong Zhang <chz@google.com> wifi-display: add a global setting to force WPS config method

Bug: 9371882
Change-Id: I7417535f12fa5b75be471974250cfd13e45f87b2
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
72193e1f329ec91bfd86f977035caecb00914444 30-Aug-2013 Chong Zhang <chz@google.com> wifi-display: disable WFD IE when Wifi display is turned off

Change-Id: Ibd7e3a59f7988975b4ac6c7efdba2b545097a2bd
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
1f3ecaae6303d5ee6c5ca8499262c9962f036365 04-May-2013 Chong Zhang <chz@google.com> wifi-display: add certification options

When certification mode is enabled:

- Pass wfd session info to wifi display settings

- Allow sink to connect to source

- Add interface in display manager for pausing/resuming session

- Add interface in WifiP2pManager for setting lc, oc and starting
autonomous GO

Note that we're compliant regardless of certification mode, but
some confusing options (eg. allowing incoming connection from
sink) we want to hide when not being tested.

Bug: 9371882
Change-Id: Icc7dcae4e046453796cfa03f5f197055fabf234b
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
f15ef4b02cf2e4298a6eca9709693f1e720c18c6 10-Aug-2013 Jeff Brown <jeffbrown@google.com> Remove setRemoteSubmixOn method.

The submix will be controlled automatically from now on based on
whether there is an active audio recorder.

Bug: 10265163
Change-Id: I90a8592136c6507680e70f054243df70cc82efad
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
ab87a63997a7dc771acfd0dcd7efda990dc3d5fe 11-Jun-2013 Chong Zhang <chz@google.com> MediaRouter: grey out wifi displays that's in use

bug 9229799

Change-Id: I9f5fd2107f60c492d42c74e575e6483838a51267
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
21f603996ed83c7a9a6c430582e8a5af5ac13c6c 05-Jun-2013 Chong Zhang <chz@google.com> wifi-display: set display to unavailable if p2p device is unavailable

Bug 9229799

Change-Id: I680015943f40cded45645dfa0eae42bbce5ce9a3
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
f110a3701b8d7ac435c5bb65df4dd9d758be1762 18-Apr-2013 Jeff Brown <jeffbrown@google.com> Sent hint to Wifi driver when enabling WFD.

Bug: 8521148
Change-Id: I53b4cf7a3714b28f9df457e559abe92711c02cef
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
6681be27875a50bd0c74826cb5d8defec72b8d58 29-Nov-2012 Irfan Sheriff <isheriff@google.com> WFD: Fallback to PIN mode if PBC is not supported

Bug: 7627641
Change-Id: Ibba6114f907c67f1cb60c460d5b65479f2d1b148
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
74da109102864f19b3dcdb30cd1d92c46fb12f2f 08-Nov-2012 Jeff Brown <jeffbrown@google.com> Support Wifi display devices that rename themselves.

Some Wifi display devices like to rename themselves after a
connection completes (or at other times). Make sure to update
the name of the display when we detect that it changed in
our scan results.

This problem is somewhat complicated by the fact that we remember
the display name persistently, so we need to update our list
of remembered displays too.

Improve the state machine to avoid redundant attempts to
disconnect or cancel connection.

Bug: 7478895
Change-Id: I35a9e2c6a8deadbe892dacd5e3b4a5a2b12d6cf0
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
56925d65fde7f1ac8676ada6f91d0e604645c0a5 02-Oct-2012 Irfan Sheriff <isheriff@google.com> Always update peer list in display controller

Display controller should always stay in sync with peer list to avoid
showing incorrect available status on peers which would
cause connectivity issues.

Bug: 7268307
Change-Id: If04644339c1ee3f567939e4441dd6f6a45e4179a
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
2c2ca5cb7c083cd53dee00e71af99d1abf931976 24-Sep-2012 Irfan Sheriff <isheriff@google.com> Increase WFD connect time out to 60s

The worst case WPS timeout for GO negotiation is two minutes.
Until, we better handle cancelling/disconnecting and re-syncing the
WFD framework with the wifi direct framework/supplicant, increase
the time out to 60s to help with dogfood

Bug: 7217600
Change-Id: I1ba0d9963b957454e2c6f47bfdf05176dea07be7
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
99766cf40ed706aad36032f2107fb0c1e54fc398 21-Sep-2012 Irfan Sheriff <isheriff@google.com> Use min group owner intent for concurrency

Our device only supports STA & GC concurrency

Change-Id: I4f16c959a6f4e7ad5610dcae67be830d741f162c
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
c2b9ea624148df80945afad4198fe686a0ab8dca 20-Sep-2012 Jeff Brown <jeffbrown@google.com> Make wifi display state changes more robust.

Bug: 7178216
Change-Id: Icceaeb61730b0b4916cdda44459f4c69553e303c
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
89d5546d7fd3a3bb19820c42e8b4527013dd6545 19-Sep-2012 Jeff Brown <jeffbrown@google.com> Add support for remembering Wifi display devices.

Add a setting to globally disable Wifi display.

Fixed a bug where the wifi display broadcast receiver
was running on the wrong thread.

Removed the wifi-display QuickSettings dialog, all functionality
has been moved to Settings.

Bug: 7178216
Bug: 7192799
Change-Id: I9796baac8245d664cf28fa147b9ed978d81d8ab9
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
24ed2769130a8f9df44e7fc22be52b6282e724c3 18-Sep-2012 Irfan Sheriff <isheriff@google.com> Merge "WFD fixes" into jb-mr1-dev
e0c28d5f1358fc2d4c464f910bd04fed4b283fef 18-Sep-2012 Irfan Sheriff <isheriff@google.com> WFD fixes

- Specificy max GO intent for WFD
- Increase GO idle time out to 20s and use it for GO and client
- Fix connection broadcast

Change-Id: Ia0e28bc9eb3e23d2830a6c814c5a537ca0bcd5db
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
049dd8e6a3815519062902cc6b6f91940c54d5ea 18-Sep-2012 Dave Burke <daveburke@google.com> Merge "Revert "Specify max go intent for wifi display"" into jb-mr1-dev
ee261a5a6cd7da6d95d5c96981e0dfc068f48a05 18-Sep-2012 Dave Burke <daveburke@google.com> Revert "Specify max go intent for wifi display"

This reverts commit 7ab7260697de617aced0b0ba594304a42e5395bd

Change-Id: I5b322f41729695465b164e1dfe6d4b1902cd8117
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
218e2f199b9ba568a815d64269ea0784e2d32935 18-Sep-2012 Irfan Sheriff <isheriff@google.com> Merge "Specify max go intent for wifi display" into jb-mr1-dev
7ab7260697de617aced0b0ba594304a42e5395bd 18-Sep-2012 Irfan Sheriff <isheriff@google.com> Specify max go intent for wifi display

For p2p and sta single channel concurrency, we need the device
to be a GO

Change-Id: I8c3f180b8fc450238e24dace478f03cdf4e370a7
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
c9bd4ca005768cb30aaaa44c1171e113c13cd107 17-Sep-2012 Jeff Brown <jeffbrown@google.com> Swap remote submix initialization order.

Need to turn the submix on before connecting and off
after disconnecting.

Change-Id: I53389c3b61e6d663855accd0461eed42a67d9d2b
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
cdfc56a3872f6bae7c43aedd5c718c5fa3fbdf9d 14-Sep-2012 Jeff Brown <jeffbrown@google.com> Merge "Add preliminary API for reporting display capabilities." into jb-mr1-dev
c5df37c285221d0fb113f55b9e78b35632241d3f 13-Sep-2012 Jeff Brown <jeffbrown@google.com> Add preliminary API for reporting display capabilities.

Change-Id: Ie18dce5b5d130f9a7cdfca08cddbf9b099312277
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
88469e56c8294a928e65398352e8444d66bdb75a 13-Sep-2012 Jeff Brown <jeffbrown@google.com> Enable remote submix for wifi display.

Change-Id: Ib6cad4ecfed91abf835555a1089a206ee9b0763c
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
f8f0eddd07d22ab815d97dd32ae6ed52dc31a80c 12-Sep-2012 Jeff Brown <jeffbrown@google.com> Improve reporting of wifi connection state.

We should only report that the wifi display is connected
after the RTSP connection has been fully established.

Change-Id: Ifc6bc5d5cebd42d551026885b31cbc74b7ece2b1
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
59c53c6224e2f84d31a56854ebe90d22055100d2 11-Sep-2012 Jeff Brown <jeffbrown@google.com> Don't auto-discover peers until scan requested.

Change-Id: I4ad08873567a5ac86e9bd46abd2375b183e2e95b
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
0f68d166e6ca45fe27410ea520967275e0733757 11-Sep-2012 Jeff Brown <jeffbrown@google.com> Use wfdInfo to filter available sinks.

Change-Id: If056267738f70835af645a8c6e7a91c0c5407816
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
5e0cc0d7ab29e5fbd11316cd3147ef96d65f8de7 10-Sep-2012 Andreas Huber <andih@google.com> Fix port logic in WifiDisplayController.

It's not the port advertised in the sink's wfd IE, it's the one our
source broadcasts in its wfd IE. In addition some dongles ignore the
broadcast port and have to be special cased.

Change-Id: Id5d279652e336391ba34dfc30bba700043d49b1d
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
180bbc71810496e280e9993177bfeddb3ad1f558 09-Sep-2012 Jeff Brown <jeffbrown@google.com> Improve Wifi display discovery API.

Change-Id: I4d46503e5413f52da16f79bbc9c631cc5ae9c178
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
e08ae388d63c4db8f9d9a7ecd634f9a51f6e91b9 08-Sep-2012 Jeff Brown <jeffbrown@google.com> Add new wifi display discovery API.

The API is quite simple. There are a few extra functions
on DisplayManager to scan, connect and disconnect from
wifi displays and get status, and a single protected
broadcast sent when the status changes.

Change-Id: Ic91dbab5ee818e790b27fa32e1a1e93788793be0
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
0cfebf28b15e85a42981a8f9e6a09556bef36ea3 08-Sep-2012 Jeff Brown <jeffbrown@google.com> Retry wifi display connections.

Change-Id: I48c62c7e272c2696022ddeea1c3107d24a9431b8
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
4d0b56255489efc3b35b9f0187f56536f07d5d66 08-Sep-2012 Jeff Brown <jeffbrown@google.com> Disable hardcoded wifi display adapter.

Change-Id: Id0f7d59b6eafa8794ff7616cf54a0b94ba78c763
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java
cbad976b2a36a0895ca94510d5208a86f66cf596 05-Sep-2012 Jeff Brown <jeffbrown@google.com> Add support for Wifi display.

Change-Id: I99693786cf9d07d07d3400046c55eb4933730b80
/frameworks/base/services/java/com/android/server/display/WifiDisplayController.java