1068 Commits

Author SHA1 Message Date
Matthew Williams
fdd9203192 Refactored code didn't make it into previous CL
Change-Id: I7ec93e783267d0c0fb39fbc8d0abe7270bdaea68
2014-05-16 14:48:39 -07:00
Matthew Williams
4b291fbffc Merge "TM TaskServiceContext implementation" 2014-05-16 20:48:46 +00:00
Adrian Roos
4b0ec7e924 Merge "Trust Agents: Withhold trust until user has authenticated" 2014-05-16 20:13:30 +00:00
Adrian Roos
dc0d5d1850 Merge "Trust Agents: Implement DPM override" 2014-05-16 20:13:20 +00:00
Dianne Hackborn
3fce73a866 Merge "Fix recording of wake_lock_in." 2014-05-16 19:42:54 +00:00
Adrian Roos
7046bfd054 Trust Agents: Withhold trust until user has authenticated
Bug: 14229695
Change-Id: I40d9fa442aa05437c20081c007ed64f984042418
2014-05-16 21:24:29 +02:00
Dianne Hackborn
9a75543006 Fix recording of wake_lock_in.
There was a bug that would allow the nesting count
to get off.  Also better documentation of times in
HistoryItem, and new option to disable resetting of
the stats when unplugging.

Change-Id: If1b39a02475c5b620c67b700a323a6d0462d5c61
2014-05-16 10:46:33 -07:00
Matthew Williams
691e93e82c TM TaskServiceContext implementation
Each task is run on the client from within a TaskServiceContext.
TSC tracks the state of execution of each task on the client.

Change-Id: I93c306a83c1115559f4e9675d9997dceae3f186a
2014-05-16 10:33:48 -07:00
Jason Monk
8974f24909 Merge "Notify AppOpsService of UserRestrictions and Owners" 2014-05-16 17:30:31 +00:00
Robert Greenwalt
fcfef283d8 Merge "Clean up when we switch networks." 2014-05-16 17:16:19 +00:00
Jason Monk
62062996dd Notify AppOpsService of UserRestrictions and Owners
This makes the DevicePolicyManagerService and UserManagerService
push the DeviceOwner/ProfileOwners and user restrictions on boot
as well as on any change.

This also adds a list of restrictions that allow any op to connected with
a user restriction such that it will return MODE_IGNORED when the user
restriction is present (except for the device/profile owner).

Change-Id: Id8a9591d8f04fe5ecebd95750d9010afc0cd786c
2014-05-16 13:12:41 -04:00
Adrian Roos
ca36b95bd3 Trust Agents: Implement DPM override
Disable trust agents when a device policy
disabling them is in effect.

Bug: 14619289
Change-Id: I0920a17021cbf045d2362735df49ef4d013fcc7f
2014-05-16 18:52:29 +02:00
Robert Greenwalt
4064af844c Clean up when we switch networks.
Need to unhitch mNetworkForRequestId when a network is no longer
satisfying a request.

Change-Id: I3b3cde7dd92ec87a76ae7a0825ad22e892fa8fd5
2014-05-16 08:54:07 -07:00
Adrian Roos
3242f51c93 Merge "Apply revised TrustAgent API" 2014-05-16 14:32:07 +00:00
Adrian Roos
7e03dfcb79 Apply revised TrustAgent API
Bug: 14997466
Change-Id: I81042e058a20f28603a11471882f3dcfc4f8b13c
2014-05-16 16:06:28 +02:00
Kenny Guy
6f16aec6de Merge "Send profile removed intent earlier so launchers updates." 2014-05-16 11:47:49 +00:00
Jungshik Jang
b0650e8ff3 Merge "Add ARC commands" 2014-05-16 06:49:18 +00:00
Robert Greenwalt
00bcf01a91 Merge "Add net.dns system properties" 2014-05-16 00:06:41 +00:00
Robert Greenwalt
d5648dcf6a Add net.dns system properties
Some apps rely on them.

bug: 14992618
Change-Id: I5766f26b77004e9cfcc90fac657817eab67f9ac7
2014-05-15 16:29:40 -07:00
RoboErik
7e89723bb4 Merge "Add UserRecords to separate user interactions" 2014-05-15 23:08:26 +00:00
Dianne Hackborn
0a3103e755 Merge "Battery stats more wake history, power save mode." 2014-05-15 21:57:27 +00:00
Adrian Roos
e78e6f9237 Merge "Colorize SystemUI" 2014-05-15 20:39:17 +00:00
Dianne Hackborn
cbefd8dd2b Battery stats more wake history, power save mode.
Add new option for battery stats to record the full wake
lock history, and recording the current power save mode.

Also add in some additional error constants when generating
Binder error exceptions.

And fix issue #14974572: Avoid repeating wakeup_reason at
the beginning of history

Change-Id: I7c1a2ab9569de216634f63d8ad69f1294ef1d235
2014-05-15 13:32:29 -07:00
Svetoslav Ganov
177cf2155d Merge "Adding custom events to AccessibilityNodeInfo" 2014-05-15 17:51:46 +00:00
Kristian Monsen
74bc194765 Adding custom events to AccessibilityNodeInfo
Change-Id: Id7a1985d1a6c4a9f7153f6d4d7e45f80c8d2b2b0
2014-05-15 10:50:59 -07:00
Chris Wren
44d81a4b86 Add email validation and star support to ValidateNotificationPeople.
Also fix a bug with multiple pending lookups dropping information.

