Add CA certs Privacy Settings page

This CL adds information about CA certs installed by Device Owner and/or
Profile Owners to the Enterprise Privacy Setting page.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I67bbe5af2b5b6326e4cd7224d0c6f17ab256dace
This commit is contained in:
Bartosz Fabianowski
2017-03-06 18:42:25 +01:00
parent fdb307bfc0
commit 732d695985
13 changed files with 445 additions and 5 deletions

View File

@@ -88,4 +88,16 @@ public interface EnterprisePrivacyFeatureProvider {
* Owner or Profile Owner in that user. Otherwise, returns {@code null}.
*/
String getImeLabelIfOwnerSet();
/**
* Returns the number of CA certificates that the Device Owner or Profile Owner installed in
* the current user.
*/
int getNumberOfOwnerInstalledCaCertsInCurrentUser();
/**
* Returns the number of CA certificates that the Profile Owner installed in the current user's
* managed profile (if any).
*/
int getNumberOfOwnerInstalledCaCertsInManagedProfile();
}