tree: 73617aadbaebe3d7edb1c6a969f26eb9320f4fd3 [path history] [tgz]
  1. arc/
  2. attestation/
  3. avtest_label_detect/
  4. biod/
  5. bootid-logger/
  6. bootlockbox/
  7. bootsplash/
  8. bootstat/
  9. build_overrides/
  10. camera/
  11. cecservice/
  12. cfm-dfu-notification/
  13. chaps/
  14. chromeos-common-script/
  15. chromeos-config/
  16. chromeos-dbus-bindings/
  17. chromeos-nvt-tcon-updater/
  18. codelab/
  19. common-mk/
  20. crash-reporter/
  21. cros-disks/
  22. crosdns/
  23. crosh/
  24. crosier-chrome/
  25. croslog/
  26. cryptohome/
  27. cups_proxy/
  28. debugd/
  29. dev-install/
  30. device_management/
  31. diagnostics/
  32. disk_updater/
  33. dlcservice/
  34. dlp/
  35. dns-proxy/
  36. easy-unlock/
  37. ethernet-hide/
  38. extended-updates/
  39. faced/
  40. fbpreprocessor/
  41. feature_usage/
  42. featured/
  43. federated/
  44. feedback/
  45. ferrochrome/
  46. flex_bluetooth/
  47. flex_hwis/
  48. flex_id/
  49. flexor/
  50. foomatic_shell/
  51. fusebox/
  52. glib-bridge/
  53. goldfishd/
  54. gsclog/
  55. hammerd/
  56. hardware_verifier/
  57. heartd/
  58. heatmap-recorder/
  59. hermes/
  60. hps/
  61. hwdrm-videoproc-ta/
  62. hwsec-host-utils/
  63. hwsec-optee-plugin/
  64. hwsec-optee-ta/
  65. hwsec-test-utils/
  66. hwsec-utils/
  67. iioservice/
  68. image-burner/
  69. imageloader/
  70. init/
  71. installer/
  72. ippusb_bridge/
  73. kdump/
  74. kerberos/
  75. libarc-attestation/
  76. libbrillo/
  77. libchromeos-rs/
  78. libchromeos-ui/
  79. libcontainer/
  80. libcrossystem/
  81. libec/
  82. libhwsec/
  83. libhwsec-foundation/
  84. libipp/
  85. libmems/
  86. libpasswordprovider/
  87. libsar/
  88. libsegmentation/
  89. libstorage/
  90. libtouchraw/
  91. login_manager/
  92. lorgnette/
  93. lvmd/
  94. machine-id-regen/
  95. media_capabilities/
  96. mems_setup/
  97. metrics/
  98. midis/
  99. mini_udisks/
  100. minios/
  101. missive/
  102. mist/
  103. ml/
  104. ml_benchmark/
  105. ml_core/
  106. modem-utilities/
  107. modemfwd/
  108. modemloggerd/
  109. mojo_service_manager/
  110. mtpd/
  111. net-base/
  112. nnapi/
  113. ocr/
  114. odml/
  115. oobe_config/
  116. os_install_service/
  117. p2p/
  118. parallax/
  119. patchmaker/
  120. patchpanel/
  121. pciguard/
  122. perfetto_simple_producer/
  123. permission_broker/
  124. policy_proto/
  125. policy_utils/
  126. power_manager/
  127. primary_io_manager/
  128. print_tools/
  129. printscanmgr/
  130. privacy/
  131. private_computing/
  132. pwgtocanonij/
  133. regions/
  134. regmon/
  135. resourced/
  136. rgbkbd/
  137. rmad/
  138. routing-simulator/
  139. run_oci/
  140. runtime_probe/
  141. sandboxing-codelab/
  142. screen-capture-utils/
  143. secagentd/
  144. secanomalyd/
  145. secure-wipe/
  146. secure_erase_file/
  147. sepolicy/
  148. shadercached/
  149. shill/
  150. smbfs/
  151. smbprovider/
  152. soul/
  153. spaced/
  154. st_flash/
  155. storage_info/
  156. swap_management/
  157. syslog-cat/
  158. system-proxy/
  159. system_api/
  160. thinpool_migrator/
  161. timberslide/
  162. touch_firmware_calibration/
  163. tpm2-simulator/
  164. tpm_manager/
  165. tpm_softclear_utils/
  166. trim/
  167. trunks/
  168. typecd/
  169. u2fd/
  170. update_engine/
  171. ureadahead-diff/
  172. usb_bouncer/
  173. userfeedback/
  174. uwbd/
  175. verity/
  176. virtual_file_provider/
  177. vm_tools/
  178. vtpm/
  179. .clang-format
  180. .clang-tidy
  181. .git-blame-ignore-revs
  182. .gitignore
  183. .gn
  184. CPPLINT.cfg
  186. LICENSE
  188. OWNERS
  189. PRESUBMIT.cfg
  192. unblocked_terms.txt

