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
This commit is contained in:
Adrian Roos
2014-03-27 14:56:59 +01:00
parent ff2144ccb4
commit 82142c21dd
12 changed files with 841 additions and 5 deletions

View File

@ -76,6 +76,7 @@ import com.android.server.power.ShutdownThread;
import com.android.server.search.SearchManagerService;
import com.android.server.statusbar.StatusBarManagerService;
import com.android.server.storage.DeviceStorageMonitorService;
import com.android.server.trust.TrustManagerService;
import com.android.server.twilight.TwilightService;
import com.android.server.usb.UsbService;
import com.android.server.wallpaper.WallpaperManagerService;
@ -913,6 +914,13 @@ public final class SystemServer {
} catch (Throwable e) {
reportWtf("starting MediaRouterService", e);
}
try {
Slog.i(TAG, "Trust Manager");
mSystemServiceManager.startService(TrustManagerService.class);
} catch (Throwable e) {
Slog.e(TAG, "Failure starting TrustManagerService", e);
}
}
}