793 Commits

Author SHA1 Message Date
Jeff Brown
aae5886ad8 Merge "Split frameworks/base using inclusion and exclusion rules." 2014-05-27 21:47:06 +00:00
Wonsik Kim
c3a6e23e3f am e32b2d32: Revert "Revert "Add physical TV input handling to TvInputManagerService""
* commit 'e32b2d32d7e4a492bb3038c7bc55988a908437a4':
  Revert "Revert "Add physical TV input handling to TvInputManagerService""
2014-05-27 04:08:51 +00:00
Wonsik Kim
c22dbb6919 Revert "Revert "Add physical TV input handling to TvInputManagerService""
This reverts commit 1940e197a8de186df5edf0b78e0907ae539bd215.

Bug: 14118245, Bug: 15197740
Change-Id: Ia308f16d2ed8ec55112a4d21c180ccb97e8d7c6a
2014-05-27 01:33:50 +00:00
Guang Zhu
82d96d5e21 Merge "Revert "Add physical TV input handling to TvInputManagerService"" 2014-05-24 19:03:02 +00:00
Guang Zhu
70aa0c6db3 Revert "Add physical TV input handling to TvInputManagerService"
Bug: 15197740

This reverts commit c8324a8e70d9f617c92f49e7c0b3e2484d9190fd.

Change-Id: Ie7b5405e929b5903f43188c3445fe9d24ecf92c2
2014-05-24 19:02:50 +00:00
Wonsik Kim
5d038b9d6f Merge "Add physical TV input handling to TvInputManagerService" 2014-05-24 15:13:47 +00:00
Jeff Brown
3d9eb6a50e Split frameworks/base using inclusion and exclusion rules.
Change-Id: I76df8b6c5482f9a154e9812367cfe5a385141605
2014-05-23 18:57:18 -07:00
Christopher Tate
8f64f80888 Run the task manager service at startup
Also moves most of it into android.app.task rather than android.content.

Bug 14993295
Bug 14997851

Change-Id: I9b5738d026ea2526cdfbc96d0239c74687c51611
2014-05-23 16:07:45 -07:00
Adrian Roos
f176e3be88 am fe3a59cf: Merge "Add a cache to LockPatternUtils" into lmp-preview-dev
* commit 'fe3a59cfa476fd22006f585b1c5ae8624d5191df':
  Add a cache to LockPatternUtils
2014-05-23 13:04:10 +00:00
Adrian Roos
4f7884542c Add a cache to LockPatternUtils
Caches responses from LockSettingsService in the client process.

Bug: 15088101
Change-Id: If77c5ec45f52a02c800d50cb8550bfcb180f301d
2014-05-23 14:38:33 +02:00
Wonsik Kim
1f58975996 Add physical TV input handling to TvInputManagerService
Remaining work:
- Support buffer producer profile
- Implement communication with HdmiControlService such as input switch
and key event passing

Bug: 14118245
Change-Id: I01e6a8b5374a0cbe6f2ef1feabe768fd3c65480a
2014-05-23 16:15:58 +09:00
Santos Cordon
5c013261a9 Merge "Adding ITelecommService definition for Telecomm." 2014-05-22 21:21:41 +00:00
Christoph Studer
08a7b76441 Move more packages to framework2
Change-Id: Ib8e3c915479eb5bc029256934d522f3714071bc2
2014-05-22 14:22:26 +02:00
Lorenzo Colitti
e2c7a76464 Merge "Add an EthernetManager." 2014-05-22 05:54:57 +00:00
Santos Cordon
6848f72a49 Adding ITelecommService definition for Telecomm.
Until telecomm code moves into a system service, we need a way for
other apps to call into it for call-related functionality.

Initial implementation only has silenceRinger.
This is to be implemented by the telecomm code and used by
TelephonyManager (until we have a TelecommManager).

Change-Id: I9180797451dcb2e9029b20bed47f5d5cb8cddb9f
2014-05-21 22:49:09 -07:00
Jinsuk Kim
dbbceffd9b Merge "Add feature actions for HDMI-CEC playback device" 2014-05-22 03:19:23 +00:00
Jinsuk Kim
78d695d8ba Add feature actions for HDMI-CEC playback device
- OneTouchPlayAction
- DevicePowerStatusAction
- addHotplugEventListener
- removeHotplugEventListener

Change-Id: Ia7f31507ca62127efbacbbfe07ab43ba1f9bd4cf
2014-05-22 11:15:51 +09:00
Lorenzo Colitti
4e5aa2cee6 Add an EthernetManager.
The implementation will live in frameworks/opt/net/ethernet.

Bug: 7606609
Bug: 8687763
Bug: 14993642
Bug: 14981801
Change-Id: Ic771e268b0c78f0fc32f46af6fe0dd7c634a426e
2014-05-21 16:41:24 -07:00
John Spurlock
3346a80208 VolumeZen: SystemUI now hosts the volume dialog.
- Allow SystemUI to set the volume controller interface using
  a new binder call to audio service.
- Remove VolumePanel's dependency on AudioService.
- Host the base VolumePanel in the SystemUI process.

