ICS SystemServer之DevicePolicyManagerService


// /frameworks/base/services/java/com/android/server/SystemServer.java
if (factoryTest != SystemServer.FACTORY_TEST_LOW_LEVEL) {
    try {  Slog.i(TAG, "Device Policy");
         devicePolicy = new DevicePolicyManagerService(context);
         ServiceManager.addService(Context.DEVICE_POLICY_SERVICE, devicePolicy);
    } catch (Throwable e) {
         reportWtf("starting DevicePolicyService", e);
    } ……
}



你可能感兴趣的:(SystemServer)