Change-Id: I8348f126e6b0a17cf762ebb720d1c306d3b4923a
2014-05-15 13:27:31 -04:00
Adrian Roos
ea56251d92 Colorize SystemUI
Makes the color of the status and navigation bars customizable by
the app.

Bug: 14564488
Change-Id: I036edc228cfe1b659c7f11a43cdc4598ee705ff8
2014-05-15 18:22:37 +02:00
Kenny Guy
f8d3a232e8 Send profile removed intent earlier so launchers updates.
This sends the profile removed intent when the user has
been disabled.

Bug: 14981942
Change-Id: I32ab9c68ca53ec3aac0c930c0bbf93da7ff5b479
2014-05-15 17:12:02 +01:00
Jungshik Jang
be9cd8eb3f Add ARC commands
ARC, Audio Return Channel is newly introduced in HDMI CEC 1.4.
Here is a list of new command
<Initiate ARC>
<Report ARC Initiated>
<Report ARC Terminated>
<Request ARC Initiation>
<Request ARC Termination>
<Terminate ARC>

Along with it replaced <Get OSD Name> with <Give OSD Name>
which is renamed in CEC 1.4.

Change-Id: If4a7aedef839c8413a8e3b5f66f3df0c7234104b
2014-05-15 20:21:43 +09:00
Narayan Kamath
1e74c37f8e Merge "Remove "required" prefix from ABI fields." 2014-05-15 09:42:45 +00:00
Christoph Studer
d04cf4ccf4 Merge "Track notification airtime" 2014-05-15 09:05:12 +00:00
Jungshik Jang
3bb41a20db Merge "Implement handlers for system information query command." 2014-05-15 02:30:48 +00: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
David Christie
00dc056b61 Fix typo in comment
Change-Id: I880385f250d95ad9eea1c39bdf126797177e00a1
2014-05-14 14:28:54 -07:00
RoboErik
4646d28882 Add UserRecords to separate user interactions
Each user record maintains the list of sessions and providers that
are running under that user. Lifecycle for providers has been modified
to stop discovery when the user is no longer current but keep the
binder connection open so long as there's a session that has selected
a route from that provider. When a user is stopped all providers on
that user will be unbound even if they were still in use.

Change-Id: Iadf1efded3415f7ecf384d3a73513883de9c86b0
2014-05-14 13:19:48 -07:00
Chris Wren
154f828365 Merge "Add intrusiveness signal extractor." 2014-05-14 19:30:13 +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
Adrian Roos
9e317da936 Merge "Fix adaptive auto brightness bugs" 2014-05-14 19:02:18 +00:00
Jae Seo
3c659dea47 Merge "Add more columns to help identify TV channels" 2014-05-14 19:00:52 +00:00
Chris Wren
5190c0fefa Add intrusiveness signal extractor.
Temporarily bump noisy things to the top so the user can find them.
This is the first example of a delayed ranking reconsideration.

Change-Id: I07271ba197101ad462e4f99fb7c369a39c8c2e2f
2014-05-14 14:24:04 -04:00
Adrian Roos
6dee605c83 Fix adaptive auto brightness bugs
Fix update of the light sensor in AutoBrightnessController.
Register observer for Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ.

Change-Id: I5201259c4efc0afa200fea3ad9fe3af2991d8676
2014-05-14 19:54:16 +02:00
Christoph Studer
ffeb0c3814 Track notification airtime
...and write it together with posttime to the
SQLite log.

Bug: 13672846
Change-Id: I605447f89a0c89782a320c298ddb59cbb8994367
2014-05-14 18:00:27 +02:00
Robert Greenwalt
54b6fd0cbe Merge "Add networks and requests to CS.dump" 2014-05-14 13:44:26 +00:00
Robert Greenwalt
c9c90c771c Add networks and requests to CS.dump
Adds debugging.

Change-Id: I352dfe970c990fd210f3d1598519e321bbdd6ed5
(cherry picked from commit 9bdf6bd99db56c652ba9a62d91f258d11d19ca9f)
2014-05-14 13:12:23 +00:00
Robert Greenwalt
9258c64bef Add Multinetwork API
Change-Id: I3a9cef0d416db96d05098dd989ee3fef3b1e9274
(cherry picked from commit cc5e6afa1ba0bef099bcb21a64a36bc2bf7951db)
2014-05-14 13:06:56 +00:00
Lorenzo Colitti
98e8c26b90 Merge "Handle legacy synchronous inspectors" 2014-05-14 12:48:46 +00:00
Lorenzo Colitti
612bf2f8d6 Merge "Get clatd/Nat464Xlat working with new NetworkAgents." 2014-05-14 12:48:28 +00:00
Lorenzo Colitti
111ac91393 Merge "Fix compile errors after merge." 2014-05-14 12:48:08 +00:00