Android-cuttlefish cvd tool
Namespaces | Functions | Variables
notification.cc File Reference
#include "cuttlefish/metrics/io/notification.h"
#include <iostream>
#include <sstream>
#include <string>
#include <string_view>
#include "absl/log/log.h"
#include "fmt/format.h"
#include "cuttlefish/files/file_exists.h"
#include "cuttlefish/host/libs/directories/xdg.h"
#include "cuttlefish/metrics/io/enabled.h"
#include "cuttlefish/result/result.h"
Include dependency graph for notification.cc:

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::anonymous_namespace{notification.cc}
 

Functions

Result< std::string > cuttlefish::anonymous_namespace{notification.cc}::GetNoticeFilepath ()
 
Result< void > cuttlefish::anonymous_namespace{notification.cc}::WriteNoticeFile (const std::string &contents)
 
std::string cuttlefish::anonymous_namespace{notification.cc}::GetNoticeMessage ()
 
void cuttlefish::DisplayPrivacyNotice ()
 

Variables

constexpr std::string_view cuttlefish::anonymous_namespace{notification.cc}::kNoticeFilename = "PRIVACY_NOTICE.txt"
 
constexpr std::string_view cuttlefish::anonymous_namespace{notification.cc}::kTermsAndPrivacyNotice
 
constexpr std::string_view cuttlefish::anonymous_namespace{notification.cc}::kMetricsEnabledNotice