SystemServer.java
ServiceManager.addService("sec_key_att_app_id_provider", new KeyAttestationApplicationIdProviderService(context));
ServiceManager.addService("scheduling_policy", new SchedulingPolicyService());
telephonyRegistry = new TelephonyRegistry(context);
ServiceManager.addService("telephony.registry", telephonyRegistry);
vibrator = new VibratorService(context);
ServiceManager.addService("vibrator", vibrator);
consumerIr = new ConsumerIrService(context);
ServiceManager.addService(Context.CONSUMER_IR_SERVICE, consumerIr);
inputManager = new InputManagerService(context);
ServiceManager.addService(Context.INPUT_SERVICE, inputManager, /* allowIsolated= */ false, DUMP_FLAG_PRIORITY_CRITICAL);
wm = WindowManagerService.main(context, inputManager, !mFirstBoot, mOnlyCore, new PhoneWindowManager(), mActivityManagerService.mActivityTaskManager);
ServiceManager.addService(Context.WINDOW_SERVICE, wm, /* allowIsolated= */ false, DUMP_FLAG_PRIORITY_CRITICAL | DUMP_FLAG_PROTO);
statusBar = new StatusBarManagerService(context, wm);
ServiceManager.addService(Context.STATUS_BAR_SERVICE, statusBar);
networkManagement = NetworkManagementService.create(context);
ServiceManager.addService(Context.NETWORKMANAGEMENT_SERVICE, networkManagement);
ipSecService = IpSecService.create(context);
ServiceManager.addService(Context.IPSEC_SERVICE, ipSecService);
networkStats = NetworkStatsService.create(context, networkManagement);
ServiceManager.addService(Context.NETWORK_STATS_SERVICE, networkStats);
networkPolicy = new NetworkPolicyManagerService(context, mActivityManagerService, networkManagement);
ServiceManager.addService(Context.NETWORK_POLICY_SERVICE, networkPolicy);
connectivity = new ConnectivityService(context, networkManagement, networkStats, networkPolicy);
ServiceManager.addService(Context.CONNECTIVITY_SERVICE, connectivity, /* allowIsolated= */ false, DUMP_FLAG_PRIORITY_HIGH | DUMP_FLAG_PRIORITY_NORMAL);
wigigP2pService = ctor.newInstance(context);
ServiceManager.addService("wigigp2p", (IBinder) wigigP2pService);
Class wigigClass = wigigClassLoader.loadClass("com.qualcomm.qti.server.wigig.WigigService");
ctor = wigigClass.getConstructor(Context.class);
wigigService = ctor.newInstance(context);ServiceManager.addService("wigig", (IBinder) wigigService);
serviceDiscovery = NsdService.create(context);
ServiceManager.addService(Context.NSD_SERVICE, serviceDiscovery);
ServiceManager.addService(Context.SYSTEM_UPDATE_SERVICE, new SystemUpdateManagerService(context));
ServiceManager.addService(Context.UPDATE_LOCK_SERVICE, new UpdateLockService(context));
location = new LocationManagerService(context);
ServiceManager.addService(Context.LOCATION_SERVICE, location);
countryDetector = new CountryDetectorService(context);
ServiceManager.addService(Context.COUNTRY_DETECTOR, countryDetector);
serial = new SerialService(context);
ServiceManager.addService(Context.SERIAL_SERVICE, serial);
hardwarePropertiesService = new HardwarePropertiesManagerService(context);
ServiceManager.addService(Context.HARDWARE_PROPERTIES_SERVICE, hardwarePropertiesService);
ServiceManager.addService("diskstats", new DiskStatsService(context));
ServiceManager.addService("runtime", new RuntimeService(context));
ServiceManager.addService("network_time_update_service", networkTimeUpdater);
ServiceManager.addService(GraphicsStatsService.GRAPHICS_STATS_SERVICE, new GraphicsStatsService(context));
ServiceManager.addService(CoverageService.COVERAGE_SERVICE, new CoverageService());
mediaRouter = new MediaRouterService(context);
ServiceManager.addService(Context.MEDIA_ROUTER_SERVICE, mediaRouter);
EuiccCardController.java
ServiceManager.addService("euicc_card_controller", this);
EuiccController.java
ServiceManager.addService("econtroller", this);
SmsController.java
ServiceManager.addService("isms", this);
UiccPhoneBookController.java
ServiceManager.addService("simphonebook", this);
PhoneSubInfoController.java
ServiceManager.addService("iphonesubinfo", this);
SubscriptionC