History log of /frameworks/base/services/core/java/com/android/server/trust/TrustAgentWrapper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
76b9b8b0ca537bad6c4da388d77a9e5dee023856 23-Aug-2014 Jim Miller <jaggies@google.com> Limit grantTrust() duration to DevicePolicy-imposed limit.

Fixes bug 17046034

Change-Id: I5c512c2d05e7e0ed81eaf0dcafacc6f62a5c5937
/frameworks/base/services/core/java/com/android/server/trust/TrustAgentWrapper.java
d4efaac5d54cdb3735b032bb76a5639949f33216 15-Aug-2014 Jim Miller <jaggies@google.com> Update TrustAgentService API after review.

Also documents timebase on related DevicePolicyManager API.

Fixes bugs 16401527 and 17046034

Change-Id: I8ee6d0055ab6f52ec71630344d3232f7875d9c1d
/frameworks/base/services/core/java/com/android/server/trust/TrustAgentWrapper.java
3c9a3501651aa8ad4f289e89119a6c0b4bdaf78a 06-Aug-2014 Adrian Roos <roosa@google.com> Pass initiatedByUser to TrustListeners

Bug: 16840500
Change-Id: I8d9bd8fe9a305066f33ac5c888d8a41ce219a6f1
/frameworks/base/services/core/java/com/android/server/trust/TrustAgentWrapper.java
8f21158fe64eb93ff005dc1b831b282b95531023 29-Jul-2014 Adrian Roos <roosa@google.com> Trust: Make setEnabledFeatures asynchronous

Unsynchronizes the call into app code from setEnabledFeatures,
replacing it with a callback mechanism. Also makes this actually
work by fixing the check in TrustManagerService to take into account
whitelisting.

Change-Id: I0831752cd2d3158eda9c8404a5569498f11ac2ac
/frameworks/base/services/core/java/com/android/server/trust/TrustAgentWrapper.java
7861c663fd64af33ec2a4c5ad653c806dc8bd994 25-Jul-2014 Adrian Roos <roosa@google.com> Add setManagingTrust and expose it on lockscreen

Adds a facility for trust agents to indicate if they
are ready to manage trust. Also adds an indication to
the lock icon on the lockscreen to show whether trust is
being managed.

Bug: 15518469
Bug: 16123013

Change-Id: Ie17f588aebeafe66c81dea4a69c733b0d2c72fd4
/frameworks/base/services/core/java/com/android/server/trust/TrustAgentWrapper.java
604e7558ef32098644b2f9456d7743a07ae789dc 19-Jul-2014 Jim Miller <jaggies@google.com> Add new DevicePolicyManager API to allow fine-grained TrustAgent management

This adds a new feature that allows a device admin to specify a
whitelist of features that are allowed for the given admin.

Change-Id: I83f853318efbcf72308532d0a997374f73fa9c10
/frameworks/base/services/core/java/com/android/server/trust/TrustAgentWrapper.java
c5f95cea2639b698594a85acbde6a5519941d7b1 24-Jul-2014 Adrian Roos <roosa@google.com> Restart trust agents when updated or when they are dead

ActivityManager restarts the trust agent service for us
when it gets killed automatically. This does not apply
when its process crashes too often or when its package
gets updated however.
To catch the update case, the trust agent connection
is removed as soon as the package disappears, and then
readded when the new package appears.
To catch the repeated crashing case, the connection is
reset if it hasn't successfully connected for several minutes.

Also adds a button to SampleTrustAgent to simulate a crash.

Bug: 16137258
Change-Id: I1b18fc7a3025e23e25ca1623b6af658d5430a94b
/frameworks/base/services/core/java/com/android/server/trust/TrustAgentWrapper.java
7d59b4f981e24a4a446522e9b8d3d6a7115c1459 27-May-2014 Adrian Roos <roosa@google.com> Add and improve logged TrustAgent connection events

Adds events for when a TrustAgentService gets connected
or is stopped. Also explicitly revokes trust when a
trust agent gets disconnected, such that it shows up in
dumpsys.

Bug: 15281644
Change-Id: I5875a34da923345683279c1f755d43454ff6318d
/frameworks/base/services/core/java/com/android/server/trust/TrustAgentWrapper.java
7a4f3d448b17b4bea190c906d7ecc7f8bec9ff80 02-May-2014 Adrian Roos <roosa@google.com> Add dumpsys facility and a history to TrustManagerService

TrustManagerService now keeps track of all events that
influence its state and reports them when it is dumped or
a bugreport is collected.

Bug: 15079129

Change-Id: Iac13de8a848d2b12c8d06168a6969f55b264144a
/frameworks/base/services/core/java/com/android/server/trust/TrustAgentWrapper.java
7e03dfcb796ef1a6000a5fd5fda03c9e15ea62e1 16-May-2014 Adrian Roos <roosa@google.com> Apply revised TrustAgent API

Bug: 14997466
Change-Id: I81042e058a20f28603a11471882f3dcfc4f8b13c
/frameworks/base/services/core/java/com/android/server/trust/TrustAgentWrapper.java
82142c21dd333307682d5f4bb09de3ab3ccfa06c 27-Mar-2014 Adrian Roos <roosa@google.com> Define trust agent framework components

Adds the TrustManager system service that allows
registering for changes to the trust status and
reporting events that are important to trust agents.

Bug: 13723878
Change-Id: I7d0d2ea86fd755702d31aa5d49cac038a6cd4301
/frameworks/base/services/core/java/com/android/server/trust/TrustAgentWrapper.java