summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/test/SampleTrustAgent/src
Commit message (Collapse)AuthorAgeFilesLines
* Allow dismissing Keyguard from TrustAgentServiceAdrian Roos2015-04-171-3/+11
| | | | | Bug: 19900313 Change-Id: I44d13ee6fe65070327076e73a3ed96c94acdc108
* Add device locked API for TrustAgentServiceAdrian Roos2014-11-202-5/+43
| | | | | Bug: 18414067 Change-Id: I96c68af9ccc9940acf9fab3b5bd39a3485f01045
* Update KeyguardManager.isDeviceLocked APIAdrian Roos2014-11-201-6/+6
| | | | | Bug: 18414067 Change-Id: I0715714c2c9a122f578ec0c6f508faae12e6f752
* Change Configure structure to List<PersistableBundle>Jim Miller2014-11-071-5/+6
| | | | | | | | | Adding the new structure was making it difficult for LMP devices to have common source with upcoming API version. Fixes bug 17008504 Change-Id: I704503cf0ebff113874c87ab11e37735dbe7b8d7
* Update TrustAgentService API after reviewJim Miller2014-11-051-3/+10
| | | | | | | | | | | | This change incorporates API council feedback and enables the TrustAgent whitelisting API. It also contains a minor cleanup of DPM's use of UserHandle to eliminate unnecessary object creation. Fixes bug 17008504 Change-Id: I63cc50169fde54b34406845818bcaf6aadc1a3db
* SampleTrustAgent: Exercise KeyguardManager.isKeyguardInTrustedStateAdrian Roos2014-10-241-0/+20
| | | | | Bug: 18084166 Change-Id: I7d8695f4b576676cc6da1fe07fea05e72d04f33e
* Update TrustAgentService API after review.Jim Miller2014-08-221-0/+6
| | | | | | | | Also documents timebase on related DevicePolicyManager API. Fixes bugs 16401527 and 17046034 Change-Id: I8ee6d0055ab6f52ec71630344d3232f7875d9c1d
* Dismiss bouncer when onTrustInitiatedByUser firesAdrian Roos2014-08-132-6/+24
| | | | | | | | Also modifies the SampleTrustAgent to allow testing of the feature and adds the initiatedByUser flag to the dumpsys output. Bug: 16840500 Change-Id: I4c08ddcdcbd0ab02c694a1873f73cb9a250f98d7
* Add setManagingTrust and expose it on lockscreenAdrian Roos2014-07-302-5/+44
| | | | | | | | | | | | 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
* Add new DevicePolicyManager API to allow fine-grained TrustAgent managementJim Miller2014-07-281-0/+10
| | | | | | | 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
* Restart trust agents when updated or when they are deadAdrian Roos2014-07-241-0/+3
| | | | | | | | | | | | | | | | | 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
* Apply revised TrustAgent APIAdrian Roos2014-05-162-9/+8
| | | | | Bug: 14997466 Change-Id: I81042e058a20f28603a11471882f3dcfc4f8b13c
* Add a SampleTrustAgentAdrian Roos2014-03-312-0/+176
Adds a simple app that shows how to build a trust agent. For lack of a better place to put this, this stays in Keyguard's tests for now. Bug: 13723878 Change-Id: I9ebad253d3d89c846fe8afaad6babce9e7b80b5e