tree: 773bfb5e36f0b4e622bac5cbf33915d353c893bb [path history] [tgz]
  1. BUILD.gn
  2. OWNERS
  3. README.md
  4. allow_list.cc
  5. allow_list.h
  6. allow_list_unittest.cc
  7. appmgr.cc
  8. appmgr.h
  9. cache_control.cc
  10. cache_control.h
  11. component_container.h
  12. component_controller_impl.cc
  13. component_controller_impl.h
  14. component_controller_unittest.cc
  15. component_event_provider_impl.cc
  16. component_event_provider_impl.h
  17. component_event_provider_unittest.cc
  18. debug_info_retriever.cc
  19. debug_info_retriever.h
  20. dynamic_library_loader.cc
  21. dynamic_library_loader.h
  22. environment_controller_impl.cc
  23. environment_controller_impl.h
  24. hub/
  25. integration_tests/
  26. job_provider_impl.cc
  27. job_provider_impl.h
  28. main.cc
  29. meta/
  30. namespace.cc
  31. namespace.h
  32. namespace_builder.cc
  33. namespace_builder.h
  34. namespace_builder_unittest.cc
  35. namespace_unittest.cc
  36. policy_checker.cc
  37. policy_checker.h
  38. policy_checker_unittest.cc
  39. realm.cc
  40. realm.h
  41. runner_holder.cc
  42. runner_holder.h
  43. scheme_map.cc
  44. scheme_map.config
  45. scheme_map.h
  46. scheme_map_unittest.cc
  47. service_provider_dir_impl.cc
  48. service_provider_dir_impl.h
  49. service_provider_dir_unittest.cc
  50. storage_watchdog.cc
  51. storage_watchdog.h
  52. storage_watchdog_unittest.cc
  53. system_objects_directory.cc
  54. system_objects_directory.h
  55. test_file.txt
  56. util.cc
  57. util.h
  58. util_unittest.cc
src/sys/appmgr/README.md

appmgr

Reviewed on: 2019-07-22

Appmgr is responsible for launching v1 components and managing the namespaces in which those components run. It is the first process started in the fuchsia job by devmgr.

See:

Building

This project is typically included in Fuchsia builds by default, but it can be added to a build by adding --with //src/sys/appmgr to the fx set invocation.

Running

Appmgr is run on all non-bringup Fuchsia builds. It can be interacted with via the fuchsia.sys FIDL apis.

Testing

Unit tests for appmgr are available in the appmgr_unittests package.

$ fx run-test appmgr_unittests

Integration tests are available in the following packages, and each can be run with fx run-test.

  • appmgr_integration_tests
  • build_info_tests
  • components_binary_tests
  • has_deprecated_shell
  • has_isolated_cache_storage
  • has_isolated_persistent_storage
  • has_isolated_temp
  • has_shell_commands
  • has_system_temp
  • inspect_integration_tests
  • inspect_vmo_integration_tests
  • isolated_persistent_storage
  • multiple_components
  • no_isolated_temp
  • no_persistent_storage
  • no_services
  • no_shell_commands
  • no_shell
  • no_system_temp
  • some_services
  • uses_system_deprecated_data

Source layout

The entrypoint is located in main.cc, with the majority of the implementation living in top-level .cc and .h files, with the exception of the hub implementation which is in hub/. Unit tests are located in _unittest.cc files.

Integration tests are in the integration_tests/ directory.