|
Android-cuttlefish cvd tool
|
Typedefs | |
| using | WalkDirectoryCallback = std::function< Result< void >(const std::string &)> |
| using | MiscInfo = std::map< std::string, std::string, std::less< void > > |
| using | PsRow = std::map< PsColumns, std::string > |
| using | CvdServerClock = std::chrono::system_clock |
| using | TimeStamp = std::chrono::time_point< CvdServerClock > |
| using | InterruptListener = std::function< void(int)> |
| using | f_func = std::function< void(const Client &)> |
| using | p_func = std::function< void(const Client &, std::string &)> |
| template<auto Fn> | |
| using | AutoCmd = GenericCommandImpl< Fn, decltype(Fn)> |
| using | AutoSensorsSocketPair = AutoSetup< SensorsSocketPair::Create > |
| using | AutoSnapshotControlFiles = AutoSetup< SnapshotControlFiles::Create > |
| template<auto Fn> | |
| using | AutoDiagnostic = DiagnosticInformationFnImpl< Fn, decltype(Fn)> |
| template<typename T > | |
| using | UniqueEsysPtr = std::unique_ptr< T, EsysDeleter > |
| using | TpmObjectSlot = std::shared_ptr< TpmResourceManager::ObjectSlot > |
| using | SerializeTpmKeyPrivate = TpmSerializable< TPM2B_PRIVATE > |
| using | SerializeTpmKeyPublic = TpmSerializable< TPM2B_PUBLIC > |
| using | NvencEncoderHandle = std::unique_ptr< void, NvencEncoderDeleter > |
| using | OnConsumedCb = std::function< void(AudioStatus, uint32_t, uint32_t)> |
| using | TxBuffer = ShmBuffer |
| template<auto Fn> | |
| using | AutoSetup = GenericSetupImpl< Fn, decltype(Fn)> |
| using | GenerateProcessedFrameCallbackImpl = std::function< void(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint8_t *)> |
| using | Build = std::variant< DeviceBuild, DirectoryBuild > |
| using | BuildString = std::variant< DeviceBuildString, DirectoryBuildString > |
| using | DigestsFetcher = std::function< Result< std::string >(std::string)> |
| using | ChromeOsBuildString = std::variant< ChromeOsBuilder, std::string > |
| using | ManagedZip = std::unique_ptr< zip_t, ZipDeleter > |
| using | ManagedZipError = std::unique_ptr< zip_error_t, ZipDeleter > |
| using | ManagedZipSource = std::unique_ptr< zip_source_t, ZipDeleter > |
| using | FetchInput = std::variant< FetchFlags, FetchResult > |
| using | FetchMetrics = std::variant< FetchStartMetrics, FetchCompleteMetrics, FetchFailedMetrics > |
| using | Environment = std::variant< GceEnvironment, GitHubRepository, UnknownEnvironment > |
| using | SubprocessStopper = std::function< StopperResult(Subprocess *)> |
| template<typename T > | |
| using | Result = tl::expected< T, StackTraceError > |
Functions | |
| Result< void > | AddTapIface (std::string_view name) |
| Result< void > | ShutdownIface (std::string_view name) |
| Result< void > | BringUpIface (std::string_view name) |
| Result< void > | AddGateway (std::string_view name, std::string_view gateway, std::string_view netmask) |
| Result< void > | DestroyGateway (std::string_view name, std::string_view gateway, std::string_view netmask) |
| Result< void > | LinkTapToBridge (std::string_view tap_name, std::string_view bridge_name) |
| Result< void > | DeleteIface (std::string_view name) |
| Result< bool > | BridgeInUse (std::string_view name) |
| Result< bool > | BridgeExists (std::string_view name) |
| Result< void > | CreateBridge (std::string_view name) |
| Result< void > | IptableConfig (std::string_view iptables_path, std::string_view network, bool add) |
| bool | CreateEthernetIface (std::string_view name, std::string_view bridge_name) |
| std::string | MobileGatewayName (std::string_view ipaddr, uint16_t id) |
| std::string | MobileNetworkName (std::string_view ipaddr, std::string_view netmask, uint16_t id) |
| bool | CreateMobileIface (std::string_view name, uint16_t id, std::string_view ipaddr) |
| bool | DestroyMobileIface (std::string_view name, uint16_t id, std::string_view ipaddr) |
| bool | DestroyEthernetIface (std::string_view name) |
| void | CleanupEthernetIface (std::string_view name) |
| bool | CreateTap (std::string_view name) |
| bool | DestroyIface (std::string_view name) |
| std::optional< std::string > | GetUserName (uid_t uid) |
| bool | DestroyBridge (std::string_view name) |
| bool | SetupBridgeGateway (std::string_view bridge_name, std::string_view ipaddr) |
| void | CleanupBridgeGateway (std::string_view name, std::string_view ipaddr, const GatewayConfig &config) |
| bool | StartDnsmasq (std::string_view bridge_name, std::string_view gateway, std::string_view dhcp_range) |
| bool | StopDnsmasq (std::string_view name) |
| bool | CreateEthernetBridgeIface (std::string_view name, std::string_view ipaddr) |
| bool | DestroyEthernetBridgeIface (std::string_view name, std::string_view ipaddr) |
| Result< std::string > | IptablesPath () |
| Result< std::string > | DnsmasqPath () |
| int | RunExternalCommand (const std::string &command) |
| bool | IsCsiFinalByte (char c) |
| std::string | AnsiCursorUp (int n) |
| bool | ShouldColorStdout () |
| bool | ShouldColorStderr () |
| Result< std::string > | RecvAll (Fd &sock, const uint64_t count) |
| ssize_t | WriteAll (SharedFD fd, const char *buf, size_t size) |
| ssize_t | ReadExact (SharedFD fd, char *buf, size_t size) |
| ssize_t | ReadExact (SharedFD fd, std::string *buf) |
| ssize_t | ReadExact (SharedFD fd, std::vector< char > *buf) |
| ssize_t | WriteAll (SharedFD fd, std::string_view buf) |
| ssize_t | WriteAll (SharedFD fd, const std::vector< char > &buf) |
| bool | SendAll (SharedFD sock, std::string_view msg) |
| template<typename T > | |
| ssize_t | ReadExactBinary (SharedFD fd, T *binary_data) |
| template<typename T > | |
| ssize_t | WriteAllBinary (SharedFD fd, const T *binary_data) |
| int | Select (SharedFDSet *read_set, SharedFDSet *write_set, SharedFDSet *error_set, struct timeval *timeout) |
| TEST (SendFD, Basic) | |
| Result< std::map< std::string, std::string, std::less< void > > > | ParseKeyEqualsValue (const std::string &contents) |
| std::string | SerializeKeyEqualsValue (const std::map< std::string, std::string > &key_equals_value) |
| std::string | SerializeKeyEqualsValue (const std::map< std::string, std::string, std::less< void > > &key_equals_value) |
| Result< void > | WriteKeyEqualsValue (const std::map< std::string, std::string > &key_equals_value, const std::string &path) |
| Result< void > | WriteKeyEqualsValue (const std::map< std::string, std::string, std::less< void > > &key_equals_value, const std::string &path) |
| Result< std::vector< std::string > > | ExtractImages (const std::string &archive_filepath, const std::string &target_directory, const std::vector< std::string > &images, const bool keep_archive) |
| Result< std::string > | ExtractImage (const std::string &archive_filepath, const std::string &target_directory, const std::string &image, const bool keep_archive) |
| Result< std::vector< std::string > > | ExtractArchiveContents (const std::string &archive_filepath, const std::string &target_directory, const bool keep_archive) |
| std::string | ExtractArchiveToMemory (const std::string &archive_filepath, const std::string &archive_member) |
| std::vector< std::string > | ArchiveContents (const std::string &archive) |
| Result< std::string > | EncodeBase64 (const void *data, size_t size) |
| Result< std::string > | EncodeBase64 (std::string_view data) |
| Result< std::vector< uint8_t > > | DecodeBase64 (std::string_view data) |
| TEST (Base64Test, EncodeMult3) | |
| TEST (Base64Test, EncodeNonMult3) | |
| TEST (Base64Test, DecodeMult3) | |
| TEST (Base64Test, DecodeNonMult3) | |
| TEST (Base64Test, DecodeStringViewSubstring) | |
| TEST (Base64Test, EncodeOneZero) | |
| TEST (Base64Test, EncodeTwoZeroes) | |
| TEST (Base64Test, EncodeThreeZeroes) | |
| DECLARE_TYPE (Le16, uint16_t, htole16, le16toh) | |
| DECLARE_TYPE (Le32, uint32_t, htole32, le32toh) | |
| DECLARE_TYPE (Le64, uint64_t, htole64, le64toh) | |
| DECLARE_TYPE (Be16, uint16_t, htobe16, be16toh) | |
| DECLARE_TYPE (Be32, uint32_t, htobe32, be32toh) | |
| DECLARE_TYPE (Be64, uint64_t, htobe64, be64toh) | |
| bool | IsRunningInContainer () |
| template<typename Container , typename U , typename = std::enable_if_t< contains_internal_impl::HasFindImpl<Container, U>::value && (!contains_internal_impl::IsString<Container>::value && !contains_internal_impl::IsStringView<Container>::value), void>> | |
| constexpr bool | Contains (Container &&container, U &&u) |
| template<typename T > | |
| constexpr bool | Contains (const std::string &s, T &&t) |
| template<typename T > | |
| constexpr bool | Contains (const std::string_view &s, T &&t) |
| DeviceType | ParseDeviceType (std::string_view type_name) |
| std::string_view | DeviceTypeToStringView (DeviceType device_type) |
| std::ostream & | operator<< (std::ostream &out, DeviceType device_type) |
| std::string_view | format_as (DeviceType device_type) |
| template<typename Sink > | |
| void | AbslStringify (Sink &sink, DeviceType device_type) |
| Result< size_t > | GetDiskUsageBytes (const std::string &path) |
| Result< size_t > | GetDiskUsageGigabytes (const std::string &path) |
| std::optional< std::string > | StringFromEnv (const char *varname) |
| std::optional< std::string > | StringFromEnv (const std::string &varname) |
| std::optional< std::string > | StringFromEnv (std::string_view varname) |
| std::string | StringFromEnv (const char *varname, const std::string &defval) |
| std::string | StringFromEnv (const std::string &varname, const std::string &defval) |
| std::string | StringFromEnv (std::string_view varname, const std::string &defval) |
| TEST (EnvironmentTest, StringFromEnvString) | |
| TEST (EnvironmentTest, StringFromEnvStringDefault) | |
| TEST (EnvironmentTest, StringFromEnvStringDefaultFallback) | |
| TEST (EnvironmentTest, StringFromEnvCharPtr) | |
| TEST (EnvironmentTest, StringFromEnvCharPtrDefault) | |
| TEST (EnvironmentTest, StringFromEnvCharPtrDefaultFallback) | |
| TEST (EnvironmentTest, StringFromEnvStringView) | |
| TEST (EnvironmentTest, StringFromEnvStringViewDefault) | |
| TEST (EnvironmentTest, StringFromEnvStringViewDefaultFallback) | |
| Result< bool > | CanHardLink (const std::string &source, const std::string &destination) |
| bool | FileHasContent (const std::string &path) |
| Result< void > | LinkOrCopyDirectoryContentsRecursively (const std::string &source, const std::string &destination) |
| Result< void > | MoveDirectoryContents (const std::string &source, const std::string &destination) |
| Result< std::vector< std::string > > | DirectoryContentsPaths (const std::string &path) |
| Result< void > | EnsureDirectoryExists (const std::string &directory_path, const mode_t mode, const std::string &group_name) |
| Result< void > | ChangeGroup (const std::string &path, const std::string &group_name) |
| bool | CanAccess (const std::string &path, const int mode) |
| std::string | AbsolutePath (std::string_view path) |
| off_t | FileSize (const std::string &path) |
| Result< uid_t > | FileOwner (const std::string &path) |
| bool | MakeFileExecutable (const std::string &path) |
| Result< std::chrono::system_clock::time_point > | FileModificationTime (const std::string &path) |
| Result< std::string > | RenameFile (const std::string ¤t_filepath, const std::string &target_filepath) |
| std::string | ReadFile (const std::string &file) |
| Result< std::string > | ReadFileContents (const std::string &path) |
| Result< void > | WriteNewFile (const std::string &filepath, std::string_view content, mode_t mode) |
| std::string | CurrentDirectory () |
| FileSizes | SparseFileSizes (const std::string &path) |
| Result< std::string > | FindFile (const std::string &path, const std::string &target_name) |
| Result< void > | WalkDirectory (const std::string &dir, const WalkDirectoryCallback &callback) |
| std::vector< std::string > | Path (const std::string &env_name) |
| Result< std::string > | Search (const std::vector< std::string > &path, std::string_view name) |
| Result< SharedFD > | CreateOrReuseAndDrainFifo (const std::string &path, mode_t mode) |
| Result< bool > | CanRename (const std::string &source, const std::string &destination) |
| void | CreateTempFileWithText (const std::string &filepath, const std::string &text) |
| TEST_F (FilesTests, LinkOrCopyRecursivelyFailsIfSourceIsNotADirectory) | |
| TEST_F (FilesTests, LinkOrCopyRecursively) | |
| TEST_F (FilesTests, MoveDirectoryContentsFailsIfSourceIsNotADirectory) | |
| TEST_F (FilesTests, MoveDirectoryContents) | |
| TEST (FilesTest, PathWithCustomEnv) | |
| TEST (FilesTest, PathWithSecondCustomEnv) | |
| TEST (FilesTest, SearchFindsFile) | |
| TEST (FilesTest, SearchFileNotFoundReturnsError) | |
| Result< void > | ValidateSetupWizardMode (const std::string &setupwizard_mode) |
| Result< std::vector< GflagDescription > > | ParseGflagsXmlHelp (std::string_view xml_help) |
| std::string_view | ArchToStringView (Arch arch) |
| std::ostream & | operator<< (std::ostream &out, Arch arch) |
| std::string_view | format_as (Arch arch) |
| const std::string & | HostArchStr () |
| Arch | HostArch () |
| HostInfo | GetHostInfo () |
| bool | IsHostCompatible (Arch arch) |
| std::ostream & | operator<< (std::ostream &out, Os arch) |
| template<typename Sink > | |
| void | AbslStringify (Sink &sink, Arch arch) |
| bool | InSandbox () |
| std::vector< std::string > | GetCreatedFileListFromInotifyFd (int fd) |
| std::vector< std::string > | GetFileListFromInotifyFd (int fd, uint32_t mask) |
| bool | IsGoogleCorp () |
| Result< Json::Value > | ParseJson (std::string_view input) |
| Result< Json::Value > | LoadFromFile (Reader &json_reader) |
| Result< Json::Value > | LoadFromFile (const std::string &path_to_file) |
| template<typename T > | |
| Result< T > | As (const Json::Value &v) |
| template<> | |
| Result< int > | As (const Json::Value &v) |
| template<> | |
| Result< std::string > | As (const Json::Value &v) |
| template<> | |
| Result< bool > | As (const Json::Value &v) |
| template<> | |
| Result< Json::Value > | As (const Json::Value &v) |
| template<typename T > | |
| Result< T > | GetValue (const Json::Value &root, const std::vector< std::string > &selectors) |
| template<typename T > | |
| Result< std::vector< T > > | GetArrayValues (const Json::Value &array, const std::vector< std::string > &selectors) |
| bool | HasValue (const Json::Value &root, const std::vector< std::string > &selectors) |
| std::string | TempDir () |
| bool | NetworkInterfaceExists (const std::string &interface_name) |
| std::string | MacAddressToString (const uint8_t mac[6]) |
| std::string | Ipv6ToString (const uint8_t ip[16]) |
| void | GenerateMobileMacForInstance (int index, uint8_t out[6]) |
| void | GenerateEthMacForInstance (int index, uint8_t out[6]) |
| void | GenerateWifiMacForInstance (int index, uint8_t out[6]) |
| void | GenerateCorrespondingIpv6ForMac (const uint8_t mac[6], uint8_t out[16]) |
| std::string | GenerateRandomString (const std::string &alphabet, const int length) |
| Result< SemVer > | ParseSemVer (std::string_view str) |
| TEST (SemVer, ParseBasic) | |
| TEST (SemVer, ParseWithPrereleaseAndMetadata) | |
| TEST (SemVer, ParseInvalid) | |
| void | ChangeSignalHandlers (void(*handler)(int), std::vector< int > signals) |
| constexpr uint64_t | AlignToPowerOf2 (uint64_t val, uint8_t align_log) |
| void | Proxy (SharedFD server, std::function< SharedFD()> conn_factory) |
| std::unique_ptr< ProxyServer > | ProxyAsync (SharedFD server, std::function< SharedFD()> conn_factory) |
| std::string | StripColorCodes (const std::string &str) |
| std::string | FromSeverity (LogSeverity severity) |
| Result< LogSeverity > | ToSeverity (std::string_view value) |
| static LogSeverity | GuessSeverity (const std::string &env_var, LogSeverity default_value) |
| LogSeverity | ConsoleSeverity () |
| LogSeverity | LogFileSeverity () |
| void | SetLoggers (std::vector< SeverityTarget > destinations, const std::string &log_prefix) |
| void | LogToStderr (const std::string &log_prefix, MetadataLevel metadata_level, std::optional< LogSeverity > severity) |
| void | LogToFiles (const std::vector< std::string > &files, const std::string &log_prefix) |
| void | LogToStderrAndFiles (const std::vector< std::string > &files, const std::string &log_prefix, MetadataLevel stderr_level, std::optional< LogSeverity > stderr_severity) |
| template<typename T > | |
| constexpr std::string_view | TypeName () |
| template<auto T> | |
| constexpr std::string_view | ValueName () |
| SharedFD | CreateMemFDWithData (const std::string &data) |
| std::string | ReadAllFDData (SharedFD fd) |
| TEST (UnixSocketMessage, ExtractFileDescriptors) | |
| std::pair< UnixMessageSocket, UnixMessageSocket > | UnixMessageSocketPair () |
| TEST (UnixMessageSocket, SendPlainMessage) | |
| TEST (UnixMessageSocket, SendFileDescriptor) | |
| TEST (UnixMessageSocket, SendTwoFileDescriptors) | |
| TEST (UnixMessageSocket, SendCredentials) | |
| TEST (UnixMessageSocket, BadCredentialsBlocked) | |
| TEST (UnixMessageSocket, AutoCredentials) | |
| gid_t | GroupIdFromName (const std::string &group_name) |
| bool | InGroup (const std::string &group) |
| Result< std::string > | SystemWideUserHome () |
| Result< std::string > | CurrentUserName () |
| bool | IsKvmAccessible () |
| std::string | GenerateUuid () |
| Result< void > | WaitForUnixSocket (const std::string &path, int timeoutSec) |
| Result< void > | WaitForUnixSocketListeningWithoutConnect (const std::string &path, int timeoutSec) |
| Result< bool > | AreHardLinked (const std::string &source, const std::string &destination) |
| Result< void > | Copy (std::string_view from, std::string_view to) |
| Result< void > | CopyWithAttributes (const std::string &from, const std::string &to) |
| Result< std::vector< std::string > > | DirectoryContents (const std::string &path) |
| bool | DirectoryExists (const std::string &path, bool follow_symlinks) |
| Result< dev_t > | FileDeviceId (const std::string &path) |
| bool | FileExists (const std::string &path, bool follow_symlinks) |
| bool | FileIsSocket (const std::string &path) |
| Result< bool > | IsDirectoryEmpty (const std::string &path) |
| Result< bool > | IsSymlink (const std::string &path) |
| Result< std::string > | LinkOrCopy (const std::string &target, const std::string &destination, const bool overwrite_existing) |
| Result< void > | RecursivelyRemoveDirectory (const std::string &path) |
| std::ostream & | operator<< (std::ostream &out, const Flag &flag) |
| Result< void > | ConsumeFlags (const std::vector< Flag > &flags, std::vector< std::string > &args, ConsumeFlagsOpts opts) |
| Result< void > | ConsumeFlags (const std::vector< Flag > &flags, std::vector< std::string > &&args, ConsumeFlagsOpts opts) |
| TEST (FlagParser, DuplicateAlias) | |
| TEST (FlagParser, RepeatedListFlag) | |
| TEST (FlagParser, UnexpectedArgumentGuard) | |
| TEST (FlagParser, EndOfOptionMark) | |
| TEST (FlagParser, ValueNameHint_Customized) | |
| TEST (FlagParser, ValueNameHint_CustomizedWithAlias) | |
| TEST (FlagParser, ValueNameHint_DefaultDerived) | |
| TEST (FlagParser, ValueNameHint_DefaultDerivedDashed) | |
| TEST (FlagParser, ValueNameHint_DefaultDerivedSnaked) | |
| void | WriteGflagsCompatXml (const Flag &flag, std::ostream &out) |
| void | WriteGflagsCompatXml (const std::vector< Flag > &flags, std::ostream &out) |
| Flag | HelpFlag (const std::vector< Flag > &flags, std::string text) |
| Flag | HelpXmlFlag (const std::vector< Flag > &flags, std::ostream &out, bool &print_xml, std::string text) |
| Flag | GflagsCompatFlag (const std::string &name, std::string &value) |
| Flag | GflagsCompatFlag (const std::string &name, int32_t &value) |
| Flag | GflagsCompatFlag (const std::string &name, size_t &value) |
| Flag | GflagsCompatFlag (const std::string &name, bool &value) |
| Flag | GflagsCompatFlag (const std::string &name, std::vector< std::string > &value) |
| Flag | GflagsCompatFlag (const std::string &name, std::vector< unsigned > &value) |
| Flag | GflagsCompatFlag (const std::string &name, std::vector< bool > &value, const bool default_value) |
| Flag | GflagsCompatFlag (const std::string &name, std::optional< std::string > &value, CoerceToNullopt opt) |
| Flag | GflagsCompatFlag (const std::string &name, std::optional< int > &value, CoerceToNullopt opt) |
| Flag | GflagsCompatFlag (const std::string &name, std::optional< size_t > &value, CoerceToNullopt opt) |
| Flag | GflagsCompatFlag (const std::string &name, std::optional< unsigned > &value, CoerceToNullopt opt) |
| Flag | GflagsCompatFlag (const std::string &name, std::optional< int64_t > &value, CoerceToNullopt opt) |
| Flag | GflagsCompatFlag (const std::string &name, std::optional< bool > &value, CoerceToNullopt opt) |
| Flag | GflagsCompatFlag (const std::string &name, std::optional< std::vector< std::string > > &value, CoerceToNullopt opt) |
| Flag | GflagsCompatFlag (const std::string &name, std::optional< std::vector< unsigned > > &value, CoerceToNullopt opt) |
| TEST (FlagParser, StringFlag) | |
| TEST (FlagParser, NormalizedStringFlag) | |
| std::optional< std::map< std::string, std::string > > | flagXml (const Flag &f) |
| TEST (FlagParser, StringFlagXml) | |
| TEST (FlagParser, RepeatedStringFlag) | |
| TEST (FlagParser, FlagRemoval) | |
| TEST (FlagParser, IntFlag) | |
| TEST (FlagParser, IntFlagXml) | |
| TEST (FlagParser, BoolFlag) | |
| TEST (FlagParser, BoolFlagXml) | |
| TEST (FlagParser, StringIntFlag) | |
| TEST (FlagParser, StringVectorFlag) | |
| TEST (FlagParser, BoolVectorFlag) | |
| TEST (FlagParser, InvalidStringFlag) | |
| TEST (FlagParser, InvalidIntFlag) | |
| TEST (FlagParser, OptionalStringFlag_DefaultOptNotPresent) | |
| TEST (FlagParser, OptionalStringFlag_DefaultOptPresent) | |
| TEST (FlagParser, OptionalStringFlag_DefaultOptEmtpyFlag) | |
| TEST (FlagParser, OptionalStringFlag_EmptyOptEmtpyFlag) | |
| TEST (FlagParser, OptionalStringFlag_EmptyOptPresent) | |
| TEST (FlagParser, OptionalStringFlag_UnsetOptUnsetValue) | |
| TEST (FlagParser, OptionalStringFlag_UnsetOptOtherValue) | |
| TEST (FlagParser, OptionalStringVectorFlag_DefaultOptNotPresent) | |
| TEST (FlagParser, OptionalStringVectorFlag_DefaultOptPresent) | |
| TEST (FlagParser, OptionalStringVectorFlag_DefaultOptEmptyValue) | |
| TEST (FlagParser, OptionalStringVectorFlag_EmptyOptEmptyValue) | |
| TEST (FlagParser, OptionalStringVectorFlag_EmptyOptPresent) | |
| TEST (FlagParser, OptionalStringVectorFlag_UnsetOptUnsetValue) | |
| TEST (FlagParser, OptionalStringVectorFlag_UnsetOptPresent) | |
| TEST (FlagParser, OptionalBoolFlag_DefaultOptNotPresent) | |
| TEST (FlagParser, OptionalBoolFlag_DefaultOptPresent_FlagOnly) | |
| TEST (FlagParser, OptionalBoolFlag_DefaultOptPresent_TrueValue) | |
| TEST (FlagParser, OptionalBoolFlag_DefaultOptPresent_FalseValue) | |
| TEST (FlagParser, OptionalBoolFlag_NoFlag) | |
| TEST (FlagParser, OptionalBoolFlag_EmptyOptEmptyFlag) | |
| TEST (FlagParser, OptionalBoolFlag_UnsetOptUnsetValue) | |
| TEST (FlagParser, OptionalInt64Flag_Present) | |
| TEST (FlagParser, OptionalInt64Flag_NotPresent) | |
| TEST (FlagParser, VectorFlagValueNameHint_StringVector) | |
| TEST (FlagParser, VectorFlagValueNameHint_UnsignedVector) | |
| TEST (FlagParser, VectorFlagValueNameHint_BoolVector) | |
| TEST (FlagParser, VectorFlagValueNameHint_OptionalStringVector) | |
| TEST (FlagParser, VectorFlagValueNameHint_OptionalUnsignedVector) | |
| Flag | SharedFDFlag (const std::string &name, SharedFD &out) |
| static Result< std::string > | InterfaceName (const CuttlefishConfig::InstanceSpecific &instance, const std::string &name) |
| Result< IfaceConfig > | DefaultNetworkInterfaces (const CuttlefishConfig::InstanceSpecific &instance) |
| std::optional< IfaceConfig > | AllocateNetworkInterfaces () |
| std::ostream & | operator<< (std::ostream &out, const AndroidBuild &build) |
| std::string | format_as (const AndroidBuild &build) |
| PrettyStruct | Pretty (AndroidBuild &build, PrettyAdlPlaceholder) |
| std::ostream & | operator<< (std::ostream &out, const AndroidBuilds &builds) |
| std::string | format_as (const AndroidBuilds &builds) |
| PrettyStruct | Pretty (AndroidBuilds &builds, PrettyAdlPlaceholder) |
| Result< std::unique_ptr< AndroidBuild > > | AndroidDistBuild (const std::string &product_dir) |
| Result< std::unique_ptr< AndroidBuild > > | AndroidProductDir (std::string path) |
| Result< std::unique_ptr< AndroidBuild > > | CombinedAndroidBuild (std::string name, std::vector< std::unique_ptr< AndroidBuild > > builds) |
| std::string_view | ImageStatusToStringView (FakeAndroidBuild::ImageStatus image_status) |
| template<typename Sink > | |
| void | AbslStringify (Sink &sink, FakeAndroidBuild::ImageStatus image_status) |
| Result< std::unique_ptr< AndroidBuild > > | FetchedAndroidBuild (const FetcherConfig &config, FileSource source) |
| Result< BuildArchive > | FindBuildArchive (const FetcherConfig &config, FileSource source, std::string_view pattern) |
| Result< BuildArchive > | FindBuildArchive (const std::string &directory_path, std::string_view pattern) |
| Result< std::unique_ptr< AndroidBuild > > | IdentifyAndroidBuild (const std::string &system_image_dir, const FetcherConfig &config, FileSource source) |
| Result< std::unique_ptr< AndroidBuild > > | IdentifyAndroidBuild (const AndroidBuildKey &android_build_key) |
| std::string | format_as (const AndroidBuildKey &key) |
| std::ostream & | operator<< (std::ostream &out, const AndroidBuildKey &key) |
| PrettyStruct | Pretty (const AndroidBuildKey &key, PrettyAdlPlaceholder) |
| Result< std::unique_ptr< AndroidBuild > > | ImgZip (const FetcherConfig &config, FileSource source) |
| Result< std::unique_ptr< AndroidBuild > > | ImgZip (const std::string &path) |
| Result< std::unique_ptr< AndroidBuild > > | AndroidBuildFromMiscInfo (std::map< std::string, std::string, std::less< void > > misc_info) |
| Result< std::unique_ptr< AndroidBuild > > | PhysicalPartitions (AndroidBuild &build) |
| Result< std::unique_ptr< AndroidBuild > > | SuperImageAsBuild (AndroidBuild &build) |
| Result< std::unique_ptr< AndroidBuild > > | TargetFiles (const FetcherConfig &config, FileSource source) |
| Result< std::unique_ptr< AndroidBuild > > | TargetFiles (const std::string &path) |
| Result< int > | AssembleCvdMain (int argc, char **argv) |
| static std::string | KernelCommandLineImpl (const boot_img_hdr_v0 &v0) |
| static std::string | KernelCommandLineImpl (const boot_img_hdr_v3 &v3) |
| static uint32_t | PageSizeImpl (const boot_img_hdr_v0 &v0) |
| static uint32_t | PageSizeImpl (const boot_img_hdr_v3 &) |
| static uint32_t | KernelSize (const boot_img_hdr_v0 &v0) |
| static uint32_t | KernelSize (const boot_img_hdr_v3 &v3) |
| static uint32_t | RamdiskSize (const boot_img_hdr_v0 &v0) |
| static uint32_t | RamdiskSize (const boot_img_hdr_v3 &v3) |
| static uint32_t | OsVersionImpl (const boot_img_hdr_v0 &v0) |
| static uint32_t | OsVersionImpl (const boot_img_hdr_v3 &v3) |
| static std::unique_ptr< ReaderSeeker > | PagePadding (uint64_t size) |
| static std::unique_ptr< ReaderSeeker > | PagePadding (uint64_t size, uint64_t page_size) |
| Result< void > | PackRamdisk (const std::string &ramdisk_stage_dir, const std::string &output_ramdisk) |
| Result< void > | UnpackRamdisk (const std::string &original_ramdisk_path, const std::string &ramdisk_stage_dir) |
| Result< void > | UnpackBootImage (const std::string &boot_image_path, const std::string &unpack_dir) |
| Result< VendorBootImage > | UnpackVendorBootImageIfNotUnpacked (const std::string &vendor_boot_image_path, const std::string &unpack_dir) |
| Result< void > | RepackBootImage (const std::string &new_kernel_path, const std::string &boot_image_path, const std::string &new_boot_image_path) |
| Result< void > | RepackVendorBootImage (const std::string &new_ramdisk, const std::string &vendor_boot_image_path, const std::string &new_vendor_boot_image_path, const std::string &unpack_dir, bool bootconfig_supported) |
| Result< void > | RepackVendorBootImageWithEmptyRamdisk (const std::string &vendor_boot_image_path, const std::string &new_vendor_boot_image_path, const std::string &unpack_dir, bool bootconfig_supported) |
| Result< void > | RepackGem5BootImage (const std::string &initrd_path, const std::optional< BootConfigPartition > &bootconfig_partition, const std::string &unpack_dir, const std::string &input_ramdisk_path) |
| Result< std::string > | ReadAndroidVersionFromBootImage (const std::string &boot_image_path) |
| Result< void > | ValidateBoardBootconfigKeys (const cuttlefish::DeviceType type, const std::map< std::string, std::string, std::less< void > > args) |
| Result< std::unordered_map< std::string, std::string > > | BootconfigArgsFromConfig (const CuttlefishConfig &config, const CuttlefishConfig::InstanceSpecific &instance, const std::map< std::string, std::string, std::less< void > > builtin_bootconfig_args) |
| Result< std::string > | BootconfigArgsString (const std::unordered_map< std::string, std::string > &args, const std::string &separator) |
| Result< void > | CleanPriorFiles (const std::set< std::string > &preserving, const std::vector< std::string > &clean_dirs) |
| Result< void > | CreateDynamicDiskFiles (const FetcherConfigs &fetcher_configs, const CuttlefishConfig &config, AndroidBuilds &android_builds, const BootImageFlag &boot_image, const SystemImageDirFlag &system_image_dirs) |
| Result< void > | InitializeAccessKregistryImage (const CuttlefishConfig::InstanceSpecific &instance) |
| Result< std::vector< ImagePartition > > | AndroidCompositeDiskConfig (const CuttlefishConfig::InstanceSpecific &instance, const std::vector< std::unique_ptr< ImageFile > > &image_files, AndroidBuild &android_build, const SystemImageDirFlag &system_image_dir) |
| DiskBuilder | ApCompositeDiskBuilder (const CuttlefishConfig &config, const CuttlefishConfig::InstanceSpecific &instance) |
| Result< void > | BootloaderPresentCheck (const CuttlefishConfig::InstanceSpecific &instance) |
| std::vector< ImagePartition > | ChromeOsCompositeDiskConfig (const CuttlefishConfig::InstanceSpecific &instance, const ChromeOsStateImage &chrome_os_state) |
| std::vector< ImagePartition > | FuchsiaCompositeDiskConfig (const CuttlefishConfig::InstanceSpecific &instance) |
| Result< void > | Gem5ImageUnpacker (const CuttlefishConfig &config, const BootImageFlag &boot_image) |
| Result< void > | InitializeHwcomposerPmemImage (const CuttlefishConfig::InstanceSpecific &instance) |
| Result< void > | RepackKernelRamdisk (const CuttlefishConfig &config, const CuttlefishConfig::InstanceSpecific &instance) |
| std::vector< ImagePartition > | LinuxCompositeDiskConfig (const CuttlefishConfig::InstanceSpecific &instance) |
| Result< DiskBuilder > | OsCompositeDiskBuilder (const CuttlefishConfig &config, const CuttlefishConfig::InstanceSpecific &instance, const std::optional< ChromeOsStateImage > &chrome_os_state, const std::vector< std::unique_ptr< ImageFile > > &image_files, AndroidBuild &android_build, const SystemImageDirFlag &system_image_dir) |
| Result< void > | InitializePflash (const CuttlefishConfig::InstanceSpecific &instance) |
| Result< void > | InitializePstore (const CuttlefishConfig::InstanceSpecific &instance) |
| Result< void > | InitializeSdCard (const CuttlefishConfig &config, const CuttlefishConfig::InstanceSpecific &instance) |
| Result< void > | VbmetaEnforceMinimumSize (const CuttlefishConfig::InstanceSpecific &instance) |
| static std::chrono::system_clock::time_point | LastUpdatedInputDisk (const std::vector< ImagePartition > &partitions) |
| Result< void > | DiskImageFlagsVectorization (CuttlefishConfig &config, const FetcherConfigs &fetcher_configs, const AndroidEfiLoaderFlag &android_efi_loader, const BootImageFlag &boot_image, const BootloaderFlag &bootloader, const InitramfsPathFlag &initramfs_path, const KernelPathFlag &kernel_path, const SuperImageFlag &super_image, const SystemImageDirFlag &system_image_dir, const VendorBootImageFlag &vendor_boot_image) |
| fruit::Component< DisplaysConfigs > | DisplaysConfigsComponent () |
| fruit::Component< fruit::Required< DisplaysConfigs, ConfigFlag >, DisplaysConfigsFlag > | DisplaysConfigsFlagComponent () |
| fruit::Component< fruit::Required< DisplaysConfigs >, DisplaysConfigsFragment > | DisplaysConfigsFragmentComponent () |
| static std::string | XmlEscape (const std::string &s) |
| fruit::Component< fruit::Required< ConfigFlag >, ParseGflags > | GflagsComponent () |
| Result< CuttlefishConfig > | InitializeCuttlefishConfiguration (const std::string &root_dir, const std::vector< GuestConfig > &guest_configs, fruit::Injector<> &injector, const FetcherConfigs &fetcher_configs, const BootImageFlag &boot_image, const InitramfsPathFlag &initramfs_path, const KernelPathFlag &kernel_path, const SuperImageFlag &super_image, const SystemImageDirFlag &system_image_dir, const VendorBootImageFlag &vendor_boot_image, const VmManagerFlag &vm_manager_flag, const Defaults &defaults) |
| Result< void > | SetDefaultFlagsForCrosvm (const SystemImageDirFlag &system_image_dir, const std::vector< GuestConfig > &guest_configs, std::map< std::string, std::string > &name_to_default_value) |
| void | SetDefaultFlagsForGem5 () |
| void | SetDefaultFlagsForOpenwrt (Arch target_arch) |
| Result< void > | SetFlagDefaultsForVmm (const std::vector< GuestConfig > &guest_configs, const SystemImageDirFlag &system_image_dir, const VmManagerFlag &vm_manager_flag) |
| Result< Defaults > | GetFlagDefaultsFromConfig () |
| std::string | GetConfigFilePath (const CuttlefishConfig &config) |
| Result< FromGflags< bool > > | BoolFromGlobalGflags (const gflags::CommandLineFlagInfo &flag_info, const std::string &flag_name) |
| Result< FromGflags< bool > > | BoolFromGlobalGflags (const gflags::CommandLineFlagInfo &flag_info, const std::string &flag_name, bool default_value) |
| Result< FromGflags< int > > | IntFromGlobalGflags (const gflags::CommandLineFlagInfo &flag_info, const std::string &flag_name) |
| Result< FromGflags< std::string > > | StringFromGlobalGflags (const gflags::CommandLineFlagInfo &flag_info, const std::string &flag_name) |
| Result< bool > | ParseBool (std::string_view value, std::string_view name) |
| Result< int > | ParseInt (const std::string &value, std::string_view name) |
| bool | VmManagerIsCrosvm (const VmManagerFlag &vmm) |
| bool | VmManagerIsQemu (const VmManagerFlag &vmm) |
| bool | VmManagerIsGem5 (const VmManagerFlag &vmm) |
| gfxstream::proto::GraphicsAvailability | GetGraphicsAvailabilityWithSubprocessCheck () |
| Result< GpuMode > | ConfigureGpuSettings (const gfxstream::proto::GraphicsAvailability &graphics_availability, GpuMode gpu_mode_arg, const std::string &gpu_vhost_user_mode_arg, const std::string &gpu_renderer_features_arg, std::string &gpu_context_types_arg, const std::string &guest_hwui_renderer_arg, const std::string &guest_renderer_preload_arg, VmmMode vmm, const GuestConfig &guest_config, CuttlefishConfig::MutableInstanceSpecific &instance) |
| PrettyStruct | Pretty (const GuestConfig &config, PrettyAdlPlaceholder) |
| Result< std::vector< GuestConfig > > | ReadGuestConfig (const BootImageFlag &boot_image, const KernelPathFlag &kernel_path, const SystemImageDirFlag &system_image_dirs) |
| std::vector< std::vector< std::unique_ptr< ImageFile > > > | InstanceImageFiles (const CuttlefishConfig &config, const BootImageFlag &boot_image_flag) |
| Result< bool > | IsKernelModuleSigned (ReaderSeeker &file) |
| fruit::Component< MediaConfigs > | MediaConfigsComponent () |
| fruit::Component< fruit::Required< MediaConfigs, ConfigFlag >, MediaConfigsFlag > | MediaConfigsFlagComponent () |
| fruit::Component< fruit::Required< MediaConfigs >, MediaConfigsFragment > | MediaConfigsFragmentComponent () |
| Result< MiscInfo > | GetCombinedDynamicPartitions (const MiscInfo &vendor_info, const MiscInfo &system_info, const std::set< std::string > &extracted_images) |
| Result< MiscInfo > | MergeMiscInfos (const MiscInfo &vendor_info, const MiscInfo &system_info, const MiscInfo &combined_dp_info, const std::vector< std::string > &system_partitions) |
| Result< VbmetaArgs > | GetVbmetaArgs (const MiscInfo &misc_info, const std::string &image_path) |
| Result< void > | ConfigureNetworkSettings (const std::string &ril_dns_arg, const CuttlefishConfig &config, const CuttlefishConfig::InstanceSpecific &const_instance, CuttlefishConfig::MutableInstanceSpecific &instance) |
| std::vector< std::string > | RequiredDirectories (const CuttlefishConfig &config) |
| Result< void > | ResolveInstanceFiles (const BootImageFlag &boot_image, const InitramfsPathFlag &initramfs_path, const KernelPathFlag &kernel_path, const SuperImageFlag &super_image, const SystemImageDirFlag &system_image_dir, const VendorBootImageFlag &vendor_boot_image) |
| Result< void > | RebuildSuperImageIfNecessary (const FetcherConfig &fetcher_config, const CuttlefishConfig::InstanceSpecific &instance) |
| Result< bool > | SuperImageNeedsRebuilding (const FetcherConfig &fetcher_config, const std::string &default_target_zip, const std::string &system_target_zip) |
| fruit::Component< TouchpadsConfigs > | TouchpadsConfigsComponent () |
| fruit::Component< fruit::Required< TouchpadsConfigs, ConfigFlag >, TouchpadsConfigsFlag > | TouchpadsConfigsFlagComponent () |
| TEST (DisplayConfigTest, ParseProto) | |
| Result< void > | BuildDlkmImage (const std::string &src_dir, const bool is_erofs, const std::string &partition_name, const std::string &output_image) |
| Result< void > | RepackSuperWithPartition (const std::string &superimg_path, const std::string &image_path, const std::string &partition_name) |
| Result< void > | BuildVbmetaImage (const std::string &vendor_dlkm_img, const std::string &vbmeta_path) |
| Result< void > | SplitRamdiskModules (const std::string &ramdisk_path, const std::string &ramdisk_stage_dir, const std::string &vendor_dlkm_build_dir, const std::string &system_dlkm_build_dir) |
| bool | FileEquals (const std::string &file1, const std::string &file2) |
| bool | MoveIfChanged (const std::string &src, const std::string &dst) |
| Result< std::vector< uint8_t > > | WithCrc16A (const std::vector< uint8_t > &data) |
| Result< std::vector< uint8_t > > | WithCrc16B (const std::vector< uint8_t > &data) |
| Result< std::vector< uint8_t > > | HexToBytes (const std::string &hex_string) |
| int | ConsoleForwarderMain (int argc, char **argv) |
| Result< void > | EmptyCache (const std::string &cache_directory) |
| Result< size_t > | GetCacheSize (const std::string &cache_directory) |
| Result< PruneResult > | PruneCache (const std::string &cache_directory, const size_t allowed_size_gb) |
| Result< bool > | HasHelpFlag (const std::vector< std::string > &args) |
| std::unique_ptr< CvdCommandHandler > | NewCvdMonitorCommandHandler (InstanceManager &instance_manager) |
| Result< uint32_t > | DrainInotifyEvents (SharedFD inotify_fd) |
| Result< KernelLine > | ParseKernelLine (std::string_view line) |
| std::string | FormatKernelLine (const KernelLine &line) |
| Result< std::string > | ColorKernelLine (std::string_view line) |
| TEST (KernelTest, ParseKernelLineValid) | |
| TEST (KernelTest, ParseKernelLineNoColon) | |
| TEST (KernelTest, ParseKernelLineParens) | |
| TEST (KernelTest, ParseKernelLineInvalid) | |
| Result< LauncherLine > | ParseLauncherLine (std::string_view line) |
| std::string | FormatLauncherLine (const LauncherLine &line) |
| Result< std::string > | ColorLauncherLine (std::string_view line) |
| Result< bool > | FilterLauncherLine (LogSeverity filter, std::string_view line) |
| TEST (LauncherTest, ParseLauncherLineValid) | |
| TEST (LauncherTest, ParseLauncherLineInvalid) | |
| std::unique_ptr< MonitorSource > | LauncherLogMonitorSource (const LocalInstance &instance, const LogSeverity severity) |
| std::unique_ptr< MonitorSource > | KernelLogMonitorSource (const LocalInstance &instance) |
| std::unique_ptr< MonitorSource > | LogcatMonitorSource (const LocalInstance &instance, const LogSeverity severity) |
| Result< LogTeeLine > | ParseLogTeeLine (std::string_view line) |
| std::string | FormatLogTeeLine (const LogTeeLine &line) |
| Result< std::string > | ColorLogTeeLine (std::string_view line) |
| Result< bool > | FilterLogTeeLine (LogSeverity filter, std::string_view line) |
| TEST (LogTeeTest, ParseLogTeeLineValid) | |
| TEST (LogTeeTest, ParseLogTeeLineInvalid) | |
| Result< LogcatLine > | ParseLogcatLine (std::string_view line) |
| std::string | FormatLogcatLine (const LogcatLine &line) |
| Result< std::string > | ColorLogcatLine (std::string_view line) |
| Result< bool > | FilterLogcatLine (LogSeverity filter, std::string_view line) |
| TEST (LogcatTest, ParseLogcatLineValid) | |
| TEST (LogcatTest, ParseLogcatLineInvalid) | |
| Result< void > | MonitorLogs (const LocalInstance &instance, SharedFD stop_eventfd, LogSeverity severity) |
| Result< LogSeverity > | CharToLogSeverity (char severity) |
| std::string_view | GetColorForSeverity (LogSeverity severity) |
| bool | FilterSeverity (LogSeverity filter_severity, LogSeverity test_severity) |
| TruncatedString | TruncateColoredString (std::string_view s, size_t max_visible_width) |
| TEST (TruncateColoredStringTest, NoAnsiNoTruncate) | |
| TEST (TruncateColoredStringTest, NoAnsiTruncate) | |
| TEST (TruncateColoredStringTest, AnsiNoTruncate) | |
| TEST (TruncateColoredStringTest, AnsiTruncate) | |
| TEST (TruncateColoredStringTest, AnsiTruncateNoResetInInput) | |
| std::string | FormatByteSize (uint64_t size) |
| Result< selector::SelectorOptions > | ExtractCvdArgs (std::vector< std::string > &args) |
| TEST_P (FrontlineParserTestFixture, FrontlineParserTest) | |
| INSTANTIATE_TEST_SUITE_P (SelectNoArgs, FrontlineParserTestFixture, ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd", "subcmd"},.expected_args={"cvd", "subcmd"},.expected_options=selector::SelectorOptions{ .group_name=std::nullopt,.instance_names=std::nullopt}})) | |
| INSTANTIATE_TEST_SUITE_P (SelectNoSubCmdNoSelectors, FrontlineParserTestFixture, ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd"},.expected_args={"cvd"},.expected_options=selector::SelectorOptions{ .group_name=std::nullopt,.instance_names=std::nullopt}})) | |
| INSTANTIATE_TEST_SUITE_P (SelectNoSubCmd, FrontlineParserTestFixture, ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd", "--group_name=group", "--instance_name=1"},.expected_args={"cvd"},.expected_options=selector::SelectorOptions{ .group_name="group",.instance_names=std::vector< std::string >{"1"}}})) | |
| INSTANTIATE_TEST_SUITE_P (SelectNoSelectors, FrontlineParserTestFixture, ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd", "subcmd", "arg1", "arg2"},.expected_args={"cvd", "subcmd", "arg1", "arg2"},.expected_options=selector::SelectorOptions{ .group_name=std::nullopt,.instance_names=std::nullopt}})) | |
| INSTANTIATE_TEST_SUITE_P (SelectGroup, FrontlineParserTestFixture, ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd", "--group_name=group", "subcmd", "arg1", "arg2"},.expected_args={"cvd", "subcmd", "arg1", "arg2"},.expected_options=selector::SelectorOptions{ .group_name="group",.instance_names=std::nullopt}})) | |
| INSTANTIATE_TEST_SUITE_P (SelectOneInstance, FrontlineParserTestFixture, ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd", "--instance_name=1", "subcmd", "arg1", "arg2"},.expected_args={"cvd", "subcmd", "arg1", "arg2"},.expected_options=selector::SelectorOptions{ .group_name=std::nullopt,.instance_names=std::vector< std::string >{"1"}}})) | |
| INSTANTIATE_TEST_SUITE_P (SelectGroupAndInstances, FrontlineParserTestFixture, ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd", "--instance_name=a,b,c", "-group_name=group", "subcmd", "arg1", "arg2"},.expected_args={"cvd", "subcmd", "arg1", "arg2"},.expected_options=selector::SelectorOptions{ .group_name="group",.instance_names=std::vector< std::string >{ "a", "b", "c", }}})) | |
| INSTANTIATE_TEST_SUITE_P (SelectWithEmptyInstanceNames, FrontlineParserTestFixture, ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd", "--instance_name=a,,", "-group_name=group", "subcmd", "arg1", "arg2"},.expected_args={"cvd", "subcmd", "arg1", "arg2"},.expected_options=selector::SelectorOptions{ .group_name="group",.instance_names=std::vector< std::string >{ "a", "", "", }}})) | |
| std::string | FormatHelpText (const std::vector< HelpParagraph > &text, size_t max_line_width) |
| std::string | FormatFlagsHelp (const std::vector< Flag > &flags, size_t max_line_width) |
| std::string | CvdUserLogDir () |
| std::string | GetCvdLogFileName (const std::string &log_dir, const std::chrono::system_clock::time_point now) |
| Result< void > | PruneLogsDirectory (const std::string &log_dir, size_t retain) |
| std::vector< std::string > | MergeResults (std::vector< std::string > first_list, std::vector< std::string > scond_list) |
| void | MergeTwoJsonObjs (Json::Value &dst, const Json::Value &src) |
| This function merges two json objects and override json tree in dst with src json keys. More... | |
| template<typename T > | |
| std::string | GenerateFlag (const std::string &name, const T &value) |
| template<typename T > | |
| std::string | GenerateVecFlag (const std::string &name, const T &collection) |
| template<typename T > | |
| std::string | GenerateInstanceFlag (const std::string &name, const cvd::config::EnvironmentSpecification &config, T callback) |
| template<typename T > | |
| Result< std::string > | ResultInstanceFlag (const std::string &name, const cvd::config::EnvironmentSpecification &config, T callback) |
| Result< std::vector< std::string > > | GenerateInstancesFlags (const EnvironmentSpecification &cfg) |
| Result< std::vector< std::string > > | GenerateInstancesFlags (const cvd::config::EnvironmentSpecification &cfg) |
| Result< EnvironmentSpecification > | ValidateCfConfigs (const Json::Value &root) |
| TEST (FlagsInheritanceTest, MergeTwoIndependentJson) | |
| TEST (FlagsInheritanceTest, MergeTwoOverlappedJson) | |
| Result< std::vector< std::string > > | ParseFetchCvdConfigs (const EnvironmentSpecification &config, const std::string &target_directory, const std::vector< std::string > &target_subdirectories) |
| Result< std::vector< std::string > > | ParseFetchCvdConfigs (const cvd::config::EnvironmentSpecification &, const std::string &target_directory, const std::vector< std::string > &target_subdirectories) |
| TEST (FetchConfigParserTests, AndroidEfiLoaderBuildOnlySuccess) | |
| TEST (FetchConfigParserTests, KernelBuildOnlySuccess) | |
| TEST (FetchConfigParserTests, NoBuildStringsProducesNoFlagsSuccess) | |
| TEST (FlagsParserTest, ParseInvalidJson) | |
| TEST (FlagsParserTest, ParseJsonWithSpellingError) | |
| TEST (FlagsParserTest, ParseBasicJsonSingleInstances) | |
| TEST (FlagsParserTest, ParseBasicJsonTwoInstances) | |
| TEST (BootFlagsParserTest, ParseNetSimFlagEmptyJson) | |
| TEST (BootFlagsParserTest, ParseNetSimFlagEnabled) | |
| TEST (BootFlagsParserTest, ParseNetSimArgs) | |
| TEST (BootFlagsParserTest, ParseNetSimArgsWhitespaceError) | |
| TEST (CvdLoadFlagsTest, CredentialSourceSetter) | |
| TEST (CvdLoadFlagsTest, CredentialSourceGetter) | |
| TEST (CvdLoadFlagsTest, CredentialSourceDuplicated) | |
| TEST (CvdLoadFlagsTest, ProjectIDSetter) | |
| TEST (CvdLoadFlagsTest, ProjectIDGetter) | |
| TEST (CvdLoadFlagsTest, ProjectIDDuplicated) | |
| TEST (CvdLoadFlagsTest, CredentialSourceConflictWithOverride) | |
| TEST (CvdLoadFlagsTest, OverrideConflictWithCredentialSource) | |
| TEST (CvdLoadFlagsTest, ProjectIDConflictWithOverride) | |
| TEST (CvdLoadFlagsTest, OverrideConflictWithProjectID) | |
| TEST (CvdLoadFlagsTest, DuplicateOverridesFail) | |
| TEST (FlagsParserTest, ParseMediaSplaneSingleInstance) | |
| TEST (FlagsParserTest, ParseMediaSplaneTwoDevices) | |
| TEST (FlagsParserTest, ParseMediaMplane) | |
| TEST (FlagsParserTest, ParseMediaV4l2Proxy) | |
| TEST (ConnectivityFlagsParserTest, ParseModemSimulatorSimTypeValidInt) | |
| TEST (ConnectivityFlagsParserTest, ParseModemSimulatorSimTypeValidString) | |
| TEST (ConnectivityFlagsParserTest, ParseModemSimulatorSimTypeUnspecified) | |
| TEST (ConnectivityFlagsParserTest, ParseModemSimulatorSimTypeInvalidString) | |
| TEST (ConnectivityFlagsParserTest, ParseModemSimulatorSimTypeInvalidInt) | |
| TEST (ConfigFlagsParserTest, ParseSingleInstanceConfig) | |
| TEST (ConfigFlagsParserTest, ParseMultiInstanceConfig) | |
| TEST (ConfigFlagsParserTest, ParseMultiInstanceConfigPartial) | |
| TEST (BootFlagsParserTest, ParseTwoInstancesBootAnimationFlagEmptyJson) | |
| TEST (BootFlagsParserTest, ParseTwoInstancesBootAnimationFlagPartialJson) | |
| TEST (BootFlagsParserTest, ParseTwoInstancesBootAnimationFlagFullJson) | |
| TEST (BootFlagsParserTest, ParseTwoInstancesSerialNumberFlagEmptyJson) | |
| TEST (BootFlagsParserTest, ParseTwoInstancesSerialNumberFlagPartialJson) | |
| TEST (BootFlagsParserTest, ParseTwoInstancesSerialNumberFlagFullJson) | |
| TEST (BootFlagsParserTest, ParseTwoInstancesEnforceSecurityFlagEmptyJson) | |
| TEST (BootFlagsParserTest, ParseTwoInstancesEnforceSecurityFlagPartialJson) | |
| TEST (BootFlagsParserTest, ParseTwoInstancesEnforceSecurityFlagFullJson) | |
| static bool | EnableBootAnimation (const Instance &instance) |
| static Result< std::string > | BootCfgArgs (const Instance &instance) |
| Result< std::vector< std::string > > | GenerateBootFlags (const EnvironmentSpecification &cfg) |
| Result< std::vector< std::string > > | GenerateBootFlags (const cvd::config::EnvironmentSpecification &) |
| static std::string | VsockGuestGroup (const Instance &instance) |
| static int32_t | ModemSimulatorSimType (const Instance &instance) |
| std::vector< std::string > | GenerateConnectivityFlags (const EnvironmentSpecification &cfg) |
| std::vector< std::string > | GenerateConnectivityFlags (const cvd::config::EnvironmentSpecification &) |
| std::vector< std::string > | GenerateDiskFlags (const EnvironmentSpecification &config) |
| std::vector< std::string > | GenerateDiskFlags (const cvd::config::EnvironmentSpecification &) |
| Result< std::vector< std::string > > | GenerateGraphicsFlags (const EnvironmentSpecification &cfg) |
| Result< std::vector< std::string > > | GenerateGraphicsFlags (const cvd::config::EnvironmentSpecification &) |
| Result< std::vector< std::string > > | GenerateMediaFlags (const EnvironmentSpecification &cfg) |
| Result< std::vector< std::string > > | GenerateMediaFlags (const cvd::config::EnvironmentSpecification &cfg) |
| std::vector< std::string > | GenerateSecurityFlags (const EnvironmentSpecification &cfg) |
| std::vector< std::string > | GenerateSecurityFlags (const cvd::config::EnvironmentSpecification &cfg) |
| std::string | DeviceId (const Instance &instance) |
| std::vector< std::string > | GenerateStreamingFlags (const EnvironmentSpecification &cfg) |
| std::vector< std::string > | GenerateStreamingFlags (const cvd::config::EnvironmentSpecification &) |
| static std::string | VmManager (const Instance &instance) |
| static uint32_t | Cpus (const Instance &instance) |
| static uint32_t | MemoryMb (const Instance &instance) |
| static bool | UseSdcard (const Instance &instance) |
| static Result< std::string > | SetupWizardMode (const Instance &instance) |
| static std::string | Uuid (const Instance &instance) |
| static bool | EnableSandbox (const Instance &instance) |
| static bool | SimpleMediaDevice (const Instance &instance) |
| static std::string | V4l2Proxy (const Instance &instance) |
| static std::string | VhostUserVsock (const Instance &instance) |
| static bool | EnablePkvm (const Instance &instance) |
| static std::vector< std::string > | UserPageSize (const EnvironmentSpecification &cfg) |
| static Result< std::optional< std::string > > | CustomConfigsFlagValue (const Instance &instance) |
| static Result< std::vector< std::string > > | CustomConfigsFlags (const EnvironmentSpecification &cfg) |
| Result< std::vector< std::string > > | GenerateVmFlags (const EnvironmentSpecification &cfg) |
| Result< std::vector< std::string > > | GenerateVmFlags (const cvd::config::EnvironmentSpecification &) |
| TEST (BootFlagsParserTest, ParseTwoInstancesBlankDataImageEmptyJson) | |
| TEST (BootFlagsParserTest, ParseTwoInstancesBlankDataImagePartialJson) | |
| TEST (BootFlagsParserTest, ParseTwoInstancesBlankDataImageFullJson) | |
| static void | AssertProtoEquals (const Message &expected, const Message &actual) |
| InstanceDisplays | DefaultDisplays () |
| Result< std::optional< InstancesDisplays > > | DisplaysFlag (std::vector< std::string > args) |
| TEST (BootFlagsParserTest, ParseTwoInstancesDisplaysFlagEmptyJson) | |
| TEST (BootFlagsParserTest, ParseTwoInstancesDisplaysFlagEmptyGraphics) | |
| TEST (BootFlagsParserTest, ParseTwoInstancesDisplaysFlagEmptyDisplays) | |
| TEST (BootFlagsParserTest, ParseTwoInstancesAutoTabletDisplaysFlag) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesCpuFlagPartialJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesQemu) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesCpuFlagFullJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesMemoryFlagPartialJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesMemoryFlagFullJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesSdCardFlagPartialJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesSdCardFlagFullJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesVmManagerFlagEmptyJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesVmManagerFlagDefault) | |
| TEST (VmFlagsParserTest, ParseOneInstanceSetupWizardInvalidValue) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesSetupWizardFlagPartialJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesSetupWizardFlagFullJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesUuidFlagPartialJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesUuidFlagFullJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesSandboxFlagPartialJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesSandboxFlagFullJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesSimpleMediaDeviceFlagPartialJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesSimpleMediaDeviceFlagFullJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesV4l2ProxyFlagPartialJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesV4l2ProxyFlagFullJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesCustomActionsFlagEmptyJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesCustomActionsFlagPartialJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesVhostUserVsockFlagPartialJson) | |
| TEST (VmFlagsParserTest, ParseTwoInstancesVhostUserVsockFlagFullJson) | |
| Result< std::vector< std::string > > | ParseLaunchCvdConfigs (EnvironmentSpecification launch) |
| Result< std::vector< std::string > > | ParseLaunchCvdConfigs (cvd::config::EnvironmentSpecification) |
| static Result< Json::Value > | LoadTemplateByName (const std::string &template_name) |
| Result< EnvironmentSpecification > | ExtractLaunchTemplates (EnvironmentSpecification config) |
| Result< cvd::config::EnvironmentSpecification > | ExtractLaunchTemplates (cvd::config::EnvironmentSpecification config) |
| std::vector< Flag > | BuildCvdLoadFlags (LoadFlags &load_flags) |
| Result< InstanceManager::GroupDirectories > | GetGroupCreationDirectories (const std::string &parent_directory, const EnvironmentSpecification &env_spec) |
| Result< CvdFlags > | ParseCvdConfigs (const EnvironmentSpecification &env_spec, const LocalInstanceGroup &group) |
| Result< EnvironmentSpecification > | GetEnvironmentSpecification (const std::string &config_path, const std::map< std::string, std::string, std::less< void > > &overrides) |
| Result< InstanceManager::GroupDirectories > | GetGroupCreationDirectories (const std::string &parent_directory, const cvd::config::EnvironmentSpecification &env_spec) |
| Result< CvdFlags > | ParseCvdConfigs (const cvd::config::EnvironmentSpecification &env_spec, const LocalInstanceGroup &group) |
| selector::SelectorOptions | ParseSelectorConfigs (const EnvironmentSpecification &config) |
| selector::SelectorOptions | ParseSelectorConfigs (const cvd::config::EnvironmentSpecification &) |
| bool | ParseJsonString (std::string &json_text, Json::Value &root) |
| bool | FindConfig (const std::vector< std::string > &vec, const std::string &element) |
| bool | FindConfigIgnoreSpaces (const std::vector< std::string > &vec, const std::string &str) |
| Result< std::vector< std::string > > | LaunchCvdParserTester (const Json::Value &root) |
| Result< CvdCommandHandler * > | RequestHandler (const CommandRequest &request, const std::vector< std::unique_ptr< CvdCommandHandler > > &handlers) |
| TEST_F (CvdFlagCollectionTest, Init) | |
| TEST_F (CvdFlagCollectionTest, Leftover) | |
| TEST_F (CvdFlagCollectionTest, AllGivenFlagsListed) | |
| TEST (CvdFlagTest, FlagProxyFilter) | |
| TEST (HostToolTarget, KnownFlags) | |
| TEST (HostToolManager, KnownBins) | |
| Result< void > | CheckProcessExitedNormally (siginfo_t infop, int expected_exit_code) |
| static Command | FixGroupsIfNecessary (const std::string &command_name, const std::string &bin_path) |
| Result< Command > | ConstructCommand (const ConstructCommandParam ¶m) |
| Result< Command > | ConstructCvdHelpCommand (const std::string &bin_file, std::unordered_map< std::string, std::string > envs, const std::vector< std::string > &subcmd_args, const CommandRequest &request) |
| Result< Command > | ConstructSiblingHelpCommand (const std::string &bin_name, const std::unordered_map< std::string, std::string > &env, const std::vector< std::string > &subcmd_args) |
| Result< Command > | ConstructCvdGenericNonHelpCommand (const ConstructNonHelpForm &request_form, const CommandRequest &request) |
| Result< std::vector< Flag > > | GetSiblingCommandFlags (const std::string &bin_name, const std::unordered_map< std::string, std::string > &env, std::vector< std::string > args) |
| std::string | NoGroupMessage (const CommandRequest &request) |
| Result< TerminalSize > | GetTerminalSize () |
| std::vector< std::string > | ExpandProductPaths (const std::string &product_path, size_t num_instances) |
| static Result< void > | EnforceHostConfigured () |
| Result< bool > | ShouldAutoLogin (const BuildApiFlags &flags) |
| bool | CanRunAutoLogin () |
| Result< void > | RunLogin () |
| Result< std::unique_ptr< CredentialSource > > | GetCredentialSourceFromFlags (HttpClient &http_client, const BuildApiFlags &flags, const std::string &oauth_filepath, const std::string &scope) |
| std::string | GetAcloudOauthFilepath () |
| Result< void > | DeAndroidSparse2 (const std::vector< std::string > &image_files) |
| TEST_F (FetchCvdTests, CasDownloaderNotCalledIfNoFlags) | |
| TEST_F (FetchCvdTests, CasDownloaderInvokedIfDownloaderPathSetOnCommandLine) | |
| TEST_F (FetchCvdTests, CasDownloaderInvokedIfDownloaderPathSetInCasConfig) | |
| Result< std::vector< std::string > > | ExtractImageContents (const std::string &image_filepath, const std::string &target_dir, const bool keep_archive) |
| std::ostream & | operator<< (std::ostream &out, const FetchBuildContext &context) |
| std::string | GetFetchLogsFileName (const std::string &target_directory) |
| Result< FetchResult > | FetchCvdMain (const FetchFlags &flags) |
| TEST (FetchCvdParserTests, CreatesCasDownloaderFlags) | |
| template<typename T > | |
| std::optional< T > | GetOptional (const std::vector< T > &vector, size_t i) |
| template<typename T > | |
| std::optional< T > | GetOptional (const std::vector< std::optional< T > > &vector, size_t i) |
| Result< void > | FetchHostPackage (BuildApi &build_api, const Build &build, const std::string &target_dir, const bool keep_archives, const std::vector< std::string > &host_substitutions, FetchTracer::Trace trace) |
| Result< void > | HostPackageSubstitution (const std::string &target_dir, const std::vector< std::string > &host_substitutions) |
| Result< void > | SymlinkHostPackage (const std::string &target_dir) |
| Result< std::string > | GetCuttlefishConfigPath (const std::string &home) |
| bool | IsValidGroupName (const std::string &token) |
| bool | IsValidInstanceName (const std::string &token) |
| Result< DeviceName > | BreakDeviceName (const std::string &device_name) |
| bool | IsValidDeviceName (const std::string &token) |
| Result< TimeStamp > | DeserializeTimePoint (const Json::Value &time_point_json) |
| std::string | Format (const TimeStamp &time_point) |
| static Result< void > | SetStatus (SharedFD &fd, const InUseState state) |
| Result< std::vector< GroupProcInfo > > | CollectRunCvdGroups () |
| Result< std::vector< pid_t > > | CollectRunCvdProcesses () |
| Result< Json::Value > | FetchInstanceStatus (LocalInstance &instance, std::chrono::seconds timeout) |
| std::string | HumanFriendlyStateName (cvd::InstanceState state) |
| Result< void > | KillAllCuttlefishInstances (bool clear_runtime_dirs) |
| Result< void > | ForcefullyStopGroup (const uid_t any_id_in_group) |
| Result< void > | RunStopCvd (StopCvdParams params) |
| Result< std::string > | AndroidHostPath (const std::unordered_map< std::string, std::string > &envs) |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &out, const std::vector< T > &v) |
| std::string | CvdDir () |
| std::string | PerUserDir () |
| std::string | PerUserCacheDir () |
| std::string | InstanceDatabasePath () |
| std::string | InstanceLocksPath () |
| Result< std::string > | GroupDirFromHome (std::string_view dir) |
| std::string | AssemblyDirFromHome (const std::string &group_home_dir) |
| std::optional< std::vector< FlagInfo > > | CollectFlagsFromHelpxml (const std::string &xml_str) |
| Result< std::unique_ptr< InterruptListenerHandle > > | PushInterruptListener (InterruptListener listener) |
| VersionIdentifiers | GetVersionIds () |
| TEST (GpxParser, ParseFileNotFound) | |
| TEST (GpxParser, ParseEmptyFile) | |
| TEST (GpxParser, ParseEmptyString) | |
| TEST (GpxParser, ParseEmptyRteTrkFile) | |
| TEST (GpxParser, ParseEmptyRteTrkString) | |
| TEST (GpxParser, ParseValidFile) | |
| TEST (GpxParser, ParseValidString) | |
| TEST (GpxParser, ParseFileNullAttributeFile) | |
| TEST (GpxParser, ParseFileNullAttributeString) | |
| TEST (GpxParser, ParseLocationMissingLatitudeFile) | |
| TEST (GpxParser, ParseLocationMissingLatitudeString) | |
| TEST (GpxParser, ParseLocationMissingLongitudeFile) | |
| TEST (GpxParser, ParseLocationMissingLongitudeString) | |
| TEST (GpxParser, ParseValidLocationFile) | |
| TEST (GpxParser, ParseValidLocationString) | |
| TEST (GpxParser, ParseValidDocumentFile) | |
| TEST (GpxParser, ParseValidDocumentString) | |
| TEST (KmlParser, ParseNonexistentFile) | |
| TEST (KmlParser, ParseEmptyKmlFile) | |
| TEST (KmlParser, ParseEmptyKmlString) | |
| TEST (KmlParser, ParseValidKmlFile) | |
| TEST (KmlParser, ParseValidKmlString) | |
| TEST (KmlParser, ParseValidComplexFile) | |
| TEST (KmlParser, ParseValidComplexString) | |
| TEST (KmlParser, ParseOneCoordinateFile) | |
| TEST (KmlParser, ParseOneCoordinateString) | |
| TEST (KmlParser, ParseMultipleCoordinatesFile) | |
| TEST (KmlParser, ParseMultipleCoordinatesString) | |
| TEST (KmlParser, ParseBadCoordinatesFile) | |
| TEST (KmlParser, ParseBadCoordinatesString) | |
| TEST (KmlParser, ParseLocationNormalFile) | |
| TEST (KmlParser, ParseLocationNormalString) | |
| TEST (KmlParser, ParseLocationNormalMissingOptionalFieldsFile) | |
| TEST (KmlParser, ParseLocationNormalMissingOptionalFieldsString) | |
| TEST (KmlParser, ParseLocationMissingRequiredFieldsFile) | |
| TEST (KmlParser, ParseLocationMissingRequiredFieldsString) | |
| TEST (KmlParser, ParseLocationNameOnlyFirstFile) | |
| TEST (KmlParser, ParseLocationNameOnlyFirstString) | |
| TEST (KmlParser, ParseMultipleLocationsFile) | |
| TEST (KmlParser, ParseMultipleLocationsString) | |
| TEST (KmlParser, TraverseEmptyDocFile) | |
| TEST (KmlParser, TraverseEmptyDocString) | |
| TEST (KmlParser, TraverseDocNoPlacemarksFile) | |
| TEST (KmlParser, TraverseDocNoPlacemarksString) | |
| TEST (KmlParser, TraverseNestedDocFile) | |
| TEST (KmlParser, TraverseNestedDocString) | |
| TEST (KmlParser, ParsePlacemarkNullNameNoCrashFile) | |
| TEST (KmlParser, ParsePlacemarkNullNameNoCrashString) | |
| std::string | GetATCommand (const std::string &plmn, int32_t identifierType, int32_t protocolMessage, bool isEmergency) |
| std::string | GetATCommand (int32_t connection_event, int32_t encryption, int32_t integrity, bool is_unprotected_emergency) |
| Result< int > | CvdallocMain (int argc, char *argv[]) |
| std::string | CvdallocInterfaceName (const std::string &name, int num) |
| std::string | InstanceToMobileGatewayAddress (int num) |
| std::string | InstanceToMobileAddress (int num) |
| std::string | InstanceToMobileBroadcast (int num) |
| std::string | InstanceToWifiGatewayAddress (int num) |
| std::string | InstanceToWifiAddress (int num) |
| std::string | InstanceToWifiBroadcast (int num) |
| std::string | InstanceToBridgedWifiGatewayAddress (int num) |
| std::string | InstanceToBridgedWifiAddress (int num) |
| std::string | InstanceToBridgedWifiBroadcast (int num) |
| Result< void > | ValidateCvdallocBinary (std::string_view path) |
| int | BeginElevatedPrivileges () |
| int | DropPrivileges (uid_t orig) |
| Result< int > | DefaultsMain (int argc, char *argv[]) |
| Result< void > | MkenvimageSlimMain (int argc, char **argv) |
| static int | parse_int (const std::string &snumber, int base) |
| const std::pair< int, int > | kSimPinSizeRange (4, 8) |
| template<typename T > | |
| std::function< void()> | makeSafeCallback (T *me, std::function< void(T *)> f) |
| template<typename T , typename... Params> | |
| std::function< void()> | makeSafeCallback (T *obj, void(T::*f)(const Params &...), const Params &... params) |
| template<typename T , typename... Params> | |
| std::function< void()> | makeSafeCallback (T *obj, void(T::*f)(Params...), const Params &... params) |
| fruit::Component< fruit::Required< const CuttlefishConfig, KernelLogPipeProvider, const CuttlefishConfig::InstanceSpecific, const vm_manager::VmManager, AutoSetup< ValidateTapDevices >::Type > > | bootStateMachineComponent () |
| std::optional< MonitorCommand > | AutomotiveProxyService (const CuttlefishConfig &config) |
| Result< std::optional< MonitorCommand > > | BluetoothConnector (const CuttlefishConfig &config, const CuttlefishConfig::InstanceSpecific &instance) |
| Result< std::vector< MonitorCommand > > | Casimir (const CuttlefishConfig &config, const CuttlefishConfig::EnvironmentSpecific &environment, const CuttlefishConfig::InstanceSpecific &instance, LogTeeCreator &log_tee) |
| Result< std::optional< MonitorCommand > > | CasimirControlServer (const CuttlefishConfig &config, const CuttlefishConfig::EnvironmentSpecific &environment, const CuttlefishConfig::InstanceSpecific &instance, GrpcSocketCreator &grpc_socket) |
| std::string | ConsoleInfo (const CuttlefishConfig::InstanceSpecific &instance) |
| Result< std::optional< MonitorCommand > > | ConsoleForwarder (const CuttlefishConfig::InstanceSpecific &instance) |
| fruit::Component< fruit::Required< const CuttlefishConfig::InstanceSpecific, GrpcSocketCreator > > | ControlEnvProxyServerComponent () |
| fruit::Component< fruit::Required< const CuttlefishConfig::InstanceSpecific > > | CvdallocComponent () |
| MonitorCommand | EchoServer (GrpcSocketCreator &grpc_socket) |
| bool | ShouldEnableMultitouch (const CuttlefishConfig::InstanceSpecific &instance) |
| Result< std::optional< MonitorCommand > > | GnssGrpcProxyServer (const CuttlefishConfig::InstanceSpecific &instance, GrpcSocketCreator &grpc_socket) |
| fruit::Component< fruit::Required< const CuttlefishConfig::InstanceSpecific >, InputPathsProvider, LogTeeCreator > | VhostInputDevicesComponent () |
| fruit::Component< fruit::Required< const CuttlefishConfig::InstanceSpecific >, KernelLogPipeProvider > | KernelLogMonitorComponent () |
| Result< MonitorCommand > | LogcatReceiver (const CuttlefishConfig::InstanceSpecific &instance) |
| fruit::Component< fruit::Required< const CuttlefishConfig, const CuttlefishConfig::InstanceSpecific, LogTeeCreator > > | McuComponent () |
| static StopperResult | StopModemSimulator (int id) |
| Result< std::optional< MonitorCommand > > | ModemSimulator (const CuttlefishConfig::InstanceSpecific &instance) |
| fruit::Component< fruit::Required< const CuttlefishConfig, const CuttlefishConfig::InstanceSpecific, GrpcSocketCreator > > | NetsimServerComponent () |
| Result< std::optional< MonitorCommand > > | NfcConnector (const CuttlefishConfig &config, const CuttlefishConfig::EnvironmentSpecific &environment, const CuttlefishConfig::InstanceSpecific &instance) |
| fruit::Component< fruit::Required< const CuttlefishConfig, const CuttlefishConfig::EnvironmentSpecific, const CuttlefishConfig::InstanceSpecific, LogTeeCreator, WmediumdServer, Cvdalloc > > | OpenWrtComponent () |
| fruit::Component< fruit::Required< const CuttlefishConfig, const CuttlefishConfig::EnvironmentSpecific, GrpcSocketCreator > > | OpenwrtControlServerComponent () |
| Result< std::vector< MonitorCommand > > | Pica (const CuttlefishConfig &config, const CuttlefishConfig::InstanceSpecific &instance, LogTeeCreator &log_tee) |
| fruit::Component< fruit::Required< const CuttlefishConfig, const CuttlefishConfig::InstanceSpecific, LogTeeCreator > > | RootCanalComponent () |
| Result< std::optional< MonitorCommand > > | ScreenRecordingServer (GrpcSocketCreator &grpc_socket) |
| Result< MonitorCommand > | SecureEnv (const CuttlefishConfig &config, const CuttlefishConfig::InstanceSpecific &instance, AutoSnapshotControlFiles::Type &snapshot_control_files, KernelLogPipeProvider &kernel_log_pipe_provider) |
| Result< MonitorCommand > | SensorsSimulator (const CuttlefishConfig::InstanceSpecific &instance, AutoSensorsSocketPair::Type &sensors_socket_pair, KernelLogPipeProvider &kernel_log_pipe_provider) |
| fruit::Component< fruit::Required< const CuttlefishConfig, KernelLogPipeProvider, InputPathsProvider, const CuttlefishConfig::InstanceSpecific, const CustomActionConfigProvider, WebRtcController > > | launchStreamerComponent () |
| fruit::Component< fruit::Required< const CuttlefishConfig, LogTeeCreator, const CuttlefishConfig::InstanceSpecific > > | Ti50EmulatorComponent () |
| Result< MonitorCommand > | TombstoneReceiver (const CuttlefishConfig::InstanceSpecific &instance) |
| Result< std::optional< MonitorCommand > > | UwbConnector (const CuttlefishConfig &config, const CuttlefishConfig::InstanceSpecific &instance) |
| std::optional< MonitorCommand > | VhalProxyServer (const CuttlefishConfig::InstanceSpecific &instance) |
| fruit::Component< fruit::Required< const CuttlefishConfig, LogTeeCreator, const CuttlefishConfig::InstanceSpecific > > | VhostDeviceVsockComponent () |
| fruit::Component< fruit::Required< const CuttlefishConfig::InstanceSpecific, LogTeeCreator > > | VhostUserMediaDevicesComponent () |
| fruit::Component< WebRtcController > | WebRtcControllerComponent () |
| fruit::Component< fruit::Required< const CuttlefishConfig, const CuttlefishConfig::EnvironmentSpecific, const CuttlefishConfig::InstanceSpecific, LogTeeCreator, GrpcSocketCreator > > | WmediumdServerComponent () |
| Result< void > | RunCvdMain (int argc, char **argv) |
| fruit::Component< fruit::Required< const CuttlefishConfig, const CuttlefishConfig::InstanceSpecific, AutoSnapshotControlFiles::Type, WebRtcController >, ServerLoop > | serverLoopComponent () |
| static Result< void > | TestTapDevices (const CuttlefishConfig::InstanceSpecific &instance) |
| Result< void > | ValidateTapDevices (const CuttlefishConfig::InstanceSpecific &instance) |
| Result< void > | ValidateHostConfiguration () |
| Result< void > | ValidateHostKernel () |
| static void | FinalizeTcti (TSS2_TCTI_CONTEXT *tcti_context) |
| static bool | CreateKey (TpmResourceManager &resource_manager, ESYS_TR parent_key, TPM2B_PUBLIC *key_public_out, TPM2B_PRIVATE *key_private_out, TpmObjectSlot *key_slot_out) |
| static TpmObjectSlot | LoadKey (TpmResourceManager &resource_manager, ESYS_TR parent_key, const TPM2B_PUBLIC *key_public, const TPM2B_PRIVATE *key_private) |
| static uint32_t | RoundUpToBlockSize (uint32_t num) |
| TEST (TpmEncryptedSerializable, BinaryData) | |
| struct | __attribute__ ((__packed__)) tpm_message_header |
| bool | WriteProtectedJsonToFile (TpmResourceManager &resource_manager, const std::string &filename, Json::Value json) |
| Json::Value | ReadProtectedJsonFromFile (TpmResourceManager &resource_manager, const std::string &filename) |
| std::function< TpmObjectSlot(TpmResourceManager &)> | SigningKeyCreator (const std::string &unique) |
| std::function< TpmObjectSlot(TpmResourceManager &)> | ParentKeyCreator (const std::string &unique) |
| Result< void > | SecureEnvMain (int argc, char **argv) |
| bool | matchAttestationId (keymaster_blob_t blob, const std::vector< uint8_t > &id) |
| std::string | TpmCommandName (uint32_t command_num) |
| static bool | TpmEncryptDecrypt (ESYS_CONTEXT *esys, ESYS_TR key_handle, TpmAuth auth, const TPM2B_IV &iv, uint8_t *data_in, uint8_t *data_out, size_t data_size, bool decrypt) |
| bool | TpmEncrypt (ESYS_CONTEXT *esys, ESYS_TR key_handle, TpmAuth auth, const TPM2B_IV &iv, uint8_t *data_in, uint8_t *data_out, size_t data_size) |
| bool | TpmDecrypt (ESYS_CONTEXT *esys, ESYS_TR key_handle, TpmAuth auth, const TPM2B_IV &iv, uint8_t *data_in, uint8_t *data_out, size_t data_size) |
| gatekeeper::failure_record_t | DefaultRecord (gatekeeper::secure_id_t secure_user_id) |
| static Result< secure_env::ManagedStorageData > | RecordToStorageData (const gatekeeper::failure_record_t &record) |
| static Result< gatekeeper::failure_record_t > | StorageDataToRecord (const secure_env::StorageData &data) |
| static Result< void > | GetFailureRecordImpl (secure_env::Storage &storage, uint32_t uid, gatekeeper::secure_id_t secure_user_id, gatekeeper::failure_record_t *record) |
| static Result< void > | WriteFailureRecordImpl (secure_env::Storage &storage, uint32_t uid, gatekeeper::failure_record_t *record) |
| static UniqueEsysPtr< TPM2B_DIGEST > | OneshotHmac (TpmResourceManager &resource_manager, ESYS_TR key_handle, TpmAuth auth, const uint8_t *data, size_t data_size) |
| static UniqueEsysPtr< TPM2B_DIGEST > | SegmentedHmac (TpmResourceManager &resource_manager, ESYS_TR key_handle, TpmAuth key_auth, const uint8_t *data, size_t data_size) |
| UniqueEsysPtr< TPM2B_DIGEST > | TpmHmac (TpmResourceManager &resource_manager, ESYS_TR key_handle, TpmAuth auth, const uint8_t *data, size_t data_size) |
| UniqueEsysPtr< TPM2B_DIGEST > | TpmHmacWithContext (TpmResourceManager &resource_manager, const std::string &context, const uint8_t *data, size_t data_size) |
| static keymaster_error_t | SplitEnforcedProperties (const keymaster::AuthorizationSet &key_description, keymaster::AuthorizationSet *hw_enforced, keymaster::AuthorizationSet *sw_enforced, keymaster::AuthorizationSet *hidden) |
| static KeymasterKeyBlob | SerializableToKeyBlob (const Serializable &serializable) |
| static bool | UpgradeIntegerTag (keymaster_tag_t tag, uint32_t value, AuthorizationSet *set, bool *set_changed) |
| std::string | ToHexString (const std::vector< uint8_t > &binary) |
| Result< Parsed > | Parse (int argc, char **argv) |
| Result< SnapshotCmd > | ConvertToSnapshotCmd (const std::string &input) |
| static Result< std::vector< int > > | InstanceNums () |
| Result< Parsed > | Parse (std::vector< std::string > &args) |
| std::ostream & | operator<< (std::ostream &out, const SnapshotCmd &cmd) |
| Result< std::string > | HandleHostGroupSnapshot (const std::string &path) |
| FetcherConfig | AvailableFilesReport () |
| std::vector< std::string > | OverrideBoolArg (std::vector< std::string > args, const std::unordered_set< std::string > &flag_set) |
| static std::string | next_tombstone_path (const std::string &dir) |
| int | TombstoneReceiverMain (int argc, char **argv) |
| void | EstablishAndMaintainConnection (const std::string &address) |
| int | AdbConnectorMain (int argc, char *argv[]) |
| static constexpr uint8_t | GetChannelsCount (AudioChannelsLayout layout) |
| uint16_t | JsIndexToLinux (const int32_t &index_code) |
| std::unique_ptr< AudioServer > | CreateAudioServer () |
| fruit::Component< CustomActionConfigProvider > | WebRtcComponent () |
| fruit::Component< ScreenConnector< DisplayHandler::WebRtcScProcessedFrame >, confui::HostServer, confui::HostVirtualInput > | CreateConfirmationUIComponent (int *frames_fd, bool *frames_are_rgba, confui::PipeConnectionPair *pipe_io_pair, InputConnector *input_connector) |
| Result< void > | ControlLoop (SharedFD control_socket, DisplayHandler &display_handler, RecordingManager &recording_manager, ScreenshotHandler &screenshot_handler) |
| AudioChannelsLayout | ConvertChannelLayout (::cuttlefish::config::Audio_ChannelLayout layout) |
| uint32_t | ConvertSampleRate (::cuttlefish::config::Audio_SampleRate rate) |
| cuttlefish::AudioStreamSettings | ParseAudioStreamSettings (const ::cuttlefish::config::Audio_PCMDevice_Stream &stream, AudioStreamSettings::Direction direction) |
| std::shared_ptr< AudioHandler > | SetupAudio (const cuttlefish::CuttlefishConfig::InstanceSpecific &instance, cuttlefish::webrtc_streaming::Streamer &streamer) |
| int | CuttlefishMain () |
| ASSERT_VALID_MSG_TYPE (virtio_snd_query_info, 16) | |
| ASSERT_VALID_MSG_TYPE (virtio_snd_jack_info, 24) | |
| ASSERT_VALID_MSG_TYPE (virtio_snd_chmap_info, 24) | |
| ASSERT_VALID_MSG_TYPE (virtio_snd_pcm_info, 32) | |
| ASSERT_VALID_MSG_TYPE (virtio_snd_pcm_set_params, 24) | |
| ASSERT_VALID_MSG_TYPE (virtio_snd_pcm_hdr, 8) | |
| ASSERT_VALID_MSG_TYPE (virtio_snd_ctl_info, 96) | |
| ASSERT_VALID_MSG_TYPE (virtio_snd_ctl_hdr, 8) | |
| ASSERT_VALID_MSG_TYPE (virtio_snd_ctl_value, 512) | |
| ASSERT_VALID_MSG_TYPE (IoTransferMsg, 12) | |
| ASSERT_VALID_MSG_TYPE (IoStatusMsg, 16) | |
| Result< void > | EnforceVbMetaSize (const std::string &path) |
| std::ostream & | operator<< (std::ostream &out, LauncherResponse response) |
| Result< void > | CopyDirectoryRecursively (const std::string &src_dir_path, const std::string &dest_dir_path, const bool verify_dest_dir_empty, std::function< bool(const std::string &)> predicate) |
| Result< std::string > | InstanceGuestSnapshotPath (const Json::Value &meta_json, const std::string &instance_id) |
| Result< Json::Value > | CreateMetaInfo (const CuttlefishConfig &cuttlefish_config, const std::string &snapshot_path) |
| std::string | SnapshotMetaJsonPath (const std::string &snapshot_path) |
| Result< Json::Value > | LoadMetaJson (const std::string &snapshot_path) |
| Result< std::vector< std::string > > | GuestSnapshotDirectories (const std::string &snapshot_path) |
| Result< RunnerExitCodes > | ReadExitCode (SharedFD monitor_socket) |
| Result< SharedFD > | GetLauncherMonitorFromInstance (const CuttlefishConfig::InstanceSpecific &instance_config, const int timeout_seconds) |
| Result< SharedFD > | GetLauncherMonitor (const CuttlefishConfig &config, const int instance_num, int timeout_seconds) |
| Result< std::optional< LauncherActionInfo > > | ReadLauncherActionFromFd (SharedFD monitor_socket) |
| Result< void > | WaitForRead (SharedFD monitor_socket, const int timeout_seconds) |
| Result< void > | RunLauncherAction (SharedFD monitor_socket, LauncherAction action, std::optional< int > timeout_seconds) |
| Result< void > | RunLauncherAction (SharedFD monitor_socket, const run_cvd::ExtendedLauncherAction &extended_action, std::optional< int > timeout_seconds) |
| AdbMode | StringToAdbMode (std::string_view mode) |
| std::string | AdbModeToString (AdbMode mode) |
| fruit::Component< AdbConfig > | AdbConfigComponent () |
| fruit::Component< fruit::Required< AdbConfig, ConfigFlag >, AdbConfigFlag > | AdbConfigFlagComponent () |
| fruit::Component< fruit::Required< AdbConfig >, AdbConfigFragment > | AdbConfigFragmentComponent () |
| fruit::Component< fruit::Required< KernelLogPipeProvider, const AdbConfig, const CuttlefishConfig, const CuttlefishConfig::InstanceSpecific > > | LaunchAdbComponent () |
| fruit::Component< TestData > | TestComponent () |
| TEST (AdbConfigTest, SetFromFlags) | |
| TEST (AdbConfigTest, SerializeDeserialize) | |
| std::string | format_as (const BuildArchive &archive) |
| std::ostream & | operator<< (std::ostream &out, const BuildArchive &build_archive) |
| PrettyStruct | Pretty (const BuildArchive &archive, PrettyAdlPlaceholder) |
| fruit::Component< fruit::Required< SystemImageDirFlag >, ConfigFlag > | ConfigFlagComponent () |
| fruit::Component< ConfigFlag > | ConfigFlagPlaceholder () |
| std::string | AccessKregistryPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | ConsoleInPipeName (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | ConsoleOutPipeName (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | ConsolePath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | ConsolePipePrefix (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | GamepadSocketPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | GamepadEventsServerPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | GamepadCaptureServerPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | HwcomposerPmemPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | KernelLogPipeName (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | KeyboardSocketPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | KeyboardEventsServerPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | KeyboardCaptureServerPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | LauncherMonitorSocketPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | LogcatPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | LogcatPipeName (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | MouseSocketPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | MouseEventsServerPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | MouseCaptureServerPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | PflashPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | PstorePath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | RotarySocketPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | RotaryEventsServerPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | RotaryCaptureServerPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | SwitchesSocketPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | SwitchesEventsServerPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | SwitchesCaptureServerPath (const CuttlefishConfig::InstanceSpecific &ins) |
| std::string | RestoreAdbdPipeName (const CuttlefishConfig::InstanceSpecific &ins) |
| int | InstanceFromString (std::string instance_str) |
| int | InstanceFromEnvironment () |
| int | GetInstance () |
| int | GetDefaultVsockCid () |
| int | GetVsockServerPort (const int base, const int vsock_guest_cid) |
| std::string | GetGlobalConfigFileLink () |
| std::string | ForCurrentInstance (const char *prefix) |
| std::string | RandomSerialNumber (const std::string &prefix) |
| std::string | DefaultHostArtifactsPath (const std::string &file_name) |
| std::string | HostBinaryDir () |
| bool | UseQemuPrebuilt () |
| std::string | DefaultQemuBinaryDir () |
| std::string | HostBinaryPath (const std::string &binary_name) |
| std::string | HostUsrSharePath (const std::string &file) |
| std::string | HostQemuBiosPath () |
| std::string | DefaultGuestImagePath (const std::string &file_name) |
| std::string | DefaultEnvironmentPath (const std::string &environment_key, const std::string &default_value, const std::string &subpath) |
| bool | IsValidAndroidHostOutPath (const std::string &path) |
| bool | HostSupportsQemuCli () |
| std::string | GetSeccompPolicyDir () |
| fruit::Component< fruit::Required< ConfigFlag >, CustomActionConfigProvider > | CustomActionsComponent () |
| bool | IsRestoring (const CuttlefishConfig &config) |
| bool | EnableNetsimNfc (const CuttlefishConfig &config) |
| bool | VmManagerIsCrosvm (const CuttlefishConfig &config) |
| bool | VmManagerIsQemu (const CuttlefishConfig &config) |
| bool | VmManagerIsGem5 (const CuttlefishConfig &config) |
| Result< void > | CreateBlankEmptyImage (std::string_view image, int num_mb) |
| Result< void > | CreateBlankExt4Image (std::string_view image, int num_mb) |
| Result< void > | CreateBlankSdcardImage (std::string_view image, int num_mb) |
| Result< void > | InitializeDataImage (const CuttlefishConfig::InstanceSpecific &instance) |
| static bool | EspRequiredForBootFlow (BootFlow flow) |
| static bool | EspRequiredForAPBootFlow (APBootFlow ap_boot_flow) |
| static void | InitLinuxArgs (Arch target_arch, LinuxEspBuilder &linux_esp_builder) |
| static void | InitChromeOsArgs (LinuxEspBuilder &linux_esp_builder) |
| static bool | BuildAPImage (const CuttlefishConfig &config, const CuttlefishConfig::InstanceSpecific &instance) |
| static bool | BuildOSImage (const CuttlefishConfig::InstanceSpecific &instance) |
| Result< void > | InitializeEspImage (const CuttlefishConfig &config, const CuttlefishConfig::InstanceSpecific &instance) |
| DataImagePolicy | DataImagePolicyFromString (std::string_view policy) |
| std::string | DataImagePolicyString (DataImagePolicy policy) |
| Result< std::optional< CuttlefishConfig::DisplayConfig > > | ParseDisplayConfig (const std::string &flag) |
| Result< std::vector< CuttlefishConfig::DisplayConfig > > | ParseDisplayConfigsFromArgs (std::vector< std::string > &args) |
| bool | CanGenerateGrubEsp (Arch arch) |
| template<typename T > | |
| static bool | GrubMakeImage (const std::string &prefix, const std::string &format, const std::string &directory, const std::string &output, const T &modules) |
| EspBuilder | PrepareGrubESP (const std::string &image_path, Arch arch) |
| EspBuilder | AddGrubConfig (const std::string &config) |
| static bool | MsdosMakeDirectories (const std::string &image_path, const std::vector< std::string > &directories) |
| static bool | CopyToMsdos (const std::string &image, const std::string &path, const std::string &destination) |
| Result< void > | MakeFatImage (const std::string &data_image, int data_image_mb, int offset_num_mb) |
| std::ostream & | operator<< (std::ostream &out, ExternalNetworkMode net) |
| Result< ExternalNetworkMode > | ParseExternalNetworkMode (std::string_view str) |
| std::string_view | format_as (ExternalNetworkMode net) |
| fruit::Component< fruit::Required< FastbootConfig >, FastbootConfigFragment > | FastbootConfigFragmentComponent () |
| fruit::Component< FastbootConfig > | FastbootConfigComponent () |
| fruit::Component< fruit::Required< FastbootConfig, ConfigFlag >, FastbootConfigFlag > | FastbootConfigFlagComponent () |
| fruit::Component< fruit::Required< KernelLogPipeProvider, const CuttlefishConfig::InstanceSpecific, const FastbootConfig > > | LaunchFastbootComponent () |
| std::ostream & | operator<< (std::ostream &os, const CvdFile &cvd_file) |
| Result< CvdFile > | BuildFetcherConfigMember (FileSource purpose, std::string build_id, std::string build_target, std::string path, std::string directory_prefix, std::string archive_source, std::string archive_path) |
| FileSource | SourceStringToEnum (std::string_view source) |
| std::string_view | SourceEnumToString (FileSource source) |
| std::ostream & | operator<< (std::ostream &out, FileSource source) |
| std::string_view | format_as (FileSource source) |
| template<typename Sink > | |
| void | AbslStringify (Sink &sink, FileSource file_source) |
| Result< GpuMode > | GpuModeFromString (std::string_view mode) |
| std::string | GpuModeString (GpuMode mode) |
| std::string_view | format_as (GpuMode mode) |
| bool | IsGfxstreamMode (GpuMode mode) |
| bool | IsGfxstreamGuestAngleMode (GpuMode mode) |
| bool | IsGuestRenderingMode (GpuMode mode) |
| template<typename Sink > | |
| void | AbslStringify (Sink &sink, GpuMode mode) |
| std::ostream & | operator<< (std::ostream &out, GuestHwuiRenderer renderer) |
| std::string | ToString (GuestHwuiRenderer renderer) |
| Result< GuestHwuiRenderer > | ParseGuestHwuiRenderer (std::string_view str) |
| GuestOs | GuestOsFromBootFlow (BootFlow boot_flow) |
| std::ostream & | operator<< (std::ostream &out, GuestRendererPreload preload) |
| std::string | ToString (GuestRendererPreload preload) |
| Result< GuestRendererPreload > | ParseGuestRendererPreload (std::string_view str) |
| uint32_t | FileCrc (const std::string &path) |
| static std::map< std::string, uint32_t > | DirectoryCrc (const std::string &path) |
| std::map< std::string, uint32_t > | HostToolsCrc () |
| static Result< std::optional< int32_t > > | ParseBaseInstanceFlag (std::vector< std::string > &flags) |
| static Result< std::optional< int32_t > > | ParseNumInstancesFlag (std::vector< std::string > &flags) |
| static Result< std::vector< int32_t > > | ParseInstanceNums (const std::string &instance_nums_str) |
| static Result< std::vector< int32_t > > | ParseInstanceNumsFlag (std::vector< std::string > &flags) |
| static Result< std::optional< int32_t > > | GflagsBaseInstanceFlag () |
| static Result< std::optional< int32_t > > | GflagsNumInstancesFlag () |
| static Result< std::vector< int32_t > > | GflagsInstanceNumsFlag () |
| std::vector< std::string > | KernelCommandLineFromConfig (const CuttlefishConfig &config, const CuttlefishConfig::InstanceSpecific &instance) |
| std::string | AdbConnectorBinary () |
| std::string | AutomotiveProxyBinary () |
| std::string | AvbToolBinary () |
| std::string | CasimirBinary () |
| std::string | CasimirControlServerBinary () |
| std::string | ConsoleForwarderBinary () |
| std::string | ControlEnvProxyServerBinary () |
| std::string | CpioBinary () |
| std::string | CvdallocBinary () |
| std::string | DefaultKeyboardSpec () |
| std::string | DefaultMouseSpec () |
| std::string | DefaultGamepadSpec () |
| std::string | DefaultMultiTouchpadSpecTemplate () |
| std::string | DefaultMultiTouchscreenSpecTemplate () |
| std::string | DefaultRotaryDeviceSpec () |
| std::string | DefaultSingleTouchpadSpecTemplate () |
| std::string | DefaultSingleTouchscreenSpecTemplate () |
| std::string | DefaultSwitchesSpec () |
| std::string | EchoServerBinary () |
| std::string | GnssGrpcProxyBinary () |
| std::string | KernelLogMonitorBinary () |
| std::string | LogcatReceiverBinary () |
| std::string | McopyBinary () |
| std::string | MkfsFat () |
| std::string | MkuserimgMke2fsBinary () |
| std::string | MmdBinary () |
| std::string | ModemSimulatorBinary () |
| std::string | NetsimdBinary () |
| std::string | NewfsMsdos () |
| std::string | OpenwrtControlServerBinary () |
| std::string | PicaBinary () |
| std::string | ProcessRestarterBinary () |
| std::string | RootCanalBinary () |
| std::string | ScreenRecordingServerBinary () |
| std::string | SecureEnvBinary () |
| std::string | SensorsSimulatorBinary () |
| std::string | Simg2ImgBinary () |
| std::string | SocketVsockProxyBinary () |
| std::string | StopCvdBinary () |
| std::string | TcpConnectorBinary () |
| std::string | TestKeyRsa2048 () |
| std::string | TestKeyRsa4096 () |
| std::string | TestPubKeyRsa2048 () |
| std::string | TestPubKeyRsa4096 () |
| std::string | TombstoneReceiverBinary () |
| std::string | UnpackBootimgBinary () |
| std::string | VhalProxyServerBinary () |
| std::string | VhalProxyServerConfig () |
| std::string | WebRtcBinary () |
| std::string | WebRtcSigServerBinary () |
| std::string | WebRtcSigServerProxyBinary () |
| std::string | WmediumdBinary () |
| std::string | WmediumdGenConfigBinary () |
| std::string | VhostUserInputBinary () |
| std::string | VhostUserMediaEmulatedCameraSPlaneBinary () |
| std::string | VhostUserMediaEmulatedCameraMPlaneBinary () |
| std::string | VhostUserMediaV4l2StreamProxyBinary () |
| Result< void > | LogStringToDir (const CuttlefishConfig::InstanceSpecific &instance, std::string_view name, std::string_view contents) |
| void | DefaultSubprocessLogging (char *argv[], MetadataLevel stderr_level) |
| Result< std::optional< CuttlefishConfig::MediaConfig > > | ParseMediaConfig (const std::string &flag) |
| Result< std::vector< CuttlefishConfig::MediaConfig > > | ParseMediaConfigsFromArgs (std::vector< std::string > &args) |
| Result< void > | MkenvimageSlim (const std::string &input_path, const std::string &output_path, size_t env_size) |
| std::unordered_map< std::string, std::string > | OpenwrtArgsFromConfig (const CuttlefishConfig::InstanceSpecific &instance) |
| Result< SecureHal > | ParseSecureHal (std::string mode) |
| Result< std::set< SecureHal > > | ParseSecureHals (const std::string &hals) |
| Result< void > | ValidateSecureHals (const std::set< SecureHal > &secure_hals) |
| std::string | ToString (SecureHal hal_in) |
| Result< CuttlefishConfig::TouchpadConfig > | ParseTouchpadConfig (const std::string &flag) |
| Result< std::vector< CuttlefishConfig::TouchpadConfig > > | ParseTouchpadConfigsFromArgs (std::vector< std::string > &args) |
| std::string | ToString (VmmMode mode) |
| std::ostream & | operator<< (std::ostream &out, VmmMode vmm) |
| Result< VmmMode > | ParseVmm (std::string_view str) |
| bool | VmManagerIsCrosvm (VmmMode mode) |
| bool | VmManagerIsQemu (VmmMode mode) |
| bool | VmManagerIsGem5 (VmmMode mode) |
| std::string_view | format_as (VmmMode vmm) |
| Result< std::string > | HandleCmds (const std::string &grpc_socket_path, const std::string &cmd, const std::vector< std::string > &args) |
| Result< std::string > | CvdDataHome () |
| Result< std::string > | CvdConfigHome () |
| Result< std::string > | CvdStateHome () |
| Result< std::string > | CvdCacheHome () |
| std::string | CvdRuntimeDir () |
| Result< std::vector< std::string > > | CvdDataDirs () |
| Result< std::vector< std::string > > | CvdConfigDirs () |
| Result< std::string > | ReadCvdDataFile (std::string_view path) |
| Result< std::vector< std::string > > | FindCvdDataFiles (std::string_view path) |
| Result< void > | WriteCvdDataFile (std::string_view path, std::string contents) |
| template<typename... Args> | |
| std::unordered_set< SetupFeature * > | SetupFeatureDeps (const std::tuple< Args... > &args) |
| Result< const CudaFunctions * > | TryLoadCuda () |
| bool | IsNvencCodecSupported (GUID codec_guid, int device_id) |
| Result< const NV_ENCODE_API_FUNCTION_LIST * > | TryLoadNvenc () |
| struct | __attribute__ ((packed)) GptHeader |
| Result< const uint8_t * > | GetPartitionGUID (GptPartitionType type) |
| uint64_t | AlignToPartitionSize (uint64_t size) |
| Result< void > | AggregateImage (const std::vector< ImagePartition > &partitions, const std::string &output_path) |
| Result< void > | CreateOrUpdateCompositeDisk (std::vector< ImagePartition > partitions, const std::string &header_file, const std::string &footer_file, const std::string &output_composite_path, bool read_only) |
| Result< std::unique_ptr< DiskImage > > | ImageFromFile (const std::string &file_path) |
| MasterBootRecord | ProtectiveMbr (uint64_t size) |
| Result< bool > | IsSparseImage (const std::string &image_path) |
| Result< void > | ForceRawImage (const std::string &image_path) |
| void | alpha_blend_layer (uint8_t *frame_pixels, uint32_t h, uint32_t w, uint8_t *overlay) |
| Result< void > | StartScreenRecording (const CuttlefishConfig::InstanceSpecific &instance_config, std::chrono::seconds wait_for_launcher) |
| Result< void > | StopScreenRecording (const CuttlefishConfig::InstanceSpecific &instance_config, std::chrono::seconds wait_for_launcher) |
| Result< std::vector< std::string > > | CrosvmCpuArguments (const Json::Value &vcpu_config_json) |
| std::ostream & | operator<< (std::ostream &out, const DeviceBuild &build) |
| std::ostream & | operator<< (std::ostream &out, const DirectoryBuild &build) |
| std::ostream & | operator<< (std::ostream &out, const Build &build) |
| std::string | FetchLabel (const Build &build) |
| std::tuple< std::string, std::string > | GetBuildIdAndTarget (const Build &build) |
| std::optional< std::string > | GetFilepath (const Build &build) |
| std::string | ConstructTargetFilepath (const std::string &directory, const std::string &filename) |
| std::string | GetCatchallApiKey () |
| std::ostream & | operator<< (std::ostream &out, const DeviceBuildString &build_string) |
| std::ostream & | operator<< (std::ostream &out, const DirectoryBuildString &build_string) |
| std::ostream & | operator<< (std::ostream &out, const BuildString &build_string) |
| std::ostream & | operator<< (std::ostream &out, const std::optional< BuildString > &build_string) |
| std::optional< std::string > | GetFilepath (const BuildString &build_string) |
| void | SetFilepath (BuildString &build_string, const std::string &value) |
| Result< BuildString > | ParseBuildString (std::string_view build_string) |
| Flag | GflagsCompatFlag (const std::string &name, std::optional< BuildString > &value) |
| Flag | GflagsCompatFlag (const std::string &name, std::vector< std::optional< BuildString > > &value) |
| BuildString | WithFallbackTarget (BuildString build_string, std::string fallback) |
| TEST (ParseBuildStringTests, DeviceBuildStringSuccess) | |
| TEST (ParseBuildStringTests, DeviceBuildStringNoTargetSuccess) | |
| TEST (ParseBuildStringTests, DirectoryBuildStringSinglePathSuccess) | |
| TEST (ParseBuildStringTests, DirectoryBuildStringMultiplePathSuccess) | |
| TEST (ParseBuildStringTests, EmptyStringFail) | |
| TEST (ParseBuildStringTests, DeviceBuildStringMultipleSlashesFail) | |
| TEST (ParseBuildStringTests, FilepathExistsSuccess) | |
| TEST (ParseBuildStringTests, FilepathExistsMissingBracketFail) | |
| TEST (ParseBuildStringTests, FilepathBracketsButNoValueFail) | |
| TEST (ParseBuildStringTests, FilepathOnlyFail) | |
| TEST (SingleBuildStringGflagsCompatFlagTests, EmptyInputEmptyResultSuccess) | |
| TEST (SingleBuildStringGflagsCompatFlagTests, HasValueSuccess) | |
| TEST (BuildStringGflagsCompatFlagTests, EmptyInputEmptyResultSuccess) | |
| TEST (BuildStringGflagsCompatFlagTests, MultiValueSuccess) | |
| TEST (BuildStringGflagsCompatFlagTests, MultiEmptyValueSuccess) | |
| TEST (BuildStringGflagsCompatFlagTests, MultiValueMixedWithEmptySuccess) | |
| std::string_view | format_as (SafeLevel level) |
| std::ostream & | operator<< (std::ostream &os, SafeLevel level) |
| template<typename Sink > | |
| void | AbslStringify (Sink &sink, SafeLevel level) |
| Result< std::string > | DownloadFileWithBackup (BuildApi &build_api, const Build &build, const std::string &target_directory, const std::string &artifact_name, const std::string &backup_artifact_name) |
| Result< ReadableZip > | OpenZip (BuildApi &build_api, const Build &build, const std::string &name) |
| void | AppendBuildInfoToInvocationId (const DeviceBuild &build, std::vector< std::string > &cas_flags) |
| std::string | ConstructBuildDesc (const std::string &build_id, const std::string &build_target) |
| TEST_F (CasDownloaderTests, FailsToCreateWithInvalidConfigPath) | |
| TEST_F (CasDownloaderTests, FailsToCreateWithInvalidCasDownloaderPath) | |
| TEST_F (CasDownloaderTests, UsesAdcIfServiceAccountUnavailable) | |
| TEST_F (CasDownloaderTests, UsesServiceAccountIfAvailable) | |
| TEST_F (CasDownloaderTests, IgnoresUnsupportedFlags) | |
| TEST_F (CasDownloaderTests, HandlesFalseBoolFlag) | |
| TEST_F (CasDownloaderTests, HandlesInvocationIdFlag) | |
| TEST_F (CasDownloaderTests, HandlesUnexpectedHelpOutput) | |
| TEST_F (CasDownloaderTests, PassesOptionalStatsFilepathWhenSet) | |
| TEST_F (CasDownloaderTests, RecognizesValidFlags) | |
| TEST_F (CasDownloaderTests, DisablesCacheIfCacheDirNotSet) | |
| TEST_F (CasDownloaderTests, CacheEnabledIfCacheDirSet) | |
| TEST_F (CasDownloaderTests, FailsIfDigestsFileDoesNotExist) | |
| TEST_F (CasDownloaderTests, FailsIfArtifactNotInDigestsFile) | |
| TEST_F (CasDownloaderTests, DownloadsDigestsOnlyIfNeeded) | |
| TEST_F (CasDownloaderTests, DownloadsUncompressedIfPreferUncompressed) | |
| TEST_F (CasDownloaderTests, DownloadsCompressedIfNotPreferUncompressed) | |
| TEST_F (CasDownloaderTests, DownloadsCompressedIfPreferUncompressedButUnavailable) | |
| TEST_F (CasDownloaderTests, PassesCasOptionsFromCommandLine) | |
| TEST_F (CasDownloaderTests, CacheMaxSize_DefaultWhenAbsent) | |
| TEST_F (CasDownloaderTests, CacheMaxSize_OverriddenWhenTooSmall) | |
| int | main (int argc, char **argv) |
| TEST_F (CasFlagsTests, DefaultValuesAreSet) | |
| TEST_F (CasFlagsTests, FlagsMethodReturnsVector) | |
| TEST_F (CasFlagsTests, MultipleInstancesIndependent) | |
| TEST_F (CasFlagsTests, FlagValueInitializesWithDefault) | |
| TEST_F (CasFlagsTests, FlagValueCanBeModified) | |
| TEST_F (CasFlagsTests, FlagValueConversion) | |
| TEST_F (CasFlagsTests, FlagValueComparisons) | |
| TEST_F (CasFlagsTests, FlagValuePointerLike) | |
| TEST_F (CasFlagsTests, PriorityLogicCliOverridesDefaults) | |
| TEST_F (CasFlagsTests, PriorityLogicConfigAppliesWhenNotCli) | |
| TEST_F (CasFlagsTests, PriorityLogicCliBlocksConfig) | |
| std::ostream & | operator<< (std::ostream &stream, const ChromeOsBuilder &cob) |
| static Result< ChromeOsBuildString > | ParseChromeOsBuildString (const std::string &build_string) |
| std::ostream & | operator<< (std::ostream &stream, const ChromeOsBuildString &cb) |
| std::ostream & | operator<< (std::ostream &stream, const std::optional< ChromeOsBuildString > &cb) |
| Flag | GflagsCompatFlag (const std::string &name, std::vector< std::optional< ChromeOsBuildString > > &value) |
| std::unique_ptr< HttpClient > | CurlHttpClient (bool use_logging_debug_function) |
| TEST (FakeHttpClientTest, WithoutUrlMatching) | |
| TEST (FakeHttpClientTest, NoMatchingUrl) | |
| TEST (FakeHttpClientTest, ChoosesUrl) | |
| TEST (FakeHttpClientTest, InvokesCallback) | |
| std::optional< std::string_view > | HeaderValue (const std::vector< HttpHeader > &headers, std::string_view header_name) |
| Result< HttpResponse< std::string > > | HttpGetToFile (HttpClient &http_client, const std::string &url, const std::string &path, const std::vector< std::string > &headers) |
| Result< HttpResponse< Json::Value > > | HttpPostToJson (HttpClient &http_client, const std::string &url, const std::string &data, const std::vector< std::string > &headers) |
| Result< HttpResponse< Json::Value > > | HttpPostToJson (HttpClient &http_client, const std::string &url, const Json::Value &data, const std::vector< std::string > &headers) |
| Result< HttpResponse< Json::Value > > | HttpGetToJson (HttpClient &http_client, const std::string &url, const std::vector< std::string > &headers) |
| Result< HttpResponse< std::string > > | HttpGetToString (HttpClient &http_client, const std::string &url, const std::vector< std::string > &headers) |
| Result< HttpResponse< std::string > > | HttpPostToString (HttpClient &http_client, const std::string &url, const std::string &data, const std::vector< std::string > &headers) |
| std::unique_ptr< HttpClient > | RetryingServerErrorHttpClient (HttpClient &inner, int retry_attempts, std::chrono::milliseconds retry_delay) |
| std::string | ScrubSecrets (const std::string &data) |
| std::string | ScrubUrl (std::string_view url) |
| std::string | UrlEscape (std::string_view text) |
| bool | IsPopulated (const Oauth2ConsentRequest &request) |
| Result< std::unique_ptr< CredentialSource > > | Oauth2Login (HttpClient &http_client, const Oauth2ConsentRequest &request) |
| Result< std::unique_ptr< CredentialSource > > | CredentialForScopes (HttpClient &http_client, const std::vector< std::string > &scopes) |
| Result< std::vector< std::string > > | GetCvdCredentialFilepaths () |
| Result< std::chrono::system_clock::time_point > | ParseTime (std::string_view str) |
| Result< SeekableZipSource > | BufferZipSource (std::unique_ptr< ReaderSeeker > data_provider, size_t buffer_size) |
| Result< SeekableZipSource > | BufferZipSource (SeekableZipSource source, size_t buffer_size) |
| Result< SeekableZipSource > | CacheZipSource (SeekableZipSource inner, std::string file_path) |
| ManagedZipError | NewZipError () |
| std::string | ZipErrorString (zip_error_t *error) |
| std::string | ZipErrorString (zip_source_t *source) |
| std::string | ZipErrorString (zip_t *source) |
| int64_t | HandleCallback (ReadableZipSourceCallback &callbacks, zip_error_t *error, void *data, uint64_t len, zip_source_cmd_t cmd) |
| Result< std::unique_ptr< ReaderSeeker > > | ZipSourceAsReaderSeeker (SeekableZipSource inner) |
| Result< SeekableZipSource > | ZipSourceFromUrl (HttpClient &http_client, const std::string &url, std::vector< std::string > headers) |
| Result< ReadableZip > | ZipOpenRead (const std::string &fs_path) |
| Result< WritableZip > | ZipOpenReadWrite (const std::string &fs_path) |
| Result< void > | AddFile (WritableZip &zip, const std::string &fs_path) |
| Result< void > | AddFileAt (WritableZip &zip, const std::string &fs_path, const std::string &zip_path) |
| Result< void > | ExtractFile (ReadableZip &zip, std::string_view zip_path, const std::string &host_path) |
| Result< std::string > | ReadToString (ReadableZipSource &source) |
| Result< void > | AddStringAt (WritableZip &zip, const std::string &data, const std::string &zip_path) |
| Result< void > | Copy (Reader &reader, Writer &writer, const size_t buffer_size) |
| Result< void > | SparseCopy (Reader &reader, WriterSeeker &writer, size_t buffer_size) |
| Result< uint64_t > | FakePRead (ReaderSeeker &reader_seeker, void *buf, uint64_t count, uint64_t offset) |
| Result< uint64_t > | FakePWrite (WriterSeeker &writer_seeker, const void *buf, uint64_t count, uint64_t offset) |
| std::unique_ptr< ReaderWriterSeeker > | InMemoryIo () |
| std::unique_ptr< ReaderWriterSeeker > | InMemoryIo (std::string_view str) |
| std::unique_ptr< ReaderWriterSeeker > | InMemoryIo (std::vector< char > data) |
| std::unique_ptr< ReadWriteFilesystem > | InMemoryFilesystem () |
| TEST (InMemoryIoTest, WriteSeek) | |
| TEST (InMemoryIoTest, WriteSeekRead) | |
| TEST (InMemoryIoTest, WriteAtReadAt) | |
| TEST (InMemoryIoTest, WriteWriteReadAt) | |
| Result< uint64_t > | Length (Seeker &seeker) |
| Result< uint64_t > | Length (ReaderWriterSeeker &seeker) |
| Result< std::unique_ptr< Reader > > | Lz4LegacyReader (std::unique_ptr< Reader > source) |
| Result< std::unique_ptr< Writer > > | Lz4LegacyWriter (std::unique_ptr< Writer > sink) |
| Result< void > | ReadExact (Reader &reader, char *buf, size_t size) |
| Result< void > | PReadExact (const ReaderSeeker &reader, char *buf, size_t size, uint64_t offset) |
| Result< bool > | ReadExactOrEof (Reader &reader, char *buf, size_t size) |
| template<typename T > | |
| Result< T > | ReadExactBinary (Reader &reader) |
| template<typename T > | |
| Result< T > | PReadExactBinary (const ReaderSeeker &reader, uint64_t offset) |
| template<typename T > | |
| Result< std::optional< T > > | ReadExactBinaryOrEof (Reader &reader) |
| std::string | Serialize (const DisjointRangeSet &range_set) |
| Result< DisjointRangeSet > | DeserializeDisjointRangeSet (std::string_view data) |
| Result< std::string > | ReadToString (Reader &reader, size_t buffer_size) |
| Result< void > | WriteExact (Writer &writer, const char *buf, size_t size) |
| Result< void > | WriteExact (Writer &writer, const char *buf) |
| Result< void > | WriteExact (Writer &writer, const std::string &str) |
| Result< void > | WriteExact (Writer &writer, const std::string_view str) |
| Result< void > | WriteExact (Writer &writer, const std::vector< char > &vec) |
| template<typename T > | |
| Result< void > | WriteExactBinary (Writer &writer, const T &data) |
| void | PopulateCuttlefishFetch (MetricsEventV2 &event, const FetchMetrics &fetch_metrics) |
| void | PopulateCuttlefishGuest (MetricsEventV2 &metrics_event, const GuestMetrics &guest_metrics, std::string_view session_id) |
| void | PopulateCuttlefishHost (MetricsEventV2 &metrics_event, const HostMetrics &host_metrics) |
| CuttlefishLogEvent | BuildCuttlefishLogEvent (const MetricsData &metrics_data) |
| void | GatherVmInstantiationMetrics (const LocalInstanceGroup &instance_group) |
| void | GatherVmStartMetrics (const LocalInstanceGroup &instance_group) |
| void | GatherVmBootCompleteMetrics (const LocalInstanceGroup &instance_group) |
| void | GatherVmBootFailedMetrics (const LocalInstanceGroup &instance_group) |
| void | GatherVmStopMetrics (const LocalInstanceGroup &instance_group) |
| std::string | ToEventLabel (const FetchMetrics &fetch_metrics) |
| Result< FetchMetrics > | GetFetchMetrics (const FetchInput &fetch_input) |
| void | GatherFetchStartMetrics (const FetchFlags &fetch_flags) |
| void | GatherFetchCompleteMetrics (const std::string &target_directory, const FetchResult &fetch_result) |
| void | GatherFetchFailedMetrics (const std::string &target_directory) |
| std::string | DeviceEventTypeString (DeviceEventType event_type) |
| Result< FlagMetrics > | GetFlagMetrics (const ParsedFlags &parsed_flags, const int guest_index) |
| Result< std::vector< GuestMetrics > > | GetGuestMetrics (const Guests &guests) |
| Result< ParsedFlags > | GetParsedFlags () |
| Result< std::optional< GceEnvironment > > | DetectGceEnvironment () |
| std::optional< GitHubRepository > | DetectGitHubRepository () |
| Result< HostMetrics > | GetHostMetrics () |
| Invoker | GetInvoker () |
| std::string | TransmitterPath () |
| bool | AreMetricsEnabled () |
| std::string | EnvironmentToString (ClearcutEnvironment environment) |
| Result< void > | TransmitMetrics (const std::string &transmitter_binary, const CuttlefishLogEvent &cf_log_event) |
| Result< void > | TransmitMetrics (const std::string &transmitter_binary, const logs::proto::wireless::android::cuttlefish::CuttlefishLogEvent &cf_log_event) |
| Result< void > | WriteMetricsEvent (std::string_view event_type_label, std::string_view metrics_directory, const CuttlefishLogEvent &cf_log_event) |
| Result< void > | WriteMetricsEvent (std::string_view event_type_label, std::string_view metrics_directory, const logs::proto::wireless::android::cuttlefish::CuttlefishLogEvent &cf_log_event) |
| void | DisplayPrivacyNotice () |
| Result< std::string > | ReadSessionIdFile (const std::string &metrics_directory) |
| Result< void > | GenerateSessionIdFile (const std::string &metrics_directory) |
| Result< void > | SetUpMetrics (const std::string &metrics_directory) |
| ScopedLogger | CreateLogger (std::string_view metrics_directory) |
| Result< MetricsData > | GatherMetrics (const MetricsInput &metrics_input) |
| Result< void > | OutputMetrics (std::string_view event_type_label, std::string_view metrics_directory, const MetricsData &metrics_data) |
| Result< std::string > | GetSerializedEventProto (const std::string &event_filepath) |
| LogRequest | BuildLogRequest (const std::string &serialized_cf_log_event) |
| Result< MetricsFlags > | ProcessFlags (int argc, char **argv) |
| Result< void > | TransmitMetricsEvent (const wireless_android_play_playlog::LogRequest &log_request, ClearcutEnvironment environment) |
| Result< std::string > | ReadLink (const char *path) |
| Result< std::string > | ReadLink (const std::string &path) |
| Result< std::string > | ReadLink (std::string_view path) |
| Result< std::string > | RealPath (const std::string &path) |
| Result< void > | RemoveFile (const char *file) |
| Result< void > | RemoveFile (const std::string &file) |
| Result< void > | RemoveFile (std::string_view file) |
| Result< void > | Rename (const char *oldpath, const char *newpath) |
| Result< void > | Rename (const std::string &oldpath, const std::string &newpath) |
| Result< void > | Rename (std::string_view oldpath, std::string_view newpath) |
| Result< struct stat > | Stat (const char *path) |
| Result< struct stat > | Stat (const std::string &path) |
| Result< struct stat > | Stat (std::string_view path) |
| std::string | StrError (int error_num) |
| Result< void > | Symlink (const std::string &target, const std::string &linkpath) |
| std::ostream & | operator<< (std::ostream &out, const PrettyContainerType &pc) |
| std::string | format_as (const PrettyContainerType &pc) |
| template<typename Iterator , typename FmtIteratorFn > | |
| PrettyContainerType | PrettyIterable (Iterator begin, Iterator end, FmtIteratorFn format_iterator_fn) |
| template<typename Iterator , typename FmtIteratorFn > | |
| PrettyContainerType | PrettyIterable (Iterator begin, Iterator end) |
| template<typename T , typename FmtMemberFn > | |
| PrettyContainerType | PrettyContainer (const T &container, FmtMemberFn format_member_fn) |
| template<typename T > | |
| PrettyContainerType | PrettyContainer (const T &container) |
| TEST (PrettyContainer, Empty) | |
| TEST (PrettyContainer, OneMember) | |
| TEST (PrettyContainer, StringMember) | |
| TEST (PrettyContainer, TwoMembers) | |
| TEST (PrettyContainer, MembersWithNewlines) | |
| TEST (PrettyContainer, NestedMember) | |
| std::string | Pretty (const Json::Value &root, PrettyAdlPlaceholder) |
| TEST (PrettyJson, Structured) | |
| PrettyStruct | Pretty (const Extent &extent, PrettyAdlPlaceholder) |
| PrettyStruct | Pretty (const LinearExtent &linear_extent, PrettyAdlPlaceholder) |
| PrettyStruct | Pretty (const ZeroExtent &zero_extent, PrettyAdlPlaceholder) |
| PrettyStruct | Pretty (const PartitionGroup &partition_group, PrettyAdlPlaceholder) |
| PrettyStruct | Pretty (const Partition &partition, PrettyAdlPlaceholder) |
| PrettyStruct | Pretty (const Interval &interval, PrettyAdlPlaceholder) |
| PrettyStruct | Pretty (const android::fs_mgr::Extent &, PrettyAdlPlaceholder unused=PrettyAdlPlaceholder()) |
| PrettyStruct | Pretty (const android::fs_mgr::LinearExtent &, PrettyAdlPlaceholder unused=PrettyAdlPlaceholder()) |
| PrettyStruct | Pretty (const android::fs_mgr::ZeroExtent &, PrettyAdlPlaceholder unused=PrettyAdlPlaceholder()) |
| PrettyStruct | Pretty (const android::fs_mgr::PartitionGroup &, PrettyAdlPlaceholder unused=PrettyAdlPlaceholder()) |
| PrettyStruct | Pretty (const android::fs_mgr::Partition &, PrettyAdlPlaceholder unused=PrettyAdlPlaceholder()) |
| PrettyStruct | Pretty (const android::fs_mgr::Interval &, PrettyAdlPlaceholder unused=PrettyAdlPlaceholder()) |
| PrettyStruct | Pretty (const android::fs_mgr::LpMetadata &metadata, PrettyAdlPlaceholder) |
| PrettyStruct | Pretty (const LpMetadataGeometry &geometry, PrettyAdlPlaceholder) |
| PrettyStruct | Pretty (const LpMetadataTableDescriptor &metadata_table_descriptor, PrettyAdlPlaceholder) |
| PrettyStruct | Pretty (const LpMetadataHeader &metadata_header, PrettyAdlPlaceholder) |
| PrettyStruct | Pretty (const LpMetadataPartition &metadata_partition, PrettyAdlPlaceholder) |
| PrettyStruct | Pretty (const LpMetadataExtent &metadata_extent, PrettyAdlPlaceholder) |
| PrettyStruct | Pretty (const LpMetadataPartitionGroup &metadata_partition_group, PrettyAdlPlaceholder) |
| PrettyStruct | Pretty (const LpMetadataBlockDevice &block_device, PrettyAdlPlaceholder) |
| template<typename K , typename V , typename Compare > | |
| PrettyContainerType | Pretty (const std::map< K, V, Compare > &map, PrettyAdlPlaceholder unused=PrettyAdlPlaceholder()) |
| int8_t | Pretty (int8_t value, PrettyAdlPlaceholder) |
| int16_t | Pretty (int16_t value, PrettyAdlPlaceholder) |
| int32_t | Pretty (int32_t value, PrettyAdlPlaceholder) |
| int64_t | Pretty (int64_t value, PrettyAdlPlaceholder) |
| uint8_t | Pretty (uint8_t value, PrettyAdlPlaceholder) |
| uint16_t | Pretty (uint16_t value, PrettyAdlPlaceholder) |
| uint32_t | Pretty (uint32_t value, PrettyAdlPlaceholder) |
| uint64_t | Pretty (uint64_t value, PrettyAdlPlaceholder) |
| char | Pretty (char value, PrettyAdlPlaceholder) |
| template<typename T > | |
| std::string | Pretty (const std::optional< T > &value, PrettyAdlPlaceholder unused=PrettyAdlPlaceholder()) |
| template<typename First , typename Second > | |
| PrettyStruct | Pretty (const std::pair< First, Second > &pair, PrettyAdlPlaceholder unused=PrettyAdlPlaceholder()) |
| template<typename T > | |
| const T & | Pretty (const T &value, PrettyAdlPlaceholder unused=PrettyAdlPlaceholder()) |
| TEST (Pretty, OuterInnerStruct) | |
| template<typename T > | |
| std::string | Pretty (const Result< T > &result, PrettyAdlPlaceholder unused=PrettyAdlPlaceholder()) |
| template<typename T , typename Comp > | |
| PrettyContainerType | Pretty (const std::set< T, Comp > &set, PrettyAdlPlaceholder unused=PrettyAdlPlaceholder()) |
| std::string | Pretty (const std::string_view &value, PrettyAdlPlaceholder) |
| std::string | Pretty (const char *const &value, PrettyAdlPlaceholder) |
| std::string | Pretty (const std::string &value, PrettyAdlPlaceholder) |
| std::ostream & | operator<< (std::ostream &out, const PrettyStruct &ps) |
| std::string | format_as (const PrettyStruct &ps) |
| TEST (PrettyStruct, Empty) | |
| TEST (PrettyStruct, OneMember) | |
| TEST (PrettyStruct, StringMember) | |
| TEST (PrettyStruct, TwoMembers) | |
| TEST (PrettyStruct, NestedMembers) | |
| template<typename T > | |
| std::string | Pretty (const std::unique_ptr< T > &value, PrettyAdlPlaceholder unused=PrettyAdlPlaceholder()) |
| template<typename T > | |
| PrettyContainerType | Pretty (const std::vector< T > &vec, PrettyAdlPlaceholder unused=PrettyAdlPlaceholder()) |
| std::ostream & | operator<< (std::ostream &out, const Command &command) |
| std::unordered_map< std::string, std::string > | EnvpToMap (char **envp) |
| int | Execute (std::vector< std::string > command) |
| Result< siginfo_t > | Execute (std::vector< std::string > command, SubprocessOptions subprocess_options, int wait_options) |
| int | RunWithManagedStdio (Command cmd_tmp, const std::string *stdin_str, std::string *stdout_str, std::string *stderr_str, SubprocessOptions options) |
| Result< std::string > | RunAndCaptureStdout (Command command) |
| static Result< uid_t > | FileOwnerUid (const std::string &file_path) |
| static Result< ProcStatusUids > | OwnerUids (const pid_t pid) |
| static std::string | PidDirPath (const pid_t pid) |
| static Result< std::string > | ReadAll (const std::string &file_path) |
| Result< std::vector< pid_t > > | CollectPids (const uid_t uid) |
| Result< std::vector< std::string > > | GetCmdArgs (const pid_t pid) |
| Result< std::string > | GetExecutablePath (const pid_t pid) |
| static Result< void > | CheckExecNameFromStatus (const std::string &exec_name, const pid_t pid) |
| Result< std::vector< pid_t > > | CollectPidsByExecName (const std::string &exec_name, const uid_t uid) |
| Result< std::vector< pid_t > > | CollectPidsByExecPath (const std::string &exec_path, const uid_t uid) |
| Result< std::vector< pid_t > > | CollectPidsByArgv0 (const std::string &expected_argv0, const uid_t uid) |
| Result< uid_t > | OwnerUid (const pid_t pid) |
| Result< std::unordered_map< std::string, std::string > > | GetEnvs (const pid_t pid) |
| Result< ProcInfo > | ExtractProcInfo (const pid_t pid) |
| Result< pid_t > | Ppid (const pid_t pid) |
| TEST (ProcFileUid, SelfUidTest) | |
| TEST (ProcFilePid, CurrentPidCollected) | |
| static Result< void > | SendSignalImpl (const int signal, const pid_t pid, bool to_group, const bool started) |
| StopperResult | KillSubprocess (Subprocess *subprocess) |
| SubprocessStopper | KillSubprocessFallback (std::function< StopperResult()> nice) |
| SubprocessStopper | KillSubprocessFallback (SubprocessStopper nice_stopper) |
| std::string | ResultErrorFormat (bool color) |
| std::ostream & | operator<< (std::ostream &out, const StackTraceError &error) |
| template<typename T > | |
| T | OutcomeDereference (std::optional< T > &&value) |
| void | OutcomeDereference (Result< void > &&) |
| template<typename T > | |
| T | OutcomeDereference (Result< T > &&result) |
| template<typename T > | |
| std::enable_if< std::is_convertible_v< T, bool >, T >::type | OutcomeDereference (T &&value) |
| bool | TypeIsSuccess (bool value) |
| template<typename T > | |
| bool | TypeIsSuccess (std::optional< T > &value) |
| template<typename T > | |
| bool | TypeIsSuccess (Result< T > &value) |
| auto | ErrorFromType (bool) |
| template<typename T > | |
| auto | ErrorFromType (std::optional< T >) |
| template<typename T > | |
| auto | ErrorFromType (Result< T > &value) |
| MATCHER (IsOk, "an ok result") | |
| MATCHER (IsError, "an error result") | |
| MATCHER_P (IsOkAndValue, result_value_matcher, "") | |
| MATCHER_P (IsErrorAndMessage, message_matcher, "") | |
| TEST (ResultTest, ExpectBoolGoodNoMessage) | |
| TEST (ResultTest, ExpectBoolGoodWithMessage) | |
| TEST (ResultTest, ExpectBoolBadNoMessage) | |
| TEST (ResultTest, ExpectBoolBadWithMessage) | |
| TEST (ResultTest, ExpectWithResultGoodNoMessage) | |
| TEST (ResultTest, ExpectWithResultGoodWithMessage) | |
| TEST (ResultTest, ExpectWithResultBadNoMessage) | |
| TEST (ResultTest, ExpectWithResultBadWithMessage) | |
| TEST (ResultTest, ExpectEqGoodNoMessage) | |
| TEST (ResultTest, ExpectEqGoodWithMessage) | |
| TEST (ResultTest, ExpectEqBadNoMessage) | |
| TEST (ResultTest, ExpectEqBadWithMessage) | |
Variables | |
| constexpr char | kCvdNetworkGroupName [] = "cvdnetwork" |
| constexpr char | kWirelessIp [] = "192.168.96" |
| constexpr char | kMobileIp [] = "192.168.97" |
| constexpr char | kEthernetIp [] = "192.168.98" |
| constexpr int | kSocketMode = 0666 |
| constexpr uint32_t | kMaxIfaceNameId = 63 |
| constexpr std::string_view | kAnsiCursorTopLeft = "\033[;H" |
| constexpr std::string_view | kAnsiBoldBlue = "\033[1;34m" |
| constexpr std::string_view | kAnsiBoldCyan = "\033[1;36m" |
| constexpr std::string_view | kAnsiClearScreen = "\033[2J" |
| constexpr std::string_view | kAnsiClearScreenAfterCursor = "\033[J" |
| constexpr std::string_view | kAnsiCsi = "\033[" |
| constexpr std::string_view | kAnsiCyan = "\033[0;36m" |
| constexpr std::string_view | kAnsiGreen = "\033[0;32m" |
| constexpr std::string_view | kAnsiGrey = "\033[90m" |
| constexpr std::string_view | kAnsiRed = "\033[0;31m" |
| constexpr std::string_view | kAnsiReset = "\033[0m" |
| constexpr std::string_view | kAnsiWhite = "\033[0;37m" |
| constexpr std::string_view | kAnsiYellow = "\033[0;33m" |
| constexpr std::string_view | kXtermUseAlternateScreen = "\033[?1049h" |
| constexpr std::string_view | kXtermUseMainScreen = "\033[?1049l" |
| char | pipe_message [] = "Testing the pipe" |
| constexpr int | DISK_SIZE_SHIFT = 16 |
| constexpr int | PARTITION_SIZE_SHIFT = 12 |
| constexpr const char * | kConsoleSeverityEnvVar = "CF_CONSOLE_SEVERITY" |
| constexpr const char * | kFileSeverityEnvVar = "CF_FILE_SEVERITY" |
| constexpr std::string_view | kDefaultInterfacePrefix = "cvd" |
| constexpr uint32_t | kBootImagePageSize = 4096 |
| static constexpr char | kImageName [] = "chromeos_state.img" |
| static constexpr int | kImageSizeMb = 8096 |
| static constexpr std::string_view | kName = "android_esp" |
| static constexpr size_t | kMetadataImageMb = 64 |
| static constexpr size_t | kMetadataImageBytes = kMetadataImageMb << 20 |
| constexpr char | kDefaultsFilePath [] |
| constexpr size_t | kDefaultCacheSizeGb = 25 |
| constexpr char | kFleetSubcmd [] = "fleet" |
| constexpr char | kSummaryHelpText [] |
| static constexpr char | kHelpMessage [] |
| constexpr size_t | kDefaultMaxLineWidth = 80 |
| constexpr size_t | kCvdRetainLogFilesNum = 30 |
| constexpr char | kFlagModemSimulatorSimType [] = "modem_simulator_sim_type" |
| static constexpr std::string_view | kPhoneInstanceTemplate |
| static constexpr std::string_view | kTabletInstanceTemplate |
| static constexpr std::string_view | kTvInstanceTemplate |
| static constexpr std::string_view | kWearableInstanceTemplate |
| static constexpr std::string_view | kAutoInstanceTemplate |
| static constexpr std::string_view | kSlimInstanceTemplate |
| static constexpr std::string_view | kGoInstanceTemplate |
| static constexpr std::string_view | kFoldableInstanceTemplate |
| constexpr char | kAndroidBuildApiScope [] |
| constexpr char | kCloudStorageReadScope [] |
| constexpr char | kDefaultApiKey [] = "" |
| constexpr char | kDefaultCredentialSource [] = "" |
| constexpr char | kDefaultProjectID [] = "" |
| constexpr std::chrono::seconds | kDefaultWaitRetryPeriod |
| constexpr bool | kDefaultEnableCaching = true |
| constexpr bool | kDefaultUseGceMetadata = false |
| constexpr char | kDefaultCredentialFilepath [] = "" |
| constexpr char | kDefaultServiceAccountFilepath [] = "" |
| static constexpr mode_t | kRwxAllMode = S_IRWXU | S_IRWXG | S_IRWXO |
| constexpr char | kDefaultBuildString [] = "" |
| constexpr char | kDefaultTargetDirectory [] = "" |
| constexpr bool | kDefaultKeepDownloadedArchives = false |
| constexpr char | kDefaultBuildTarget [] |
| constexpr char | kTargetDirectory [] = "--target_directory=/tmp/fetch_test" |
| constexpr char | kDefaultBuild [] |
| constexpr char | kCasDownloaderPath [] |
| constexpr char | kCasCacheDir [] = "--cas_cache_dir=/tmp/cas_cache" |
| constexpr char | kCasCacheMaxSize [] = "--cas_cache_max_size=10000000000" |
| static constexpr char | kHostToolsSubdirectory [] = "host_tools" |
| constexpr bool | kDefaultDownloadImgZip = true |
| constexpr bool | kDefaultDownloadTargetFilesZip = false |
| constexpr bool | kDefaultDynamicSuperImageFragments = false |
| constexpr char | kDefaultOPeratorControlSocketPath [] |
| static constexpr char | kCvdMarkEnv [] = "_STARTED_BY_CVD_SERVER_" |
| constexpr char | kServerExecPath [] = "/proc/self/exe" |
| constexpr char | kAndroidHostOut [] = "ANDROID_HOST_OUT" |
| constexpr char | kAndroidSoongHostOut [] = "ANDROID_SOONG_HOST_OUT" |
| constexpr char | kAndroidProductOut [] = "ANDROID_PRODUCT_OUT" |
| char | kEmptyText [] |
| char | kEmptyRteTrkText [] |
| char | kValidText [] |
| char | kNullAttributeText [] |
| char | kLocationMissingLongitudeLatitudeText [] |
| char | kLocationMissingLongitudeText [] |
| char | kValidLocationText [] |
| char | kValidDocumentText [] |
| char | kEmptyKmlText [] |
| char | kValidkmlText [] |
| char | kValidComplexText [] |
| char | kOneCoordinateText [] |
| char | kMultipleCoordinatesText [] |
| char | kBadCoordinatesText [] |
| char | kLocationNormalText [] |
| char | kLocationMissingFieldsText [] |
| char | kLocationMissingRequiredFieldsText [] |
| char | kLocationNameOnlyFirstText [] |
| char | kMultipleLocationsText [] |
| char | kTraverseEmptyDocText [] |
| char | kNoPlacemarksText [] |
| char | kNestedDocText [] |
| char | kNullNameNoCrashText [] |
| constexpr std::string_view | kCvdallocInterfacePrefix = "cvd-pi" |
| constexpr std::string_view | kCvdallocEthernetBridgeName = "cvd-pi-ebr" |
| constexpr std::string_view | kCvdallocWirelessBridgeName = "cvd-pi-wbr" |
| constexpr char | kCvdallocMobileIpPrefix [] = "192.168.144" |
| constexpr char | kCvdallocWirelessIpPrefix [] = "192.168.160" |
| constexpr char | kCvdallocWirelessApIpPrefix [] = "192.168.176" |
| constexpr char | kCvdallocEthernetIpPrefix [] = "192.168.192" |
| static constexpr char | kUsageMessage [] |
| constexpr int32_t | kMaxCommandLength = 4096 |
| static const std::string | kAreaCode = "2142" |
| static const std::string | kCellId = "0000B804" |
| constexpr int | kRssiUnknownValue = 99 |
| constexpr int | kBerUnknownValue = 99 |
| constexpr int | kDbmUnknownValue = -1 |
| constexpr int | kEcioUnknownValue = -1 |
| constexpr int | kSnrUnknownValue = -1 |
| constexpr auto | kRssiRange = std::make_pair(4, 30) |
| constexpr auto | kDbmRange = std::make_pair(-120, -4) |
| constexpr auto | kRsrpRange = std::make_pair(-140, -44) |
| static constexpr char | kInstances [] = "instances" |
| static constexpr char | kNetworkSelectionMode [] = "network_selection_mode" |
| static constexpr char | kOperatorNumeric [] = "operator_numeric" |
| static constexpr char | kModemTechnoloy [] = "modem_technoloy" |
| static constexpr char | kPreferredNetworkMode [] = "preferred_network_mode" |
| static constexpr char | kEmergencyMode [] = "emergency_mode" |
| static constexpr int | kDefaultNetworkSelectionMode = 0 |
| static constexpr int | kDefaultModemTechnoloy = ModemTechnology::M_MODEM_TECH_LTE |
| static constexpr int | kDefaultPreferredNetworkMode |
| static constexpr bool | kDefaultEmergencyMode = false |
| static const std::string | kWithoutServiceCenterAddress = "00" |
| static const std::string | kStatusReportIndicator = "06" |
| static const std::string | kSRIAndMMSIndicator = "24" |
| static const std::string | kUDHIAndSRIAndMMSIndicator = "64" |
| constexpr int | kSimPukSize = 8 |
| constexpr int | kSimPinMaxRetryTimes = 3 |
| constexpr int | kSimPukMaxRetryTimes = 10 |
| static const std::string | kDefaultPinCode = "1234" |
| static const std::string | kDefaultPukCode = "12345678" |
| static const std::string | MF_SIM = "3F00" |
| static const std::string | DF_TELECOM = "7F10" |
| static const std::string | DF_PHONEBOOK = "5F3A" |
| static const std::string | DF_GRAPHICS = "5F50" |
| static const std::string | DF_GSM = "7F20" |
| static const std::string | DF_CDMA = "7F25" |
| static const std::string | DF_ADF = "7FFF" |
| constexpr int | kFooterSizeBytes = 14 |
| constexpr int | kMaxNumberSizeBytes = 11 |
| constexpr int | kMaxLogicalChannels = 3 |
| const std::map< SimService::SimStatus, std::string > | gSimStatusResponse |
| static constexpr char | kIgnoreSigtstpHelp [] |
| static constexpr char | kWhenDumpedHelp [] = "restart when the process crashed" |
| static constexpr char | kWhenKilledHelp [] = "restart when the process was killed" |
| static constexpr char | kWhenExitedWithFailureHelp [] |
| static constexpr char | kWhenExitedWithCodeHelp [] |
| static constexpr char | kHelp [] |
| template<class... > | |
| constexpr std::false_type | CommandAlwaysFalse {} |
| constexpr std::chrono::seconds | kCvdAllocateTimeout = std::chrono::seconds(30) |
| constexpr std::chrono::seconds | kCvdTeardownTimeout = std::chrono::seconds(2) |
| static constexpr uint32_t | BLOCK_SIZE = 16 |
| static constexpr char | kUniqueKey [] = "JsonSerializable" |
| static constexpr char | kUniqueKey [] = "TpmKeyBlobMaker" |
| static int | MAX_STIR_RANDOM_BUFFER_SIZE = 128 |
| template<typename T > | |
| int | MarshalFn = 0 |
| template<typename T > | |
| int | UnmarshalFn = 0 |
| template<> | |
| auto | MarshalFn< TPM2B_PRIVATE > = Tss2_MU_TPM2B_PRIVATE_Marshal |
| template<> | |
| auto | UnmarshalFn< TPM2B_PRIVATE > = Tss2_MU_TPM2B_PRIVATE_Unmarshal |
| template<> | |
| auto | MarshalFn< TPM2B_PUBLIC > = Tss2_MU_TPM2B_PUBLIC_Marshal |
| template<> | |
| auto | UnmarshalFn< TPM2B_PUBLIC > = Tss2_MU_TPM2B_PUBLIC_Unmarshal |
| static std::unordered_set< std::string > | kRepeatableFlags |
| static uint64_t | num_tombstones_in_last_second = 0 |
| static std::string | last_tombstone_name = "" |
| static constexpr size_t | CHUNK_RECV_MAX_LEN = 1024 |
| static constexpr size_t | TIMEOUT_SEC = 3 |
| static const std::array< uint16_t, 17 > | kJsIndexToLinuxMapping |
| constexpr auto | kOpewnrtWanIpAddressName = "wan_ipaddr" |
| constexpr auto | kTouchscreenPrefix = "display_" |
| constexpr auto | kTouchpadPrefix = "touch_" |
| constexpr uint8_t | VIRTIO_SND_CHMAP_MAX_SIZE = 18 |
| constexpr uint32_t | VIOS_VERSION = 3 |
| constexpr uint64_t | kMaxAvbMetadataSize = 69632ul |
| constexpr const char | kMetaInfoJsonFileName [] = "snapshot_meta_info.json" |
| constexpr const char | kGuestSnapshotField [] = "guest_snapshot" |
| constexpr const char | kSnapshotPathField [] = "snapshot_path" |
| constexpr const char | kCfHomeField [] = "HOME" |
| constexpr const char | kGuestSnapshotBase [] = "guest_vm" |
| constexpr char | kLogcatSerialMode [] = "serial" |
| constexpr char | kLogcatVsockMode [] = "vsock" |
| constexpr char | kDefaultUuidPrefix [] |
| constexpr char | kCuttlefishConfigEnvVarName [] = "CUTTLEFISH_CONFIG_FILE" |
| constexpr char | kCuttlefishInstanceEnvVarName [] = "CUTTLEFISH_INSTANCE" |
| constexpr char | kVsocUserPrefix [] = "vsoc-" |
| constexpr char | kInternalGroupName [] = "cvd" |
| constexpr char | kCvdNamePrefix [] = "cvd-" |
| constexpr char | kBootStartedMessage [] = "VIRTUAL_DEVICE_BOOT_STARTED" |
| constexpr char | kBootPendingMessage [] = "VIRTUAL_DEVICE_BOOT_PENDING" |
| constexpr char | kBootCompletedMessage [] = "VIRTUAL_DEVICE_BOOT_COMPLETED" |
| constexpr char | kBootFailedMessage [] = "VIRTUAL_DEVICE_BOOT_FAILED" |
| constexpr char | kMobileNetworkConnectedMessage [] |
| constexpr char | kWifiConnectedMessage [] |
| constexpr char | kEthernetConnectedMessage [] |
| constexpr char | kAdbdStartedMessage [] |
| constexpr char | kFastbootdStartedMessage [] |
| constexpr char | kHibernationExitMessage [] |
| constexpr char | kFastbootStartedMessage [] |
| constexpr char | kGblFastbootStartedMessage [] |
| constexpr char | kScreenChangedMessage [] = "VIRTUAL_DEVICE_SCREEN_CHANGED" |
| constexpr char | kDisplayPowerModeChangedMessage [] |
| constexpr char | kInternalDirName [] = "internal" |
| constexpr char | kGrpcSocketDirName [] = "grpc_socket" |
| constexpr char | kSharedDirName [] = "shared" |
| constexpr char | kLogDirName [] = "logs" |
| constexpr char | kCrosvmVarEmptyDir [] = "/var/empty" |
| constexpr char | kKernelLoadedMessage [] = "] Linux version" |
| constexpr char | kBootloaderLoadedMessage [] = "U-Boot 20" |
| constexpr char | kApName [] = "crosvm_openwrt" |
| constexpr int | kDefaultInstance = 1 |
| constexpr char | kVhostUserVsockModeAuto [] = "auto" |
| constexpr char | kVhostUserVsockModeTrue [] = "true" |
| constexpr char | kVhostUserVsockModeFalse [] = "false" |
| constexpr char | kGpuVhostUserModeAuto [] = "auto" |
| constexpr char | kGpuVhostUserModeOn [] = "on" |
| constexpr char | kGpuVhostUserModeOff [] = "off" |
| constexpr char | kHwComposerAuto [] = "auto" |
| constexpr char | kHwComposerDrm [] = "drm_hwcomposer" |
| constexpr char | kHwComposerRanchu [] = "ranchu" |
| constexpr char | kHwComposerNone [] = "none" |
| static constexpr char | kFragments [] = "fragments" |
| static constexpr char | kRootDir [] = "root_dir" |
| static constexpr char | kVmManager [] = "vm_manager" |
| static constexpr char | kApVmManager [] = "ap_vm_manager" |
| static constexpr char | kSecureHals [] = "secure_hals" |
| static constexpr char | kCrosvmBinary [] = "crosvm_binary" |
| static constexpr char | kGem5DebugFlags [] = "gem5_debug_flags" |
| static constexpr char | kSigServerPort [] = "webrtc_sig_server_port" |
| static constexpr char | kSigServerAddress [] = "webrtc_sig_server_addr" |
| static constexpr char | kHostToolsVersion [] = "host_tools_version" |
| static constexpr char | kEnableHostUwb [] = "enable_host_uwb" |
| static constexpr char | kPicaUciPort [] = "pica_uci_port" |
| static constexpr char | kEnableAutomotiveProxy [] = "enable_automotive_proxy" |
| static constexpr char | kEnableHostNfc [] = "enable_host_nfc" |
| static constexpr char | kEnableHostNfcConnector [] = "enable_host_nfc_connector" |
| static constexpr char | kCasimirInstanceNum [] = "casimir_instance_num" |
| static constexpr char | kCasimirArgs [] = "casimir_args" |
| static constexpr char | kCasimirNciPort [] = "casimir_nci_port" |
| static constexpr char | kCasimirRfPort [] = "casimir_rf_port" |
| static constexpr char | kNetsimInstanceNum [] = "netsim_instance_num" |
| static constexpr char | kNetsimConnectorInstanceNum [] |
| static constexpr char | kNetsimArgs [] = "netsim_args" |
| static constexpr char | kExtraKernelCmdline [] = "extra_kernel_cmdline" |
| static constexpr char | kVirtioMac80211Hwsim [] = "virtio_mac80211_hwsim" |
| static constexpr char | kApRootfsImage [] = "ap_rootfs_image" |
| static constexpr char | kApKernelImage [] = "ap_kernel_image" |
| static constexpr char | kRootcanalArgs [] = "rootcanal_args" |
| static constexpr char | kRootcanalHciPort [] = "rootcanal_hci_port" |
| static constexpr char | kRootcanalLinkPort [] = "rootcanal_link_port" |
| static constexpr char | kRootcanalLinkBlePort [] = "rootcanal_link_ble_port" |
| static constexpr char | kRootcanalTestPort [] = "rootcanal_test_port" |
| static constexpr char | kSnapshotPath [] = "snapshot_path" |
| static constexpr char | kKvmPath [] = "kvm_path" |
| static constexpr char | kVhostVsockPath [] = "vhost_vsock_path" |
| static constexpr char | kStracedExecutables [] = "straced_host_executables" |
| static constexpr char | kInstancesUdsDir [] = "instances_uds_dir" |
| static constexpr char | kEnvironmentsUdsDir [] = "environments_uds_dir" |
| static constexpr char | kInstanceNames [] = "instance_names" |
| static constexpr char | kEnableWifi [] = "enable_wifi" |
| static constexpr char | kStartWmediumd [] = "start_wmediumd" |
| static constexpr char | kVhostUserMac80211Hwsim [] = "vhost_user_mac80211_hwsim" |
| static constexpr char | kWmediumdApiServerSocket [] = "wmediumd_api_server_socket" |
| static constexpr char | kWmediumdConfig [] = "wmediumd_config" |
| static constexpr char | kWmediumdMacPrefix [] = "wmediumd_mac_prefix" |
| static constexpr char | kGroupUuid [] = "group_uuid" |
| static constexpr char | kInstanceDir [] = "instance_dir" |
| static constexpr char | kImagesDir [] = "images_dir" |
| static constexpr char | kInitBootImage [] = "init_boot_image" |
| static constexpr char | kDataImage [] = "data_image" |
| static constexpr char | kNewDataImage [] = "new_data_image" |
| static constexpr char | kSuperImage [] = "super_image" |
| static constexpr char | kNewSuperImage [] = "new_super_image" |
| static constexpr char | kVendorBootImage [] = "vendor_boot_image" |
| static constexpr char | kNewVendorBootImage [] = "new_vendor_boot_image" |
| static constexpr char | kVbmetaImage [] = "vbmeta_image" |
| static constexpr char | kNewVbmetaImage [] = "new_vbmeta_image" |
| static constexpr char | kVbmetaSystemImage [] = "vbmeta_system_image" |
| static constexpr char | kVbmetaVendorDlkmImage [] = "vbmeta_vendor_dlkm_image" |
| static constexpr char | kNewVbmetaVendorDlkmImage [] |
| static constexpr char | kVbmetaSystemDlkmImage [] = "vbmeta_system_dlkm_image" |
| static constexpr char | kNewVbmetaSystemDlkmImage [] |
| static constexpr char | kOtherosEspImage [] = "otheros_esp_image" |
| static constexpr char | kAndroidEfiLoader [] = "android_efi_loader" |
| static constexpr char | kChromeOsDisk [] = "chromeos_disk" |
| static constexpr char | kChromeOsKernelPath [] = "chromeos_kernel_path" |
| static constexpr char | kChromeOsRootImage [] = "chromeos_root_image" |
| static constexpr char | kLinuxKernelPath [] = "linux_kernel_path" |
| static constexpr char | kLinuxInitramfsPath [] = "linux_initramfs_path" |
| static constexpr char | kLinuxRootImage [] = "linux_root_image" |
| static constexpr char | kFuchsiaZedbootPath [] = "fuchsia_zedboot_path" |
| static constexpr char | kFuchsiaMultibootBinPath [] = "multiboot_bin_path" |
| static constexpr char | kFuchsiaRootImage [] = "fuchsia_root_image" |
| static constexpr char | kCustomPartitionPath [] = "custom_partition_path" |
| static constexpr char | kBlankSdcardImageMb [] = "blank_sdcard_image_mb" |
| static constexpr char | kBootloader [] = "bootloader" |
| static constexpr char | kInitramfsPath [] = "initramfs_path" |
| static constexpr char | kKernelPath [] = "kernel_path" |
| static constexpr char | kVvmtruststorePath [] = "vvmtruststore_path" |
| static constexpr char | kDefaultTargetZip [] = "default_target_zip" |
| static constexpr char | kSystemTargetZip [] = "system_target_zip" |
| static constexpr char | kSerialNumber [] = "serial_number" |
| static constexpr char | kVirtualDiskPaths [] = "virtual_disk_paths" |
| static constexpr char | kGuestAndroidVersion [] = "guest_android_version" |
| static constexpr char | kBootconfigSupported [] = "bootconfig_supported" |
| static constexpr char | kFilenameEncryptionMode [] = "filename_encryption_mode" |
| static constexpr char | kExternalNetworkMode [] = "external_network_mode" |
| static constexpr char | kGnssGrpcProxyServerPort [] |
| static constexpr char | kGnssFilePath [] = "gnss_file_path" |
| static constexpr char | kFixedLocationFilePath [] = "fixed_location_file_path" |
| static constexpr char | kGem5BinaryDir [] = "gem5_binary_dir" |
| static constexpr char | kGem5CheckpointDir [] = "gem5_checkpoint_dir" |
| static constexpr char | kKgdb [] = "kgdb" |
| static constexpr char | kCpus [] = "cpus" |
| static constexpr char | kVcpuInfo [] = "vcpu_config_path" |
| static constexpr char | kDataPolicy [] = "data_policy" |
| static constexpr char | kBlankDataImageMb [] = "blank_data_image_mb" |
| static constexpr char | kGdbPort [] = "gdb_port" |
| static constexpr char | kMemoryMb [] = "memory_mb" |
| static constexpr char | kDdrMemMb [] = "ddr_mem_mb" |
| static constexpr char | kSetupWizardMode [] = "setupwizard_mode" |
| static constexpr char | kUserdataFormat [] = "userdata_format" |
| static constexpr char | kGuestEnforceSecurity [] = "guest_enforce_security" |
| static constexpr char | kUseSdcard [] = "use_sdcard" |
| static constexpr char | kPauseInBootloader [] = "pause_in_bootloader" |
| static constexpr char | kRunAsDaemon [] = "run_as_daemon" |
| static constexpr char | kEnableMinimalMode [] = "enable_minimal_mode" |
| static constexpr char | kRunModemSimulator [] = "enable_modem_simulator" |
| static constexpr char | kModemSimulatorInstanceNumber [] |
| static constexpr char | kModemSimulatorSimType [] = "modem_simulator_sim_type" |
| static constexpr char | kGpuMode [] = "gpu_mode" |
| static constexpr char | kGpuModeCandidates [] = "gpu_mode_candidates" |
| static constexpr char | kGpuAngleFeatureOverridesEnabled [] |
| static constexpr char | kGpuAngleFeatureOverridesDisabled [] |
| static constexpr char | kGpuCaptureBinary [] = "gpu_capture_binary" |
| static constexpr char | kGpuGfxstreamTransport [] = "gpu_gfxstream_transport" |
| static constexpr char | kGpuRendererFeatures [] = "gpu_renderer_features" |
| static constexpr char | kGpuContextTypes [] = "gpu_context_types" |
| static constexpr char | kGuestHwuiRenderer [] = "guest_hwui_renderer" |
| static constexpr char | kGuestRendererPreload [] = "guest_renderer_preload" |
| static constexpr char | kVulkanDriver [] = "guest_vulkan_driver" |
| static constexpr char | kGuestUsesBgraFramebuffers [] |
| static constexpr char | kRestartSubprocesses [] = "restart_subprocesses" |
| static constexpr char | kHWComposer [] = "hwcomposer" |
| static constexpr char | kEnableGpuUdmabuf [] = "enable_gpu_udmabuf" |
| static constexpr char | kEnableGpuVhostUser [] = "enable_gpu_vhost_user" |
| static constexpr char | kEnableGpuExternalBlob [] = "enable_gpu_external_blob" |
| static constexpr char | kEnableGpuSystemBlob [] = "enable_gpu_system_blob" |
| static constexpr char | kHasVulkanGfxstreamApex [] = "has_vulkan_gfxstream_apex" |
| static constexpr char | kHasVulkanLavapipeApex [] = "has_vulkan_lavapipe_apex" |
| static constexpr char | kHasVulkanSwiftshaderApex [] |
| static constexpr char | kEnableAudio [] = "enable_audio" |
| static constexpr char | kEnableMouse [] = "enable_mouse" |
| static constexpr char | kEnableGamepad [] = "enable_gamepad" |
| static constexpr char | kCustomKeyboardConfig [] = "custom_keyboard_config" |
| static constexpr char | kDomkeyMappingConfig [] = "domkey_mapping_config" |
| static constexpr char | kEnableGnssGrpcProxy [] = "enable_gnss_grpc_proxy" |
| static constexpr char | kEnableBootAnimation [] = "enable_bootanimation" |
| static constexpr char | kEnableUsb [] = "enable_usb" |
| static constexpr char | kExtraBootconfigArgsInstanced [] = "extra_bootconfig_args" |
| static constexpr char | kRecordScreen [] = "record_screen" |
| static constexpr char | kGem5DebugFile [] = "gem5_debug_file" |
| static constexpr char | kMte [] = "mte" |
| static constexpr char | kEnableKernelLog [] = "enable_kernel_log" |
| static constexpr char | kBootSlot [] = "boot_slot" |
| static constexpr char | kFailFast [] = "fail_fast" |
| static constexpr char | kVhostUserBlock [] = "vhost_user_block" |
| static constexpr char | kTi50 [] = "ti50" |
| static constexpr char | kEnableJcardSimulator [] = "enable_jcard_simulator" |
| static constexpr char | kWebRTCAssetsDir [] = "webrtc_assets_dir" |
| static constexpr char | kWebrtcTcpPortRange [] = "webrtc_tcp_port_range" |
| static constexpr char | kWebrtcUdpPortRange [] = "webrtc_udp_port_range" |
| static constexpr char | kGrpcConfig [] = "grpc_config" |
| static constexpr char | kSmt [] = "smt" |
| static constexpr char | kCrosvmBinary [] = "crosvm_binary" |
| static constexpr char | kSeccompPolicyDir [] = "seccomp_policy_dir" |
| static constexpr char | kQemuBinaryDir [] = "qemu_binary_dir" |
| static constexpr char | kVhostNet [] = "vhost_net" |
| static constexpr char | kOpenThreadNodeId [] = "openthread_node_id" |
| static constexpr char | kVhostUserVsock [] = "vhost_user_vsock" |
| static constexpr char | kRilDns [] = "ril_dns" |
| static constexpr char | kRilIpaddr [] = "ril_ipaddr" |
| static constexpr char | kRilGateway [] = "ril_gateway" |
| static constexpr char | kRilBroadcast [] = "ril_broadcast" |
| static constexpr char | kRilPrefixlen [] = "ril_prefixlen" |
| static constexpr char | kDisplayConfigs [] = "display_configs" |
| static constexpr char | kXRes [] = "x_res" |
| static constexpr char | kYRes [] = "y_res" |
| static constexpr char | kDpi [] = "dpi" |
| static constexpr char | kRefreshRateHz [] = "refresh_rate_hz" |
| static constexpr char | kOverlays [] = "overlays" |
| static constexpr char | kTouchpadConfigs [] = "touchpad_configs" |
| static constexpr char | kTargetArch [] = "target_arch" |
| static constexpr char | kDeviceType [] = "device_type" |
| static constexpr char | kEnableSandbox [] = "enable_sandbox" |
| static constexpr char | kEnableVirtiofs [] = "enable_virtiofs" |
| static constexpr char | kConsole [] = "console" |
| static constexpr char | kModemSimulatorPorts [] = "modem_simulator_ports" |
| static constexpr char | kEnableModemNetsim [] = "enable_modem_netsim" |
| static constexpr char | kMobileBridgeName [] = "mobile_bridge_name" |
| static constexpr char | kMobileTapName [] = "mobile_tap_name" |
| static constexpr char | kMobileMac [] = "mobile_mac" |
| static constexpr char | kWifiTapName [] = "wifi_tap_name" |
| static constexpr char | kHasWifi [] = "has_wifi_card" |
| static constexpr char | kWifiBridgeName [] = "wifi_bridge_name" |
| static constexpr char | kWifiMac [] = "wifi_mac" |
| static constexpr char | kUseBridgedWifiTap [] = "use_bridged_wifi_tap" |
| static constexpr char | kEthernetTapName [] = "ethernet_tap_name" |
| static constexpr char | kEthernetBridgeName [] = "ethernet_bridge_name" |
| static constexpr char | kEthernetMac [] = "ethernet_mac" |
| static constexpr char | kEthernetIPV6 [] = "ethernet_ipv6" |
| static constexpr char | kHasBluetooth [] = "has_bluetooth" |
| static constexpr char | kRequiresHostBluetoothConnector [] |
| static constexpr char | kEnableHostUwbConnector [] = "enable_host_uwb_connector" |
| static constexpr char | kUseCvdalloc [] = "use_cvdalloc" |
| static constexpr char | kSessionId [] = "session_id" |
| static constexpr char | kVsockGuestCid [] = "vsock_guest_cid" |
| static constexpr char | kVsockGuestGroup [] = "vsock_guest_group" |
| static constexpr char | kUuid [] = "uuid" |
| static constexpr char | kEnvironmentName [] = "environment_name" |
| static constexpr char | kHostPort [] = "adb_host_port" |
| static constexpr char | kFastbootHostPort [] = "fastboot_host_port" |
| static constexpr char | kModemSimulatorId [] = "modem_simulator_host_id" |
| static constexpr char | kAdbIPAndPort [] = "adb_ip_and_port" |
| static constexpr char | kQemuVncServerPort [] = "qemu_vnc_server_port" |
| static constexpr char | kTombstoneReceiverPort [] = "tombstone_receiver_port" |
| static constexpr char | kAudioControlServerPort [] = "audiocontrol_server_port" |
| static constexpr char | kLightsServerPort [] = "lights_server_port" |
| static constexpr char | kCameraServerPort [] = "camera_server_port" |
| static constexpr char | kWebrtcDeviceId [] = "webrtc_device_id" |
| static constexpr char | kStartRootcanal [] = "start_rootcanal" |
| static constexpr char | kStartCasimir [] = "start_casimir" |
| static constexpr char | kStartPica [] = "start_pica" |
| static constexpr char | kStartNetsim [] = "start_netsim" |
| static constexpr char | kStartWmediumdInstance [] = "start_wmediumd_instance" |
| static constexpr char | kMcu [] = "mcu" |
| static constexpr char | kApBootFlow [] = "ap_boot_flow" |
| static constexpr char | kCrosvmUseBalloon [] = "crosvm_use_balloon" |
| static constexpr char | kCrosvmUseRng [] = "crosvm_use_rng" |
| static constexpr char | kCrosvmSimpleMediaDevice [] = "crosvm_simple_media_device" |
| static constexpr char | kCrosvmV4l2Proxy [] = "crosvm_v4l2_proxy" |
| static constexpr char | kCrosvmUsePmem [] = "use_pmem" |
| static constexpr char | kEnablePkvm [] = "enable_pkvm" |
| static constexpr char | kCrosvmAcpiTable [] = "crosvm_acpi_table" |
| static constexpr char | kCrosvmDeviceTreeOverlay [] = "crosvm_device_tree_overlay" |
| static constexpr char | kCrosvmFileBackedMapping [] = "crosvm_file_backed_mapping" |
| static constexpr char | kEnableTapDevices [] = "enable_tap_devices" |
| static constexpr char | kFrameSockPath [] = "frame_sock_path" |
| static constexpr char | kWifiMacPrefix [] = "wifi_mac_prefix" |
| static constexpr char | kEnableVhalProxyServer [] = "enable_vhal_proxy_server" |
| static constexpr char | kVhalProxyServerPort [] = "vhal_proxy_server_port" |
| static constexpr char | kAudioOutputStreamsCount [] = "audio_output_streams_count" |
| static constexpr char | kAudioSettingsTextProto [] = "audio_settings_textproto" |
| static constexpr char | kMediaConfigs [] = "media_configs" |
| static constexpr char | kMediaType [] = "type" |
| static constexpr char | kMediaLensFacing [] = "lens_facing" |
| static constexpr char | kMediaInputPath [] = "input_path" |
| static constexpr char | kMediaInputWidth [] = "input_width" |
| static constexpr char | kMediaInputHeight [] = "input_height" |
| static constexpr char | kMediaInputFps [] = "input_fps" |
| constexpr const char | kDisplayFlag [] = "display" |
| constexpr const char | kDisplayHelp [] |
| static constexpr char | kBootSrcPathX64 [] |
| static constexpr char | kBootDestPathX64 [] = "/EFI/BOOT/BOOTX64.EFI" |
| static constexpr char | kBootSrcPathAA64 [] |
| static constexpr char | kBootDestPathAA64 [] = "/EFI/BOOT/BOOTAA64.EFI" |
| static constexpr char | kBootDestPathRiscV64 [] = "/EFI/BOOT/BOOTRISCV64.EFI" |
| static constexpr char | kMultibootModuleSrcPathX64 [] |
| static constexpr char | kMultibootModuleSrcPathAA64 [] |
| static constexpr char | kMultibootModuleDestPath [] = "/EFI/modules/multiboot.mod" |
| static constexpr char | kKernelDestPath [] = "/vmlinuz" |
| static constexpr char | kInitrdDestPath [] = "/initrd" |
| static constexpr char | kZedbootDestPath [] = "/zedboot.zbi" |
| static constexpr char | kMultibootBinDestPath [] = "/multiboot.bin" |
| static constexpr char | kGrubDebianConfigDestPath [] = "/EFI/debian/grub.cfg" |
| static constexpr char | kGrubUbuntuConfigDestPath [] = "/EFI/ubuntu/grub.cfg" |
| static constexpr char | kGrubConfigDestDirectoryPath [] = "/boot/grub" |
| static constexpr char | kGrubConfigDestPath [] = "/boot/grub/grub.cfg" |
| static constexpr std::array | kGrubModules |
| static constexpr char | kGrubModulesPath [] = "/usr/lib/grub" |
| static constexpr char | kGrubModulesX64Name [] = "x86_64-efi" |
| static constexpr std::string_view | kFetcherConfigFile = "fetcher_config.json" |
| constexpr std::string_view | kGpuModeAuto = "auto" |
| constexpr std::string_view | kGpuModeCustom = "custom" |
| constexpr std::string_view | kGpuModeDrmVirgl = "drm_virgl" |
| constexpr std::string_view | kGpuModeGfxstream = "gfxstream" |
| constexpr std::string_view | kGpuModeGfxstreamGuestAngle |
| constexpr std::string_view | kGpuModeGfxstreamGuestAngleHostLavapipe |
| constexpr std::string_view | kGpuModeGfxstreamGuestAngleHostSwiftshader |
| constexpr std::string_view | kGpuModeGuestLavapipe = "guest_lavapipe" |
| constexpr std::string_view | kGpuModeGuestSwiftshader |
| constexpr std::string_view | kGpuModeNone = "none" |
| static constexpr char | kMediaTypeV4l2EmulatedCameraSPlane [] |
| static constexpr char | kMediaTypeV4l2EmulatedCameraMPlane [] |
| static constexpr char | kMediaTypeV4l2Proxy [] = "v4l2_proxy" |
| static constexpr char | kMediaTypeV4l2Stream [] = "v4l2_stream_proxy" |
| constexpr const char | kMediaFlag [] = "media" |
| constexpr const char | kMediaHelp [] |
| static constexpr uint8_t | kPadValue = 0xff |
| static constexpr uint32_t | kCrcSize = sizeof(uint32_t) |
| static constexpr size_t | kNullPadLength = 1 |
| constexpr const char | kTouchpadFlag [] = "touchpad" |
| constexpr const char | kTouchpadHelp [] |
| constexpr int | GPT_NUM_PARTITIONS = 128 |
| constexpr int | kSectorSizeShift = 9 |
| constexpr int | kSectorSize = 1 << kSectorSizeShift |
| constexpr char | kLogNameAssembleCvd [] = "assemble_cvd.log" |
| constexpr char | kLogNameBuildInfo [] = "build_info.log" |
| constexpr char | kLogNameCrosvmOpenWrt [] = "crosvm_openwrt.log" |
| constexpr char | kLogNameCrosvmOpenWrtBoot [] = "crosvm_openwrt_boot.log" |
| constexpr char | kLogNameFetch [] = "fetch.log" |
| constexpr char | kLogNameKernel [] = "kernel.log" |
| constexpr char | kLogNameLauncher [] = "launcher.log" |
| constexpr char | kLogNameLogcat [] = "logcat" |
| constexpr char | kLogNameMetrics [] = "metrics.log" |
| constexpr char | kLogNameMetricsV2 [] = "metrics_v2.log" |
| constexpr char | kLogNameModemSimulator [] = "modem_simulator.log" |
| constexpr SafeLevel | kAllSafeLevels [] |
| constexpr char | kAndroidBuildServiceUrl [] |
| constexpr char | kKeyDownloaderPath [] = "downloader-path" |
| constexpr char | kKeyFlags [] = "flags" |
| constexpr char | kFlagDigest [] = "digest" |
| constexpr char | kFlagDir [] = "dir" |
| constexpr char | kFlagDumpJson [] = "dump-json" |
| constexpr char | kFlagDisableCache [] = "disable-cache" |
| constexpr char | kFlagCasInstance [] = "cas-instance" |
| constexpr char | kFlagCasAddr [] = "cas-addr" |
| constexpr char | kFlagServiceAccountJson [] = "service-account-json" |
| constexpr char | kFlagUseAdc [] = "use-adc" |
| constexpr int | kDefaultMemoryLimit = 0 |
| constexpr int | kDefaultCasConcurrency = 500 |
| constexpr int | kDefaultRpcTimeout = 120 |
| constexpr int | kDefaultGetCapabilitiesTimeout = 5 |
| constexpr int | kDefaultGetTreeTimeout = 5 |
| constexpr int | kDefaultBatchReadBlobsTimeout = 180 |
| constexpr int | kDefaultBatchUpdateBlobsTimeout = 60 |
| constexpr int64_t | kMinCacheMaxSize = 8LL * 1024 * 1024 * 1024 |
| constexpr const char | kDefaultCasConfigFilePath [] |
| constexpr const char | kDefaultDownloaderPath [] = "/usr/bin/casdownloader" |
| static constexpr size_t | kBufferSize = 1 << 26 |
| static constexpr size_t | kMinReadSize = 1 << 26 |
| constexpr uint32_t | kLz4LegacyFrameBlockSize = 8 << 20 |
| constexpr char | kTransmitterPath [] |
| constexpr std::string_view | kClearcutLocal = "local" |
| constexpr std::string_view | kClearcutStaging = "staging" |
| constexpr std::string_view | kClearcutProduction = "production" |
| static constexpr char | kProcDir [] = "/proc" |
Classes to to enable safe access to files. POSIX kernels have an unfortunate habit of recycling file descriptors. That can cause problems like http://b/26121457 in code that doesn't manage file lifetimes properly. These classes implement an alternate interface that has some advantages:
o References to files are tightly controlled o Files are auto-closed if they go out of scope o Files are life-time aware. It is impossible to close the instance twice. o File descriptors are always initialized. By default the descriptor is set to a closed instance.
These classes are designed to mimic to POSIX interface as closely as possible. Specifically, they don't attempt to track the type of file descriptors and expose only the valid operations. This is by design, since it makes it easier to convert existing code to SharedFDs and avoids the possibility that new POSIX functionality will lead to large refactorings.
ConfUiUserSelectionMessage with a security flag
Inputs generated by something that belong to (virtualized) TEE is regarded as secure. Otherwise (e.g. inputs generated by the guest calling deliverSecureInputEvent), it is regarded as insecure.
The host marks the security field, and use it internally and exclusively.
Functions for manipulating disk files given to crosvm or QEMU.
| using cuttlefish::AutoCmd = typedef GenericCommandImpl<Fn, decltype(Fn)> |
| using cuttlefish::AutoDiagnostic = typedef DiagnosticInformationFnImpl<Fn, decltype(Fn)> |
| using cuttlefish::AutoSensorsSocketPair = typedef AutoSetup<SensorsSocketPair::Create> |
| using cuttlefish::AutoSetup = typedef GenericSetupImpl<Fn, decltype(Fn)> |
| using cuttlefish::AutoSnapshotControlFiles = typedef AutoSetup<SnapshotControlFiles::Create> |
| using cuttlefish::Build = typedef std::variant<DeviceBuild, DirectoryBuild> |
| using cuttlefish::BuildString = typedef std::variant<DeviceBuildString, DirectoryBuildString> |
| using cuttlefish::ChromeOsBuildString = typedef std::variant<ChromeOsBuilder, std::string> |
| using cuttlefish::CvdServerClock = typedef std::chrono::system_clock |
| using cuttlefish::DigestsFetcher = typedef std::function<Result<std::string>(std::string)> |
| using cuttlefish::Environment = typedef std::variant<GceEnvironment, GitHubRepository, UnknownEnvironment> |
| using cuttlefish::f_func = typedef std::function<void(const Client&)> |
| using cuttlefish::FetchInput = typedef std::variant<FetchFlags, FetchResult> |
| using cuttlefish::FetchMetrics = typedef std::variant<FetchStartMetrics, FetchCompleteMetrics, FetchFailedMetrics> |
| using cuttlefish::GenerateProcessedFrameCallbackImpl = typedef std::function<void(uint32_t , uint32_t , uint32_t , uint32_t , uint32_t , uint8_t* )> |
| using cuttlefish::InterruptListener = typedef std::function<void(int)> |
| using cuttlefish::ManagedZip = typedef std::unique_ptr<zip_t, ZipDeleter> |
| using cuttlefish::ManagedZipError = typedef std::unique_ptr<zip_error_t, ZipDeleter> |
| using cuttlefish::ManagedZipSource = typedef std::unique_ptr<zip_source_t, ZipDeleter> |
| using cuttlefish::MiscInfo = typedef std::map<std::string, std::string, std::less<void> > |
| using cuttlefish::NvencEncoderHandle = typedef std::unique_ptr<void, NvencEncoderDeleter> |
| using cuttlefish::OnConsumedCb = typedef std::function<void(AudioStatus, uint32_t , uint32_t )> |
| using cuttlefish::p_func = typedef std::function<void(const Client&, std::string&)> |
| using cuttlefish::PsRow = typedef std::map<PsColumns, std::string> |
| using cuttlefish::Result = typedef tl::expected<T, StackTraceError> |
Result is comparable to std::expected in C++23, or Rust's Result type, but specialized to use a specific error type. The error type tracks a stack trace of the failure that is built as a failure unrolls the call stack.
| using cuttlefish::SerializeTpmKeyPrivate = typedef TpmSerializable<TPM2B_PRIVATE> |
| using cuttlefish::SerializeTpmKeyPublic = typedef TpmSerializable<TPM2B_PUBLIC> |
| using cuttlefish::SubprocessStopper = typedef std::function<StopperResult(Subprocess*)> |
| using cuttlefish::TimeStamp = typedef std::chrono::time_point<CvdServerClock> |
| using cuttlefish::TpmObjectSlot = typedef std::shared_ptr<TpmResourceManager::ObjectSlot> |
| using cuttlefish::TxBuffer = typedef ShmBuffer |
| using cuttlefish::UniqueEsysPtr = typedef std::unique_ptr<T, EsysDeleter> |
| using cuttlefish::WalkDirectoryCallback = typedef std::function<Result<void>(const std::string&)> |
|
strong |
|
strong |
|
strong |
| enum cuttlefish::AudioChannelMap : uint8_t |
|
strong |
|
strong |
| enum cuttlefish::AudioControlAccess : uint8_t |
|
strong |
|
strong |
| enum cuttlefish::AudioJackFeatures : uint8_t |
|
strong |
|
strong |
|
strong |
| enum cuttlefish::AudioStreamRate : uint8_t |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
When a file is downloaded from cvd fetch, this is the "reason" the file is downloaded. More specifically, whether it corresponds to the --default_build argument, the --system_build argument, --kernel_build, et cetera.
Order in enum is not guaranteed to be stable, serialized as a string.
| Enumerator | |
|---|---|
| UNKNOWN_PURPOSE | |
| DEFAULT_BUILD | |
| SYSTEM_BUILD | |
| KERNEL_BUILD | |
| LOCAL_FILE | |
| GENERATED | |
| BOOTLOADER_BUILD | |
| ANDROID_EFI_LOADER_BUILD | |
| BOOT_BUILD | |
| HOST_PACKAGE_BUILD | |
| CHROME_OS_BUILD | |
| TEST_SUITES_BUILD | |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
| enum cuttlefish::ModemServiceType : int |
| enum cuttlefish::ModemSimulatorExitCodes : int |
|
strong |
|
strong |
| enum cuttlefish::RunnerExitCodes : int |
|
strong |
|
strong |
|
strong |
| enum cuttlefish::SnapshotSocketMessage : uint8_t |
|
strong |
|
strong |
|
strong |
|
strong |
| struct cuttlefish::__attribute__ | ( | (__packed__) | ) |
| struct cuttlefish::__attribute__ | ( | (packed) | ) |
| void cuttlefish::AbslStringify | ( | Sink & | sink, |
| Arch | arch | ||
| ) |
| void cuttlefish::AbslStringify | ( | Sink & | sink, |
| DeviceType | device_type | ||
| ) |
| void cuttlefish::AbslStringify | ( | Sink & | sink, |
| FakeAndroidBuild::ImageStatus | image_status | ||
| ) |
| void cuttlefish::AbslStringify | ( | Sink & | sink, |
| FileSource | file_source | ||
| ) |
| void cuttlefish::AbslStringify | ( | Sink & | sink, |
| GpuMode | mode | ||
| ) |
| void cuttlefish::AbslStringify | ( | Sink & | sink, |
| SafeLevel | level | ||
| ) |
| std::string cuttlefish::AbsolutePath | ( | std::string_view | path | ) |
| std::string cuttlefish::AccessKregistryPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| fruit::Component< AdbConfig > cuttlefish::AdbConfigComponent | ( | ) |
| fruit::Component< fruit::Required< AdbConfig, ConfigFlag >, AdbConfigFlag > cuttlefish::AdbConfigFlagComponent | ( | ) |
| fruit::Component< fruit::Required< AdbConfig >, AdbConfigFragment > cuttlefish::AdbConfigFragmentComponent | ( | ) |
| std::string cuttlefish::AdbConnectorBinary | ( | ) |
| int cuttlefish::AdbConnectorMain | ( | int | argc, |
| char * | argv[] | ||
| ) |
| std::string cuttlefish::AdbModeToString | ( | AdbMode | mode | ) |
| Result< void > cuttlefish::AddFile | ( | WritableZip & | zip, |
| const std::string & | fs_path | ||
| ) |
| Result< void > cuttlefish::AddFileAt | ( | WritableZip & | zip, |
| const std::string & | fs_path, | ||
| const std::string & | zip_path | ||
| ) |
| Result< void > cuttlefish::AddGateway | ( | std::string_view | name, |
| std::string_view | gateway, | ||
| std::string_view | netmask | ||
| ) |
| EspBuilder cuttlefish::AddGrubConfig | ( | const std::string & | config | ) |
| Result< void > cuttlefish::AddStringAt | ( | WritableZip & | zip, |
| const std::string & | data, | ||
| const std::string & | zip_path | ||
| ) |
| Result< void > cuttlefish::AddTapIface | ( | std::string_view | name | ) |
| Result< void > cuttlefish::AggregateImage | ( | const std::vector< ImagePartition > & | partitions, |
| const std::string & | output_path | ||
| ) |
Combine the files in partition into a single raw disk file and write it to output_path. The raw disk file will have a GUID Partition Table and copy in the contents of the files mentioned in partitions.
| uint64_t cuttlefish::AlignToPartitionSize | ( | uint64_t | size | ) |
|
constexpr |
| std::optional< IfaceConfig > cuttlefish::AllocateNetworkInterfaces | ( | ) |
| void cuttlefish::alpha_blend_layer | ( | uint8_t * | frame_pixels, |
| uint32_t | h, | ||
| uint32_t | w, | ||
| uint8_t * | overlay | ||
| ) |
| Result< std::unique_ptr< AndroidBuild > > cuttlefish::AndroidBuildFromMiscInfo | ( | std::map< std::string, std::string, std::less< void > > | ) |
Reports partition information from the key-value pairs in a misc_info.txt file.
Although misc_info.txt does not contain any image files, it does have a complete list of the logical partitions that are intended to be present in a complete super.img file, as well as the division between "system" and "vendor" side logical partitions.
| Result< std::vector< ImagePartition > > cuttlefish::AndroidCompositeDiskConfig | ( | const CuttlefishConfig::InstanceSpecific & | instance, |
| const std::vector< std::unique_ptr< ImageFile > > & | image_files, | ||
| AndroidBuild & | android_build, | ||
| const SystemImageDirFlag & | system_image_dir | ||
| ) |
| Result< std::unique_ptr< AndroidBuild > > cuttlefish::AndroidDistBuild | ( | const std::string & | product_dir | ) |
| Result< std::string > cuttlefish::AndroidHostPath | ( | const std::unordered_map< std::string, std::string > & | envs | ) |
| Result< std::unique_ptr< AndroidBuild > > cuttlefish::AndroidProductDir | ( | std::string | path | ) |
| std::string cuttlefish::AnsiCursorUp | ( | int | n | ) |
| DiskBuilder cuttlefish::ApCompositeDiskBuilder | ( | const CuttlefishConfig & | config, |
| const CuttlefishConfig::InstanceSpecific & | instance | ||
| ) |
| void cuttlefish::AppendBuildInfoToInvocationId | ( | const DeviceBuild & | build, |
| std::vector< std::string > & | cas_flags | ||
| ) |
| std::vector< std::string > cuttlefish::ArchiveContents | ( | const std::string & | archive | ) |
| std::string_view cuttlefish::ArchToStringView | ( | Arch | arch | ) |
| Result< bool > cuttlefish::AreHardLinked | ( | const std::string & | source, |
| const std::string & | destination | ||
| ) |
| bool cuttlefish::AreMetricsEnabled | ( | ) |
| Result< T > cuttlefish::As | ( | const Json::Value & | v | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| Result< int > cuttlefish::AssembleCvdMain | ( | int | argc, |
| char ** | argv | ||
| ) |
| std::string cuttlefish::AssemblyDirFromHome | ( | const std::string & | group_home_dir | ) |
| cuttlefish::ASSERT_VALID_MSG_TYPE | ( | IoStatusMsg | , |
| 16 | |||
| ) |
| cuttlefish::ASSERT_VALID_MSG_TYPE | ( | IoTransferMsg | , |
| 12 | |||
| ) |
| cuttlefish::ASSERT_VALID_MSG_TYPE | ( | virtio_snd_chmap_info | , |
| 24 | |||
| ) |
| cuttlefish::ASSERT_VALID_MSG_TYPE | ( | virtio_snd_ctl_hdr | , |
| 8 | |||
| ) |
| cuttlefish::ASSERT_VALID_MSG_TYPE | ( | virtio_snd_ctl_info | , |
| 96 | |||
| ) |
| cuttlefish::ASSERT_VALID_MSG_TYPE | ( | virtio_snd_ctl_value | , |
| 512 | |||
| ) |
| cuttlefish::ASSERT_VALID_MSG_TYPE | ( | virtio_snd_jack_info | , |
| 24 | |||
| ) |
| cuttlefish::ASSERT_VALID_MSG_TYPE | ( | virtio_snd_pcm_hdr | , |
| 8 | |||
| ) |
| cuttlefish::ASSERT_VALID_MSG_TYPE | ( | virtio_snd_pcm_info | , |
| 32 | |||
| ) |
| cuttlefish::ASSERT_VALID_MSG_TYPE | ( | virtio_snd_pcm_set_params | , |
| 24 | |||
| ) |
| cuttlefish::ASSERT_VALID_MSG_TYPE | ( | virtio_snd_query_info | , |
| 16 | |||
| ) |
|
static |
| std::string cuttlefish::AutomotiveProxyBinary | ( | ) |
| std::optional< MonitorCommand > cuttlefish::AutomotiveProxyService | ( | const CuttlefishConfig & | config | ) |
| FetcherConfig cuttlefish::AvailableFilesReport | ( | ) |
| std::string cuttlefish::AvbToolBinary | ( | ) |
| int cuttlefish::BeginElevatedPrivileges | ( | ) |
| Result< std::optional< MonitorCommand > > cuttlefish::BluetoothConnector | ( | const CuttlefishConfig & | config, |
| const CuttlefishConfig::InstanceSpecific & | instance | ||
| ) |
| Result< FromGflags< bool > > cuttlefish::BoolFromGlobalGflags | ( | const gflags::CommandLineFlagInfo & | flag_info, |
| const std::string & | flag_name | ||
| ) |
| Result< FromGflags< bool > > cuttlefish::BoolFromGlobalGflags | ( | const gflags::CommandLineFlagInfo & | flag_info, |
| const std::string & | flag_name, | ||
| bool | default_value | ||
| ) |
|
static |
| Result< std::unordered_map< std::string, std::string > > cuttlefish::BootconfigArgsFromConfig | ( | const CuttlefishConfig & | config, |
| const CuttlefishConfig::InstanceSpecific & | instance, | ||
| const std::map< std::string, std::string, std::less< void > > | builtin_bootconfig_args | ||
| ) |
| Result< std::string > cuttlefish::BootconfigArgsString | ( | const std::unordered_map< std::string, std::string > & | args, |
| const std::string & | separator | ||
| ) |
| Result< void > cuttlefish::BootloaderPresentCheck | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| fruit::Component< fruit::Required< const CuttlefishConfig, KernelLogPipeProvider, const CuttlefishConfig::InstanceSpecific, const vm_manager::VmManager, AutoSetup< ValidateTapDevices >::Type > > cuttlefish::bootStateMachineComponent | ( | ) |
| Result< DeviceName > cuttlefish::BreakDeviceName | ( | const std::string & | device_name | ) |
| Result< bool > cuttlefish::BridgeExists | ( | std::string_view | name | ) |
| Result< bool > cuttlefish::BridgeInUse | ( | std::string_view | name | ) |
| Result< void > cuttlefish::BringUpIface | ( | std::string_view | name | ) |
| Result< SeekableZipSource > cuttlefish::BufferZipSource | ( | SeekableZipSource | source, |
| size_t | buffer_size | ||
| ) |
| Result< SeekableZipSource > cuttlefish::BufferZipSource | ( | std::unique_ptr< ReaderSeeker > | data_provider, |
| size_t | buffer_size | ||
| ) |
|
static |
| logs::proto::wireless::android::cuttlefish::CuttlefishLogEvent cuttlefish::BuildCuttlefishLogEvent | ( | const MetricsData & | metrics_data | ) |
| Result< void > cuttlefish::BuildDlkmImage | ( | const std::string & | src_dir, |
| const bool | is_erofs, | ||
| const std::string & | partition_name, | ||
| const std::string & | output_image | ||
| ) |
| Result< CvdFile > cuttlefish::BuildFetcherConfigMember | ( | FileSource | purpose, |
| std::string | build_id, | ||
| std::string | build_target, | ||
| std::string | path, | ||
| std::string | directory_prefix, | ||
| std::string | archive_source, | ||
| std::string | archive_path | ||
| ) |
| wireless_android_play_playlog::LogRequest cuttlefish::BuildLogRequest | ( | const std::string & | serialized_cf_log_event | ) |
|
static |
| Result< void > cuttlefish::BuildVbmetaImage | ( | const std::string & | vendor_dlkm_img, |
| const std::string & | vbmeta_path | ||
| ) |
| Result< SeekableZipSource > cuttlefish::CacheZipSource | ( | SeekableZipSource | inner, |
| std::string | file_path | ||
| ) |
| bool cuttlefish::CanAccess | ( | const std::string & | path, |
| const int | mode | ||
| ) |
| bool cuttlefish::CanGenerateGrubEsp | ( | Arch | arch | ) |
| Result< bool > cuttlefish::CanHardLink | ( | const std::string & | source, |
| const std::string & | destination | ||
| ) |
|
inline |
| bool cuttlefish::CanRunAutoLogin | ( | ) |
| Result< std::vector< MonitorCommand > > cuttlefish::Casimir | ( | const CuttlefishConfig & | config, |
| const CuttlefishConfig::EnvironmentSpecific & | environment, | ||
| const CuttlefishConfig::InstanceSpecific & | instance, | ||
| LogTeeCreator & | log_tee | ||
| ) |
| std::string cuttlefish::CasimirBinary | ( | ) |
| Result< std::optional< MonitorCommand > > cuttlefish::CasimirControlServer | ( | const CuttlefishConfig & | config, |
| const CuttlefishConfig::EnvironmentSpecific & | environment, | ||
| const CuttlefishConfig::InstanceSpecific & | instance, | ||
| GrpcSocketCreator & | grpc_socket | ||
| ) |
| std::string cuttlefish::CasimirControlServerBinary | ( | ) |
| Result< void > cuttlefish::ChangeGroup | ( | const std::string & | path, |
| const std::string & | group_name | ||
| ) |
| void cuttlefish::ChangeSignalHandlers | ( | void(*)(int) | handler, |
| std::vector< int > | signals | ||
| ) |
| Result< LogSeverity > cuttlefish::CharToLogSeverity | ( | char | severity | ) |
|
static |
| Result< void > cuttlefish::CheckProcessExitedNormally | ( | siginfo_t | infop, |
| int | expected_exit_code | ||
| ) |
| std::vector< ImagePartition > cuttlefish::ChromeOsCompositeDiskConfig | ( | const CuttlefishConfig::InstanceSpecific & | instance, |
| const ChromeOsStateImage & | chrome_os_state | ||
| ) |
| Result< void > cuttlefish::CleanPriorFiles | ( | const std::set< std::string > & | preserving, |
| const std::vector< std::string > & | clean_dirs | ||
| ) |
| void cuttlefish::CleanupBridgeGateway | ( | std::string_view | name, |
| std::string_view | ipaddr, | ||
| const GatewayConfig & | config | ||
| ) |
| void cuttlefish::CleanupEthernetIface | ( | std::string_view | name | ) |
| std::optional< std::vector< FlagInfo > > cuttlefish::CollectFlagsFromHelpxml | ( | const std::string & | xml_str | ) |
| Result< std::vector< pid_t > > cuttlefish::CollectPids | ( | const uid_t | uid | ) |
| Result< std::vector< pid_t > > cuttlefish::CollectPidsByArgv0 | ( | const std::string & | expected_argv0, |
| uid_t | uid = getuid() |
||
| ) |
When argv[0] != exec_path, collects PIDs based on argv[0]
| Result< std::vector< pid_t > > cuttlefish::CollectPidsByExecName | ( | const std::string & | exec_name, |
| const uid_t | uid | ||
| ) |
| Result< std::vector< pid_t > > cuttlefish::CollectPidsByExecPath | ( | const std::string & | exec_path, |
| const uid_t | uid | ||
| ) |
| Result< std::vector< GroupProcInfo > > cuttlefish::CollectRunCvdGroups | ( | ) |
| Result< std::vector< pid_t > > cuttlefish::CollectRunCvdProcesses | ( | ) |
| Result< std::string > cuttlefish::ColorKernelLine | ( | std::string_view | line | ) |
| Result< std::string > cuttlefish::ColorLauncherLine | ( | std::string_view | line | ) |
| Result< std::string > cuttlefish::ColorLogcatLine | ( | std::string_view | line | ) |
| Result< std::string > cuttlefish::ColorLogTeeLine | ( | std::string_view | line | ) |
| Result< std::unique_ptr< AndroidBuild > > cuttlefish::CombinedAndroidBuild | ( | std::string | name, |
| std::vector< std::unique_ptr< AndroidBuild > > | |||
| ) |
Combines information from multiple AndroidBuild instances.
Individual sources can implement parts of the API, and an instance of this class combines non-error results to provide as much information as possible to the caller.
Instances provided to this class are expected to be part of the same build and consistent with each other. Specifically, if files are from different build targets, have different build ids, or are built from different sources, they should not be combined with each other.
| fruit::Component< fruit::Required< SystemImageDirFlag >, ConfigFlag > cuttlefish::ConfigFlagComponent | ( | ) |
| fruit::Component< ConfigFlag > cuttlefish::ConfigFlagPlaceholder | ( | ) |
| Result< GpuMode > cuttlefish::ConfigureGpuSettings | ( | const gfxstream::proto::GraphicsAvailability & | graphics_availability, |
| GpuMode | gpu_mode_arg, | ||
| const std::string & | gpu_vhost_user_mode_arg, | ||
| const std::string & | gpu_renderer_features_arg, | ||
| std::string & | gpu_context_types_arg, | ||
| const std::string & | guest_hwui_renderer_arg, | ||
| const std::string & | guest_renderer_preload_arg, | ||
| VmmMode | vmm, | ||
| const GuestConfig & | guest_config, | ||
| CuttlefishConfig::MutableInstanceSpecific & | instance | ||
| ) |
| Result< void > cuttlefish::ConfigureNetworkSettings | ( | const std::string & | ril_dns_arg, |
| const CuttlefishConfig & | config, | ||
| const CuttlefishConfig::InstanceSpecific & | const_instance, | ||
| CuttlefishConfig::MutableInstanceSpecific & | instance | ||
| ) |
| Result< std::optional< MonitorCommand > > cuttlefish::ConsoleForwarder | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| std::string cuttlefish::ConsoleForwarderBinary | ( | ) |
| int cuttlefish::ConsoleForwarderMain | ( | int | argc, |
| char ** | argv | ||
| ) |
| std::string cuttlefish::ConsoleInfo | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| std::string cuttlefish::ConsoleInPipeName | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| std::string cuttlefish::ConsoleOutPipeName | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| std::string cuttlefish::ConsolePath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| std::string cuttlefish::ConsolePipePrefix | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| LogSeverity cuttlefish::ConsoleSeverity | ( | ) |
|
inline |
| Result< Command > cuttlefish::ConstructCommand | ( | const ConstructCommandParam & | param | ) |
| Result< Command > cuttlefish::ConstructCvdGenericNonHelpCommand | ( | const ConstructNonHelpForm & | request_form, |
| const CommandRequest & | request | ||
| ) |
| Result< Command > cuttlefish::ConstructCvdHelpCommand | ( | const std::string & | bin_file, |
| std::unordered_map< std::string, std::string > | envs, | ||
| const std::vector< std::string > & | subcmd_args, | ||
| const CommandRequest & | request | ||
| ) |
| Result< Command > cuttlefish::ConstructSiblingHelpCommand | ( | const std::string & | bin_name, |
| const std::unordered_map< std::string, std::string > & | env, | ||
| const std::vector< std::string > & | subcmd_args | ||
| ) |
| std::string cuttlefish::ConstructTargetFilepath | ( | const std::string & | directory, |
| const std::string & | filename | ||
| ) |
| Result< void > cuttlefish::ConsumeFlags | ( | const std::vector< Flag > & | flags, |
| std::vector< std::string > && | args, | ||
| ConsumeFlagsOpts | opts | ||
| ) |
| Result< void > cuttlefish::ConsumeFlags | ( | const std::vector< Flag > & | flags, |
| std::vector< std::string > & | args, | ||
| ConsumeFlagsOpts | opts | ||
| ) |
|
constexpr |
|
constexpr |
|
constexpr |
| std::string cuttlefish::ControlEnvProxyServerBinary | ( | ) |
| fruit::Component< fruit::Required< const CuttlefishConfig::InstanceSpecific, GrpcSocketCreator > > cuttlefish::ControlEnvProxyServerComponent | ( | ) |
| Result< void > cuttlefish::ControlLoop | ( | SharedFD | control_socket, |
| DisplayHandler & | display_handler, | ||
| RecordingManager & | recording_manager, | ||
| ScreenshotHandler & | screenshot_handler | ||
| ) |
| AudioChannelsLayout cuttlefish::ConvertChannelLayout | ( | ::cuttlefish::config::Audio_ChannelLayout | layout | ) |
| uint32_t cuttlefish::ConvertSampleRate | ( | ::cuttlefish::config::Audio_SampleRate | rate | ) |
| Result< SnapshotCmd > cuttlefish::ConvertToSnapshotCmd | ( | const std::string & | input | ) |
| Result< void > cuttlefish::Copy | ( | std::string_view | from, |
| std::string_view | to | ||
| ) |
| Result< void > cuttlefish::CopyDirectoryRecursively | ( | const std::string & | src_dir_path, |
| const std::string & | dest_dir_path, | ||
| const bool | verify_dest_dir_empty, | ||
| std::function< bool(const std::string &)> | predicate | ||
| ) |
On taking snapshot, we should delete dest_dir first. On Restoring, we don't delete the runtime directory, eventually. We could, however, start with deleting it.
|
static |
| Result< void > cuttlefish::CopyWithAttributes | ( | const std::string & | from, |
| const std::string & | to | ||
| ) |
| std::string cuttlefish::CpioBinary | ( | ) |
|
static |
| std::unique_ptr< AudioServer > cuttlefish::CreateAudioServer | ( | ) |
| Result< void > cuttlefish::CreateBlankEmptyImage | ( | std::string_view | image, |
| int | num_mb | ||
| ) |
| Result< void > cuttlefish::CreateBlankExt4Image | ( | std::string_view | image, |
| int | num_mb | ||
| ) |
| Result< void > cuttlefish::CreateBlankSdcardImage | ( | std::string_view | image, |
| int | num_mb | ||
| ) |
| Result< void > cuttlefish::CreateBridge | ( | std::string_view | name | ) |
| fruit::Component< ScreenConnector< DisplayHandler::WebRtcScProcessedFrame >, confui::HostServer, confui::HostVirtualInput > cuttlefish::CreateConfirmationUIComponent | ( | int * | frames_fd, |
| bool * | frames_are_rgba, | ||
| confui::PipeConnectionPair * | pipe_io_pair, | ||
| InputConnector * | input_connector | ||
| ) |
| Result< void > cuttlefish::CreateDynamicDiskFiles | ( | const FetcherConfigs & | fetcher_configs, |
| const CuttlefishConfig & | config, | ||
| AndroidBuilds & | android_builds, | ||
| const BootImageFlag & | boot_image, | ||
| const SystemImageDirFlag & | system_image_dirs | ||
| ) |
| bool cuttlefish::CreateEthernetBridgeIface | ( | std::string_view | name, |
| std::string_view | ipaddr | ||
| ) |
| bool cuttlefish::CreateEthernetIface | ( | std::string_view | name, |
| std::string_view | bridge_name | ||
| ) |
|
static |
| ScopedLogger cuttlefish::CreateLogger | ( | std::string_view | metrics_directory | ) |
| SharedFD cuttlefish::CreateMemFDWithData | ( | const std::string & | data | ) |
| Result< Json::Value > cuttlefish::CreateMetaInfo | ( | const CuttlefishConfig & | cuttlefish_config, |
| const std::string & | snapshot_path | ||
| ) |
| bool cuttlefish::CreateMobileIface | ( | std::string_view | name, |
| uint16_t | id, | ||
| std::string_view | ipaddr | ||
| ) |
| Result< void > cuttlefish::CreateOrUpdateCompositeDisk | ( | std::vector< ImagePartition > | partitions, |
| const std::string & | header_file, | ||
| const std::string & | footer_file, | ||
| const std::string & | output_composite_path, | ||
| bool | read_only | ||
| ) |
Generate the files necessary for booting with a Composite Disk.
Composite Disk is a crosvm disk format that is a layer of indirection over other disk files. The Composite Disk file lists names and offsets in the virtual disk.
For a complete single disk inside the VM, there must also be a GUID Partition Table header and footer. These are saved to header_file and footer_file, then the specification file containing the file paths and offsets is saved to output_composite_path.
| bool cuttlefish::CreateTap | ( | std::string_view | name | ) |
| std::string cuttlefish::CreateTempFileWithText | ( | const std::string & | filepath, |
| const std::string & | text | ||
| ) |
| Result< std::unique_ptr< CredentialSource > > cuttlefish::CredentialForScopes | ( | HttpClient & | http_client, |
| const std::vector< std::string > & | scopes | ||
| ) |
| Result< std::vector< std::string > > cuttlefish::CrosvmCpuArguments | ( | const Json::Value & | vcpu_config_json | ) |
| std::unique_ptr< HttpClient > cuttlefish::CurlHttpClient | ( | bool | use_logging_debug_function | ) |
| std::string cuttlefish::CurrentDirectory | ( | ) |
| Result< std::string > cuttlefish::CurrentUserName | ( | ) |
| fruit::Component< fruit::Required< ConfigFlag >, CustomActionConfigProvider > cuttlefish::CustomActionsComponent | ( | ) |
|
static |
|
static |
| int cuttlefish::CuttlefishMain | ( | ) |
| std::string cuttlefish::CvdallocBinary | ( | ) |
| fruit::Component< fruit::Required< const CuttlefishConfig::InstanceSpecific > > cuttlefish::CvdallocComponent | ( | ) |
| std::string cuttlefish::CvdallocInterfaceName | ( | const std::string & | name, |
| int | num | ||
| ) |
| Result< int > cuttlefish::CvdallocMain | ( | int | argc, |
| char * | argv[] | ||
| ) |
| Result< std::string > cuttlefish::CvdCacheHome | ( | ) |
| Result< std::vector< std::string > > cuttlefish::CvdConfigDirs | ( | ) |
| Result< std::string > cuttlefish::CvdConfigHome | ( | ) |
| Result< std::vector< std::string > > cuttlefish::CvdDataDirs | ( | ) |
| Result< std::string > cuttlefish::CvdDataHome | ( | ) |
| std::string cuttlefish::CvdDir | ( | ) |
| std::string cuttlefish::CvdRuntimeDir | ( | ) |
| Result< std::string > cuttlefish::CvdStateHome | ( | ) |
| std::string cuttlefish::CvdUserLogDir | ( | ) |
A user-specific directory where log files from cvd are stored.
| DataImagePolicy cuttlefish::DataImagePolicyFromString | ( | std::string_view | policy | ) |
| std::string cuttlefish::DataImagePolicyString | ( | DataImagePolicy | policy | ) |
| Result< void > cuttlefish::DeAndroidSparse2 | ( | const std::vector< std::string > & | image_files | ) |
Converts any Android-Sparse image files in image_files to raw image files.
Android-Sparse is a file format invented by Android that optimizes for chunks of zeroes or repeated data. The Android build system can produce sparse files to save on size of disk files after they are extracted from a disk file, as the imag eflashing process also can handle Android-Sparse images.
crosvm has read-only support for Android-Sparse files, but QEMU does not support them.
| Result< std::vector< uint8_t > > cuttlefish::DecodeBase64 | ( | std::string_view | data | ) |
| InstanceDisplays cuttlefish::DefaultDisplays | ( | ) |
| std::string cuttlefish::DefaultEnvironmentPath | ( | const std::string & | environment_key, |
| const std::string & | default_value, | ||
| const std::string & | subpath | ||
| ) |
| std::string cuttlefish::DefaultGamepadSpec | ( | ) |
| std::string cuttlefish::DefaultGuestImagePath | ( | const std::string & | file_name | ) |
| std::string cuttlefish::DefaultHostArtifactsPath | ( | const std::string & | file_name | ) |
| std::string cuttlefish::DefaultKeyboardSpec | ( | ) |
| std::string cuttlefish::DefaultMouseSpec | ( | ) |
| std::string cuttlefish::DefaultMultiTouchpadSpecTemplate | ( | ) |
| std::string cuttlefish::DefaultMultiTouchscreenSpecTemplate | ( | ) |
| Result< IfaceConfig > cuttlefish::DefaultNetworkInterfaces | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| std::string cuttlefish::DefaultQemuBinaryDir | ( | ) |
| gatekeeper::failure_record_t cuttlefish::DefaultRecord | ( | gatekeeper::secure_id_t | secure_user_id | ) |
| std::string cuttlefish::DefaultRotaryDeviceSpec | ( | ) |
| std::string cuttlefish::DefaultSingleTouchpadSpecTemplate | ( | ) |
| std::string cuttlefish::DefaultSingleTouchscreenSpecTemplate | ( | ) |
| Result< int > cuttlefish::DefaultsMain | ( | int | argc, |
| char * | argv[] | ||
| ) |
| void cuttlefish::DefaultSubprocessLogging | ( | char * | argv[], |
| MetadataLevel | stderr_level | ||
| ) |
| std::string cuttlefish::DefaultSwitchesSpec | ( | ) |
| Result< void > cuttlefish::DeleteIface | ( | std::string_view | name | ) |
| Result< DisjointRangeSet > cuttlefish::DeserializeDisjointRangeSet | ( | std::string_view | data | ) |
| bool cuttlefish::DestroyBridge | ( | std::string_view | name | ) |
| bool cuttlefish::DestroyEthernetBridgeIface | ( | std::string_view | name, |
| std::string_view | ipaddr | ||
| ) |
| bool cuttlefish::DestroyEthernetIface | ( | std::string_view | name | ) |
| Result< void > cuttlefish::DestroyGateway | ( | std::string_view | name, |
| std::string_view | gateway, | ||
| std::string_view | netmask | ||
| ) |
| bool cuttlefish::DestroyIface | ( | std::string_view | name | ) |
| bool cuttlefish::DestroyMobileIface | ( | std::string_view | name, |
| uint16_t | id, | ||
| std::string_view | ipaddr | ||
| ) |
| Result< std::optional< GceEnvironment > > cuttlefish::DetectGceEnvironment | ( | ) |
| std::optional< GitHubRepository > cuttlefish::DetectGitHubRepository | ( | ) |
| std::string cuttlefish::DeviceEventTypeString | ( | DeviceEventType | event_type | ) |
| std::string cuttlefish::DeviceId | ( | const Instance & | instance | ) |
| std::string_view cuttlefish::DeviceTypeToStringView | ( | DeviceType | device_type | ) |
| Result< std::vector< std::string > > cuttlefish::DirectoryContents | ( | const std::string & | path | ) |
| Result< std::vector< std::string > > cuttlefish::DirectoryContentsPaths | ( | const std::string & | path | ) |
|
static |
| bool cuttlefish::DirectoryExists | ( | const std::string & | path, |
| bool | follow_symlinks | ||
| ) |
| Result< void > cuttlefish::DiskImageFlagsVectorization | ( | CuttlefishConfig & | config, |
| const FetcherConfigs & | fetcher_configs, | ||
| const AndroidEfiLoaderFlag & | android_efi_loader, | ||
| const BootImageFlag & | boot_image, | ||
| const BootloaderFlag & | bootloader, | ||
| const InitramfsPathFlag & | initramfs_path, | ||
| const KernelPathFlag & | kernel_path, | ||
| const SuperImageFlag & | super_image, | ||
| const SystemImageDirFlag & | system_image_dir, | ||
| const VendorBootImageFlag & | vendor_boot_image | ||
| ) |
| void cuttlefish::DisplayPrivacyNotice | ( | ) |
| fruit::Component< DisplaysConfigs > cuttlefish::DisplaysConfigsComponent | ( | ) |
| fruit::Component< fruit::Required< DisplaysConfigs, ConfigFlag >, DisplaysConfigsFlag > cuttlefish::DisplaysConfigsFlagComponent | ( | ) |
| fruit::Component< fruit::Required< DisplaysConfigs >, DisplaysConfigsFragment > cuttlefish::DisplaysConfigsFragmentComponent | ( | ) |
| Result< std::optional< InstancesDisplays > > cuttlefish::DisplaysFlag | ( | std::vector< std::string > | args | ) |
| Result< std::string > cuttlefish::DnsmasqPath | ( | ) |
| Result< std::string > cuttlefish::DownloadFileWithBackup | ( | BuildApi & | build_api, |
| const Build & | build, | ||
| const std::string & | target_directory, | ||
| const std::string & | artifact_name, | ||
| const std::string & | backup_artifact_name | ||
| ) |
| int cuttlefish::DropPrivileges | ( | uid_t | orig | ) |
| MonitorCommand cuttlefish::EchoServer | ( | GrpcSocketCreator & | grpc_socket | ) |
| std::string cuttlefish::EchoServerBinary | ( | ) |
| Result< void > cuttlefish::EmptyCache | ( | const std::string & | cache_directory | ) |
|
static |
| bool cuttlefish::EnableNetsimNfc | ( | const CuttlefishConfig & | config | ) |
|
static |
|
static |
| Result< std::string > cuttlefish::EncodeBase64 | ( | const void * | data, |
| size_t | size | ||
| ) |
| Result< std::string > cuttlefish::EncodeBase64 | ( | std::string_view | data | ) |
|
static |
| Result< void > cuttlefish::EnforceVbMetaSize | ( | const std::string & | path | ) |
| Result< void > cuttlefish::EnsureDirectoryExists | ( | const std::string & | directory_path, |
| const mode_t | mode, | ||
| const std::string & | group_name | ||
| ) |
| std::string cuttlefish::EnvironmentToString | ( | ClearcutEnvironment | environment | ) |
| std::unordered_map< std::string, std::string > cuttlefish::EnvpToMap | ( | char ** | envp | ) |
|
inline |
| auto cuttlefish::ErrorFromType | ( | Result< T > & | value | ) |
|
inline |
|
static |
|
static |
| void cuttlefish::EstablishAndMaintainConnection | ( | const std::string & | address | ) |
| int cuttlefish::Execute | ( | std::vector< std::string > | command | ) |
Returns the exit status on success, negative values on error
If failed in fork() or exec(), returns -1. If the child exited from an unhandled signal, returns -1. Otherwise, returns the exit status.
TODO: Changes return type to Result<int>
For now, too many callsites expects int, and needs quite a lot of changes if we change the return type.
| Result< siginfo_t > cuttlefish::Execute | ( | std::vector< std::string > | command, |
| SubprocessOptions | subprocess_options, | ||
| int | wait_options | ||
| ) |
Similar as the one above but returns CF_ERR instead of -1, and siginfo_t instead of the exit status.
| std::vector< std::string > cuttlefish::ExpandProductPaths | ( | const std::string & | product_path, |
| size_t | num_instances | ||
| ) |
| Result< std::vector< std::string > > cuttlefish::ExtractArchiveContents | ( | const std::string & | archive_filepath, |
| const std::string & | target_directory, | ||
| const bool | keep_archive | ||
| ) |
| std::string cuttlefish::ExtractArchiveToMemory | ( | const std::string & | archive_filepath, |
| const std::string & | archive_member | ||
| ) |
| Result< selector::SelectorOptions > cuttlefish::ExtractCvdArgs | ( | std::vector< std::string > & | args | ) |
| Result< void > cuttlefish::ExtractFile | ( | ReadableZip & | zip, |
| std::string_view | zip_path, | ||
| const std::string & | host_path | ||
| ) |
| Result< std::string > cuttlefish::ExtractImage | ( | const std::string & | archive_filepath, |
| const std::string & | target_directory, | ||
| const std::string & | image, | ||
| const bool | keep_archive | ||
| ) |
| Result< std::vector< std::string > > cuttlefish::ExtractImageContents | ( | const std::string & | image_filepath, |
| const std::string & | target_dir, | ||
| const bool | keep_archive | ||
| ) |
| Result< std::vector< std::string > > cuttlefish::ExtractImages | ( | const std::string & | archive_filepath, |
| const std::string & | target_directory, | ||
| const std::vector< std::string > & | images, | ||
| const bool | keep_archive | ||
| ) |
| Result< cvd::config::EnvironmentSpecification > cuttlefish::ExtractLaunchTemplates | ( | cvd::config::EnvironmentSpecification | config | ) |
| Result< EnvironmentSpecification > cuttlefish::ExtractLaunchTemplates | ( | EnvironmentSpecification | config | ) |
| Result< uint64_t > cuttlefish::FakePRead | ( | ReaderSeeker & | , |
| void * | buf, | ||
| uint64_t | count, | ||
| uint64_t | offset | ||
| ) |
Best-effort fake pread(2) using Read() and Seek*() calls.
Will not call PRead() on the ReaderSeeker instance.
| Result< uint64_t > cuttlefish::FakePWrite | ( | WriterSeeker & | , |
| const void * | buf, | ||
| uint64_t | count, | ||
| uint64_t | offset | ||
| ) |
Best-effort fake pwrite(2) using Write() and Seek*() calls.
Will not call PWrite() on the WriterSeeker instance.
| fruit::Component< FastbootConfig > cuttlefish::FastbootConfigComponent | ( | ) |
| fruit::Component< fruit::Required< FastbootConfig, ConfigFlag >, FastbootConfigFlag > cuttlefish::FastbootConfigFlagComponent | ( | ) |
| fruit::Component< fruit::Required< FastbootConfig >, FastbootConfigFragment > cuttlefish::FastbootConfigFragmentComponent | ( | ) |
| Result< FetchResult > cuttlefish::FetchCvdMain | ( | const FetchFlags & | flags | ) |
| Result< std::unique_ptr< AndroidBuild > > cuttlefish::FetchedAndroidBuild | ( | const FetcherConfig & | , |
| FileSource | |||
| ) |
Represents a build downloaded by cvd fetch.
| Result< void > cuttlefish::FetchHostPackage | ( | BuildApi & | build_api, |
| const Build & | build, | ||
| const std::string & | target_dir, | ||
| const bool | keep_archives, | ||
| const std::vector< std::string > & | host_substitutions, | ||
| FetchTracer::Trace | trace | ||
| ) |
| Result< Json::Value > cuttlefish::FetchInstanceStatus | ( | LocalInstance & | instance, |
| std::chrono::seconds | timeout | ||
| ) |
| std::string cuttlefish::FetchLabel | ( | const Build & | build | ) |
| uint32_t cuttlefish::FileCrc | ( | const std::string & | path | ) |
| Result< dev_t > cuttlefish::FileDeviceId | ( | const std::string & | path | ) |
| bool cuttlefish::FileEquals | ( | const std::string & | file1, |
| const std::string & | file2 | ||
| ) |
| bool cuttlefish::FileExists | ( | const std::string & | path, |
| bool | follow_symlinks | ||
| ) |
| bool cuttlefish::FileHasContent | ( | const std::string & | path | ) |
| bool cuttlefish::FileIsSocket | ( | const std::string & | path | ) |
| Result< std::chrono::system_clock::time_point > cuttlefish::FileModificationTime | ( | const std::string & | path | ) |
| Result< uid_t > cuttlefish::FileOwner | ( | const std::string & | path | ) |
|
static |
| off_t cuttlefish::FileSize | ( | const std::string & | path | ) |
| Result< bool > cuttlefish::FilterLauncherLine | ( | LogSeverity | filter, |
| std::string_view | line | ||
| ) |
| Result< bool > cuttlefish::FilterLogcatLine | ( | LogSeverity | filter, |
| std::string_view | line | ||
| ) |
| Result< bool > cuttlefish::FilterLogTeeLine | ( | LogSeverity | filter, |
| std::string_view | line | ||
| ) |
| bool cuttlefish::FilterSeverity | ( | LogSeverity | filter_severity, |
| LogSeverity | test_severity | ||
| ) |
|
static |
| Result< BuildArchive > cuttlefish::FindBuildArchive | ( | const FetcherConfig & | , |
| FileSource | , | ||
| std::string_view | pattern | ||
| ) |
Scan a FetcherConfig for an archive containing the substring pattern. This could be a zip file still present, or the extracted contents of a zip file that was downloaded.
| Result< BuildArchive > cuttlefish::FindBuildArchive | ( | const std::string & | directory_path, |
| std::string_view | pattern | ||
| ) |
Scan the contents of directory_path to find a file whose name contains pattern as a substring, and is a zip archive.
| bool cuttlefish::FindConfig | ( | const std::vector< std::string > & | vec, |
| const std::string & | element | ||
| ) |
| bool cuttlefish::FindConfigIgnoreSpaces | ( | const std::vector< std::string > & | vec, |
| const std::string & | str | ||
| ) |
| Result< std::vector< std::string > > cuttlefish::FindCvdDataFiles | ( | std::string_view | path | ) |
| Result< std::string > cuttlefish::FindFile | ( | const std::string & | path, |
| const std::string & | target_name | ||
| ) |
|
static |
| std::optional< std::map< std::string, std::string > > cuttlefish::flagXml | ( | const Flag & | f | ) |
| Result< void > cuttlefish::ForcefullyStopGroup | ( | const uid_t | any_id_in_group | ) |
| Result< void > cuttlefish::ForceRawImage | ( | const std::string & | image_path | ) |
| std::string cuttlefish::ForCurrentInstance | ( | const char * | prefix | ) |
| std::string cuttlefish::Format | ( | const TimeStamp & | time_point | ) |
| std::string_view cuttlefish::format_as | ( | Arch | arch | ) |
| std::string cuttlefish::format_as | ( | const AndroidBuild & | build | ) |
| std::string cuttlefish::format_as | ( | const AndroidBuildKey & | key | ) |
| std::string cuttlefish::format_as | ( | const AndroidBuilds & | builds | ) |
| std::string cuttlefish::format_as | ( | const BuildArchive & | archive | ) |
| std::string cuttlefish::format_as | ( | const PrettyContainerType & | pc | ) |
| std::string cuttlefish::format_as | ( | const PrettyStruct & | ps | ) |
| std::string_view cuttlefish::format_as | ( | DeviceType | device_type | ) |
| std::string_view cuttlefish::format_as | ( | ExternalNetworkMode | net | ) |
| std::string_view cuttlefish::format_as | ( | FileSource | source | ) |
| std::string_view cuttlefish::format_as | ( | GpuMode | mode | ) |
| std::string_view cuttlefish::format_as | ( | SafeLevel | level | ) |
| std::string_view cuttlefish::format_as | ( | VmmMode | vmm | ) |
| std::string cuttlefish::FormatByteSize | ( | uint64_t | size | ) |
| std::string cuttlefish::FormatFlagsHelp | ( | const std::vector< Flag > & | flags, |
| size_t | max_line_width | ||
| ) |
| std::string cuttlefish::FormatHelpText | ( | const std::vector< HelpParagraph > & | text, |
| size_t | max_line_width | ||
| ) |
| std::string cuttlefish::FormatKernelLine | ( | const KernelLine & | line | ) |
| std::string cuttlefish::FormatLauncherLine | ( | const LauncherLine & | line | ) |
| std::string cuttlefish::FormatLogcatLine | ( | const LogcatLine & | line | ) |
| std::string cuttlefish::FormatLogTeeLine | ( | const LogTeeLine & | line | ) |
| std::string cuttlefish::FromSeverity | ( | LogSeverity | severity | ) |
| std::vector< ImagePartition > cuttlefish::FuchsiaCompositeDiskConfig | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| std::string cuttlefish::GamepadCaptureServerPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| std::string cuttlefish::GamepadEventsServerPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| std::string cuttlefish::GamepadSocketPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| void cuttlefish::GatherFetchCompleteMetrics | ( | const std::string & | target_directory, |
| const FetchResult & | fetch_result | ||
| ) |
| void cuttlefish::GatherFetchFailedMetrics | ( | const std::string & | target_directory | ) |
| void cuttlefish::GatherFetchStartMetrics | ( | const FetchFlags & | fetch_flags | ) |
| Result< MetricsData > cuttlefish::GatherMetrics | ( | const MetricsInput & | metrics_input | ) |
| void cuttlefish::GatherVmBootCompleteMetrics | ( | const LocalInstanceGroup & | instance_group | ) |
| void cuttlefish::GatherVmBootFailedMetrics | ( | const LocalInstanceGroup & | instance_group | ) |
| void cuttlefish::GatherVmInstantiationMetrics | ( | const LocalInstanceGroup & | instance_group | ) |
| void cuttlefish::GatherVmStartMetrics | ( | const LocalInstanceGroup & | instance_group | ) |
| void cuttlefish::GatherVmStopMetrics | ( | const LocalInstanceGroup & | instance_group | ) |
| Result< void > cuttlefish::Gem5ImageUnpacker | ( | const CuttlefishConfig & | config, |
| const BootImageFlag & | boot_image | ||
| ) |
| Result< std::vector< std::string > > cuttlefish::GenerateBootFlags | ( | const cvd::config::EnvironmentSpecification & | ) |
| Result< std::vector< std::string > > cuttlefish::GenerateBootFlags | ( | const EnvironmentSpecification & | cfg | ) |
| std::vector< std::string > cuttlefish::GenerateConnectivityFlags | ( | const cvd::config::EnvironmentSpecification & | ) |
| std::vector< std::string > cuttlefish::GenerateConnectivityFlags | ( | const EnvironmentSpecification & | cfg | ) |
| void cuttlefish::GenerateCorrespondingIpv6ForMac | ( | const uint8_t | mac[6], |
| uint8_t | out[16] | ||
| ) |
Linux uses mac to generate link-local IPv6 address following:
| std::vector< std::string > cuttlefish::GenerateDiskFlags | ( | const cvd::config::EnvironmentSpecification & | ) |
| std::vector< std::string > cuttlefish::GenerateDiskFlags | ( | const EnvironmentSpecification & | config | ) |
| void cuttlefish::GenerateEthMacForInstance | ( | int | index, |
| uint8_t | out[6] | ||
| ) |
| std::string cuttlefish::GenerateFlag | ( | const std::string & | name, |
| const T & | value | ||
| ) |
| Result< std::vector< std::string > > cuttlefish::GenerateGraphicsFlags | ( | const cvd::config::EnvironmentSpecification & | ) |
| Result< std::vector< std::string > > cuttlefish::GenerateGraphicsFlags | ( | const EnvironmentSpecification & | cfg | ) |
| std::string cuttlefish::GenerateInstanceFlag | ( | const std::string & | name, |
| const cvd::config::EnvironmentSpecification & | config, | ||
| T | callback | ||
| ) |
| Result< std::vector< std::string > > cuttlefish::GenerateInstancesFlags | ( | const cvd::config::EnvironmentSpecification & | cfg | ) |
| Result< std::vector< std::string > > cuttlefish::GenerateInstancesFlags | ( | const EnvironmentSpecification & | cfg | ) |
| Result< std::vector< std::string > > cuttlefish::GenerateMediaFlags | ( | const cvd::config::EnvironmentSpecification & | cfg | ) |
| Result< std::vector< std::string > > cuttlefish::GenerateMediaFlags | ( | const EnvironmentSpecification & | cfg | ) |
| void cuttlefish::GenerateMobileMacForInstance | ( | int | index, |
| uint8_t | out[6] | ||
| ) |
| std::string cuttlefish::GenerateRandomString | ( | const std::string & | alphabet, |
| const int | length | ||
| ) |
| std::vector< std::string > cuttlefish::GenerateSecurityFlags | ( | const cvd::config::EnvironmentSpecification & | cfg | ) |
| std::vector< std::string > cuttlefish::GenerateSecurityFlags | ( | const EnvironmentSpecification & | cfg | ) |
| Result< void > cuttlefish::GenerateSessionIdFile | ( | const std::string & | metrics_directory | ) |
| std::vector< std::string > cuttlefish::GenerateStreamingFlags | ( | const cvd::config::EnvironmentSpecification & | ) |
| std::vector< std::string > cuttlefish::GenerateStreamingFlags | ( | const EnvironmentSpecification & | cfg | ) |
| std::string cuttlefish::GenerateUuid | ( | ) |
| std::string cuttlefish::GenerateVecFlag | ( | const std::string & | name, |
| const T & | collection | ||
| ) |
| Result< std::vector< std::string > > cuttlefish::GenerateVmFlags | ( | const cvd::config::EnvironmentSpecification & | ) |
| Result< std::vector< std::string > > cuttlefish::GenerateVmFlags | ( | const EnvironmentSpecification & | cfg | ) |
| void cuttlefish::GenerateWifiMacForInstance | ( | int | index, |
| uint8_t | out[6] | ||
| ) |
| std::string cuttlefish::GetAcloudOauthFilepath | ( | ) |
| Result< std::vector< T > > cuttlefish::GetArrayValues | ( | const Json::Value & | array, |
| const std::vector< std::string > & | selectors | ||
| ) |
| std::string cuttlefish::GetATCommand | ( | const std::string & | plmn, |
| int32_t | identifierType, | ||
| int32_t | protocolMessage, | ||
| bool | isEmergency | ||
| ) |
Allows for the serialization of aidl::android::hardware::radio::network::CellularIdentifierDisclosure objects into an AT command that can be processed by the cuttlefish RIL to trigger unsolicited calls to aidl::android::hardware::radio::network::IRadioNetworkIndication::cellularIdentifierDisclosed.
| std::string cuttlefish::GetATCommand | ( | int32_t | connection_event, |
| int32_t | encryption, | ||
| int32_t | integrity, | ||
| bool | is_unprotected_emergency | ||
| ) |
Constructs the AT command that updates the security algorithm that is reported by the cuttlefish RIL. The handler of the AT command will trigger unsolicited calls to aidl::android::hardware::radio::network::IRadioNetworkIndication::securityAlgorithmsUpdated.
| std::tuple< std::string, std::string > cuttlefish::GetBuildIdAndTarget | ( | const Build & | build | ) |
| Result< size_t > cuttlefish::GetCacheSize | ( | const std::string & | cache_directory | ) |
| std::string cuttlefish::GetCatchallApiKey | ( | ) |
|
inlinestaticconstexpr |
| Result< std::vector< std::string > > cuttlefish::GetCmdArgs | ( | const pid_t | pid | ) |
| std::string_view cuttlefish::GetColorForSeverity | ( | LogSeverity | severity | ) |
| Result< MiscInfo > cuttlefish::GetCombinedDynamicPartitions | ( | const MiscInfo & | vendor_info, |
| const MiscInfo & | system_info, | ||
| const std::set< std::string > & | extracted_images | ||
| ) |
| std::string cuttlefish::GetConfigFilePath | ( | const CuttlefishConfig & | config | ) |
| std::vector< std::string > cuttlefish::GetCreatedFileListFromInotifyFd | ( | int | fd | ) |
| Result< std::unique_ptr< CredentialSource > > cuttlefish::GetCredentialSourceFromFlags | ( | HttpClient & | http_client, |
| const BuildApiFlags & | flags, | ||
| const std::string & | oauth_filepath, | ||
| const std::string & | scope | ||
| ) |
| Result< std::string > cuttlefish::GetCuttlefishConfigPath | ( | const std::string & | home | ) |
| Result< std::vector< std::string > > cuttlefish::GetCvdCredentialFilepaths | ( | ) |
| std::string cuttlefish::GetCvdLogFileName | ( | const std::string & | log_dir = CvdUserLogDir(), |
| std::chrono::system_clock::time_point | now = std::chrono::system_clock::now() |
||
| ) |
Returns the path to a new timestamped log file for the cvd command. The log file is created in PerUserDir() + "/logs/" with a name like cvd_YYYYMMDD_HHMMSS.ms.log. If the logs directory cannot be created, the function returns std::nullopt.
| int cuttlefish::GetDefaultVsockCid | ( | ) |
| Result< size_t > cuttlefish::GetDiskUsageBytes | ( | const std::string & | path | ) |
| Result< size_t > cuttlefish::GetDiskUsageGigabytes | ( | const std::string & | path | ) |
| Result< cvd::config::EnvironmentSpecification > cuttlefish::GetEnvironmentSpecification | ( | const std::string & | config_path, |
| const std::map< std::string, std::string, std::less< void > > & | overrides | ||
| ) |
| Result< std::unordered_map< std::string, std::string > > cuttlefish::GetEnvs | ( | const pid_t | pid | ) |
| Result< std::string > cuttlefish::GetExecutablePath | ( | const pid_t | pid | ) |
|
static |
| std::string cuttlefish::GetFetchLogsFileName | ( | const std::string & | target_directory | ) |
| Result< FetchMetrics > cuttlefish::GetFetchMetrics | ( | const FetchInput & | fetch_input | ) |
| std::vector< std::string > cuttlefish::GetFileListFromInotifyFd | ( | int | fd, |
| uint32_t | mask | ||
| ) |
| std::optional< std::string > cuttlefish::GetFilepath | ( | const Build & | build | ) |
| std::optional< std::string > cuttlefish::GetFilepath | ( | const BuildString & | build_string | ) |
| Result< FlagMetrics > cuttlefish::GetFlagMetrics | ( | const ParsedFlags & | parsed_flags, |
| const int | guest_index | ||
| ) |
| std::string cuttlefish::GetGlobalConfigFileLink | ( | ) |
| gfxstream::proto::GraphicsAvailability cuttlefish::GetGraphicsAvailabilityWithSubprocessCheck | ( | ) |
| Result< InstanceManager::GroupDirectories > cuttlefish::GetGroupCreationDirectories | ( | const std::string & | parent_directory, |
| const cvd::config::EnvironmentSpecification & | env_spec | ||
| ) |
| Result< InstanceManager::GroupDirectories > cuttlefish::GetGroupCreationDirectories | ( | const std::string & | parent_directory, |
| const EnvironmentSpecification & | env_spec | ||
| ) |
| Result< std::vector< GuestMetrics > > cuttlefish::GetGuestMetrics | ( | const Guests & | guests | ) |
| HostInfo cuttlefish::GetHostInfo | ( | ) |
| Result< HostMetrics > cuttlefish::GetHostMetrics | ( | ) |
| int cuttlefish::GetInstance | ( | ) |
| Invoker cuttlefish::GetInvoker | ( | ) |
| Result< SharedFD > cuttlefish::GetLauncherMonitor | ( | const CuttlefishConfig & | config, |
| const int | instance_num, | ||
| int | timeout_seconds | ||
| ) |
| Result< SharedFD > cuttlefish::GetLauncherMonitorFromInstance | ( | const CuttlefishConfig::InstanceSpecific & | instance_config, |
| const int | timeout_seconds | ||
| ) |
| std::optional< T > cuttlefish::GetOptional | ( | const std::vector< std::optional< T > > & | vector, |
| size_t | i | ||
| ) |
| std::optional< T > cuttlefish::GetOptional | ( | const std::vector< T > & | vector, |
| size_t | i | ||
| ) |
| Result< ParsedFlags > cuttlefish::GetParsedFlags | ( | ) |
| Result< const uint8_t * > cuttlefish::GetPartitionGUID | ( | GptPartitionType | type | ) |
| std::string cuttlefish::GetSeccompPolicyDir | ( | ) |
| Result< std::string > cuttlefish::GetSerializedEventProto | ( | const std::string & | event_filepath | ) |
| Result< std::vector< Flag > > cuttlefish::GetSiblingCommandFlags | ( | const std::string & | bin_name, |
| const std::unordered_map< std::string, std::string > & | env, | ||
| std::vector< std::string > | args | ||
| ) |
| Result< TerminalSize > cuttlefish::GetTerminalSize | ( | ) |
| std::optional< std::string > cuttlefish::GetUserName | ( | uid_t | uid | ) |
| Result< T > cuttlefish::GetValue | ( | const Json::Value & | root, |
| const std::vector< std::string > & | selectors | ||
| ) |
| Result< VbmetaArgs > cuttlefish::GetVbmetaArgs | ( | const MiscInfo & | misc_info, |
| const std::string & | image_path | ||
| ) |
| VersionIdentifiers cuttlefish::GetVersionIds | ( | ) |
| int cuttlefish::GetVsockServerPort | ( | const int | base, |
| const int | vsock_guest_cid | ||
| ) |
| vsock_guest_cid | per instance guest cid |
|
static |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| bool & | value | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| int32_t & | value | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| size_t & | value | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| std::optional< bool > & | value, | ||
| CoerceToNullopt | opt | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| std::optional< BuildString > & | value | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| std::optional< int > & | value, | ||
| CoerceToNullopt | opt | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| std::optional< int64_t > & | value, | ||
| CoerceToNullopt | opt | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| std::optional< size_t > & | value, | ||
| CoerceToNullopt | opt | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| std::optional< std::string > & | value, | ||
| CoerceToNullopt | opt | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| std::optional< std::vector< std::string > > & | value, | ||
| CoerceToNullopt | opt | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| std::optional< std::vector< unsigned > > & | value, | ||
| CoerceToNullopt | opt | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| std::optional< unsigned > & | value, | ||
| CoerceToNullopt | opt | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| std::string & | value | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| std::vector< bool > & | value, | ||
| const bool | default_value | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| std::vector< std::optional< BuildString > > & | value | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| std::vector< std::optional< ChromeOsBuildString > > & | value | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| std::vector< std::string > & | value | ||
| ) |
| Flag cuttlefish::GflagsCompatFlag | ( | const std::string & | name, |
| std::vector< unsigned > & | value | ||
| ) |
| fruit::Component< fruit::Required< ConfigFlag >, ParseGflags > cuttlefish::GflagsComponent | ( | ) |
|
static |
|
static |
| std::string cuttlefish::GnssGrpcProxyBinary | ( | ) |
| Result< std::optional< MonitorCommand > > cuttlefish::GnssGrpcProxyServer | ( | const CuttlefishConfig::InstanceSpecific & | instance, |
| GrpcSocketCreator & | grpc_socket | ||
| ) |
| std::string cuttlefish::GpuModeString | ( | GpuMode | mode | ) |
| Result< std::string > cuttlefish::GroupDirFromHome | ( | std::string_view | dir | ) |
| gid_t cuttlefish::GroupIdFromName | ( | const std::string & | group_name | ) |
|
static |
|
static |
| Result< std::vector< std::string > > cuttlefish::GuestSnapshotDirectories | ( | const std::string & | snapshot_path | ) |
| int64_t cuttlefish::HandleCallback | ( | ReadableZipSourceCallback & | callbacks, |
| zip_error_t * | error, | ||
| void * | data, | ||
| uint64_t | len, | ||
| zip_source_cmd_t | cmd | ||
| ) |
| Result< std::string > cuttlefish::HandleCmds | ( | const std::string & | grpc_socket_path, |
| const std::string & | cmd, | ||
| const std::vector< std::string > & | args | ||
| ) |
| Result< std::string > cuttlefish::HandleHostGroupSnapshot | ( | const std::string & | path | ) |
cp -r <cuttlefish home dir> <snapshot_path> write meta info for cvd: i.e. HOME, group name, instance names returns the path of generated snapshot json file
Takes the snapshot of instance group
This may includes the snapshot for cvd_env, etc. However, for now, we also take per-instance host snapshot here.
TODO(kwstephenkim): separate host instance specific snapshot from the host group snapshot
| Result< bool > cuttlefish::HasHelpFlag | ( | const std::vector< std::string > & | args | ) |
|
inline |
| std::optional< std::string_view > cuttlefish::HeaderValue | ( | const std::vector< HttpHeader > & | headers, |
| std::string_view | header_name | ||
| ) |
| Flag cuttlefish::HelpXmlFlag | ( | const std::vector< Flag > & | flags, |
| std::ostream & | out, | ||
| bool & | print_xml, | ||
| std::string | text | ||
| ) |
| Result< std::vector< uint8_t > > cuttlefish::HexToBytes | ( | const std::string & | hex_string | ) |
| Arch cuttlefish::HostArch | ( | ) |
| const std::string & cuttlefish::HostArchStr | ( | ) |
Returns e.g. aarch64, x86_64, etc
| std::string cuttlefish::HostBinaryDir | ( | ) |
| std::string cuttlefish::HostBinaryPath | ( | const std::string & | binary_name | ) |
| Result< void > cuttlefish::HostPackageSubstitution | ( | const std::string & | target_dir, |
| const std::vector< std::string > & | host_substitutions | ||
| ) |
| std::string cuttlefish::HostQemuBiosPath | ( | ) |
| bool cuttlefish::HostSupportsQemuCli | ( | ) |
| std::map< std::string, uint32_t > cuttlefish::HostToolsCrc | ( | ) |
| std::string cuttlefish::HostUsrSharePath | ( | const std::string & | file | ) |
| Result< HttpResponse< std::string > > cuttlefish::HttpGetToFile | ( | HttpClient & | http_client, |
| const std::string & | url, | ||
| const std::string & | path, | ||
| const std::vector< std::string > & | headers | ||
| ) |
| Result< HttpResponse< Json::Value > > cuttlefish::HttpGetToJson | ( | HttpClient & | http_client, |
| const std::string & | url, | ||
| const std::vector< std::string > & | headers | ||
| ) |
| Result< HttpResponse< std::string > > cuttlefish::HttpGetToString | ( | HttpClient & | http_client, |
| const std::string & | url, | ||
| const std::vector< std::string > & | headers | ||
| ) |
| Result< HttpResponse< Json::Value > > cuttlefish::HttpPostToJson | ( | HttpClient & | http_client, |
| const std::string & | url, | ||
| const Json::Value & | data, | ||
| const std::vector< std::string > & | headers | ||
| ) |
| Result< HttpResponse< Json::Value > > cuttlefish::HttpPostToJson | ( | HttpClient & | http_client, |
| const std::string & | url, | ||
| const std::string & | data, | ||
| const std::vector< std::string > & | headers | ||
| ) |
| Result< HttpResponse< std::string > > cuttlefish::HttpPostToString | ( | HttpClient & | http_client, |
| const std::string & | url, | ||
| const std::string & | data, | ||
| const std::vector< std::string > & | headers | ||
| ) |
| std::string cuttlefish::HumanFriendlyStateName | ( | cvd::InstanceState | state | ) |
| std::string cuttlefish::HwcomposerPmemPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| Result< std::unique_ptr< AndroidBuild > > cuttlefish::IdentifyAndroidBuild | ( | const AndroidBuildKey & | android_build_key | ) |
| Result< std::unique_ptr< AndroidBuild > > cuttlefish::IdentifyAndroidBuild | ( | const std::string & | system_image_dir, |
| const FetcherConfig & | config, | ||
| FileSource | source | ||
| ) |
| std::string_view cuttlefish::ImageStatusToStringView | ( | FakeAndroidBuild::ImageStatus | image_status | ) |
| Result< std::unique_ptr< AndroidBuild > > cuttlefish::ImgZip | ( | const FetcherConfig & | config, |
| FileSource | source | ||
| ) |
Represents the <build target>-img-<build id>.zip file produced by the Android build system, possibly in an extracted form produced by cvd fetch.
Expected to contain super.img and other .img files that are physical partitions. Does not contain .img files for the logical partitions inside super.
Also expected to contain the android-info.txt file and/or the cuttlefish-guest-config.txtpb file. See go/cf-guest-config-pb for more information.
| Result< std::unique_ptr< AndroidBuild > > cuttlefish::ImgZip | ( | const std::string & | path | ) |
| bool cuttlefish::InGroup | ( | const std::string & | group | ) |
|
static |
| Result< void > cuttlefish::InitializeAccessKregistryImage | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| Result< CuttlefishConfig > cuttlefish::InitializeCuttlefishConfiguration | ( | const std::string & | root_dir, |
| const std::vector< GuestConfig > & | guest_configs, | ||
| fruit::Injector<> & | injector, | ||
| const FetcherConfigs & | fetcher_configs, | ||
| const BootImageFlag & | boot_image, | ||
| const InitramfsPathFlag & | initramfs_path, | ||
| const KernelPathFlag & | kernel_path, | ||
| const SuperImageFlag & | super_image, | ||
| const SystemImageDirFlag & | system_image_dir, | ||
| const VendorBootImageFlag & | vendor_boot_image, | ||
| const VmManagerFlag & | vm_manager_flag, | ||
| const Defaults & | defaults | ||
| ) |
| Result< void > cuttlefish::InitializeDataImage | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| Result< void > cuttlefish::InitializeEspImage | ( | const CuttlefishConfig & | config, |
| const CuttlefishConfig::InstanceSpecific & | instance | ||
| ) |
| Result< void > cuttlefish::InitializeHwcomposerPmemImage | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| Result< void > cuttlefish::InitializePflash | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| Result< void > cuttlefish::InitializePstore | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| Result< void > cuttlefish::InitializeSdCard | ( | const CuttlefishConfig & | config, |
| const CuttlefishConfig::InstanceSpecific & | instance | ||
| ) |
|
static |
| std::unique_ptr< ReadWriteFilesystem > cuttlefish::InMemoryFilesystem | ( | ) |
| std::unique_ptr< ReaderWriterSeeker > cuttlefish::InMemoryIo | ( | ) |
| std::unique_ptr< ReaderWriterSeeker > cuttlefish::InMemoryIo | ( | std::string_view | str | ) |
| std::unique_ptr< ReaderWriterSeeker > cuttlefish::InMemoryIo | ( | std::vector< char > | data | ) |
| bool cuttlefish::InSandbox | ( | ) |
| std::string cuttlefish::InstanceDatabasePath | ( | ) |
| int cuttlefish::InstanceFromEnvironment | ( | ) |
| int cuttlefish::InstanceFromString | ( | std::string | instance_str | ) |
| Result< std::string > cuttlefish::InstanceGuestSnapshotPath | ( | const Json::Value & | meta_json, |
| const std::string & | instance_id | ||
| ) |
| std::vector< std::vector< std::unique_ptr< ImageFile > > > cuttlefish::InstanceImageFiles | ( | const CuttlefishConfig & | config, |
| const BootImageFlag & | boot_image_flag | ||
| ) |
| std::string cuttlefish::InstanceLocksPath | ( | ) |
|
static |
| std::string cuttlefish::InstanceToBridgedWifiAddress | ( | int | num | ) |
| std::string cuttlefish::InstanceToBridgedWifiBroadcast | ( | int | num | ) |
| std::string cuttlefish::InstanceToBridgedWifiGatewayAddress | ( | int | num | ) |
| std::string cuttlefish::InstanceToMobileAddress | ( | int | num | ) |
| std::string cuttlefish::InstanceToMobileBroadcast | ( | int | num | ) |
| std::string cuttlefish::InstanceToMobileGatewayAddress | ( | int | num | ) |
| std::string cuttlefish::InstanceToWifiAddress | ( | int | num | ) |
| std::string cuttlefish::InstanceToWifiBroadcast | ( | int | num | ) |
| std::string cuttlefish::InstanceToWifiGatewayAddress | ( | int | num | ) |
| cuttlefish::INSTANTIATE_TEST_SUITE_P | ( | SelectGroup | , |
| FrontlineParserTestFixture | , | ||
| ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd", "--group_name=group", "subcmd", "arg1", "arg2"},.expected_args={"cvd", "subcmd", "arg1", "arg2"},.expected_options=selector::SelectorOptions{ .group_name="group",.instance_names=std::nullopt}}) | |||
| ) |
| cuttlefish::INSTANTIATE_TEST_SUITE_P | ( | SelectGroupAndInstances | , |
| FrontlineParserTestFixture | , | ||
| ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd", "--instance_name=a,b,c", "-group_name=group", "subcmd", "arg1", "arg2"},.expected_args={"cvd", "subcmd", "arg1", "arg2"},.expected_options=selector::SelectorOptions{ .group_name="group",.instance_names=std::vector< std::string >{ "a", "b", "c", }}}) | |||
| ) |
| cuttlefish::INSTANTIATE_TEST_SUITE_P | ( | SelectNoArgs | , |
| FrontlineParserTestFixture | , | ||
| ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd", "subcmd"},.expected_args={"cvd", "subcmd"},.expected_options=selector::SelectorOptions{ .group_name=std::nullopt,.instance_names=std::nullopt}}) | |||
| ) |
| cuttlefish::INSTANTIATE_TEST_SUITE_P | ( | SelectNoSelectors | , |
| FrontlineParserTestFixture | , | ||
| ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd", "subcmd", "arg1", "arg2"},.expected_args={"cvd", "subcmd", "arg1", "arg2"},.expected_options=selector::SelectorOptions{ .group_name=std::nullopt,.instance_names=std::nullopt}}) | |||
| ) |
| cuttlefish::INSTANTIATE_TEST_SUITE_P | ( | SelectNoSubCmd | , |
| FrontlineParserTestFixture | , | ||
| ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd", "--group_name=group", "--instance_name=1"},.expected_args={"cvd"},.expected_options=selector::SelectorOptions{ .group_name="group",.instance_names=std::vector< std::string >{"1"}}}) | |||
| ) |
| cuttlefish::INSTANTIATE_TEST_SUITE_P | ( | SelectNoSubCmdNoSelectors | , |
| FrontlineParserTestFixture | , | ||
| ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd"},.expected_args={"cvd"},.expected_options=selector::SelectorOptions{ .group_name=std::nullopt,.instance_names=std::nullopt}}) | |||
| ) |
| cuttlefish::INSTANTIATE_TEST_SUITE_P | ( | SelectOneInstance | , |
| FrontlineParserTestFixture | , | ||
| ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd", "--instance_name=1", "subcmd", "arg1", "arg2"},.expected_args={"cvd", "subcmd", "arg1", "arg2"},.expected_options=selector::SelectorOptions{ .group_name=std::nullopt,.instance_names=std::vector< std::string >{"1"}}}) | |||
| ) |
| cuttlefish::INSTANTIATE_TEST_SUITE_P | ( | SelectWithEmptyInstanceNames | , |
| FrontlineParserTestFixture | , | ||
| ::testing::Values(ExtractCvdArgsTestParams{ .input_args={"cvd", "--instance_name=a,,", "-group_name=group", "subcmd", "arg1", "arg2"},.expected_args={"cvd", "subcmd", "arg1", "arg2"},.expected_options=selector::SelectorOptions{ .group_name="group",.instance_names=std::vector< std::string >{ "a", "", "", }}}) | |||
| ) |
|
static |
| Result< FromGflags< int > > cuttlefish::IntFromGlobalGflags | ( | const gflags::CommandLineFlagInfo & | flag_info, |
| const std::string & | flag_name | ||
| ) |
| Result< void > cuttlefish::IptableConfig | ( | std::string_view | iptables_path, |
| std::string_view | network, | ||
| bool | add | ||
| ) |
| Result< std::string > cuttlefish::IptablesPath | ( | ) |
| std::string cuttlefish::Ipv6ToString | ( | const uint8_t | ip[16] | ) |
| bool cuttlefish::IsCsiFinalByte | ( | char | c | ) |
| Result< bool > cuttlefish::IsDirectoryEmpty | ( | const std::string & | path | ) |
| bool cuttlefish::IsGfxstreamGuestAngleMode | ( | GpuMode | mode | ) |
| bool cuttlefish::IsGfxstreamMode | ( | GpuMode | mode | ) |
| bool cuttlefish::IsGoogleCorp | ( | ) |
| bool cuttlefish::IsGuestRenderingMode | ( | GpuMode | mode | ) |
| bool cuttlefish::IsHostCompatible | ( | Arch | arch | ) |
| Result< bool > cuttlefish::IsKernelModuleSigned | ( | ReaderSeeker & | file | ) |
| bool cuttlefish::IsKvmAccessible | ( | ) |
| bool cuttlefish::IsNvencCodecSupported | ( | GUID | codec_guid, |
| int | device_id | ||
| ) |
| bool cuttlefish::IsPopulated | ( | const Oauth2ConsentRequest & | request | ) |
| bool cuttlefish::IsRestoring | ( | const CuttlefishConfig & | config | ) |
| bool cuttlefish::IsRunningInContainer | ( | ) |
| Result< bool > cuttlefish::IsSparseImage | ( | const std::string & | image_path | ) |
| Result< bool > cuttlefish::IsSymlink | ( | const std::string & | path | ) |
| bool cuttlefish::IsValidAndroidHostOutPath | ( | const std::string & | path | ) |
| bool cuttlefish::IsValidDeviceName | ( | const std::string & | token | ) |
| bool cuttlefish::IsValidGroupName | ( | const std::string & | token | ) |
| bool cuttlefish::IsValidInstanceName | ( | const std::string & | token | ) |
| uint16_t cuttlefish::JsIndexToLinux | ( | const int32_t & | index_code | ) |
| std::vector< std::string > cuttlefish::KernelCommandLineFromConfig | ( | const CuttlefishConfig & | config, |
| const CuttlefishConfig::InstanceSpecific & | instance | ||
| ) |
|
static |
|
static |
| std::string cuttlefish::KernelLogMonitorBinary | ( | ) |
| fruit::Component< fruit::Required< const CuttlefishConfig::InstanceSpecific >, KernelLogPipeProvider > cuttlefish::KernelLogMonitorComponent | ( | ) |
| std::unique_ptr< MonitorSource > cuttlefish::KernelLogMonitorSource | ( | const LocalInstance & | instance | ) |
| std::string cuttlefish::KernelLogPipeName | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
|
static |
|
static |
| std::string cuttlefish::KeyboardCaptureServerPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| std::string cuttlefish::KeyboardEventsServerPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| std::string cuttlefish::KeyboardSocketPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| Result< void > cuttlefish::KillAllCuttlefishInstances | ( | bool | clear_runtime_dirs | ) |
| StopperResult cuttlefish::KillSubprocess | ( | Subprocess * | subprocess | ) |
| SubprocessStopper cuttlefish::KillSubprocessFallback | ( | std::function< StopperResult()> | nice | ) |
| SubprocessStopper cuttlefish::KillSubprocessFallback | ( | SubprocessStopper | nice_stopper | ) |
| const std::pair< int, int > cuttlefish::kSimPinSizeRange | ( | 4 | , |
| 8 | |||
| ) |
|
static |
| fruit::Component< fruit::Required< KernelLogPipeProvider, const AdbConfig, const CuttlefishConfig, const CuttlefishConfig::InstanceSpecific > > cuttlefish::LaunchAdbComponent | ( | ) |
| Result< std::vector< std::string > > cuttlefish::LaunchCvdParserTester | ( | const Json::Value & | root | ) |
| std::unique_ptr< MonitorSource > cuttlefish::LauncherLogMonitorSource | ( | const LocalInstance & | instance, |
| const LogSeverity | severity | ||
| ) |
| std::string cuttlefish::LauncherMonitorSocketPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| fruit::Component< fruit::Required< KernelLogPipeProvider, const CuttlefishConfig::InstanceSpecific, const FastbootConfig > > cuttlefish::LaunchFastbootComponent | ( | ) |
| fruit::Component< fruit::Required< const CuttlefishConfig, KernelLogPipeProvider, InputPathsProvider, const CuttlefishConfig::InstanceSpecific, const CustomActionConfigProvider, WebRtcController > > cuttlefish::launchStreamerComponent | ( | ) |
| Result< uint64_t > cuttlefish::Length | ( | ReaderWriterSeeker & | seeker | ) |
| Result< std::string > cuttlefish::LinkOrCopy | ( | const std::string & | target, |
| const std::string & | destination, | ||
| const bool | overwrite_existing | ||
| ) |
| Result< void > cuttlefish::LinkOrCopyDirectoryContentsRecursively | ( | const std::string & | source, |
| const std::string & | destination | ||
| ) |
| Result< void > cuttlefish::LinkTapToBridge | ( | std::string_view | tap_name, |
| std::string_view | bridge_name | ||
| ) |
| std::vector< ImagePartition > cuttlefish::LinuxCompositeDiskConfig | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| Result< Json::Value > cuttlefish::LoadFromFile | ( | const std::string & | path_to_file | ) |
|
static |
| Result< Json::Value > cuttlefish::LoadMetaJson | ( | const std::string & | snapshot_path | ) |
|
static |
| std::unique_ptr< MonitorSource > cuttlefish::LogcatMonitorSource | ( | const LocalInstance & | instance, |
| const LogSeverity | severity | ||
| ) |
| std::string cuttlefish::LogcatPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| std::string cuttlefish::LogcatPipeName | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| Result< MonitorCommand > cuttlefish::LogcatReceiver | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| std::string cuttlefish::LogcatReceiverBinary | ( | ) |
| LogSeverity cuttlefish::LogFileSeverity | ( | ) |
| Result< void > cuttlefish::LogStringToDir | ( | const CuttlefishConfig::InstanceSpecific & | instance, |
| std::string_view | name, | ||
| std::string_view | contents | ||
| ) |
| void cuttlefish::LogToFiles | ( | const std::vector< std::string > & | files, |
| const std::string & | log_prefix | ||
| ) |
| void cuttlefish::LogToStderr | ( | const std::string & | log_prefix, |
| MetadataLevel | metadata_level, | ||
| std::optional< LogSeverity > | severity | ||
| ) |
| void cuttlefish::LogToStderrAndFiles | ( | const std::vector< std::string > & | files, |
| const std::string & | log_prefix, | ||
| MetadataLevel | stderr_level, | ||
| std::optional< LogSeverity > | stderr_severity | ||
| ) |
| std::string cuttlefish::MacAddressToString | ( | const uint8_t | mac[6] | ) |
| int cuttlefish::main | ( | int | argc, |
| char ** | argv | ||
| ) |
| Result< void > cuttlefish::MakeFatImage | ( | const std::string & | data_image, |
| int | data_image_mb, | ||
| int | offset_num_mb | ||
| ) |
| bool cuttlefish::MakeFileExecutable | ( | const std::string & | path | ) |
| std::function< void()> cuttlefish::makeSafeCallback | ( | T * | me, |
| std::function< void(T *)> | f | ||
| ) |
| std::function< void()> cuttlefish::makeSafeCallback | ( | T * | obj, |
| void(T::*)(const Params &...) | f, | ||
| const Params &... | params | ||
| ) |
| std::function< void()> cuttlefish::makeSafeCallback | ( | T * | obj, |
| void(T::*)(Params...) | f, | ||
| const Params &... | params | ||
| ) |
| bool cuttlefish::matchAttestationId | ( | keymaster_blob_t | blob, |
| const std::vector< uint8_t > & | id | ||
| ) |
| cuttlefish::MATCHER | ( | IsError | , |
| "an error result" | |||
| ) |
| cuttlefish::MATCHER | ( | IsOk | , |
| "an ok result" | |||
| ) |
| cuttlefish::MATCHER_P | ( | IsErrorAndMessage | , |
| message_matcher | , | ||
| "" | |||
| ) |
| cuttlefish::MATCHER_P | ( | IsOkAndValue | , |
| result_value_matcher | , | ||
| "" | |||
| ) |
| std::string cuttlefish::McopyBinary | ( | ) |
| fruit::Component< fruit::Required< const CuttlefishConfig, const CuttlefishConfig::InstanceSpecific, LogTeeCreator > > cuttlefish::McuComponent | ( | ) |
| fruit::Component< MediaConfigs > cuttlefish::MediaConfigsComponent | ( | ) |
| fruit::Component< fruit::Required< MediaConfigs, ConfigFlag >, MediaConfigsFlag > cuttlefish::MediaConfigsFlagComponent | ( | ) |
| fruit::Component< fruit::Required< MediaConfigs >, MediaConfigsFragment > cuttlefish::MediaConfigsFragmentComponent | ( | ) |
|
static |
| Result< MiscInfo > cuttlefish::MergeMiscInfos | ( | const MiscInfo & | vendor_info, |
| const MiscInfo & | system_info, | ||
| const MiscInfo & | combined_dp_info, | ||
| const std::vector< std::string > & | system_partitions | ||
| ) |
| std::vector< std::string > cuttlefish::MergeResults | ( | std::vector< std::string > | first_list, |
| std::vector< std::string > | scond_list | ||
| ) |
| void cuttlefish::MergeTwoJsonObjs | ( | Json::Value & | dst, |
| const Json::Value & | src | ||
| ) |
This function merges two json objects and override json tree in dst with src json keys.
| dst | : destination json object tree(modified in place) |
| src | : input json object tree to be merged |
| Result< void > cuttlefish::MkenvimageSlim | ( | const std::string & | input_path, |
| const std::string & | output_path, | ||
| size_t | env_size | ||
| ) |
| Result< void > cuttlefish::MkenvimageSlimMain | ( | int | argc, |
| char ** | argv | ||
| ) |
| std::string cuttlefish::MkfsFat | ( | ) |
| std::string cuttlefish::MkuserimgMke2fsBinary | ( | ) |
| std::string cuttlefish::MmdBinary | ( | ) |
| std::string cuttlefish::MobileGatewayName | ( | std::string_view | ipaddr, |
| uint16_t | id | ||
| ) |
| std::string cuttlefish::MobileNetworkName | ( | std::string_view | ipaddr, |
| std::string_view | netmask, | ||
| uint16_t | id | ||
| ) |
| Result< std::optional< MonitorCommand > > cuttlefish::ModemSimulator | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| std::string cuttlefish::ModemSimulatorBinary | ( | ) |
|
static |
| Result< void > cuttlefish::MonitorLogs | ( | const LocalInstance & | instance, |
| SharedFD | stop_eventfd, | ||
| LogSeverity | severity | ||
| ) |
| std::string cuttlefish::MouseCaptureServerPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| std::string cuttlefish::MouseEventsServerPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| std::string cuttlefish::MouseSocketPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| Result< void > cuttlefish::MoveDirectoryContents | ( | const std::string & | source, |
| const std::string & | destination | ||
| ) |
| bool cuttlefish::MoveIfChanged | ( | const std::string & | src, |
| const std::string & | dst | ||
| ) |
|
static |
| std::string cuttlefish::NetsimdBinary | ( | ) |
| fruit::Component< fruit::Required< const CuttlefishConfig, const CuttlefishConfig::InstanceSpecific, GrpcSocketCreator > > cuttlefish::NetsimServerComponent | ( | ) |
| bool cuttlefish::NetworkInterfaceExists | ( | const std::string & | interface_name | ) |
| std::unique_ptr< CvdCommandHandler > cuttlefish::NewCvdMonitorCommandHandler | ( | InstanceManager & | instance_manager | ) |
| std::string cuttlefish::NewfsMsdos | ( | ) |
| ManagedZipError cuttlefish::NewZipError | ( | ) |
|
static |
| Result< std::optional< MonitorCommand > > cuttlefish::NfcConnector | ( | const CuttlefishConfig & | config, |
| const CuttlefishConfig::EnvironmentSpecific & | environment, | ||
| const CuttlefishConfig::InstanceSpecific & | instance | ||
| ) |
| std::string cuttlefish::NoGroupMessage | ( | const CommandRequest & | request | ) |
| Result< std::unique_ptr< CredentialSource > > cuttlefish::Oauth2Login | ( | HttpClient & | http_client, |
| const Oauth2ConsentRequest & | request | ||
| ) |
|
static |
| std::unordered_map< std::string, std::string > cuttlefish::OpenwrtArgsFromConfig | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| fruit::Component< fruit::Required< const CuttlefishConfig, const CuttlefishConfig::EnvironmentSpecific, const CuttlefishConfig::InstanceSpecific, LogTeeCreator, WmediumdServer, Cvdalloc > > cuttlefish::OpenWrtComponent | ( | ) |
| std::string cuttlefish::OpenwrtControlServerBinary | ( | ) |
| fruit::Component< fruit::Required< const CuttlefishConfig, const CuttlefishConfig::EnvironmentSpecific, GrpcSocketCreator > > cuttlefish::OpenwrtControlServerComponent | ( | ) |
| Result< ReadableZip > cuttlefish::OpenZip | ( | BuildApi & | build_api, |
| const Build & | build, | ||
| const std::string & | name | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | os, |
| const CvdFile & | cvd_file | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | os, |
| SafeLevel | level | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| Arch | arch | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const AndroidBuild & | build | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const AndroidBuildKey & | key | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const AndroidBuilds & | builds | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const Build & | build | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const BuildArchive & | build_archive | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const BuildString & | build_string | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const Command & | command | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const DeviceBuild & | build | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const DeviceBuildString & | build_string | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const DirectoryBuild & | build | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const DirectoryBuildString & | build_string | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const FetchBuildContext & | context | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const Flag & | flag | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const PrettyContainerType & | pc | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const PrettyStruct & | ps | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const SnapshotCmd & | cmd | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const StackTraceError & | error | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const std::optional< BuildString > & | build_string | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| const std::vector< T > & | v | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| DeviceType | device_type | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| ExternalNetworkMode | net | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| FileSource | source | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| GuestHwuiRenderer | renderer | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| GuestRendererPreload | preload | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| LauncherResponse | response | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| Os | arch | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | out, |
| VmmMode | vmm | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | stream, |
| const ChromeOsBuilder & | cob | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | stream, |
| const ChromeOsBuildString & | cb | ||
| ) |
| std::ostream & cuttlefish::operator<< | ( | std::ostream & | stream, |
| const std::optional< ChromeOsBuildString > & | cb | ||
| ) |
| Result< DiskBuilder > cuttlefish::OsCompositeDiskBuilder | ( | const CuttlefishConfig & | config, |
| const CuttlefishConfig::InstanceSpecific & | instance, | ||
| const std::optional< ChromeOsStateImage > & | chrome_os_state, | ||
| const std::vector< std::unique_ptr< ImageFile > > & | image_files, | ||
| AndroidBuild & | android_build, | ||
| const SystemImageDirFlag & | system_image_dir | ||
| ) |
|
static |
|
static |
| T cuttlefish::OutcomeDereference | ( | Result< T > && | result | ) |
|
inline |
| T cuttlefish::OutcomeDereference | ( | std::optional< T > && | value | ) |
| std::enable_if< std::is_convertible_v< T, bool >, T >::type cuttlefish::OutcomeDereference | ( | T && | value | ) |
| Result< void > cuttlefish::OutputMetrics | ( | std::string_view | event_type_label, |
| std::string_view | metrics_directory, | ||
| const MetricsData & | metrics_data | ||
| ) |
| std::vector< std::string > cuttlefish::OverrideBoolArg | ( | std::vector< std::string > | args, |
| const std::unordered_set< std::string > & | flag_set | ||
| ) |
| Result< uid_t > cuttlefish::OwnerUid | ( | const pid_t | pid | ) |
|
static |
| Result< void > cuttlefish::PackRamdisk | ( | const std::string & | ramdisk_stage_dir, |
| const std::string & | output_ramdisk | ||
| ) |
|
static |
|
static |
|
static |
|
static |
| std::function< TpmObjectSlot(TpmResourceManager &)> cuttlefish::ParentKeyCreator | ( | const std::string & | unique | ) |
|
static |
| cuttlefish::AudioStreamSettings cuttlefish::ParseAudioStreamSettings | ( | const ::cuttlefish::config::Audio_PCMDevice_Stream & | stream, |
| AudioStreamSettings::Direction | direction | ||
| ) |
|
static |
| Result< bool > cuttlefish::ParseBool | ( | std::string_view | value, |
| std::string_view | name | ||
| ) |
| Result< BuildString > cuttlefish::ParseBuildString | ( | std::string_view | build_string | ) |
|
static |
| Result< CvdFlags > cuttlefish::ParseCvdConfigs | ( | const cvd::config::EnvironmentSpecification & | env_spec, |
| const LocalInstanceGroup & | group | ||
| ) |
| Result< CvdFlags > cuttlefish::ParseCvdConfigs | ( | const EnvironmentSpecification & | env_spec, |
| const LocalInstanceGroup & | group | ||
| ) |
| DeviceType cuttlefish::ParseDeviceType | ( | std::string_view | type_name | ) |
| Result< std::optional< CuttlefishConfig::DisplayConfig > > cuttlefish::ParseDisplayConfig | ( | const std::string & | flag | ) |
| Result< std::vector< CuttlefishConfig::DisplayConfig > > cuttlefish::ParseDisplayConfigsFromArgs | ( | std::vector< std::string > & | args | ) |
| Result< ExternalNetworkMode > cuttlefish::ParseExternalNetworkMode | ( | std::string_view | str | ) |
| Result< std::vector< std::string > > cuttlefish::ParseFetchCvdConfigs | ( | const cvd::config::EnvironmentSpecification & | , |
| const std::string & | target_directory, | ||
| const std::vector< std::string > & | target_subdirectories | ||
| ) |
| Result< std::vector< std::string > > cuttlefish::ParseFetchCvdConfigs | ( | const EnvironmentSpecification & | config, |
| const std::string & | target_directory, | ||
| const std::vector< std::string > & | target_subdirectories | ||
| ) |
| Result< std::vector< GflagDescription > > cuttlefish::ParseGflagsXmlHelp | ( | std::string_view | xml_help | ) |
| Result< GuestHwuiRenderer > cuttlefish::ParseGuestHwuiRenderer | ( | std::string_view | str | ) |
| Result< GuestRendererPreload > cuttlefish::ParseGuestRendererPreload | ( | std::string_view | str | ) |
|
static |
|
static |
| Result< int > cuttlefish::ParseInt | ( | const std::string & | value, |
| std::string_view | name | ||
| ) |
| Result< Json::Value > cuttlefish::ParseJson | ( | std::string_view | input | ) |
| bool cuttlefish::ParseJsonString | ( | std::string & | json_text, |
| Json::Value & | root | ||
| ) |
| Result< KernelLine > cuttlefish::ParseKernelLine | ( | std::string_view | line | ) |
| Result< std::map< std::string, std::string, std::less< void > > > cuttlefish::ParseKeyEqualsValue | ( | const std::string & | contents | ) |
| Result< std::vector< std::string > > cuttlefish::ParseLaunchCvdConfigs | ( | cvd::config::EnvironmentSpecification | ) |
| Result< std::vector< std::string > > cuttlefish::ParseLaunchCvdConfigs | ( | EnvironmentSpecification | launch | ) |
| Result< LauncherLine > cuttlefish::ParseLauncherLine | ( | std::string_view | line | ) |
| Result< LogcatLine > cuttlefish::ParseLogcatLine | ( | std::string_view | line | ) |
| Result< LogTeeLine > cuttlefish::ParseLogTeeLine | ( | std::string_view | line | ) |
| Result< std::optional< CuttlefishConfig::MediaConfig > > cuttlefish::ParseMediaConfig | ( | const std::string & | flag | ) |
| Result< std::vector< CuttlefishConfig::MediaConfig > > cuttlefish::ParseMediaConfigsFromArgs | ( | std::vector< std::string > & | args | ) |
|
static |
| selector::SelectorOptions cuttlefish::ParseSelectorConfigs | ( | const cvd::config::EnvironmentSpecification & | ) |
| selector::SelectorOptions cuttlefish::ParseSelectorConfigs | ( | const EnvironmentSpecification & | config | ) |
| Result< std::chrono::system_clock::time_point > cuttlefish::ParseTime | ( | std::string_view | str | ) |
| Result< CuttlefishConfig::TouchpadConfig > cuttlefish::ParseTouchpadConfig | ( | const std::string & | flag | ) |
| Result< std::vector< CuttlefishConfig::TouchpadConfig > > cuttlefish::ParseTouchpadConfigsFromArgs | ( | std::vector< std::string > & | args | ) |
| std::vector< std::string > cuttlefish::Path | ( | const std::string & | env_name | ) |
| std::string cuttlefish::PerUserCacheDir | ( | ) |
| std::string cuttlefish::PerUserDir | ( | ) |
| std::string cuttlefish::PflashPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| Result< std::unique_ptr< AndroidBuild > > cuttlefish::PhysicalPartitions | ( | AndroidBuild & | ) |
Wrap an AndroidBuild with fallback physical partition detection logic.
If the AndroidBuild does not already provide GPT entry information, this makes a best guess based on known logical partitions and image files.
One use case is the android product directory or m case, where the build system produces a collection of .img files including a super.img, but no explicit list of physical partitions.
| Result< std::vector< MonitorCommand > > cuttlefish::Pica | ( | const CuttlefishConfig & | config, |
| const CuttlefishConfig::InstanceSpecific & | instance, | ||
| LogTeeCreator & | log_tee | ||
| ) |
| std::string cuttlefish::PicaBinary | ( | ) |
|
static |
| void cuttlefish::PopulateCuttlefishFetch | ( | MetricsEventV2 & | event, |
| const FetchMetrics & | fetch_metrics | ||
| ) |
| void cuttlefish::PopulateCuttlefishGuest | ( | MetricsEventV2 & | metrics_event, |
| const GuestMetrics & | guest_metrics, | ||
| std::string_view | session_id | ||
| ) |
| void cuttlefish::PopulateCuttlefishHost | ( | MetricsEventV2 & | metrics_event, |
| const HostMetrics & | host_metrics | ||
| ) |
| Result< pid_t > cuttlefish::Ppid | ( | const pid_t | pid | ) |
| Result< void > cuttlefish::PReadExact | ( | const ReaderSeeker & | reader, |
| char * | buf, | ||
| size_t | size, | ||
| uint64_t | offset | ||
| ) |
| Result< T > cuttlefish::PReadExactBinary | ( | const ReaderSeeker & | reader, |
| uint64_t | offset | ||
| ) |
| EspBuilder cuttlefish::PrepareGrubESP | ( | const std::string & | image_path, |
| Arch | arch | ||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | AndroidBuild & | build, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | AndroidBuilds & | builds, |
| PrettyAdlPlaceholder | |||
| ) |
| char cuttlefish::Pretty | ( | char | value, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const android::fs_mgr::Extent & | , |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const android::fs_mgr::Interval & | , |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const android::fs_mgr::LinearExtent & | , |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const android::fs_mgr::LpMetadata & | metadata, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const android::fs_mgr::Partition & | , |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const android::fs_mgr::PartitionGroup & | , |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const android::fs_mgr::ZeroExtent & | , |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const AndroidBuildKey & | key, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const BuildArchive & | archive, |
| PrettyAdlPlaceholder | |||
| ) |
| std::string cuttlefish::Pretty | ( | const char *const & | value, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const Extent & | extent, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const GuestConfig & | config, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const Interval & | interval, |
| PrettyAdlPlaceholder | |||
| ) |
| std::string cuttlefish::Pretty | ( | const Json::Value & | root, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const LinearExtent & | linear_extent, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const LpMetadataBlockDevice & | block_device, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const LpMetadataExtent & | metadata_extent, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const LpMetadataGeometry & | geometry, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const LpMetadataHeader & | metadata_header, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const LpMetadataPartition & | metadata_partition, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const LpMetadataPartitionGroup & | metadata_partition_group, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const LpMetadataTableDescriptor & | metadata_table_descriptor, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const Partition & | partition, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const PartitionGroup & | partition_group, |
| PrettyAdlPlaceholder | |||
| ) |
| std::string cuttlefish::Pretty | ( | const Result< T > & | result, |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
| PrettyContainerType cuttlefish::Pretty | ( | const std::map< K, V, Compare > & | map, |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
| std::string cuttlefish::Pretty | ( | const std::optional< T > & | value, |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
| PrettyStruct cuttlefish::Pretty | ( | const std::pair< First, Second > & | pair, |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
| PrettyContainerType cuttlefish::Pretty | ( | const std::set< T, Comp > & | set, |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
| std::string cuttlefish::Pretty | ( | const std::string & | value, |
| PrettyAdlPlaceholder | |||
| ) |
| std::string cuttlefish::Pretty | ( | const std::string_view & | value, |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
Strings are quoted to distinguish them from other text.
| std::string cuttlefish::Pretty | ( | const std::unique_ptr< T > & | value, |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
| PrettyContainerType cuttlefish::Pretty | ( | const std::vector< T > & | vec, |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
| const T & cuttlefish::Pretty | ( | const T & | value, |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
This is the fallback pretty-printing case: if abseil can print the value, have abseil do it.
This function is intended to be overloaded. Overloads for common types are in this directory, but other types can also define their own overloads.
Not all overloads will return std::string. The returned type should be formattable by abseil, libfmt, and ostreams. This allows deferring formatting to avoid allocating fewer intermediate strings.
If a type defines both a cuttlefish::Pretty overload and an AbslStringify hook, the cuttlefish::Pretty implementation is preferred by overload resolution as it is a more specific type. However, if the cuttlefish::Pretty overload is defined in a different header, the presence of the header affects which overloads are in scope, so leaving the header include out could still compile but unintentionally refer to this default fallback. Therefore, cuttlefish::Pretty overloads should be declared together with the header.
Worse than that, the PrettyAdlPlaceHolder() hack is there to trigger argument-dependent lookup within namespace cuttlefish: otherwise the Pretty overloads for non-namespace cuttlefish types will only be detected based on declaration order through standard name lookup rules. Having an argument type declared within namespace cuttlefish forces it to search the entire namespace rather than only declarations defined earlier in the translation unit. This is relevant for Pretty invocations within PrettyContainer and PrettyStruct.
| PrettyStruct cuttlefish::Pretty | ( | const ZeroExtent & | zero_extent, |
| PrettyAdlPlaceholder | |||
| ) |
| int16_t cuttlefish::Pretty | ( | int16_t | value, |
| PrettyAdlPlaceholder | |||
| ) |
| int32_t cuttlefish::Pretty | ( | int32_t | value, |
| PrettyAdlPlaceholder | |||
| ) |
| int64_t cuttlefish::Pretty | ( | int64_t | value, |
| PrettyAdlPlaceholder | |||
| ) |
| int8_t cuttlefish::Pretty | ( | int8_t | , |
| PrettyAdlPlaceholder | unused = PrettyAdlPlaceholder() |
||
| ) |
The standard says that accessing unaligned values by reference is undefined behavior. These overloads of cuttlefish::Pretty capture calls that use numeric values and pass them by value rather than the default pass-by-reference fallback defined in pretty.h. This is because numeric values are likely to appear in __attribute__((packed)) structs which can have unaligned values.
| uint16_t cuttlefish::Pretty | ( | uint16_t | value, |
| PrettyAdlPlaceholder | |||
| ) |
| uint32_t cuttlefish::Pretty | ( | uint32_t | value, |
| PrettyAdlPlaceholder | |||
| ) |
| uint64_t cuttlefish::Pretty | ( | uint64_t | value, |
| PrettyAdlPlaceholder | |||
| ) |
| uint8_t cuttlefish::Pretty | ( | uint8_t | value, |
| PrettyAdlPlaceholder | |||
| ) |
| PrettyContainerType cuttlefish::PrettyContainer | ( | const T & | container | ) |
| PrettyContainerType cuttlefish::PrettyContainer | ( | const T & | container, |
| FmtMemberFn | format_member_fn | ||
| ) |
| PrettyContainerType cuttlefish::PrettyIterable | ( | Iterator | begin, |
| Iterator | end | ||
| ) |
| PrettyContainerType cuttlefish::PrettyIterable | ( | Iterator | begin, |
| Iterator | end, | ||
| FmtIteratorFn | format_iterator_fn | ||
| ) |
| Result< MetricsFlags > cuttlefish::ProcessFlags | ( | int | argc, |
| char ** | argv | ||
| ) |
| std::string cuttlefish::ProcessRestarterBinary | ( | ) |
| MasterBootRecord cuttlefish::ProtectiveMbr | ( | uint64_t | size | ) |
Creates a "Protective" MBR Partition Table header. The GUID Partition Table Specification recommends putting this on the first sector of the disk, to protect against old disk formatting tools from misidentifying the GUID Partition Table later and doing the wrong thing.
| std::unique_ptr< ProxyServer > cuttlefish::ProxyAsync | ( | SharedFD | server, |
| std::function< SharedFD()> | conn_factory | ||
| ) |
| Result< PruneResult > cuttlefish::PruneCache | ( | const std::string & | cache_directory, |
| const size_t | allowed_size_gb | ||
| ) |
| Result< void > cuttlefish::PruneLogsDirectory | ( | const std::string & | log_dir = CvdUserLogDir(), |
| size_t | retain = kCvdRetainLogFilesNum |
||
| ) |
Prunes the logs directory keeping only the most recent log files.
| std::string cuttlefish::PstorePath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| Result< std::unique_ptr< InterruptListenerHandle > > cuttlefish::PushInterruptListener | ( | InterruptListener | listener | ) |
Allows reacting to interrupt-like signals (SIGINT, SIGHUP, SIGTERM). A global stack of interrupt listeners is maintained. When an interrupt signal is received the listener at top of the stack is executed. Returns an object that, when destroyed, disables the listener at the top of the stack, re-enabling the previous one. This function is not thread-safe and shouldn't be called from multiple threads, not even with synchronization. The listeners are executed in a background thread, not in the actual interrupt handler. It's ok to run blocking code in that thread, but disabling the listener may wait for the thread to finish executing, so if the code in the listener could wait for the thread that disables it a deadlock may occur. Similarly, disabling the listener from inside the listener will lead to a deadlock. The listener is given the actual signal received, one of SIGINT, SIGHUP or SIGTERM. To disable the listener (pop it from the listener stack) just destroy the returned handle.
|
static |
|
static |
| std::string cuttlefish::RandomSerialNumber | ( | const std::string & | prefix | ) |
|
static |
| std::string cuttlefish::ReadAllFDData | ( | SharedFD | fd | ) |
| Result< std::string > cuttlefish::ReadAndroidVersionFromBootImage | ( | const std::string & | boot_image_path | ) |
| Result< std::string > cuttlefish::ReadCvdDataFile | ( | std::string_view | path | ) |
| ssize_t cuttlefish::ReadExact | ( | SharedFD | fd, |
| char * | buf, | ||
| size_t | size | ||
| ) |
Reads from fd until reading size bytes or errors.
On a successful read, returns buf->size().
If a read error is encountered, returns -1. buf will contain any data read up until that point and errno will be set.
When the size is 0, read(fd, buf, 0) is effectively called, which means error(s) might be detected. If detected, the return value would be -1. If not detected, the return value will be 0.
| ssize_t cuttlefish::ReadExact | ( | SharedFD | fd, |
| std::string * | buf | ||
| ) |
Reads from fd until reading buf->size() bytes or errors.
On a successful read, returns buf->size().
If a read error is encountered, returns -1. buf will contain any data read up until that point and errno will be set.
If the size of buf is 0, read(fd, buf, 0) is effectively called, which means error(s) might be detected. If detected, the return value would be -1. If not detected, the return value will be 0.
| ssize_t cuttlefish::ReadExact | ( | SharedFD | fd, |
| std::vector< char > * | buf | ||
| ) |
Reads from fd until reading buf->size() bytes or errors.
On a successful read, returns buf->size().
If a read error is encountered, returns -1. buf will contain any data read up until that point and errno will be set.
If the size of buf is 0, read(fd, buf, 0) is effectively called, which means error(s) might be detected. If detected, the return value would be -1. If not detected, the return value will be 0.
| ssize_t cuttlefish::ReadExactBinary | ( | SharedFD | fd, |
| T * | binary_data | ||
| ) |
| Result< std::optional< T > > cuttlefish::ReadExactBinaryOrEof | ( | Reader & | reader | ) |
| Result< RunnerExitCodes > cuttlefish::ReadExitCode | ( | SharedFD | monitor_socket | ) |
| std::string cuttlefish::ReadFile | ( | const std::string & | file | ) |
| Result< std::string > cuttlefish::ReadFileContents | ( | const std::string & | path | ) |
| Result< std::vector< GuestConfig > > cuttlefish::ReadGuestConfig | ( | const BootImageFlag & | boot_image, |
| const KernelPathFlag & | kernel_path, | ||
| const SystemImageDirFlag & | system_image_dirs | ||
| ) |
| Result< std::optional< LauncherActionInfo > > cuttlefish::ReadLauncherActionFromFd | ( | SharedFD | monitor_socket | ) |
| Result< std::string > cuttlefish::ReadLink | ( | const char * | path | ) |
| Result< std::string > cuttlefish::ReadLink | ( | const std::string & | path | ) |
| Result< std::string > cuttlefish::ReadLink | ( | std::string_view | path | ) |
| Json::Value cuttlefish::ReadProtectedJsonFromFile | ( | TpmResourceManager & | resource_manager, |
| const std::string & | filename | ||
| ) |
| Result< std::string > cuttlefish::ReadSessionIdFile | ( | const std::string & | metrics_directory | ) |
| Result< std::string > cuttlefish::ReadToString | ( | ReadableZipSource & | source | ) |
| Result< std::string > cuttlefish::RealPath | ( | const std::string & | path | ) |
| Result< void > cuttlefish::RebuildSuperImageIfNecessary | ( | const FetcherConfig & | fetcher_config, |
| const CuttlefishConfig::InstanceSpecific & | instance | ||
| ) |
|
static |
| Result< void > cuttlefish::RecursivelyRemoveDirectory | ( | const std::string & | path | ) |
Receives 'count' bytes from sock, checking for socket error conditions
On successful Recv, returns a string containing the received data
| Result< void > cuttlefish::RemoveFile | ( | const char * | file | ) |
| Result< void > cuttlefish::RemoveFile | ( | const std::string & | file | ) |
| Result< void > cuttlefish::RemoveFile | ( | std::string_view | file | ) |
| Result< void > cuttlefish::Rename | ( | const char * | oldpath, |
| const char * | newpath | ||
| ) |
| Result< void > cuttlefish::Rename | ( | const std::string & | oldpath, |
| const std::string & | newpath | ||
| ) |
| Result< void > cuttlefish::Rename | ( | std::string_view | oldpath, |
| std::string_view | newpath | ||
| ) |
| Result< std::string > cuttlefish::RenameFile | ( | const std::string & | current_filepath, |
| const std::string & | target_filepath | ||
| ) |
| Result< void > cuttlefish::RepackBootImage | ( | const std::string & | new_kernel_path, |
| const std::string & | boot_image_path, | ||
| const std::string & | new_boot_image_path | ||
| ) |
| Result< void > cuttlefish::RepackGem5BootImage | ( | const std::string & | initrd_path, |
| const std::optional< BootConfigPartition > & | bootconfig_partition, | ||
| const std::string & | unpack_dir, | ||
| const std::string & | input_ramdisk_path | ||
| ) |
| Result< void > cuttlefish::RepackKernelRamdisk | ( | const CuttlefishConfig & | config, |
| const CuttlefishConfig::InstanceSpecific & | instance | ||
| ) |
| Result< void > cuttlefish::RepackSuperWithPartition | ( | const std::string & | superimg_path, |
| const std::string & | image_path, | ||
| const std::string & | partition_name | ||
| ) |
| Result< void > cuttlefish::RepackVendorBootImage | ( | const std::string & | new_ramdisk, |
| const std::string & | vendor_boot_image_path, | ||
| const std::string & | new_vendor_boot_image_path, | ||
| const std::string & | unpack_dir, | ||
| bool | bootconfig_supported | ||
| ) |
| Result< void > cuttlefish::RepackVendorBootImageWithEmptyRamdisk | ( | const std::string & | vendor_boot_image_path, |
| const std::string & | new_vendor_boot_image_path, | ||
| const std::string & | unpack_dir, | ||
| bool | bootconfig_supported | ||
| ) |
| Result< CvdCommandHandler * > cuttlefish::RequestHandler | ( | const CommandRequest & | request, |
| const std::vector< std::unique_ptr< CvdCommandHandler > > & | handlers | ||
| ) |
| std::vector< std::string > cuttlefish::RequiredDirectories | ( | const CuttlefishConfig & | config | ) |
| Result< void > cuttlefish::ResolveInstanceFiles | ( | const BootImageFlag & | boot_image, |
| const InitramfsPathFlag & | initramfs_path, | ||
| const KernelPathFlag & | kernel_path, | ||
| const SuperImageFlag & | super_image, | ||
| const SystemImageDirFlag & | system_image_dir, | ||
| const VendorBootImageFlag & | vendor_boot_image | ||
| ) |
| std::string cuttlefish::RestoreAdbdPipeName | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| std::string cuttlefish::ResultErrorFormat | ( | bool | color | ) |
| Result< std::string > cuttlefish::ResultInstanceFlag | ( | const std::string & | name, |
| const cvd::config::EnvironmentSpecification & | config, | ||
| T | callback | ||
| ) |
| std::unique_ptr< HttpClient > cuttlefish::RetryingServerErrorHttpClient | ( | HttpClient & | inner, |
| int | retry_attempts, | ||
| std::chrono::milliseconds | retry_delay | ||
| ) |
| std::string cuttlefish::RootCanalBinary | ( | ) |
| fruit::Component< fruit::Required< const CuttlefishConfig, const CuttlefishConfig::InstanceSpecific, LogTeeCreator > > cuttlefish::RootCanalComponent | ( | ) |
| std::string cuttlefish::RotaryCaptureServerPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| std::string cuttlefish::RotaryEventsServerPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| std::string cuttlefish::RotarySocketPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
|
static |
| Result< void > cuttlefish::RunCvdMain | ( | int | argc, |
| char ** | argv | ||
| ) |
| int cuttlefish::RunExternalCommand | ( | const std::string & | command | ) |
| Result< void > cuttlefish::RunLauncherAction | ( | SharedFD | monitor_socket, |
| const run_cvd::ExtendedLauncherAction & | extended_action, | ||
| std::optional< int > | timeout_seconds | ||
| ) |
| Result< void > cuttlefish::RunLauncherAction | ( | SharedFD | monitor_socket, |
| LauncherAction | action, | ||
| std::optional< int > | timeout_seconds | ||
| ) |
| Result< void > cuttlefish::RunLogin | ( | ) |
| Result< void > cuttlefish::RunStopCvd | ( | StopCvdParams | params | ) |
–clear_instance_dirs or –instance_nums may not be available in old branches. This causes stop_cvd to terminate with a non-zero exit code due to a parsing error. Try again without that flag.
| int cuttlefish::RunWithManagedStdio | ( | Command | cmd_tmp, |
| const std::string * | stdin_str, | ||
| std::string * | stdout_str, | ||
| std::string * | stderr_str, | ||
| SubprocessOptions | options | ||
| ) |
| Result< std::optional< MonitorCommand > > cuttlefish::ScreenRecordingServer | ( | GrpcSocketCreator & | grpc_socket | ) |
| std::string cuttlefish::ScreenRecordingServerBinary | ( | ) |
| std::string cuttlefish::ScrubSecrets | ( | const std::string & | data | ) |
| std::string cuttlefish::ScrubUrl | ( | std::string_view | url | ) |
| Result< std::string > cuttlefish::Search | ( | const std::vector< std::string > & | path, |
| std::string_view | name | ||
| ) |
| Result< MonitorCommand > cuttlefish::SecureEnv | ( | const CuttlefishConfig & | config, |
| const CuttlefishConfig::InstanceSpecific & | instance, | ||
| AutoSnapshotControlFiles::Type & | snapshot_control_files, | ||
| KernelLogPipeProvider & | kernel_log_pipe_provider | ||
| ) |
| std::string cuttlefish::SecureEnvBinary | ( | ) |
| Result< void > cuttlefish::SecureEnvMain | ( | int | argc, |
| char ** | argv | ||
| ) |
|
static |
| int cuttlefish::Select | ( | SharedFDSet * | read_set, |
| SharedFDSet * | write_set, | ||
| SharedFDSet * | error_set, | ||
| struct timeval * | timeout | ||
| ) |
SharedFD version of select.
read_set, write_set, and timeout are in/out parameters. This caller should keep a copy of the original values if it wants to preserve them.
| bool cuttlefish::SendAll | ( | SharedFD | sock, |
| std::string_view | msg | ||
| ) |
Sends contents of msg through sock, checking for socket error conditions
On successful Send, returns true
If a Send error is encountered, returns false. Some data may have already been written to 'sock' at that point.
|
static |
| Result< MonitorCommand > cuttlefish::SensorsSimulator | ( | const CuttlefishConfig::InstanceSpecific & | instance, |
| AutoSensorsSocketPair::Type & | sensors_socket_pair, | ||
| KernelLogPipeProvider & | kernel_log_pipe_provider | ||
| ) |
| std::string cuttlefish::SensorsSimulatorBinary | ( | ) |
|
static |
| std::string cuttlefish::Serialize | ( | const DisjointRangeSet & | range_set | ) |
| std::string cuttlefish::SerializeKeyEqualsValue | ( | const std::map< std::string, std::string > & | key_equals_value | ) |
| std::string cuttlefish::SerializeKeyEqualsValue | ( | const std::map< std::string, std::string, std::less< void > > & | key_equals_value | ) |
| fruit::Component< fruit::Required< const CuttlefishConfig, const CuttlefishConfig::InstanceSpecific, AutoSnapshotControlFiles::Type, WebRtcController >, ServerLoop > cuttlefish::serverLoopComponent | ( | ) |
| Result< void > cuttlefish::SetDefaultFlagsForCrosvm | ( | const SystemImageDirFlag & | system_image_dir, |
| const std::vector< GuestConfig > & | guest_configs, | ||
| std::map< std::string, std::string > & | name_to_default_value | ||
| ) |
| void cuttlefish::SetDefaultFlagsForGem5 | ( | ) |
| void cuttlefish::SetDefaultFlagsForOpenwrt | ( | Arch | target_arch | ) |
| void cuttlefish::SetFilepath | ( | BuildString & | build_string, |
| const std::string & | value | ||
| ) |
| Result< void > cuttlefish::SetFlagDefaultsForVmm | ( | const std::vector< GuestConfig > & | guest_configs, |
| const SystemImageDirFlag & | system_image_dir, | ||
| const VmManagerFlag & | vm_manager_flag | ||
| ) |
| void cuttlefish::SetLoggers | ( | std::vector< SeverityTarget > | destinations, |
| const std::string & | log_prefix | ||
| ) |
|
static |
| std::shared_ptr< AudioHandler > cuttlefish::SetupAudio | ( | const cuttlefish::CuttlefishConfig::InstanceSpecific & | instance, |
| cuttlefish::webrtc_streaming::Streamer & | streamer | ||
| ) |
| bool cuttlefish::SetupBridgeGateway | ( | std::string_view | bridge_name, |
| std::string_view | ipaddr | ||
| ) |
| std::unordered_set< SetupFeature * > cuttlefish::SetupFeatureDeps | ( | const std::tuple< Args... > & | args | ) |
| Result< void > cuttlefish::SetUpMetrics | ( | const std::string & | metrics_directory | ) |
|
static |
| Result< bool > cuttlefish::ShouldAutoLogin | ( | const BuildApiFlags & | flags | ) |
| bool cuttlefish::ShouldColorStderr | ( | ) |
| bool cuttlefish::ShouldColorStdout | ( | ) |
| bool cuttlefish::ShouldEnableMultitouch | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| Result< void > cuttlefish::ShutdownIface | ( | std::string_view | name | ) |
| std::function< TpmObjectSlot(TpmResourceManager &)> cuttlefish::SigningKeyCreator | ( | const std::string & | unique | ) |
| std::string cuttlefish::Simg2ImgBinary | ( | ) |
|
static |
| std::string cuttlefish::SnapshotMetaJsonPath | ( | const std::string & | snapshot_path | ) |
| std::string cuttlefish::SocketVsockProxyBinary | ( | ) |
| std::string_view cuttlefish::SourceEnumToString | ( | FileSource | source | ) |
| FileSource cuttlefish::SourceStringToEnum | ( | std::string_view | source | ) |
| Result< void > cuttlefish::SparseCopy | ( | Reader & | reader, |
| WriterSeeker & | writer, | ||
| size_t | buffer_size | ||
| ) |
| FileSizes cuttlefish::SparseFileSizes | ( | const std::string & | path | ) |
|
static |
Distinguish what properties the secure_env implementation handles. If secure_env handles it, the property is put in hw_enforced. Otherwise, the property is put in sw_enforced, and the Keystore process inside Android will try to enforce the property.
| Result< void > cuttlefish::SplitRamdiskModules | ( | const std::string & | ramdisk_path, |
| const std::string & | ramdisk_stage_dir, | ||
| const std::string & | vendor_dlkm_build_dir, | ||
| const std::string & | system_dlkm_build_dir | ||
| ) |
| bool cuttlefish::StartDnsmasq | ( | std::string_view | bridge_name, |
| std::string_view | gateway, | ||
| std::string_view | dhcp_range | ||
| ) |
| Result< void > cuttlefish::StartScreenRecording | ( | const CuttlefishConfig::InstanceSpecific & | instance_config, |
| std::chrono::seconds | wait_for_launcher | ||
| ) |
| Result< struct stat > cuttlefish::Stat | ( | const char * | path | ) |
| Result< struct stat > cuttlefish::Stat | ( | const std::string & | path | ) |
| Result< struct stat > cuttlefish::Stat | ( | std::string_view | path | ) |
| std::string cuttlefish::StopCvdBinary | ( | ) |
| bool cuttlefish::StopDnsmasq | ( | std::string_view | name | ) |
|
static |
| Result< void > cuttlefish::StopScreenRecording | ( | const CuttlefishConfig::InstanceSpecific & | instance_config, |
| std::chrono::seconds | wait_for_launcher | ||
| ) |
|
static |
| std::string cuttlefish::StrError | ( | int | error_num | ) |
| std::optional< std::string > cuttlefish::StringFromEnv | ( | const char * | varname | ) |
| std::string cuttlefish::StringFromEnv | ( | const char * | varname, |
| const std::string & | defval | ||
| ) |
| std::optional< std::string > cuttlefish::StringFromEnv | ( | const std::string & | varname | ) |
| std::string cuttlefish::StringFromEnv | ( | const std::string & | varname, |
| const std::string & | defval | ||
| ) |
| std::optional< std::string > cuttlefish::StringFromEnv | ( | std::string_view | varname | ) |
| std::string cuttlefish::StringFromEnv | ( | std::string_view | varname, |
| const std::string & | defval | ||
| ) |
| Result< FromGflags< std::string > > cuttlefish::StringFromGlobalGflags | ( | const gflags::CommandLineFlagInfo & | flag_info, |
| const std::string & | flag_name | ||
| ) |
| AdbMode cuttlefish::StringToAdbMode | ( | std::string_view | mode | ) |
| std::string cuttlefish::StripColorCodes | ( | const std::string & | str | ) |
| Result< std::unique_ptr< AndroidBuild > > cuttlefish::SuperImageAsBuild | ( | AndroidBuild & | build | ) |
| Result< bool > cuttlefish::SuperImageNeedsRebuilding | ( | const FetcherConfig & | fetcher_config, |
| const std::string & | default_target_zip, | ||
| const std::string & | system_target_zip | ||
| ) |
| std::string cuttlefish::SwitchesCaptureServerPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| std::string cuttlefish::SwitchesEventsServerPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| std::string cuttlefish::SwitchesSocketPath | ( | const CuttlefishConfig::InstanceSpecific & | ins | ) |
| Result< void > cuttlefish::Symlink | ( | const std::string & | target, |
| const std::string & | linkpath | ||
| ) |
| Result< void > cuttlefish::SymlinkHostPackage | ( | const std::string & | target_dir | ) |
| Result< std::string > cuttlefish::SystemWideUserHome | ( | ) |
returns the user's home defined by the system
This is done not by using HOME but by calling getpwuid(getuid())
| Result< std::unique_ptr< AndroidBuild > > cuttlefish::TargetFiles | ( | const FetcherConfig & | , |
| FileSource | |||
| ) |
Finds Android build artifacts from a -target_files- zip file downloaded and possibly extracted by cvd fetch.
| Result< std::unique_ptr< AndroidBuild > > cuttlefish::TargetFiles | ( | const std::string & | path | ) |
Finds android build artifacts from a -target_files- zip file that is present in a directory, likely the out/dist directory of a local Android build.
| std::string cuttlefish::TcpConnectorBinary | ( | ) |
| std::string cuttlefish::TempDir | ( | ) |
| cuttlefish::TEST | ( | AdbConfigTest | , |
| SerializeDeserialize | |||
| ) |
| cuttlefish::TEST | ( | AdbConfigTest | , |
| SetFromFlags | |||
| ) |
| cuttlefish::TEST | ( | Base64Test | , |
| DecodeMult3 | |||
| ) |
| cuttlefish::TEST | ( | Base64Test | , |
| DecodeNonMult3 | |||
| ) |
| cuttlefish::TEST | ( | Base64Test | , |
| DecodeStringViewSubstring | |||
| ) |
| cuttlefish::TEST | ( | Base64Test | , |
| EncodeMult3 | |||
| ) |
| cuttlefish::TEST | ( | Base64Test | , |
| EncodeNonMult3 | |||
| ) |
| cuttlefish::TEST | ( | Base64Test | , |
| EncodeOneZero | |||
| ) |
| cuttlefish::TEST | ( | Base64Test | , |
| EncodeThreeZeroes | |||
| ) |
| cuttlefish::TEST | ( | Base64Test | , |
| EncodeTwoZeroes | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseNetSimArgs | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseNetSimArgsWhitespaceError | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseNetSimFlagEmptyJson | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseNetSimFlagEnabled | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesAutoTabletDisplaysFlag | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesBlankDataImageEmptyJson | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesBlankDataImageFullJson | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesBlankDataImagePartialJson | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesBootAnimationFlagEmptyJson | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesBootAnimationFlagFullJson | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesBootAnimationFlagPartialJson | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesDisplaysFlagEmptyDisplays | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesDisplaysFlagEmptyGraphics | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesDisplaysFlagEmptyJson | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesEnforceSecurityFlagEmptyJson | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesEnforceSecurityFlagFullJson | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesEnforceSecurityFlagPartialJson | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesSerialNumberFlagEmptyJson | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesSerialNumberFlagFullJson | |||
| ) |
| cuttlefish::TEST | ( | BootFlagsParserTest | , |
| ParseTwoInstancesSerialNumberFlagPartialJson | |||
| ) |
| cuttlefish::TEST | ( | BuildStringGflagsCompatFlagTests | , |
| EmptyInputEmptyResultSuccess | |||
| ) |
| cuttlefish::TEST | ( | BuildStringGflagsCompatFlagTests | , |
| MultiEmptyValueSuccess | |||
| ) |
| cuttlefish::TEST | ( | BuildStringGflagsCompatFlagTests | , |
| MultiValueMixedWithEmptySuccess | |||
| ) |
| cuttlefish::TEST | ( | BuildStringGflagsCompatFlagTests | , |
| MultiValueSuccess | |||
| ) |
| cuttlefish::TEST | ( | ConfigFlagsParserTest | , |
| ParseMultiInstanceConfig | |||
| ) |
| cuttlefish::TEST | ( | ConfigFlagsParserTest | , |
| ParseMultiInstanceConfigPartial | |||
| ) |
| cuttlefish::TEST | ( | ConfigFlagsParserTest | , |
| ParseSingleInstanceConfig | |||
| ) |
| cuttlefish::TEST | ( | ConnectivityFlagsParserTest | , |
| ParseModemSimulatorSimTypeInvalidInt | |||
| ) |
| cuttlefish::TEST | ( | ConnectivityFlagsParserTest | , |
| ParseModemSimulatorSimTypeInvalidString | |||
| ) |
| cuttlefish::TEST | ( | ConnectivityFlagsParserTest | , |
| ParseModemSimulatorSimTypeUnspecified | |||
| ) |
| cuttlefish::TEST | ( | ConnectivityFlagsParserTest | , |
| ParseModemSimulatorSimTypeValidInt | |||
| ) |
| cuttlefish::TEST | ( | ConnectivityFlagsParserTest | , |
| ParseModemSimulatorSimTypeValidString | |||
| ) |
| cuttlefish::TEST | ( | CvdFlagTest | , |
| FlagProxyFilter | |||
| ) |
| cuttlefish::TEST | ( | CvdLoadFlagsTest | , |
| CredentialSourceConflictWithOverride | |||
| ) |
| cuttlefish::TEST | ( | CvdLoadFlagsTest | , |
| CredentialSourceDuplicated | |||
| ) |
| cuttlefish::TEST | ( | CvdLoadFlagsTest | , |
| CredentialSourceGetter | |||
| ) |
| cuttlefish::TEST | ( | CvdLoadFlagsTest | , |
| CredentialSourceSetter | |||
| ) |
| cuttlefish::TEST | ( | CvdLoadFlagsTest | , |
| DuplicateOverridesFail | |||
| ) |
| cuttlefish::TEST | ( | CvdLoadFlagsTest | , |
| OverrideConflictWithCredentialSource | |||
| ) |
| cuttlefish::TEST | ( | CvdLoadFlagsTest | , |
| OverrideConflictWithProjectID | |||
| ) |
| cuttlefish::TEST | ( | CvdLoadFlagsTest | , |
| ProjectIDConflictWithOverride | |||
| ) |
| cuttlefish::TEST | ( | CvdLoadFlagsTest | , |
| ProjectIDDuplicated | |||
| ) |
| cuttlefish::TEST | ( | CvdLoadFlagsTest | , |
| ProjectIDGetter | |||
| ) |
| cuttlefish::TEST | ( | CvdLoadFlagsTest | , |
| ProjectIDSetter | |||
| ) |
| cuttlefish::TEST | ( | DisplayConfigTest | , |
| ParseProto | |||
| ) |
| cuttlefish::TEST | ( | EnvironmentTest | , |
| StringFromEnvCharPtr | |||
| ) |
| cuttlefish::TEST | ( | EnvironmentTest | , |
| StringFromEnvCharPtrDefault | |||
| ) |
| cuttlefish::TEST | ( | EnvironmentTest | , |
| StringFromEnvCharPtrDefaultFallback | |||
| ) |
| cuttlefish::TEST | ( | EnvironmentTest | , |
| StringFromEnvString | |||
| ) |
| cuttlefish::TEST | ( | EnvironmentTest | , |
| StringFromEnvStringDefault | |||
| ) |
| cuttlefish::TEST | ( | EnvironmentTest | , |
| StringFromEnvStringDefaultFallback | |||
| ) |
| cuttlefish::TEST | ( | EnvironmentTest | , |
| StringFromEnvStringView | |||
| ) |
| cuttlefish::TEST | ( | EnvironmentTest | , |
| StringFromEnvStringViewDefault | |||
| ) |
| cuttlefish::TEST | ( | EnvironmentTest | , |
| StringFromEnvStringViewDefaultFallback | |||
| ) |
| cuttlefish::TEST | ( | FakeHttpClientTest | , |
| ChoosesUrl | |||
| ) |
| cuttlefish::TEST | ( | FakeHttpClientTest | , |
| InvokesCallback | |||
| ) |
| cuttlefish::TEST | ( | FakeHttpClientTest | , |
| NoMatchingUrl | |||
| ) |
| cuttlefish::TEST | ( | FakeHttpClientTest | , |
| WithoutUrlMatching | |||
| ) |
| cuttlefish::TEST | ( | FetchConfigParserTests | , |
| AndroidEfiLoaderBuildOnlySuccess | |||
| ) |
| cuttlefish::TEST | ( | FetchConfigParserTests | , |
| KernelBuildOnlySuccess | |||
| ) |
| cuttlefish::TEST | ( | FetchConfigParserTests | , |
| NoBuildStringsProducesNoFlagsSuccess | |||
| ) |
| cuttlefish::TEST | ( | FetchCvdParserTests | , |
| CreatesCasDownloaderFlags | |||
| ) |
| cuttlefish::TEST | ( | FilesTest | , |
| PathWithCustomEnv | |||
| ) |
| cuttlefish::TEST | ( | FilesTest | , |
| PathWithSecondCustomEnv | |||
| ) |
| cuttlefish::TEST | ( | FilesTest | , |
| SearchFileNotFoundReturnsError | |||
| ) |
| cuttlefish::TEST | ( | FilesTest | , |
| SearchFindsFile | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| BoolFlag | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| BoolFlagXml | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| BoolVectorFlag | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| DuplicateAlias | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| EndOfOptionMark | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| FlagRemoval | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| IntFlag | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| IntFlagXml | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| InvalidIntFlag | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| InvalidStringFlag | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| NormalizedStringFlag | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalBoolFlag_DefaultOptNotPresent | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalBoolFlag_DefaultOptPresent_FalseValue | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalBoolFlag_DefaultOptPresent_FlagOnly | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalBoolFlag_DefaultOptPresent_TrueValue | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalBoolFlag_EmptyOptEmptyFlag | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalBoolFlag_NoFlag | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalBoolFlag_UnsetOptUnsetValue | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalInt64Flag_NotPresent | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalInt64Flag_Present | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalStringFlag_DefaultOptEmtpyFlag | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalStringFlag_DefaultOptNotPresent | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalStringFlag_DefaultOptPresent | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalStringFlag_EmptyOptEmtpyFlag | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalStringFlag_EmptyOptPresent | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalStringFlag_UnsetOptOtherValue | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalStringFlag_UnsetOptUnsetValue | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalStringVectorFlag_DefaultOptEmptyValue | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalStringVectorFlag_DefaultOptNotPresent | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalStringVectorFlag_DefaultOptPresent | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalStringVectorFlag_EmptyOptEmptyValue | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalStringVectorFlag_EmptyOptPresent | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalStringVectorFlag_UnsetOptPresent | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| OptionalStringVectorFlag_UnsetOptUnsetValue | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| RepeatedListFlag | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| RepeatedStringFlag | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| StringFlag | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| StringFlagXml | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| StringIntFlag | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| StringVectorFlag | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| UnexpectedArgumentGuard | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| ValueNameHint_Customized | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| ValueNameHint_CustomizedWithAlias | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| ValueNameHint_DefaultDerived | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| ValueNameHint_DefaultDerivedDashed | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| ValueNameHint_DefaultDerivedSnaked | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| VectorFlagValueNameHint_BoolVector | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| VectorFlagValueNameHint_OptionalStringVector | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| VectorFlagValueNameHint_OptionalUnsignedVector | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| VectorFlagValueNameHint_StringVector | |||
| ) |
| cuttlefish::TEST | ( | FlagParser | , |
| VectorFlagValueNameHint_UnsignedVector | |||
| ) |
| cuttlefish::TEST | ( | FlagsInheritanceTest | , |
| MergeTwoIndependentJson | |||
| ) |
| cuttlefish::TEST | ( | FlagsInheritanceTest | , |
| MergeTwoOverlappedJson | |||
| ) |
| cuttlefish::TEST | ( | FlagsParserTest | , |
| ParseBasicJsonSingleInstances | |||
| ) |
| cuttlefish::TEST | ( | FlagsParserTest | , |
| ParseBasicJsonTwoInstances | |||
| ) |
| cuttlefish::TEST | ( | FlagsParserTest | , |
| ParseInvalidJson | |||
| ) |
| cuttlefish::TEST | ( | FlagsParserTest | , |
| ParseJsonWithSpellingError | |||
| ) |
| cuttlefish::TEST | ( | FlagsParserTest | , |
| ParseMediaMplane | |||
| ) |
| cuttlefish::TEST | ( | FlagsParserTest | , |
| ParseMediaSplaneSingleInstance | |||
| ) |
| cuttlefish::TEST | ( | FlagsParserTest | , |
| ParseMediaSplaneTwoDevices | |||
| ) |
| cuttlefish::TEST | ( | FlagsParserTest | , |
| ParseMediaV4l2Proxy | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseEmptyFile | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseEmptyRteTrkFile | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseEmptyRteTrkString | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseEmptyString | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseFileNotFound | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseFileNullAttributeFile | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseFileNullAttributeString | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseLocationMissingLatitudeFile | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseLocationMissingLatitudeString | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseLocationMissingLongitudeFile | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseLocationMissingLongitudeString | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseValidDocumentFile | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseValidDocumentString | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseValidFile | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseValidLocationFile | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseValidLocationString | |||
| ) |
| cuttlefish::TEST | ( | GpxParser | , |
| ParseValidString | |||
| ) |
| cuttlefish::TEST | ( | HostToolManager | , |
| KnownBins | |||
| ) |
| cuttlefish::TEST | ( | HostToolTarget | , |
| KnownFlags | |||
| ) |
| cuttlefish::TEST | ( | InMemoryIoTest | , |
| WriteAtReadAt | |||
| ) |
| cuttlefish::TEST | ( | InMemoryIoTest | , |
| WriteSeek | |||
| ) |
| cuttlefish::TEST | ( | InMemoryIoTest | , |
| WriteSeekRead | |||
| ) |
| cuttlefish::TEST | ( | InMemoryIoTest | , |
| WriteWriteReadAt | |||
| ) |
| cuttlefish::TEST | ( | KernelTest | , |
| ParseKernelLineInvalid | |||
| ) |
| cuttlefish::TEST | ( | KernelTest | , |
| ParseKernelLineNoColon | |||
| ) |
| cuttlefish::TEST | ( | KernelTest | , |
| ParseKernelLineParens | |||
| ) |
| cuttlefish::TEST | ( | KernelTest | , |
| ParseKernelLineValid | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseBadCoordinatesFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseBadCoordinatesString | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseEmptyKmlFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseEmptyKmlString | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseLocationMissingRequiredFieldsFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseLocationMissingRequiredFieldsString | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseLocationNameOnlyFirstFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseLocationNameOnlyFirstString | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseLocationNormalFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseLocationNormalMissingOptionalFieldsFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseLocationNormalMissingOptionalFieldsString | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseLocationNormalString | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseMultipleCoordinatesFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseMultipleCoordinatesString | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseMultipleLocationsFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseMultipleLocationsString | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseNonexistentFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseOneCoordinateFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseOneCoordinateString | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParsePlacemarkNullNameNoCrashFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParsePlacemarkNullNameNoCrashString | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseValidComplexFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseValidComplexString | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseValidKmlFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| ParseValidKmlString | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| TraverseDocNoPlacemarksFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| TraverseDocNoPlacemarksString | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| TraverseEmptyDocFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| TraverseEmptyDocString | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| TraverseNestedDocFile | |||
| ) |
| cuttlefish::TEST | ( | KmlParser | , |
| TraverseNestedDocString | |||
| ) |
| cuttlefish::TEST | ( | LauncherTest | , |
| ParseLauncherLineInvalid | |||
| ) |
| cuttlefish::TEST | ( | LauncherTest | , |
| ParseLauncherLineValid | |||
| ) |
| cuttlefish::TEST | ( | LogcatTest | , |
| ParseLogcatLineInvalid | |||
| ) |
| cuttlefish::TEST | ( | LogcatTest | , |
| ParseLogcatLineValid | |||
| ) |
| cuttlefish::TEST | ( | LogTeeTest | , |
| ParseLogTeeLineInvalid | |||
| ) |
| cuttlefish::TEST | ( | LogTeeTest | , |
| ParseLogTeeLineValid | |||
| ) |
| cuttlefish::TEST | ( | ParseBuildStringTests | , |
| DeviceBuildStringMultipleSlashesFail | |||
| ) |
| cuttlefish::TEST | ( | ParseBuildStringTests | , |
| DeviceBuildStringNoTargetSuccess | |||
| ) |
| cuttlefish::TEST | ( | ParseBuildStringTests | , |
| DeviceBuildStringSuccess | |||
| ) |
| cuttlefish::TEST | ( | ParseBuildStringTests | , |
| DirectoryBuildStringMultiplePathSuccess | |||
| ) |
| cuttlefish::TEST | ( | ParseBuildStringTests | , |
| DirectoryBuildStringSinglePathSuccess | |||
| ) |
| cuttlefish::TEST | ( | ParseBuildStringTests | , |
| EmptyStringFail | |||
| ) |
| cuttlefish::TEST | ( | ParseBuildStringTests | , |
| FilepathBracketsButNoValueFail | |||
| ) |
| cuttlefish::TEST | ( | ParseBuildStringTests | , |
| FilepathExistsMissingBracketFail | |||
| ) |
| cuttlefish::TEST | ( | ParseBuildStringTests | , |
| FilepathExistsSuccess | |||
| ) |
| cuttlefish::TEST | ( | ParseBuildStringTests | , |
| FilepathOnlyFail | |||
| ) |
| cuttlefish::TEST | ( | Pretty | , |
| OuterInnerStruct | |||
| ) |
| cuttlefish::TEST | ( | PrettyContainer | , |
| Empty | |||
| ) |
| cuttlefish::TEST | ( | PrettyContainer | , |
| MembersWithNewlines | |||
| ) |
| cuttlefish::TEST | ( | PrettyContainer | , |
| NestedMember | |||
| ) |
| cuttlefish::TEST | ( | PrettyContainer | , |
| OneMember | |||
| ) |
| cuttlefish::TEST | ( | PrettyContainer | , |
| StringMember | |||
| ) |
| cuttlefish::TEST | ( | PrettyContainer | , |
| TwoMembers | |||
| ) |
| cuttlefish::TEST | ( | PrettyJson | , |
| Structured | |||
| ) |
| cuttlefish::TEST | ( | PrettyStruct | , |
| Empty | |||
| ) |
| cuttlefish::TEST | ( | PrettyStruct | , |
| NestedMembers | |||
| ) |
| cuttlefish::TEST | ( | PrettyStruct | , |
| OneMember | |||
| ) |
| cuttlefish::TEST | ( | PrettyStruct | , |
| StringMember | |||
| ) |
| cuttlefish::TEST | ( | PrettyStruct | , |
| TwoMembers | |||
| ) |
| cuttlefish::TEST | ( | ProcFilePid | , |
| CurrentPidCollected | |||
| ) |
| cuttlefish::TEST | ( | ProcFileUid | , |
| SelfUidTest | |||
| ) |
| cuttlefish::TEST | ( | ResultTest | , |
| ExpectBoolBadNoMessage | |||
| ) |
| cuttlefish::TEST | ( | ResultTest | , |
| ExpectBoolBadWithMessage | |||
| ) |
| cuttlefish::TEST | ( | ResultTest | , |
| ExpectBoolGoodNoMessage | |||
| ) |
| cuttlefish::TEST | ( | ResultTest | , |
| ExpectBoolGoodWithMessage | |||
| ) |
| cuttlefish::TEST | ( | ResultTest | , |
| ExpectEqBadNoMessage | |||
| ) |
| cuttlefish::TEST | ( | ResultTest | , |
| ExpectEqBadWithMessage | |||
| ) |
| cuttlefish::TEST | ( | ResultTest | , |
| ExpectEqGoodNoMessage | |||
| ) |
| cuttlefish::TEST | ( | ResultTest | , |
| ExpectEqGoodWithMessage | |||
| ) |
| cuttlefish::TEST | ( | ResultTest | , |
| ExpectWithResultBadNoMessage | |||
| ) |
| cuttlefish::TEST | ( | ResultTest | , |
| ExpectWithResultBadWithMessage | |||
| ) |
| cuttlefish::TEST | ( | ResultTest | , |
| ExpectWithResultGoodNoMessage | |||
| ) |
| cuttlefish::TEST | ( | ResultTest | , |
| ExpectWithResultGoodWithMessage | |||
| ) |
| cuttlefish::TEST | ( | SemVer | , |
| ParseBasic | |||
| ) |
| cuttlefish::TEST | ( | SemVer | , |
| ParseInvalid | |||
| ) |
| cuttlefish::TEST | ( | SemVer | , |
| ParseWithPrereleaseAndMetadata | |||
| ) |
| cuttlefish::TEST | ( | SendFD | , |
| Basic | |||
| ) |
| cuttlefish::TEST | ( | SingleBuildStringGflagsCompatFlagTests | , |
| EmptyInputEmptyResultSuccess | |||
| ) |
| cuttlefish::TEST | ( | SingleBuildStringGflagsCompatFlagTests | , |
| HasValueSuccess | |||
| ) |
| cuttlefish::TEST | ( | TpmEncryptedSerializable | , |
| BinaryData | |||
| ) |
| cuttlefish::TEST | ( | TruncateColoredStringTest | , |
| AnsiNoTruncate | |||
| ) |
| cuttlefish::TEST | ( | TruncateColoredStringTest | , |
| AnsiTruncate | |||
| ) |
| cuttlefish::TEST | ( | TruncateColoredStringTest | , |
| AnsiTruncateNoResetInInput | |||
| ) |
| cuttlefish::TEST | ( | TruncateColoredStringTest | , |
| NoAnsiNoTruncate | |||
| ) |
| cuttlefish::TEST | ( | TruncateColoredStringTest | , |
| NoAnsiTruncate | |||
| ) |
| cuttlefish::TEST | ( | UnixMessageSocket | , |
| AutoCredentials | |||
| ) |
| cuttlefish::TEST | ( | UnixMessageSocket | , |
| BadCredentialsBlocked | |||
| ) |
| cuttlefish::TEST | ( | UnixMessageSocket | , |
| SendCredentials | |||
| ) |
| cuttlefish::TEST | ( | UnixMessageSocket | , |
| SendFileDescriptor | |||
| ) |
| cuttlefish::TEST | ( | UnixMessageSocket | , |
| SendPlainMessage | |||
| ) |
| cuttlefish::TEST | ( | UnixMessageSocket | , |
| SendTwoFileDescriptors | |||
| ) |
| cuttlefish::TEST | ( | UnixSocketMessage | , |
| ExtractFileDescriptors | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseOneInstanceSetupWizardInvalidValue | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesCpuFlagFullJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesCpuFlagPartialJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesCustomActionsFlagEmptyJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesCustomActionsFlagPartialJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesMemoryFlagFullJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesMemoryFlagPartialJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesQemu | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesSandboxFlagFullJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesSandboxFlagPartialJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesSdCardFlagFullJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesSdCardFlagPartialJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesSetupWizardFlagFullJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesSetupWizardFlagPartialJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesSimpleMediaDeviceFlagFullJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesSimpleMediaDeviceFlagPartialJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesUuidFlagFullJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesUuidFlagPartialJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesV4l2ProxyFlagFullJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesV4l2ProxyFlagPartialJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesVhostUserVsockFlagFullJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesVhostUserVsockFlagPartialJson | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesVmManagerFlagDefault | |||
| ) |
| cuttlefish::TEST | ( | VmFlagsParserTest | , |
| ParseTwoInstancesVmManagerFlagEmptyJson | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| CacheEnabledIfCacheDirSet | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| CacheMaxSize_DefaultWhenAbsent | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| CacheMaxSize_OverriddenWhenTooSmall | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| DisablesCacheIfCacheDirNotSet | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| DownloadsCompressedIfNotPreferUncompressed | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| DownloadsCompressedIfPreferUncompressedButUnavailable | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| DownloadsDigestsOnlyIfNeeded | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| DownloadsUncompressedIfPreferUncompressed | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| FailsIfArtifactNotInDigestsFile | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| FailsIfDigestsFileDoesNotExist | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| FailsToCreateWithInvalidCasDownloaderPath | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| FailsToCreateWithInvalidConfigPath | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| HandlesFalseBoolFlag | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| HandlesInvocationIdFlag | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| HandlesUnexpectedHelpOutput | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| IgnoresUnsupportedFlags | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| PassesCasOptionsFromCommandLine | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| PassesOptionalStatsFilepathWhenSet | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| RecognizesValidFlags | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| UsesAdcIfServiceAccountUnavailable | |||
| ) |
| cuttlefish::TEST_F | ( | CasDownloaderTests | , |
| UsesServiceAccountIfAvailable | |||
| ) |
| cuttlefish::TEST_F | ( | CasFlagsTests | , |
| DefaultValuesAreSet | |||
| ) |
| cuttlefish::TEST_F | ( | CasFlagsTests | , |
| FlagsMethodReturnsVector | |||
| ) |
| cuttlefish::TEST_F | ( | CasFlagsTests | , |
| FlagValueCanBeModified | |||
| ) |
| cuttlefish::TEST_F | ( | CasFlagsTests | , |
| FlagValueComparisons | |||
| ) |
| cuttlefish::TEST_F | ( | CasFlagsTests | , |
| FlagValueConversion | |||
| ) |
| cuttlefish::TEST_F | ( | CasFlagsTests | , |
| FlagValueInitializesWithDefault | |||
| ) |
| cuttlefish::TEST_F | ( | CasFlagsTests | , |
| FlagValuePointerLike | |||
| ) |
| cuttlefish::TEST_F | ( | CasFlagsTests | , |
| MultipleInstancesIndependent | |||
| ) |
| cuttlefish::TEST_F | ( | CasFlagsTests | , |
| PriorityLogicCliBlocksConfig | |||
| ) |
| cuttlefish::TEST_F | ( | CasFlagsTests | , |
| PriorityLogicCliOverridesDefaults | |||
| ) |
| cuttlefish::TEST_F | ( | CasFlagsTests | , |
| PriorityLogicConfigAppliesWhenNotCli | |||
| ) |
| cuttlefish::TEST_F | ( | CvdFlagCollectionTest | , |
| AllGivenFlagsListed | |||
| ) |
| cuttlefish::TEST_F | ( | CvdFlagCollectionTest | , |
| Init | |||
| ) |
| cuttlefish::TEST_F | ( | CvdFlagCollectionTest | , |
| Leftover | |||
| ) |
| cuttlefish::TEST_F | ( | FetchCvdTests | , |
| CasDownloaderInvokedIfDownloaderPathSetInCasConfig | |||
| ) |
| cuttlefish::TEST_F | ( | FetchCvdTests | , |
| CasDownloaderInvokedIfDownloaderPathSetOnCommandLine | |||
| ) |
| cuttlefish::TEST_F | ( | FetchCvdTests | , |
| CasDownloaderNotCalledIfNoFlags | |||
| ) |
| cuttlefish::TEST_F | ( | FilesTests | , |
| LinkOrCopyRecursively | |||
| ) |
| cuttlefish::TEST_F | ( | FilesTests | , |
| LinkOrCopyRecursivelyFailsIfSourceIsNotADirectory | |||
| ) |
| cuttlefish::TEST_F | ( | FilesTests | , |
| MoveDirectoryContents | |||
| ) |
| cuttlefish::TEST_F | ( | FilesTests | , |
| MoveDirectoryContentsFailsIfSourceIsNotADirectory | |||
| ) |
| cuttlefish::TEST_P | ( | FrontlineParserTestFixture | , |
| FrontlineParserTest | |||
| ) |
| fruit::Component< TestData > cuttlefish::TestComponent | ( | ) |
| std::string cuttlefish::TestKeyRsa2048 | ( | ) |
| std::string cuttlefish::TestKeyRsa4096 | ( | ) |
| std::string cuttlefish::TestPubKeyRsa2048 | ( | ) |
| std::string cuttlefish::TestPubKeyRsa4096 | ( | ) |
|
static |
| fruit::Component< fruit::Required< const CuttlefishConfig, LogTeeCreator, const CuttlefishConfig::InstanceSpecific > > cuttlefish::Ti50EmulatorComponent | ( | ) |
| std::string cuttlefish::ToEventLabel | ( | const FetchMetrics & | fetch_metrics | ) |
| std::string cuttlefish::ToHexString | ( | const std::vector< uint8_t > & | binary | ) |
| Result< MonitorCommand > cuttlefish::TombstoneReceiver | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| std::string cuttlefish::TombstoneReceiverBinary | ( | ) |
| int cuttlefish::TombstoneReceiverMain | ( | int | argc, |
| char ** | argv | ||
| ) |
| Result< LogSeverity > cuttlefish::ToSeverity | ( | std::string_view | value | ) |
| std::string cuttlefish::ToString | ( | GuestHwuiRenderer | renderer | ) |
| std::string cuttlefish::ToString | ( | GuestRendererPreload | preload | ) |
| std::string cuttlefish::ToString | ( | SecureHal | hal_in | ) |
| std::string cuttlefish::ToString | ( | VmmMode | mode | ) |
| fruit::Component< TouchpadsConfigs > cuttlefish::TouchpadsConfigsComponent | ( | ) |
| fruit::Component< fruit::Required< TouchpadsConfigs, ConfigFlag >, TouchpadsConfigsFlag > cuttlefish::TouchpadsConfigsFlagComponent | ( | ) |
| std::string cuttlefish::TpmCommandName | ( | uint32_t | command_num | ) |
| bool cuttlefish::TpmDecrypt | ( | ESYS_CONTEXT * | esys, |
| ESYS_TR | key_handle, | ||
| TpmAuth | auth, | ||
| const TPM2B_IV & | iv, | ||
| uint8_t * | data_in, | ||
| uint8_t * | data_out, | ||
| size_t | data_size | ||
| ) |
Decrypt data_in to data_out, which are both buffers of size data_size.
There are no integrity guarantees on this data: if the encrypted data is corrupted, decrypting it could either fail or produce corrupted output.
| bool cuttlefish::TpmEncrypt | ( | ESYS_CONTEXT * | esys, |
| ESYS_TR | key_handle, | ||
| TpmAuth | auth, | ||
| const TPM2B_IV & | iv, | ||
| uint8_t * | data_in, | ||
| uint8_t * | data_out, | ||
| size_t | data_size | ||
| ) |
Encrypt data_in to data_out, which are both buffers of size data_size.
There are no integrity guarantees on this data: if the encrypted data is corrupted, decrypting it could either fail or produce corrupted output.
iv should be generated randomly, and can be stored unencrypted next to the plaintext.
|
static |
| UniqueEsysPtr< TPM2B_DIGEST > cuttlefish::TpmHmac | ( | TpmResourceManager & | resource_manager, |
| ESYS_TR | key_handle, | ||
| TpmAuth | auth, | ||
| const uint8_t * | data, | ||
| size_t | data_size | ||
| ) |
Returns a HMAC signature for data with the key loaded into the TPM at key_handle.
The signature is a byte string that certifies a process that can make TPM API calls has signed off on using another byte string (data) for some purpose, which is implicitly tied to the signing key. In this case, the secure_env process is the only process that should have TPM access. secure_env can then transmit some data together with a signature over that data, an external system (Android) can hold onto this data and the signature, and then the secure_env process can receive the data back. The signature is used to check that the data has not been tampered with.
| UniqueEsysPtr< TPM2B_DIGEST > cuttlefish::TpmHmacWithContext | ( | TpmResourceManager & | resource_manager, |
| const std::string & | context, | ||
| const uint8_t * | data, | ||
| size_t | data_size | ||
| ) |
Returns a HMAC signature for data with a key created in the TPM with context / unique-data context.
| Result< void > cuttlefish::TransmitMetrics | ( | const std::string & | transmitter_binary, |
| const CuttlefishLogEvent & | cf_log_event | ||
| ) |
| Result< void > cuttlefish::TransmitMetrics | ( | const std::string & | transmitter_binary, |
| const logs::proto::wireless::android::cuttlefish::CuttlefishLogEvent & | cf_log_event | ||
| ) |
| Result< void > cuttlefish::TransmitMetricsEvent | ( | const wireless_android_play_playlog::LogRequest & | log_request, |
| ClearcutEnvironment | environment | ||
| ) |
| std::string cuttlefish::TransmitterPath | ( | ) |
| TruncatedString cuttlefish::TruncateColoredString | ( | std::string_view | s, |
| size_t | max_visible_width | ||
| ) |
| Result< const CudaFunctions * > cuttlefish::TryLoadCuda | ( | ) |
| Result< const NV_ENCODE_API_FUNCTION_LIST * > cuttlefish::TryLoadNvenc | ( | ) |
|
inline |
| bool cuttlefish::TypeIsSuccess | ( | Result< T > & | value | ) |
| bool cuttlefish::TypeIsSuccess | ( | std::optional< T > & | value | ) |
|
inlineconstexpr |
| std::pair< UnixMessageSocket, UnixMessageSocket > cuttlefish::UnixMessageSocketPair | ( | ) |
| Result< void > cuttlefish::UnpackBootImage | ( | const std::string & | boot_image_path, |
| const std::string & | unpack_dir | ||
| ) |
| std::string cuttlefish::UnpackBootimgBinary | ( | ) |
| Result< void > cuttlefish::UnpackRamdisk | ( | const std::string & | original_ramdisk_path, |
| const std::string & | ramdisk_stage_dir | ||
| ) |
| Result< VendorBootImage > cuttlefish::UnpackVendorBootImageIfNotUnpacked | ( | const std::string & | vendor_boot_image_path, |
| const std::string & | unpack_dir | ||
| ) |
|
static |
| std::string cuttlefish::UrlEscape | ( | std::string_view | text | ) |
| bool cuttlefish::UseQemuPrebuilt | ( | ) |
|
static |
|
static |
|
static |
| Result< std::optional< MonitorCommand > > cuttlefish::UwbConnector | ( | const CuttlefishConfig & | config, |
| const CuttlefishConfig::InstanceSpecific & | instance | ||
| ) |
|
static |
| Result< void > cuttlefish::ValidateBoardBootconfigKeys | ( | const cuttlefish::DeviceType | type, |
| const std::map< std::string, std::string, std::less< void > > | args | ||
| ) |
| Result< cvd::config::EnvironmentSpecification > cuttlefish::ValidateCfConfigs | ( | const Json::Value & | root | ) |
| Result< void > cuttlefish::ValidateCvdallocBinary | ( | std::string_view | path | ) |
| Result< void > cuttlefish::ValidateHostConfiguration | ( | ) |
| Result< void > cuttlefish::ValidateHostKernel | ( | ) |
| Result< void > cuttlefish::ValidateSetupWizardMode | ( | const std::string & | setupwizard_mode | ) |
| Result< void > cuttlefish::ValidateTapDevices | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
|
inlineconstexpr |
| Result< void > cuttlefish::VbmetaEnforceMinimumSize | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| std::optional< MonitorCommand > cuttlefish::VhalProxyServer | ( | const CuttlefishConfig::InstanceSpecific & | instance | ) |
| std::string cuttlefish::VhalProxyServerBinary | ( | ) |
| std::string cuttlefish::VhalProxyServerConfig | ( | ) |
| fruit::Component< fruit::Required< const CuttlefishConfig, LogTeeCreator, const CuttlefishConfig::InstanceSpecific > > cuttlefish::VhostDeviceVsockComponent | ( | ) |
| fruit::Component< fruit::Required< const CuttlefishConfig::InstanceSpecific >, InputPathsProvider, LogTeeCreator > cuttlefish::VhostInputDevicesComponent | ( | ) |
| std::string cuttlefish::VhostUserInputBinary | ( | ) |
| fruit::Component< fruit::Required< const CuttlefishConfig::InstanceSpecific, LogTeeCreator > > cuttlefish::VhostUserMediaDevicesComponent | ( | ) |
| std::string cuttlefish::VhostUserMediaEmulatedCameraMPlaneBinary | ( | ) |
| std::string cuttlefish::VhostUserMediaEmulatedCameraSPlaneBinary | ( | ) |
| std::string cuttlefish::VhostUserMediaV4l2StreamProxyBinary | ( | ) |
|
static |
|
static |
| bool cuttlefish::VmManagerIsCrosvm | ( | const CuttlefishConfig & | config | ) |
| bool cuttlefish::VmManagerIsCrosvm | ( | const VmManagerFlag & | vmm | ) |
| bool cuttlefish::VmManagerIsCrosvm | ( | VmmMode | mode | ) |
| bool cuttlefish::VmManagerIsGem5 | ( | const CuttlefishConfig & | config | ) |
| bool cuttlefish::VmManagerIsGem5 | ( | const VmManagerFlag & | vmm | ) |
| bool cuttlefish::VmManagerIsGem5 | ( | VmmMode | mode | ) |
| bool cuttlefish::VmManagerIsQemu | ( | const CuttlefishConfig & | config | ) |
| bool cuttlefish::VmManagerIsQemu | ( | const VmManagerFlag & | vmm | ) |
| bool cuttlefish::VmManagerIsQemu | ( | VmmMode | mode | ) |
|
static |
| Result< void > cuttlefish::WaitForUnixSocket | ( | const std::string & | path, |
| int | timeoutSec | ||
| ) |
| Result< void > cuttlefish::WaitForUnixSocketListeningWithoutConnect | ( | const std::string & | path, |
| int | timeoutSec | ||
| ) |
| Result< void > cuttlefish::WalkDirectory | ( | const std::string & | dir, |
| const WalkDirectoryCallback & | callback | ||
| ) |
| std::string cuttlefish::WebRtcBinary | ( | ) |
| fruit::Component< CustomActionConfigProvider > cuttlefish::WebRtcComponent | ( | ) |
| fruit::Component< WebRtcController > cuttlefish::WebRtcControllerComponent | ( | ) |
| std::string cuttlefish::WebRtcSigServerBinary | ( | ) |
| std::string cuttlefish::WebRtcSigServerProxyBinary | ( | ) |
| Result< std::vector< uint8_t > > cuttlefish::WithCrc16A | ( | const std::vector< uint8_t > & | data | ) |
| Result< std::vector< uint8_t > > cuttlefish::WithCrc16B | ( | const std::vector< uint8_t > & | data | ) |
| BuildString cuttlefish::WithFallbackTarget | ( | BuildString | build_string, |
| std::string | fallback | ||
| ) |
| std::string cuttlefish::WmediumdBinary | ( | ) |
| std::string cuttlefish::WmediumdGenConfigBinary | ( | ) |
| fruit::Component< fruit::Required< const CuttlefishConfig, const CuttlefishConfig::EnvironmentSpecific, const CuttlefishConfig::InstanceSpecific, LogTeeCreator, GrpcSocketCreator > > cuttlefish::WmediumdServerComponent | ( | ) |
| ssize_t cuttlefish::WriteAll | ( | SharedFD | fd, |
| const char * | buf, | ||
| size_t | size | ||
| ) |
Writes to fd until size bytes are written from buf.
On a successful write, returns size.
If a write error is encountered, returns -1. Some data may have already been written to fd at that point.
If size is 0, WriteAll returns 0 with no error set unless the fd is a regular file. If fd is a regular file, write(fd, buf, 0) is effectively called. It may detect errors; if detected, errno is set and -1 is returned. If not detected, 0 is returned with errno unchanged.
| ssize_t cuttlefish::WriteAll | ( | SharedFD | fd, |
| const std::vector< char > & | buf | ||
| ) |
Writes to fd until writing all bytes in buf.
On a successful write, returns buf.size().
If a write error is encountered, returns -1. Some data may have already been written to fd at that point.
If the size of buf is 0, WriteAll returns 0 with no error set unless the fd is a regular file. If fd is a regular file, write(fd, buf, 0) is effectively called. It may detect errors; if detected, errno is set and -1 is returned. If not detected, 0 is returned with errno unchanged.
| ssize_t cuttlefish::WriteAll | ( | SharedFD | fd, |
| std::string_view | buf | ||
| ) |
Writes to fd until writing all bytes in buf.
On a successful write, returns buf.size().
If a write error is encountered, returns -1. Some data may have already been written to fd at that point.
If the size of buf is 0, WriteAll returns 0 with no error set unless the fd is a regular file. If fd is a regular file, write(fd, buf, 0) is effectively called. It may detect errors; if detected, errno is set and -1 is returned. If not detected, 0 is returned with errno unchanged.
| ssize_t cuttlefish::WriteAllBinary | ( | SharedFD | fd, |
| const T * | binary_data | ||
| ) |
Writes to fd until sizeof(T) bytes are written from binary_data.
On a successful write, returns sizeof(T).
If a write error is encountered, returns -1. Some data may have already been written to fd at that point.
If ever sizeof(T) is 0, WriteAll returns 0 with no error set unless the fd is a regular file. If fd is a regular file, write(fd, buf, 0) is effectively called. It may detect errors; if detected, errno is set and -1 is returned. If not detected, 0 is returned with errno unchanged.
| Result< void > cuttlefish::WriteCvdDataFile | ( | std::string_view | path, |
| std::string | contents | ||
| ) |
| Result< void > cuttlefish::WriteExactBinary | ( | Writer & | writer, |
| const T & | data | ||
| ) |
|
static |
| void cuttlefish::WriteGflagsCompatXml | ( | const Flag & | flag, |
| std::ostream & | out | ||
| ) |
| void cuttlefish::WriteGflagsCompatXml | ( | const std::vector< Flag > & | flags, |
| std::ostream & | out | ||
| ) |
| Result< void > cuttlefish::WriteKeyEqualsValue | ( | const std::map< std::string, std::string > & | key_equals_value, |
| const std::string & | path | ||
| ) |
| Result< void > cuttlefish::WriteKeyEqualsValue | ( | const std::map< std::string, std::string, std::less< void > > & | key_equals_value, |
| const std::string & | path | ||
| ) |
| Result< void > cuttlefish::WriteMetricsEvent | ( | std::string_view | event_type_label, |
| std::string_view | metrics_directory, | ||
| const CuttlefishLogEvent & | cf_log_event | ||
| ) |
| Result< void > cuttlefish::WriteMetricsEvent | ( | std::string_view | event_type_label, |
| std::string_view | metrics_directory, | ||
| const logs::proto::wireless::android::cuttlefish::CuttlefishLogEvent & | cf_log_event | ||
| ) |
| Result< void > cuttlefish::WriteNewFile | ( | const std::string & | filepath, |
| std::string_view | content, | ||
| mode_t | mode | ||
| ) |
| bool cuttlefish::WriteProtectedJsonToFile | ( | TpmResourceManager & | resource_manager, |
| const std::string & | filename, | ||
| Json::Value | json | ||
| ) |
|
static |
| std::string cuttlefish::ZipErrorString | ( | zip_error_t * | error | ) |
| std::string cuttlefish::ZipErrorString | ( | zip_source_t * | source | ) |
| std::string cuttlefish::ZipErrorString | ( | zip_t * | source | ) |
| Result< ReadableZip > cuttlefish::ZipOpenRead | ( | const std::string & | fs_path | ) |
| Result< WritableZip > cuttlefish::ZipOpenReadWrite | ( | const std::string & | fs_path | ) |
| Result< std::unique_ptr< ReaderSeeker > > cuttlefish::ZipSourceAsReaderSeeker | ( | SeekableZipSource | inner | ) |
| Result< SeekableZipSource > cuttlefish::ZipSourceFromUrl | ( | HttpClient & | http_client, |
| const std::string & | url, | ||
| std::vector< std::string > | headers | ||
| ) |
|
staticconstexpr |
|
staticconstexpr |
|
constexpr |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
constexpr |
|
constexpr |
| const std::map<SimService::SimStatus, std::string> cuttlefish::gSimStatusResponse |
|
inlineconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| char cuttlefish::kBadCoordinatesText[] |
|
constexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
constexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexpr |
|
staticconstexpr |
|
staticconstexpr |
|
constexpr |
|
constexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexpr |
|
inlineconstexpr |
|
constexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
constexpr |
|
static |
|
staticconstexpr |
|
inlineconstexpr |
|
static |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
constexpr |
|
constexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
constexpr |
|
staticconstexpr |
| char cuttlefish::kEmptyKmlText[] |
| char cuttlefish::kEmptyRteTrkText[] |
| char cuttlefish::kEmptyText[] |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
constexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexpr |
|
staticconstexpr |
|
constexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
inlinestaticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
static |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| char cuttlefish::kLocationMissingFieldsText[] |
| char cuttlefish::kLocationMissingLongitudeLatitudeText[] |
| char cuttlefish::kLocationMissingLongitudeText[] |
| char cuttlefish::kLocationMissingRequiredFieldsText[] |
| char cuttlefish::kLocationNameOnlyFirstText[] |
| char cuttlefish::kLocationNormalText[] |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexpr |
|
inlineconstexpr |
|
constexpr |
|
inlineconstexpr |
|
constexpr |
|
constexpr |
|
staticconstexpr |
|
staticconstexpr |
|
constexpr |
|
constexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| char cuttlefish::kMultipleCoordinatesText[] |
| char cuttlefish::kMultipleLocationsText[] |
|
staticconstexpr |
| char cuttlefish::kNestedDocText[] |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| char cuttlefish::kNoPlacemarksText[] |
| char cuttlefish::kNullAttributeText[] |
| char cuttlefish::kNullNameNoCrashText[] |
|
staticconstexpr |
| char cuttlefish::kOneCoordinateText[] |
|
staticconstexpr |
|
staticconstexpr |
|
constexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
constexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
constexpr |
|
inlineconstexpr |
|
static |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
staticconstexpr |
|
constexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
inlineconstexpr |
| char cuttlefish::kTraverseEmptyDocText[] |
|
staticconstexpr |
|
static |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| char cuttlefish::kValidComplexText[] |
| char cuttlefish::kValidDocumentText[] |
| char cuttlefish::kValidkmlText[] |
| char cuttlefish::kValidLocationText[] |
| char cuttlefish::kValidText[] |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
static |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
| int cuttlefish::MarshalFn = 0 |
| auto cuttlefish::MarshalFn< TPM2B_PRIVATE > = Tss2_MU_TPM2B_PRIVATE_Marshal |
| auto cuttlefish::MarshalFn< TPM2B_PUBLIC > = Tss2_MU_TPM2B_PUBLIC_Marshal |
|
static |
|
static |
|
static |
|
constexpr |
| char cuttlefish::pipe_message[] = "Testing the pipe" |
|
staticconstexpr |
| int cuttlefish::UnmarshalFn = 0 |
| auto cuttlefish::UnmarshalFn< TPM2B_PRIVATE > = Tss2_MU_TPM2B_PRIVATE_Unmarshal |
| auto cuttlefish::UnmarshalFn< TPM2B_PUBLIC > = Tss2_MU_TPM2B_PUBLIC_Unmarshal |
|
inlineconstexpr |
|
constexpr |