History log of /frameworks/base/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fe9a53bc45fd0124a876dc0a49680aaf86641d3e 31-Mar-2017 Jeff Sharkey <jsharkey@android.com> Consistent dump() permission checking.

This change introduces new methods on DumpUtils that can check if the
caller has DUMP and/or PACKAGE_USAGE_STATS access. It then moves all
existing dump() methods to use these checks so that we emit
consistent error messages.

Test: cts-tradefed run commandAndExit cts-dev -m CtsSecurityTestCases -t android.security.cts.ServicePermissionsTest
Bug: 32806790
Change-Id: Iaff6b9506818ee082b1e169c89ebe1001b3bfeca
/frameworks/base/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java
ac3f8e5534b1653a29714b63a3afbc6c1a90e669 04-Aug-2015 Jae Seo <jaeseo@google.com> Unregister the existing callback when MediaProjection stops

Also removed the unnecessary lock in binderDied.

Bug: 22812934
Change-Id: Ief8856276dbd45a4afa632e51df18bd7d60e6bb1
/frameworks/base/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java
05aab5810a5f0296c3650f104c58479b2765c0b7 06-Feb-2015 Michael Wright <michaelwr@google.com> Stop active media projections on user switch.

Bug: 19278080
Change-Id: I63cc8aa12954d4de257b793967d3845a6f86dc3f
/frameworks/base/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java
e58574026b265b4773f1e9bc896ba53530c7a580 28-Oct-2014 Jason Monk <jmonk@google.com> Add missing passive discovery flag automerge: 4444c5b
automerge: 07faf0e

* commit '07faf0e1a1d32408dfdc863a0996baa8522c5fdb':
Add missing passive discovery flag
4444c5b27874866f18cd8f4abb8914cc17857ea7 28-Oct-2014 Jason Monk <jmonk@google.com> Add missing passive discovery flag

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
/frameworks/base/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java
9b84309bea122e63009408b3fa94a3e498ae60c9 20-Oct-2014 John Spurlock <jspurlock@google.com> Qualify private outer call in MediaProjectionManagerService.

Change-Id: Ia4e09bdfe773a27107c0980a1aabf9b09e2b0a46
/frameworks/base/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java
89c2cb6f31cddb926dea3498f8adf01a8cc1426a 14-Sep-2014 Michael Wright <michaelwr@google.com> Monitor MediaRouter for remote display connections.

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
/frameworks/base/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java
cde5bb45cc86d181d96ee69da1832e6132162871 08-Sep-2014 Michael Wright <michaelwr@google.com> Change callback methods from add to register.

Also changes intent returning method from get to create. Both changes
are in response to API council feedback.

Bug: 17389882
Change-Id: I3b57e3fc202148e3bbb24ac61229f04e8b4ac41e
/frameworks/base/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java
78b8c8fbde12b214314cc2ab2644350b5d5189a5 25-Aug-2014 John Spurlock <jspurlock@google.com> QS: Wire up screen casting to tile/panel.

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
/frameworks/base/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java
d86ecd26d78c7bcd7f820b9ef5e3f4c3eb037510 13-Aug-2014 Michael Wright <michaelwr@google.com> Add callbacks for MediaProjection start / stop.

Also, enforce that there is only one valid MediaProjection at a time.

Bug: 16488053
Change-Id: Id05445d798c98cb208bc4dab186296392e15d30b
/frameworks/base/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java
6720be4e8c65e90d4453ddad5cef192bc3820038 30-Jul-2014 Michael Wright <michaelwr@google.com> Allow media projections to create public presentations.

Change-Id: I3b6e0b54d658352942a38be6a24486bdfc179efd
/frameworks/base/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java
c39d47a8e7c74bd539104b0efab898ef6fc43ddf 09-Jul-2014 Michael Wright <michaelwr@google.com> Add MediaProjection APIs.

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
/frameworks/base/services/core/java/com/android/server/media/projection/MediaProjectionManagerService.java