1087 Commits

Author SHA1 Message Date
Amith Yamasani
5470bc184a Revert some new APIs for restrictions provider
Simplify back to being a broadcast receiver and add an extra to
indicate that a new request is desired vs. returning a pending
response from before.

Change-Id: Iafd16ed98293a2cc09006d2cce097fc3d590bbe2
2014-07-15 09:43:20 -07:00
Wonsik Kim
969167dc05 TIF: Revisit availability changes
Bug: 15838097, Bug: 15973274
Change-Id: Ida060696cb6222c8ced576d86c100c25d94dc5c0
2014-07-15 02:58:33 +00:00
Sailesh Nepal
864a2b291b Remove CallServiceProvider and CallServiceDescriptor do not merge
This CL removes CallServiceProvider. Instead of using a
provider we'll look up ConnectionServices using the package
manager instead.

This CL also removes CallServiceDescriptor. For incoming calls,
connection services will now pass a PhoneAccount instead
of a call descriptor. For outgoing calls we already use
PhoneAccounts for everything.

Change-Id: I2e40c5c64c0d242dc41b680943d7e9209142db5b
(cherry picked from commit 7ade570fdc1ae719abca54867d97dc7f0130d664)
2014-07-14 23:23:17 +00:00
Jeff Brown
1a937b04e6 Initial draft of new MediaRouter APIs.
This patch introduces basic infrastructure for the new MediaRouter
API.  The code is fully documented but incompletely implemented.
It is being submitted not to facilitate API reviews.

MediaRouter is a new class that applications used to discovery,
connect to, and control media devices as represented by media
destinations and their routes.  Routes may offer a variety of
capabilities.  This new class is a much more powerful replacement
for the existing MediaRouter.

MediaRouteService is a base class for creating media route services
which third-parties can implement to make routes available to
applications.  It is analoguous to the MediaRouteProvider
infrastructure of the old media router support library but it
is designed to be integrated into the framework and enable a
variety of new usages such as remote display projection.

Stay tuned for more...

Change-Id: I2c7c6013d9f751d71e83697e7fc9e49bf7751fef
2014-07-14 04:38:14 -07:00
Jeff Brown
01a500ed1c Delete first draft of media routing APIs.
The new APIs will not be as tightly integrated into MediaSession.

Change-Id: I5cfd37d9d8d0c5d46c55edb5cf0772a8f1ef13ab
2014-07-14 04:06:44 -07:00
Amith Yamasani
f6e2fcc2ea Improvements to Restrictions API
Convert restrictions provider to a service instead of a receiver.
Add a way to get pending responses from restrictions provider.
Add AbstractRestrictionsProvider.
Add a callback API for responses.

Removed some constants in RestrictionsManager.
Added new constants for errors and error codes.
Much improved javadocs.

Bug: 16176009

Change-Id: I838a50fabc80b94b632294b3a55cd5d8092acf55
2014-07-13 07:17:56 -07:00
Jeff Sharkey
bb58067035 Progress toward installer public API: callbacks.
Instead of surfacing all the existing cryptic error codes, we're
going to classify them into broad categories when surfacing through
public API.  This change introduces InstallResultCallback and
UninstallResultCallback, and wires them up to existing AIDL
interfaces.

Also start defining general SessionObserver for apps interested
in general progress details, such as Launcher apps.  Details about
active sessions are returned through new InstallSessionInfo objects.

Bug: 14975160
Change-Id: I068e2b0c30135f6340f59ae0fff93c321047f8f9
2014-07-11 16:54:49 -07:00
Etan Cohen
a4d88d1e6e IMS: Add Config interface to get/set IMS service/capabilities
Change-Id: I5f422aae105cbf8e85aee711aaa49b5d2e958573
2014-07-11 23:23:34 +00:00
destradaa
a4fa3b5aa5 Add support in the platform for Activity Recognition Hardware.
Change-Id: I7c4fff3526583475a5edf1f4ba8fede4e9419ead
2014-07-11 15:58:36 -07:00
destradaa
ea8a8a6076 Update location framework to accept raw data from GPS HAL.
Change-Id: Ib4feca004b53fa89dcece4299974ab08913455a0
2014-07-11 12:20:39 -07:00
Andres Morales
68d4acd205 Service for reading and writing blocks to PST partition
Permits apps with permission
android.permission.ACCESS_PERSISTENT_PARTITION to obtain
a read and write data blocks to the PST partition.

Only one block ever exists at one time in PST. When
a client writes another block, the previous one is
overwritten.

This permits storing a block of data that will live
across factory resets.

Change-Id: I8f23df3531f3c0512118eb4b7530eff8a8e81c83
2014-07-09 16:27:17 -07:00
Fabrice Di Meglio
6828cd5bc4 Make more room for methods in framework jar
- put android.filterfw and android.filterpacks in framework2

