summaryrefslogtreecommitdiffstats
path: root/tests/RemoteDisplayProvider/res
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2013-11-07 00:30:16 -0800
committerJeff Brown <jeffbrown@google.com>2013-11-07 03:25:37 -0800
commit69b07161bebdb2c726e3a826c2268866f1a94517 (patch)
tree8d9c94f32a045a8f5c48ca0f1380abc760eac807 /tests/RemoteDisplayProvider/res
parentf3c99e883f46c56e5e2877e844b902b6eb45545b (diff)
downloadframeworks_base-69b07161bebdb2c726e3a826c2268866f1a94517.zip
frameworks_base-69b07161bebdb2c726e3a826c2268866f1a94517.tar.gz
frameworks_base-69b07161bebdb2c726e3a826c2268866f1a94517.tar.bz2
Add media router service and integrate with remote displays.
This change adds a new media router service whose purpose is to track global state information associated with media routes. This service publishes routes to the media router instance in application processes and handles requested state changes such as selecting or unselecting global routes. The service also binds to remote display provider services which can offer new remote display routes to the system. Includes a test application for manually verifying certain aspects of the operation of the media router service. The remote display provider interface is essentially a stripped down media route provider interface as defined in the support library media router implementation. For now, it is designed to be used only by first parties to publish remote display routes to the system so it is not exposed as public API in the SDK. In the future, the remote display provider interface will most likely be deprecated and replaced with a more featureful media route provider interface for third party integration, similar to what is in the support library today. Further patch sets integrate these new capabilities into the System UI and Settings for connecting remote displays. Bug: 11257292 Change-Id: I31109f23f17b474d17534d0f5f4503e388b081c2
Diffstat (limited to 'tests/RemoteDisplayProvider/res')
-rwxr-xr-xtests/RemoteDisplayProvider/res/drawable-hdpi/ic_app.pngbin0 -> 3608 bytes
-rw-r--r--tests/RemoteDisplayProvider/res/drawable-mdpi/ic_app.pngbin0 -> 5198 bytes
-rw-r--r--tests/RemoteDisplayProvider/res/values/strings.xml19
3 files changed, 19 insertions, 0 deletions
diff --git a/tests/RemoteDisplayProvider/res/drawable-hdpi/ic_app.png b/tests/RemoteDisplayProvider/res/drawable-hdpi/ic_app.png
new file mode 100755
index 0000000..66a1984
--- /dev/null
+++ b/tests/RemoteDisplayProvider/res/drawable-hdpi/ic_app.png
Binary files differ
diff --git a/tests/RemoteDisplayProvider/res/drawable-mdpi/ic_app.png b/tests/RemoteDisplayProvider/res/drawable-mdpi/ic_app.png
new file mode 100644
index 0000000..5ae7701
--- /dev/null
+++ b/tests/RemoteDisplayProvider/res/drawable-mdpi/ic_app.png
Binary files differ
diff --git a/tests/RemoteDisplayProvider/res/values/strings.xml b/tests/RemoteDisplayProvider/res/values/strings.xml
new file mode 100644
index 0000000..dd82d2c
--- /dev/null
+++ b/tests/RemoteDisplayProvider/res/values/strings.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="app_name">Remote Display Provider Test</string>
+</resources>