Change-Id: I095d5a1a579d42b68d0f81abb4087bd0c754b876
2014-05-21 09:58:41 -04:00
Roger Chang
7fee7232ee Hotspot 2.0 framework - add implementation
Bug: 5485670
Change-Id: I4d0f728f4c20676232f2d61bbf49691f6e21a100
2014-05-20 18:25:56 -07:00
Andres Morales
62b25a5bf0 Revert "Adding INfcUnlockSettings and NfcUnlock interface class."
This will be re-added as a Trustlet in a subsequent CL.

This reverts commit 38a7ed05f8fed0aa81f7214d827875f9876ffbe1.

Change-Id: I5aa36df42a7751f165b4ef184e0cda57e5568b59
2014-05-20 16:59:34 +00:00
Santos Cordon
94a873de0f Merge "Remove methods added in TelephonyManager." 2014-05-19 15:18:51 +00:00
Jinsuk Kim
fc9c89f9aa Merge "HdmiControlManager with HdmiPlaybackClient API definition" 2014-05-18 22:50:16 +00:00
Jinsuk Kim
91120c541a HdmiControlManager with HdmiPlaybackClient API definition
This is a rewrite of HdmiCecManager that exposes API for CEC Playback
device control. HdmiCecManager will be removed together with
HdmiCecService once the migration is completed.

Replaced direct access to CEC commands with the following 2 API:
- oneTouchPlay
- queryDisplayStatus

Each method requires communication with other device on CEC bus,
hence might take some time to finish. The result at the end of
protocol exchange is reported through a callback provided as a
parameter to the method.

The callback is based on interface not abstract class since
it has only one method 'onComplete'.

Change-Id: I41e9d4571f890303282a79a803c86530d0b46974
2014-05-19 07:46:26 +09:00
Yuhao Zheng
a486447231 Hotspot 2.0 framework APIs -- initial implementation
Cherry-picked from klp-wireless-dev-mirror
SHA1: e73969fac45aaca72528226dc8c0c5e54fb2cdd4

Bug: 5485670
Change-Id: If3250a2fae181a3774d3158e341220006ad6ebe5
2014-05-18 09:41:35 -07:00
Santos Cordon
14816d669b Remove methods added in TelephonyManager.
Change-Id: I771502ab76dfc24eb19b9ff58b029bea45d6832c
2014-05-16 17:58:09 -07:00
Jeff Sharkey
e8b718c264 Merge "Initial support for split APKs, PackageInstaller." 2014-05-15 01:37:35 +00:00
Jeff Sharkey
3a44f3f1b4 Initial support for split APKs, PackageInstaller.
Defines a new PackageInstaller class that will be used for installing
and upgrading packages.  An application desiring to install an
application creates a session, stages one or more package files in
that session, and then kicks off the install.

Previously, PackageManager would always make its own copy of a package
before inspecting it, to ensure the data could be trusted.  This new
session concept allows the installer to write package data directly to
its final resting place on disk, reducing disk I/O and footprint
requirements.  Writes are directed through an intermediate pipe
to ensure we can prevent mutations once an install has been initiated.
Also uses fallocate() internally to support optimal ext4 block
allocation using extents to reduce fragmentation.

Sessions are also the way we support installing multiple "split" APKs
in a single atomic operation.  For a set of packages to form a valid
application, they must have exactly the same package name, version
code, and certificates.  A session can also be used to add a small
handful of splits to an application by inheriting existing packages
when not performing a full install.

Add PackageParser support for extracting split names and certificates.

Bug: 14975160
Change-Id: I23d1bf4fbeb9f99a8c83be0c458900a0f0d1bccc
2014-05-14 18:12:24 -07:00
Winson Chung
4fe8628006 Merge "Adding method for applications to query their own tasks. (Bug 14627210)" 2014-05-15 01:05:22 +00:00
Winson Chung
1147c40651 Adding method for applications to query their own tasks. (Bug 14627210)
Change-Id: I33299bf59784849171b19af4a5be2ab7665581c5
2014-05-14 12:11:01 -07:00
Dianne Hackborn
d9225ba404 am 60549e20: Merge "Usage stats!"
* commit '60549e202fd57679b0ead98224264c3308106ebd':
  Usage stats!
2014-05-08 22:04:02 +00:00
Dianne Hackborn
e22b3b1432 Usage stats!
Start reworking the usage stats service to be able
to have an API we can publish.

The basic information it keeps is still the same, though
that will be changing in the future.  The one big addition
here is that we are also now collecting configuration usage
stats.

Also introduce the start of an access model for usage stats,
using app ops.  There is an new app op that gives an application
access to usage stats even if it normally wouldn't have it,
disabled by default.

Change-Id: I6ead28e18a7f08eafd057d6ff37dd9cb216358f4
2014-05-08 13:58:13 -07:00
Vinit Deshapnde
6f5494c749 am c5fe3c17: Merge "Initial implementation of WifiScanner"
* commit 'c5fe3c179c9f82cacaf0ac082f49de9f9c31708c':
  Initial implementation of WifiScanner