Change-Id: I1ecc6ab833d6c6d20d976789bacfd085f4e0bff9
2014-07-08 22:16:00 +00:00
Ye Wen
db37578630 Merge "Remove dependency on deprecated mms-common module" 2014-07-02 18:55:10 +00:00
Ye Wen
27714569c3 Remove dependency on deprecated mms-common module
Change-Id: If94d31b0dc2ac8ef6264001b7889bdc22b31b813
2014-07-07 17:16:15 -07:00
Jinsuk Kim
119160a681 Add vendor-specific command API for HdmiControl
Vendor-specific commands are not handled by the service. This CL
opens an API for vendors to implement customized handling of
CEC commands specific to their needs.

Change-Id: I8bfa3b891bd7994a903b3b41d7c2b27464167afa
2014-07-08 04:46:05 +00:00
Sailesh Nepal
2a46b90222 Move ICallService.aidl to IConnectionService.aidl
Change-Id: I5a082e50dafea0104174cb97d3ae8af168944fc3
2014-07-08 04:15:55 +00:00
Jeff Sharkey
be520fba1e Teach DCS about cluster packages.
For the time being, DCS is going to still be doing heavy lifting for
some install tasks, so it need to know how to handle both monolithic
and cluster packages.  This change is mostly plumbing work to
eventually handle any various splits APKs that we may encounter.

Bug: 14975160
Change-Id: I39848d5666f9083cb4eca493e5cdaa868f3f99fb
2014-07-05 19:16:53 -07:00
Jinsuk Kim
9c37e1f53e Implement some apis for TV Input Framework and HdmiControlService
- setInputChangeListener()
- getInputDevices()

Change-Id: I6f7d6d9c7094018e2b6b5ba37f63c8ee5df00e37
2014-07-04 11:22:51 +09:00
Craig Mautner
c0ffce5ddd Use cached thumbnails in Recent tasks.
The thumbnail returned from ActivityManager.getTaskThumbnail() now
contains either a Bitmap or a ParcelFileDescriptor that points to
a file containing a compressed Bitmap. The Recent tasks list is
now responsible for all thumbnail Bitmap caching as the activity
manager keeps only the most recent 5. This also permits low memory
devices to have many more tasks in the Recent tasks list.

As part of this CL the concept of subtasks is removed eliminating
code supporting the TaskAccessInfo and IThumbnailRetriever classes.

Fixes bug 15828934.

Change-Id: I0fd0320a1a04e3c78d79357899b83a2fff97abf2
2014-07-02 16:31:46 -07:00
Jeff Brown
dba34ba35c Make MediaSessionToken an inner class of MediaSession.
Also add some missing AIDLs to the framework makefile to ensure
they are included in the SDK.

Change-Id: If85a3091c7591e0b3bbe6cc4bb74aba2284b4f42
2014-06-30 16:05:25 -07:00
Robert Ly
47768ca16c am c32386ea: am 4cdf8373: add api 20
* commit 'c32386ea44fb414e83fd503274bf7b5a9578fb04':
  add api 20
2014-06-30 01:04:03 +00:00
Robert Ly
476c287d59 am 7b7f68ec: am 63234bf7: Merge "Revert "add API reference docs filtering for level 20"" into klp-modular-dev
* commit '7b7f68ec940b730d2f06115d518a62e878c2f4f4':
  Revert "add API reference docs filtering for level 20"
2014-06-30 01:03:58 +00:00
Robert Ly
3d19bf1df3 am bc2b0529: resolved conflicts for merge of 4d329a8f to klp-modular-dev-plus-aosp
* commit 'bc2b05299d5fb369aa5c912ccad8e8e3ade06d90':
  add API reference docs filtering for level 20
2014-06-30 01:03:52 +00:00
Robert Ly
c32386ea44 am 4cdf8373: add api 20
* commit '4cdf83735de741bb44a9078b080dbdaf9db891a0':
  add api 20
2014-06-30 01:00:08 +00:00
Robert Ly
7b7f68ec94 am 63234bf7: Merge "Revert "add API reference docs filtering for level 20"" into klp-modular-dev
* commit '63234bf7ab9a05f2e8fb858a31af270ca82b33ad':
  Revert "add API reference docs filtering for level 20"
2014-06-30 01:00:03 +00:00
Robert Ly
bc2b05299d resolved conflicts for merge of 4d329a8f to klp-modular-dev-plus-aosp
Change-Id: Id8096712bc63fe16f93dca4a7963440e11087f7a
2014-06-29 17:55:24 -07:00
Robert Ly
4cdf83735d add api 20
DO NOT MERGE

Change-Id: Iae685158ac9c08e3a074e36d60004faf995fd1c7
2014-06-29 16:53:54 -07:00
Ying Wang
5e14541faf Include online-system-api-sdk only if it's requested.
We can remove the conditional once the build is fixed.
Change-Id: I367504cf378280cc0a8eff0a7a3eb0936a4828c0
2014-06-28 21:01:48 -07:00
Ying Wang
079d13e246 Add target to build System API docs.
Also generate system_api.txt.

Change-Id: I413f7b3e455643450f959088dfabbc47296e0189
2014-06-27 17:12:31 -07:00
Robert Ly
7b7d2ac12d Revert "add API reference docs filtering for level 20"
This reverts commit 7d7d4d6b86bdbfc54c63830351cf8d2f3830b68a.

