smbprovider: Add overloaded methods in SmbProviderTest for WriteFile

Adds methods and overloads for methods in SmbProviderTest in preparation
for WriteFile.

BUG=chromium:757625
TEST=unit tests run

Change-Id: I134b51b6235acd9a33bfbeef26702e28a98cbbb8
Reviewed-on: https://chromium-review.googlesource.com/892052
Commit-Ready: Allen Vicencio <allenvic@chromium.org>
Tested-by: Allen Vicencio <allenvic@chromium.org>
Reviewed-by: Zentaro Kavanagh <zentaro@chromium.org>
3 files changed
tree: 35ff327d4385447b638d913d71c6862fae0ddbcf
  1. arc/
  2. arc-networkd/
  3. attestation/
  4. authpolicy/
  5. avtest_label_detect/
  6. biod/
  7. bootstat/
  8. buffet/
  9. chaps/
  10. chromeos-config/
  11. chromeos-dbus-bindings/
  12. common-mk/
  13. container_utils/
  14. crash-reporter/
  15. cromo/
  16. cros-disks/
  17. cros_component/
  18. crosh/
  19. cryptohome/
  20. debugd/
  21. disk_updater/
  22. easy-unlock/
  23. feedback/
  24. fitpicker/
  25. gobi-cromo-plugin/
  26. goldfishd/
  27. hammerd/
  28. image-burner/
  29. imageloader/
  30. init/
  31. installer/
  32. ippusb_manager/
  33. libchromeos-ui/
  34. libcontainer/
  35. libpasswordprovider/
  36. libweave/
  37. login_manager/
  38. lorgnette/
  39. metrics/
  40. midis/
  41. mist/
  42. modem-utilities/
  43. modemfwd/
  44. mtpd/
  45. p2p/
  46. peerd/
  47. permission_broker/
  48. power_manager/
  49. regions/
  50. run_oci/
  51. salsa/
  52. secure_erase_file/
  53. smbprovider/
  54. smogcheck/
  55. st_flash/
  56. thd/
  57. timberslide/
  58. touch_firmware_calibration/
  59. touch_keyboard/
  60. tpm2-simulator/
  61. tpm_manager/
  62. trim/
  63. trunks/
  64. u2fd/
  65. userfeedback/
  66. userspace_touchpad/
  67. virtual_file_provider/
  68. vm_tools/
  69. vpn-manager/
  70. webserver/
  71. wimax_manager/
  72. .clang-format
  73. .gitignore
  74. CPPLINT.cfg
  75. LICENSE
  76. PRESUBMIT.cfg
  77. README.md
README.md

The Chromium OS Platform

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

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 Chromium OS carries copies.

Local Project Directory

ProjectDescription
arcTools/deamons/init-scripts to run ARC
arc-networkdTools for managing ARC network settings
attestationDaemon and client for managing remote attestation
authpolicyDaemon for integrating with Microsoft Active Directory (AD) domains
avtest_label_detectTest tool for OCRing device labels
biodBiometrics daemon
bootstatTools for tracking points in the overall boot process (for metrics)
buffetDaemon for reacting to cloud messages
chapsPKCS #11 implementation for TPM 1 devices
chromeos-configCrOS unified build runtime config manager
chromeos-dbus-bindingsSimplifies the implementation of D-Bus daemons and proxies
common-mkCommon build & test logic for platform2 projects
container_utilsSupport tools for containers (e.g. device-jail)
crash-reporterThe system crash handler & reporter
cromomodemmanager compatible D-Bus interface to support closed source modem drivers
cros-disksDaemon for mounting removable media (e.g. USB sticks and SD cards)
cros_component
croshThe Chromium OS shell
cryptohomeDaemon and tools for managing encrypted /home and /var directories
debugdCentralized debug daemon for random tools
disk_updaterUtility for updating root disk firmware (e.g. SSDs and eMMC)
easy-unlockDaemon for handling Easy Unlock requests (e.g. unlocking Chromebooks with an Android device)
feedbackDaemon for headless systems that want to gather feedback (normally Chrome manages it)
fitpicker
gobi-cromo-pluginplugin for supporting gobi3k modems with cromo
goldfishdAndroid Emulator Daemon
hammerdFirmware updater utility for hammer hardware
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_manager“Service” for ipp-over-usb printing
libchromeos-ui
libcontainer
libpasswordproviderPassword Provider library for securely managing credentials with system services
libweaveLibrary for cloud messaging
login_managerSession manager for handling the life cycle of the main session (e.g. Chrome)
lorgnetteDaemon for managing attached USB scanners via SANE
metricsClient side user metrics collection
midisMIDI service
mistModem USB Interface Switching Tool
modem-utilities
modemfwdDaemon for managing modem firmware updaters
mtpdDaemon for handling Media Transfer Protocol (MTP) with devices (e.g. phones)
p2pService for sharing files between CrOS devices (e.g. updates)
peerdDaemon for communicating with local peers
permission_broker
power_managerUserspace power management daemon and associated tools
regions
run_ociMinimalistic container runtime
salsaTouchpad experimentation framework
secure_erase_fileHelper tools for securely erasing files from storage (e.g. keys and PII data)
smbproviderDaemon for connecting Samba / Windows networking shares to the Files.app
smogcheckDeveloper library for working with raw I2C devices
st_flash
thdThermal daemon to help keep systems running cool
timberslideTool for working with EC crashes for reporting purposes
touch_firmware_calibration
touch_keyboardUtilities for a touch based virtual keyboard
tpm2-simulatorA software TPM 2.0 implementation (for testing/debugging)
tpm_managerDaemon and client for managing TPM setup and operations
trimService to manage filesystem trim operations in the background
trunksMiddleware and resource manager for interfacing with TPM 2.0 hardware
u2fdU2FHID emulation daemon for systems with secure elements (not TPMs)
userfeedbackVarious utilities to gather extended data for user feedback reports
userspace_touchpad
virtual_file_provider
vm_toolsUtilities for Virtual Machine (VM) orchestration
vpn-manager
webserverSmall web server with D-Bus client backends
wimax_manager

AOSP Project Directory

These projects can be found here: https://chromium.googlesource.com/aosp/platform/