@@ -29,37 +29,54 @@ public class AndroidSystemServices {
2929 private Map <String , String > registeredServices = new HashMap <String , String >();
3030
3131 public AndroidSystemServices () {
32+ // in alphabetical order
3233 registeredServices .put ("android.view.accessibility.AccessibilityManager" , "android.content.Context.ACCESSIBILITY_SERVICE" );
3334 registeredServices .put ("android.accounts.AccountManager" , "android.content.Context.ACCOUNT_SERVICE" );
3435 registeredServices .put ("android.app.ActivityManager" , "android.content.Context.ACTIVITY_SERVICE" );
3536 registeredServices .put ("android.app.AlarmManager" , "android.content.Context.ALARM_SERVICE" );
37+ registeredServices .put ("android.app.AppOpsManager" , "android.content.Context.APP_OPS_SERVICE" );
38+ registeredServices .put ("android.appwidget.AppWidgetManager" , "android.content.Context.APPWIDGET_SERVICE" );
3639 registeredServices .put ("android.media.AudioManager" , "android.content.Context.AUDIO_SERVICE" );
40+ registeredServices .put ("android.app.backup.IBackupManager" , "android.content.Context.BACKUP_SERVICE" );
41+ registeredServices .put ("android.bluetooth.BluetoothAdapter" , "android.content.Context.BLUETOOTH_SERVICE" );
42+ registeredServices .put ("android.hardware.camera2.CameraManager" , "android.content.Context.CAMERA_SERVICE" );
43+ registeredServices .put ("android.view.accessibility.CaptioningManager" , "android.content.Context.CAPTIONING_SERVICE" );
3744 registeredServices .put ("android.content.ClipboardManager" , "android.content.Context.CLIPBOARD_SERVICE" );
3845 registeredServices .put ("android.text.ClipboardManager" , "android.content.Context.CLIPBOARD_SERVICE" );
3946 registeredServices .put ("android.net.ConnectivityManager" , "android.content.Context.CONNECTIVITY_SERVICE" );
47+ registeredServices .put ("android.hardware.ConsumerIrManager" , "android.content.Context.CONSUMER_IR_SERVICE" );
4048 registeredServices .put ("android.location.CountryDetector" , "android.content.Context.COUNTRY_DETECTOR" );
4149 registeredServices .put ("android.app.admin.DevicePolicyManager" , "android.content.Context.DEVICE_POLICY_SERVICE" );
50+ registeredServices .put ("android.hardware.display.DisplayManager" , "android.content.Context.DISPLAY_SERVICE" );
4251 registeredServices .put ("android.app.DownloadManager" , "android.content.Context.DOWNLOAD_SERVICE" );
4352 registeredServices .put ("android.os.DropBoxManager" , "android.content.Context.DROPBOX_SERVICE" );
53+ registeredServices .put ("android.hardware.input.InputManager" , "android.content.Context.INPUT_SERVICE" );
4454 registeredServices .put ("android.view.inputmethod.InputMethodManager" , "android.content.Context.INPUT_METHOD_SERVICE" );
4555 registeredServices .put ("android.app.KeyguardManager" , "android.content.Context.KEYGUARD_SERVICE" );
4656 registeredServices .put ("android.view.LayoutInflater" , "android.content.Context.LAYOUT_INFLATER_SERVICE" );
4757 registeredServices .put ("android.location.LocationManager" , "android.content.Context.LOCATION_SERVICE" );
58+ registeredServices .put ("android.media.MediaRouter" , "android.content.Context.MEDIA_ROUTER_SERVICE" );
4859 registeredServices .put ("android.net.NetworkManagementService" , "android.content.Context.NETWORKMANAGEMENT_SERVICE" );
4960 registeredServices .put ("android.net.NetworkPolicyManager" , "android.content.Context.NETWORK_POLICY_SERVICE" );
61+ registeredServices .put ("android.net.NetworkStatsService" , "android.content.Context.NETWORK_STATS_SERVICE" );
5062 registeredServices .put ("android.nfc.NfcManager" , "android.content.Context.NFC_SERVICE" );
5163 registeredServices .put ("android.app.NotificationManager" , "android.content.Context.NOTIFICATION_SERVICE" );
64+ registeredServices .put ("android.net.nsd.NsdManager" , "android.content.Context.NSD_SERVICE" );
65+ registeredServices .put ("android.print.PrintManager" , "android.content.Context.PRINT_SERVICE" );
5266 registeredServices .put ("android.os.PowerManager" , "android.content.Context.POWER_SERVICE" );
5367 registeredServices .put ("android.app.SearchManager" , "android.content.Context.SEARCH_SERVICE" );
54- registeredServices .put ("android.appwidget.AppWidgetManager " , "android.content.Context.APPWIDGET_SERVICE " );
68+ registeredServices .put ("android.hardware.SerialManager " , "android.content.Context.SERIAL_SERVICE " );
5569 registeredServices .put ("android.hardware.SensorManager" , "android.content.Context.SENSOR_SERVICE" );
70+ registeredServices .put ("android.net.sip.SipManager" , "android.content.Context.SIP_SERVICE" );
5671 registeredServices .put ("android.app.StatusBarManager" , "android.content.Context.STATUS_BAR_SERVICE" );
5772 registeredServices .put ("android.os.storage.StorageManager" , "android.content.Context.STORAGE_SERVICE" );
5873 registeredServices .put ("android.telephony.TelephonyManager" , "android.content.Context.TELEPHONY_SERVICE" );
5974 registeredServices .put ("android.view.textservice.TextServicesManager" , "android.content.Context.TEXT_SERVICES_MANAGER_SERVICE" );
6075 registeredServices .put ("android.net.ThrottleManager" , "android.content.Context.THROTTLE_SERVICE" );
6176 registeredServices .put ("android.app.UiModeManager" , "android.content.Context.UI_MODE_SERVICE" );
77+ registeredServices .put ("android.os.IUpdateLock" , "android.content.Context.UPDATE_LOCK_SERVICE" );
6278 registeredServices .put ("android.hardware.usb.UsbManager" , "android.content.Context.USB_SERVICE" );
79+ registeredServices .put ("android.os.UserManager" , "android.content.Context.USER_SERVICE" );
6380 registeredServices .put ("android.os.Vibrator" , "android.content.Context.VIBRATOR_SERVICE" );
6481 registeredServices .put ("android.app.WallpaperManager" , "android.content.Context.WALLPAPER_SERVICE" );
6582 registeredServices .put ("android.net.wifi.WifiManager" , "android.content.Context.WIFI_SERVICE" );
0 commit comments