2014-05-08 08:45:04 +00:00
Vinit Deshapnde
011e1b35a6 Initial implementation of WifiScanner
This change implements basic functionality of WifiScanner. Following
functionality is enabled

1. Scanning - specify a list of channels to scan
2. Significant change detection
3. AP hotlist

Change-Id: Ieef75b96bdbbd3c7d9b9e698bd16e64d3b465254
2014-05-07 21:14:24 -07:00
Ying Wang
dd0a28f80d am 68dca221: Merge "Check doc comments when you run update-api."
* commit '68dca221e2457dcf813a6308e504e9f67d69a6ca':
  Check doc comments when you run update-api.
2014-05-07 18:40:24 +00:00
Ying Wang
ed896004d6 Check doc comments when you run update-api.
Bug: 14614668
Change-Id: I7ae8de19b51aeaeef70e2ba8bfa268ec70dfaf64
2014-05-07 10:26:44 -07:00
Jim Miller
353bda0985 am d031e36c: First pass at adding FingerprintManagerService
* commit 'd031e36c433c94fc6da3732be7e61aa906e45ec4':
  First pass at adding FingerprintManagerService
2014-05-07 02:32:29 +00:00
Jim Miller
08fa40c5cb First pass at adding FingerprintManagerService
This adds a new service for monitoring and enrolling fingerprints
to the platform.

Fixed documentation links.

Change-Id: I66013be5e09be9c5f9746c46aacf32d3e26c3b73
2014-05-07 02:27:21 +00:00
Dianne Hackborn
ed433f5b88 am 89094f50: Merge "Make GET_TASKS signature|system."
* commit '89094f504091775d1f7ff68cf9cde11c87d2417a':
  Make GET_TASKS signature|system.
2014-05-02 20:21:00 +00:00
Dianne Hackborn
0923328962 Make GET_TASKS signature|system.
Normal apps can't hold it now.  If they try to use
getRecentTasks() or getRunningTasks() without the permission,
they will only see their own tasks and home in the list.

Also took this opportunity to eradicate all of the old pending
thumbnail stuff.

Change-Id: I6dc52a06221c78097162e4a8b482027b798bf3ee
2014-05-02 11:51:26 -07:00
Jeff Davidson
8319d99a34 am 9e35d785: Merge "API for network cache subsystems."
* commit '9e35d785d00a3dd219f08cb5bdf5d3c525837619':
  API for network cache subsystems.
2014-05-02 15:37:00 +00:00
Jeff Davidson
4cd4110f20 Merge "API for network cache subsystems." 2014-05-02 15:33:36 +00:00
Matthew Williams
abb81817ea am a54edd7e: Merge "TaskManager API first pass."
* commit 'a54edd7eb31e641630d594de37b3ee9ce6ddfa61':
  TaskManager API first pass.
2014-05-01 17:49:34 +00:00
Matthew Williams
674bc2fca5 Merge "TaskManager API first pass." 2014-05-01 17:45:34 +00:00
Jeff Davidson
14f1ec05b2 API for network cache subsystems.
A network subsystem (e.g. Wi-Fi) will be responsible for implementing
INetworkScoreCache. NetworkScoreService will load caches for each
configured network subsystem. When it receives a call to update
scores, it will separate the networks by type and call updateScores on
the appropriate INetworkScoreCache.

Each subsystem will also be responsible for requesting scores for new
networks by calling NetworkScoreManager#requestScores.

Bug: 14408144
Bug: 14137255
Change-Id: I76e5e5205bc359c39d6b9c1782126fb7f465cd96
2014-04-30 17:50:46 -07:00
Dianne Hackborn
99a58b0e3a am c60f1877: Merge "Rework some of the voice interaction APIs."
* commit 'c60f1877896e795a6add525ee36770e3aa77dc29':
  Rework some of the voice interaction APIs.
2014-04-28 20:37:33 +00:00
Dianne Hackborn
18f0d357f9 Rework some of the voice interaction APIs.
On the app side, requests are now composed by subclassing
from various types of Request objects.

On the service side, starting a voice interaction session
involves starting another service that will then manage the
session.  This leads the service design much more to what
we want, where the long-running main service is very tiny
and all the heavy-weight transient session work is elsewhere
in another process.

Change-Id: I46c074c6fe27b6c1cf2583c6d216aed1de2f1143
2014-04-28 10:54:15 -07:00
John Spurlock
4210a3091c am c1644c59: Wire up condition providers to zen mode exit triggers.
* commit 'c1644c590bbc24955ecd367cb4c8e368c24fe2e5':
  Wire up condition providers to zen mode exit triggers.
2014-04-27 16:04:22 +00:00
John Spurlock
e77bb36d48 Wire up condition providers to zen mode exit triggers.
Bug:13743109
Change-Id: I4e45d7050d1f9aaa379f46379a3203e61e216a3d
2014-04-27 11:36:32 -04:00
John Spurlock
ff1005a6f5 am 7745fb9e: Merge "Introduce condition provider services."
* commit '7745fb9e95b6938591a46ffcaace8db02c93962f':
  Introduce condition provider services.
2014-04-25 18:21:40 +00:00