Change-Id: I41e89bf297cb11db62601b3df0e6c655d7579007
2014-06-29 23:49:46 +00:00
Robert Ly
7d7d4d6b86 add API reference docs filtering for level 20
Change-Id: Iaab9d0965511d0394e7be29adb0fbcfd2904b857
2014-06-29 16:39:06 -07:00
Dirk Dougherty
eec155cbcd Revert "Add api 20 to list used by reference docs."
This reverts commit 99296a12c0d9a036518704610be07d3466b7e4b0.

Change-Id: Icf047da4ed344a86d84d1da7892a4303468919ca
2014-06-27 23:59:52 +00:00
Dirk Dougherty
99296a12c0 Add api 20 to list used by reference docs.
Change-Id: Icdf0e9238846f943db527becde92d38f362a9f32
2014-06-27 15:44:19 -07:00
Tyler Gunn
7c668b921b Adding CallVideoClient, used to provide a callback mechanism for the
framework to notify the InCallUI of events related to video calls.

Change-Id: Ife628b27bcefd8e88df2fc899cbbcfa07cfac90b
2014-06-27 21:57:12 +00:00
smain@google.com
6988c162a3 am 590ee5f9: fix build, remove briefdocs
* commit '590ee5f935139eeceec6ed75f658cb6007f82897':
  fix build, remove briefdocs
2014-06-26 15:55:27 +00:00
smain@google.com
590ee5f935 fix build, remove briefdocs
Change-Id: I94a611f4bdc2b9c7f305727aacf2edbe63b4ece7
2014-06-26 08:31:11 -07:00
smain@google.com
aaba687d04 am dfb41027: lots of updates to the wear design guide actually decent layout with images
* commit 'dfb4102718dcb87acdf4015dc44ab578f57e945f':
  lots of updates to the wear design guide actually decent layout with images
2014-06-26 09:49:58 +00:00
smain@google.com
dfb4102718 lots of updates to the wear design guide
actually decent layout with images

Change-Id: I45047158b61d3d8202b0f77e1ff8aea9c57da7c5
2014-06-25 22:03:59 -07:00
Robert Ly
1e1ca756a9 am 823ce529: Merge "fix build" into klp-modular-dev
* commit '823ce5298fec4d0d9f5773ce16af882e633f1f16':
  fix build
2014-06-25 19:12:46 +00:00
Robert Ly
925db3bc6a fix build
Change-Id: I1f5ab49236b85cd1bd46e8199e7fd6decad73064
2014-06-25 11:55:00 -07:00
Joe Fernandez
9d644b668c am 6fd69be6: Merge "docs: Android TV Dev Guide, final (probably)" into klp-modular-dev
* commit '6fd69be64cc34e4c3f223420dc404dadc244f28e':
  docs: Android TV Dev Guide, final (probably)
2014-06-24 22:59:00 +00:00
Robert Ly
27f7c240f6 docs: Android TV Dev Guide, final (probably)
Change-Id: I5b333daa32ff9a50724151631661fab126b68704
2014-06-24 15:23:14 -07:00
smain@google.com
24cc139bfa am 6988c162: am 590ee5f9: fix build, remove briefdocs
* commit '6988c162a38802b02035f019137473e5881f2f50':
  fix build, remove briefdocs
2014-06-26 16:01:28 +00:00
smain@google.com
5574ea6363 am aaba687d: am dfb41027: lots of updates to the wear design guide actually decent layout with images
* commit 'aaba687d04c15d45eb649a25b15fdad0387777b7':
  lots of updates to the wear design guide actually decent layout with images
2014-06-26 10:31:06 +00:00
Wink Saville
f8458ff9d9 Fix lpdk build.
Move aidl files from frameworks/opt/net/ims to frameworks/base so lpdk
compiles. The reason is lpdk doesn't have frameworks/base sources so
references to Pending and Bundle in aidl files breaks the pdk build.

I had to move all of them and the ims/*java files for dependency reasons.

Change-Id: I92452562591b157cecdfc01bcd892c4f35f5965c
2014-06-26 02:37:08 +00:00
RoboErik
19c9518f6a b/15729204 Pipe sessions through to VolumePanel
When remote volume is changed via volume buttons we need to notify
the system UI so it can show the slider. This also passes it the
controller to use so adjustments to the slider are sent back to
the correct session.

Change-Id: If5847bcd5db16c56e0e9904b88c94e5b28954c41
2014-06-25 14:36:51 -07:00
Andrew Lee
0b16d7d807 Merge "Adding CallVideoProvider to Telecomm." 2014-06-25 17:34:07 +00:00
Andrew Lee
13d11c3065 Adding CallVideoProvider to Telecomm.
Change-Id: I16c3c64ff2bcda46e0fd95accb360c972f964b9d
2014-06-24 13:51:59 -07:00
Robert Ly
76bc6f3f4c am 1e1ca756: am 823ce529: Merge "fix build" into klp-modular-dev
* commit '1e1ca756a9db35792df880b39300fcfd07e6f707':
  fix build
2014-06-25 20:53:49 +00:00
Santos Cordon
ad3c74adf4 Merge "Remote Connection implementation." 2014-06-24 08:05:46 +00:00