The ChromiumOS Platform

This repo holds (most) of the custom code that makes up the ChromiumOS platform. That largely covers daemons, programs, and libraries that were written specifically for ChromiumOS.

We moved from multiple separate repos in platform/ to a single repo in platform2/ for a number of reasons:

  • Make it easier to work across multiple projects simultaneously
  • Increase code re-use (via common libs) rather than duplicate utility functions multiple items over
  • Share the same build system

While most projects were merged, not all of them were. Some projects were standalone already (such as vboot), or never got around to being folded in (such as imageloader). Some day those extra projects might get merged in.

Similarly, some projects that were merged in, were then merged back out. This was due to the evolution of the Brillo project and collaboration with Android. That means the AOSP repos are the upstream and ChromiumOS carries copies.

Local Project Directory

arcTools/deamons/init-scripts to run ARC
attestationDaemon and client for managing remote attestation
avtest_label_detectTest tool for OCRing device labels
biodBiometrics daemon
bootid-loggerSimple command to record the current boot id to the log.
bootlockboxDaemon and client for boot lockbox service.
bootsplashFrecon-based animated boot splash service
bootstatTools for tracking points in the overall boot process (for metrics)
build_overridesCustomize GN-based third party products for direct platform2 integration
cameraChromeOS Camera daemon
cecserviceService for switching CEC enabled TVs on and off
cfm-dfu-notificationCFM specific library for DFU notifications
chapsPKCS #11 implementation for TPM 1 devices
chromeos-common-scriptShared scripts for partitions and basic disk information
chromeos-configCrOS unified build runtime config manager
chromeos-dbus-bindingsSimplifies the implementation of D-Bus daemons and proxies
chromeos-nvt-tcon-updaterLibrary for integrating the Novatek TCON firmware updater into a CrOS device
codelabCodelab exercise
common-mkCommon build & test logic for platform2 projects
crash-reporterThe system crash handler & reporter
cros-disksDaemon for mounting removable media (e.g. USB sticks and SD cards)
crosdnsHostname resolution service for ChromeOS
croshThe ChromiumOS shell
crosier-chromeCrosier testing framework
croslogThe log manipulation command
cryptohomeDaemon and tools for managing encrypted /home and /var directories
cups_proxyDaemon for proxying CUPS printing request
debugdCentralized debug daemon for random tools
dev-installTools & settings for managing the developer environment on the device
device_managementDaemon for handling device management related attributes (e.g. fwmp, install_attributes etc)
diagnosticsDevice telemetry and diagnostics daemons
disk_updaterUtility for updating root disk firmware (e.g. SSDs and eMMC)
dlcserviceDownloadable Content (DLC) Service daemon
dlpDate Leak Prevention (DLP) daemon
dns-proxyDNS Proxy daemon
easy-unlockDaemon for handling Easy Unlock requests (e.g. unlocking Chromebooks with an Android device)
ethernet-hideTool for hiding Ethernet interfaces while enabling the SSH connection
extended-updatesUtilities supporting the Extended Auto Updates process
facedFace Authentication Daemon
fbpreprocessorDebug file preprocessing for feedback reports
feature_usageLibrary to provide a unified approach to report feature usage events
featuredFeature daemon for enabling and managing platform features
federatedFederated computation service (Federated Analytics & Federated Learning)
feedbackDaemon for headless systems that want to gather feedback (normally Chrome manages it)
ferrochromeComponents to run Ferrochrome
flex_bluetoothUpdates Floss overrides for ChromeOS Flex
flex_hwisUtility for collecting hardware information and sending it to a remote API
flex_idUtility for generating flex_id, a machine identifier for devices without VPD info
flexorExperimental ChromeOS Flex installer
foomatic_shellSimple shell used by the foomatic-rip package
fuseboxFuseBox service
glib-bridgelibrary for libchrome-glib message loop interoperation
goldfishdAndroid Emulator Daemon
gsclogGSC Log Fetcher
hammerdFirmware updater utility for hammer hardware
hardware_verifierHardware verifier tool
heartdHealth ensure and accident resolve treatment daemon
heatmap-recorderHeatmap recorder tool
hermesChromeOS LPA implementation for eSIM hardware support
hpsChromeOS HPS daemon and utilities
hwdrm-videoproc-taHwdrm video processing trusted application
hwsec-host-utilsHwsec-related host-only utilities
hwsec-optee-pluginHwsec-related optee plugin
hwsec-optee-taHwsec-related optee plugin trusted application
hwsec-test-utilsHwsec-related test-only features
hwsec-utilsHwsec-related features
iioserviceDaemon and libraries that provide sensor data to all processes
image-burnerDaemon for writing disk images (e.g. recovery) to USB sticks & SD cards
imageloaderDaemon for mounting signed disk images
initCrOS common startup init scripts and boot time helpers
installerCrOS installer utility (for AU/recovery/etc...)
ippusb_bridgeHTTP proxy to IPP-enabled printers
kdumpFully featured kernel core debugging after a crash
kerberosDaemon for managing Kerberos tickets
libarc-attestationLibrary to facilitate Android Attestation and Remote Key Provisioning for ARC Keymint Daemon
libbrilloCommon platform utility library
libchromeos-rsCommon platform utility library for Rust
libcrossystemLibrary for getting ChromeOS system properties
libecLibrary for interacting with EC
libhwsecLibrary for the utility functions of all TPM related daemons except for trunks and trousers
libhwsec-foundationLibrary for the utility functions of all TPM related daemons and libraries
libippLibrary for building and parsing IPP (Internet Printing Protocol) frames
libmemsUtility library to configure, manage and retrieve events from IIO sensors
libpasswordproviderPassword Provider library for securely managing credentials with system services
libsarUtility library to read the config file of IIO Sar sensors
libsegmentationLibrary to check which software features are allowed
libstorageLibrary presenting files, block devices and filesystems
libtouchrawLibrary for processing HID raw touch data
login_managerSession manager for handling the life cycle of the main session (e.g. Chrome)
lorgnetteDaemon for managing attached USB scanners via SANE
lvmdChromeOS LVM daemon
machine-id-regenUtility to periodically update machine-id
media_capabilitiesCommand line tool to show video and camera capabilities
memdDaemon that logs memory-related data and events
mems_setupBoot-time initializer tool for sensors
metricsClient side user metrics collection
midisMIDI service
mini_udisksDaemon providing a partial UDisks2 API for Flex firmware updates
miniosA minimal OS used during recovery
missiveDaemon for the storage of encrypted records for managed devices.
mistModem USB Interface Switching Tool
mlMachine learning service
ml_benchmarkML performance benchmark for ChromeOS
ml_coreMachine learning feature library
modemfwdDaemon for managing modem firmware updaters
modemloggerdDaemon for managing modem logging tools
mojo_service_managerDaemon for managing mojo services
mtpdDaemon for handling Media Transfer Protocol (MTP) with devices (e.g. phones)
net-baselibrary of networking primitive data structure and common utilities
nnapiImplementation of the Android Neural Networks API
ocrOptical Character Recognition (OCR) service for ChromeOS
odmlOn-device ML service for ChromeOS
oobe_configUtilities for saving and restoring OOBE config state
os_install_serviceService that can be triggered by the UI to install CrOS to disk from a USB device
p2pService for sharing files between CrOS devices (e.g. updates)
parallaxVisual Analysis Framework
patchmakerUtility for bsdiff-encoding a directory of binaries
patchpanelPlatform networking daemons
pciguardDaemon to secure external PCI devices (thunderbolt etc)
perfetto_simple_producerA simple producer of perfetto: An example demonstrating how to produce Perfetto performance trace data
policy_protoBuild file to compile policy proto file
policy_utilsTools and related library to set or override device policies
power_managerUserspace power management daemon and associated tools
primary_io_managerTracks primary input devices for chromeboxes
print_toolsVarious tools related to the native printing system
printscanmgrChromeOS Printing and Scanning Daemon
privacyChromeOS privacy tools
private_computingDaemon to save and retrieve device active date status into and from preserved file.
pwgtocanonijCUPS filter for certain Canon printers
regmonDaemon to report policy violations of first-party network traffic.
resourcedResource Management Daemon
rgbkbdChromeOS RGB Keyboard Daemon
rmadChromeOS RMA Daemon
routing-simulatorDebugging tool for routing subsystem
run_ociMinimalistic container runtime
runtime_probeRuntime probe tool for ChromeOS
sandboxing-codelabSandboxing exercise
screen-capture-utilsUtilities for screen capturing (screenshot)
secagentdDaemon for detecting and reporting security related events
secanomalydDaemon for detecting and reporting security anomalies
secure-wipeSecure disk wipe
secure_erase_fileHelper tools for securely erasing files from storage (e.g. keys and PII data)
sepolicySELinux policy for ChromeOS
shadercachedShader cache management daemon
shillChromeOS Connection Manager
smbfsFUSE-based filesystem for accessing Samba / Windows networking shares
smbproviderDaemon for connecting Samba / Windows networking shares to the
soulDaemon and utilities for system logs
spacedDisk space information daemon
storage_infoHelper shell functions for retrieving disk information)
swap_managementSwap management service
syslog-catHelper command to forward stdout/stderr from process to syslog
system-proxyDaemon for web proxy authentication support on ChromeOS
system_apiHeaders and .proto files etc. to be shared with chromium
thinpool_migratorTool for migrating the stateful filesystem to use LVM
timberslideTool for working with EC crashes for reporting purposes
tpm2-simulatorA software TPM 2.0 implementation (for testing/debugging)
tpm_managerDaemon and client for managing TPM setup and operations
tpm_softclear_utilsUtilities that soft-clear TPM (for testing only)
trimService to manage filesystem trim operations in the background
trunksMiddleware and resource manager for interfacing with TPM 2.0 hardware
typecdSystem daemon to keep track of USB Type C state
u2fdU2FHID emulation daemon for systems with secure elements (not TPMs)
update_engineSystem updater daemon
ureadahead-diffTool to calculate difference between 2 ureadahead packs
usb_bouncerTools for managing USBGuard white-lists and configuration on ChromeOS
userfeedbackVarious utilities to gather extended data for user feedback reports
uwbdDaemon for the UWB on ChromeOS
verityUserspace tools for working dm-verity (verified disk images)
vm_toolsUtilities for Virtual Machine (VM) orchestration
vtpmChromeOS virtual TPM Daemon

AOSP Project Directory

These projects can be found here: