summaryrefslogtreecommitdiffstats
path: root/services/core/java/com/android/server/media/projection
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused imports in frameworks/base.John Spurlock2015-02-281-5/+0
| | | | Change-Id: I031443de83f93eb57a98863001826671b18f3b17
* Stop active media projections on user switch.Michael Wright2015-02-061-0/+5
| | | | | Bug: 19278080 Change-Id: I63cc8aa12954d4de257b793967d3845a6f86dc3f
* Add missing passive discovery flag automerge: 4444c5bJason Monk2014-10-281-1/+2
|\ | | | | | | | | | | | | automerge: 07faf0e * commit '07faf0e1a1d32408dfdc863a0996baa8522c5fdb': Add missing passive discovery flag
| * Add missing passive discovery flagJason Monk2014-10-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | MediaProjectionManagerService had an active media callback which was causing a service to be bound 100% of the time. Adding a passive flag makes it only observe events, and allow the service to only be bound when needed by apps requesting active discovery. Bug: 18042409 Bug: 17969854 Change-Id: I1bfa6609e2aa507ee2ce227de50f0e5ae951e000
* | Qualify private outer call in MediaProjectionManagerService.John Spurlock2014-10-201-1/+1
|/ | | | Change-Id: Ia4e09bdfe773a27107c0980a1aabf9b09e2b0a46
* Monitor MediaRouter for remote display connections.Michael Wright2014-09-191-0/+37
| | | | | | | | Since we're reusing the cast tile for screen sharing we need to make sure there's only ever one mirroring presentation going on at a time. Bug: 9905068 Change-Id: I249932d0f8853880dd453eb57c2a258e6ae952b0
* Change callback methods from add to register.Michael Wright2014-09-111-3/+3
| | | | | | | | Also changes intent returning method from get to create. Both changes are in response to API council feedback. Bug: 17389882 Change-Id: I3b57e3fc202148e3bbb24ac61229f04e8b4ac41e
* QS: Wire up screen casting to tile/panel.John Spurlock2014-08-251-2/+1
| | | | | | | | | | | | | Use MediaProjectionManager to determine whether or not screencasting is active, when it changes, and to stop casting. Also: - Implement hashCode/equals on MediaProjectionInfo - Fix unintentional recursion in the service. Bug:16488053 Change-Id: Icd1a88f23bbdf1d4c1915b30cb2508f8fe9d6d7e
* Add callbacks for MediaProjection start / stop.Michael Wright2014-08-171-46/+299
| | | | | | | Also, enforce that there is only one valid MediaProjection at a time. Bug: 16488053 Change-Id: Id05445d798c98cb208bc4dab186296392e15d30b
* Allow media projections to create public presentations.Michael Wright2014-08-071-12/+21
| | | | Change-Id: I3b6e0b54d658352942a38be6a24486bdfc179efd
* Add MediaProjection APIs.Michael Wright2014-07-171-0/+329
The new MediaProjection infrastructure allows the system to hand out tokens granting the ability to capture the screen's contents, audio, etc. at a granular level. It's intended to be used both for screen casting, via the cast APIs, as well as screen sharing via third party applications. The screen sharing case is implemented, but all of audio capturing is still forthcoming. Change-Id: I4b24669bed7083e11413c10ed8d6b025f5375316