Home
last modified time | relevance | path

Searched refs:BRILLO_EXPORT (Results 1 – 25 of 66) sorted by relevance

123

/external/libbrillo/brillo/http/
Dhttp_request.h26 BRILLO_EXPORT extern const char kOptions[];
27 BRILLO_EXPORT extern const char kGet[];
28 BRILLO_EXPORT extern const char kHead[];
29 BRILLO_EXPORT extern const char kPost[];
30 BRILLO_EXPORT extern const char kPut[];
31 BRILLO_EXPORT extern const char kPatch[]; // Non-standard HTTP/1.1 verb
32 BRILLO_EXPORT extern const char kDelete[];
33 BRILLO_EXPORT extern const char kTrace[];
34 BRILLO_EXPORT extern const char kConnect[];
35 BRILLO_EXPORT extern const char kCopy[]; // Non-standard HTTP/1.1 verb
[all …]
Dhttp_utils.h56 BRILLO_EXPORT std::unique_ptr<Response> SendRequestAndBlock(
68 BRILLO_EXPORT std::unique_ptr<Response> SendRequestWithNoDataAndBlock(
80 BRILLO_EXPORT RequestID SendRequest(
95 BRILLO_EXPORT RequestID SendRequest(
109 BRILLO_EXPORT RequestID SendRequestWithNoData(
120 BRILLO_EXPORT std::unique_ptr<Response> GetAndBlock(
129 BRILLO_EXPORT RequestID Get(
139 BRILLO_EXPORT std::unique_ptr<Response> HeadAndBlock(
147 BRILLO_EXPORT RequestID Head(
156 BRILLO_EXPORT std::unique_ptr<Response> PostBinaryAndBlock(
[all …]
Dhttp_form_data.h22 BRILLO_EXPORT extern const char kFormData[];
23 BRILLO_EXPORT extern const char kFile[];
33 class BRILLO_EXPORT FormField {
95 class BRILLO_EXPORT TextFormField : public FormField {
117 class BRILLO_EXPORT FileFormField : public FormField {
151 class BRILLO_EXPORT MultiPartFormField : public FormField {
198 class BRILLO_EXPORT FormData final {
Dhttp_transport.h23 BRILLO_EXPORT extern const char kErrorDomain[];
25 BRILLO_EXPORT extern const char kDirectProxy[]; // direct://
43 class BRILLO_EXPORT Transport : public std::enable_shared_from_this<Transport> {
/external/libbrillo/brillo/
Dmime_utils.h21 BRILLO_EXPORT extern const char kApplication[]; // application
22 BRILLO_EXPORT extern const char kAudio[]; // audio
23 BRILLO_EXPORT extern const char kImage[]; // image
24 BRILLO_EXPORT extern const char kMessage[]; // message
25 BRILLO_EXPORT extern const char kMultipart[]; // multipart
26 BRILLO_EXPORT extern const char kText[]; // test
27 BRILLO_EXPORT extern const char kVideo[]; // video
32 BRILLO_EXPORT extern const char kCharset[]; // charset=...
37 BRILLO_EXPORT extern const char kJpeg[]; // image/jpeg
38 BRILLO_EXPORT extern const char kPng[]; // image/png
[all …]
Dcryptohome.h17 BRILLO_EXPORT extern const char kGuestUserName[];
21 BRILLO_EXPORT base::FilePath GetUserPathPrefix();
25 BRILLO_EXPORT base::FilePath GetRootPathPrefix();
29 BRILLO_EXPORT base::FilePath GetUserPath(const std::string& username);
34 BRILLO_EXPORT base::FilePath GetHashedUserPath(
39 BRILLO_EXPORT base::FilePath GetRootPath(const std::string& username);
42 BRILLO_EXPORT base::FilePath GetDaemonPath(const std::string& username,
47 BRILLO_EXPORT base::FilePath GetDaemonPathForHiddenUserHome(
52 BRILLO_EXPORT bool IsSanitizedUserName(const std::string& sanitized);
56 BRILLO_EXPORT std::string SanitizeUserName(const std::string& username);
[all …]
Dtype_name_undecorate.h41 extern template BRILLO_EXPORT const char* GetTypeTag<int8_t>();
42 extern template BRILLO_EXPORT const char* GetTypeTag<uint8_t>();
43 extern template BRILLO_EXPORT const char* GetTypeTag<int16_t>();
44 extern template BRILLO_EXPORT const char* GetTypeTag<uint16_t>();
45 extern template BRILLO_EXPORT const char* GetTypeTag<int32_t>();
46 extern template BRILLO_EXPORT const char* GetTypeTag<uint32_t>();
47 extern template BRILLO_EXPORT const char* GetTypeTag<int64_t>();
48 extern template BRILLO_EXPORT const char* GetTypeTag<uint64_t>();
49 extern template BRILLO_EXPORT const char* GetTypeTag<bool>();
50 extern template BRILLO_EXPORT const char* GetTypeTag<double>();
[all …]
Durl_utils.h22 BRILLO_EXPORT std::string Combine(
25 BRILLO_EXPORT std::string CombineMultiple(
33 BRILLO_EXPORT std::string TrimOffQueryString(std::string* url);
44 BRILLO_EXPORT std::string GetQueryString(const std::string& url,
48 BRILLO_EXPORT data_encoding::WebParamList GetQueryStringParameters(
52 BRILLO_EXPORT std::string GetQueryStringValue(
55 BRILLO_EXPORT std::string GetQueryStringValue(
65 BRILLO_EXPORT std::string RemoveQueryString(
70 BRILLO_EXPORT std::string AppendQueryParam(
75 BRILLO_EXPORT std::string AppendQueryParams(
[all …]
Dsyslog_logging.h27 BRILLO_EXPORT void InitLog(int init_flags);
29 BRILLO_EXPORT int GetLogFlags();
31 BRILLO_EXPORT void SetLogFlags(int log_flags);
37 BRILLO_EXPORT void OpenLog(const char* ident, bool log_pid);
42 BRILLO_EXPORT void LogToString(bool enabled);
44 BRILLO_EXPORT std::string GetLog();
46 BRILLO_EXPORT void ClearLog();
49 BRILLO_EXPORT bool FindLog(const char* string);
Dfile_utils.h23 BRILLO_EXPORT bool TouchFile(const base::FilePath& path,
32 BRILLO_EXPORT bool TouchFile(const base::FilePath& path);
42 BRILLO_EXPORT bool WriteBlobToFile(const base::FilePath& path,
44 BRILLO_EXPORT bool WriteStringToFile(const base::FilePath& path,
46 BRILLO_EXPORT bool WriteToFile(const base::FilePath& path,
57 BRILLO_EXPORT bool SyncFileOrDirectory(const base::FilePath& path,
73 BRILLO_EXPORT bool WriteBlobToFileAtomic(const base::FilePath& path,
76 BRILLO_EXPORT bool WriteToFileAtomic(const base::FilePath& path,
Ddata_encoding.h23 BRILLO_EXPORT std::string UrlEncode(const char* data, bool encodeSpaceAsPlus);
31 BRILLO_EXPORT std::string UrlDecode(const char* data);
35 BRILLO_EXPORT std::string WebParamsEncode(const WebParamList& params,
45 BRILLO_EXPORT WebParamList WebParamsDecode(const std::string& data);
48 BRILLO_EXPORT std::string Base64Encode(const void* data, size_t size);
52 BRILLO_EXPORT std::string Base64EncodeWrapLines(const void* data, size_t size);
55 BRILLO_EXPORT bool Base64Decode(const std::string& input, brillo::Blob* output);
Dsecure_blob.h21 BRILLO_EXPORT std::string BlobToString(const Blob& blob);
22 BRILLO_EXPORT Blob BlobFromString(const std::string& bytes);
25 BRILLO_EXPORT Blob CombineBlobs(const std::initializer_list<Blob>& blobs);
29 class BRILLO_EXPORT SecureBlob : public Blob {
65 BRILLO_EXPORT BRILLO_DISABLE_ASAN void* SecureMemset(void* v, int c, size_t n);
70 BRILLO_EXPORT int SecureMemcmp(const void* s1, const void* s2, size_t n);
Dvalue_conversion.h60 BRILLO_EXPORT bool FromValue(const base::Value& in_value,
62 BRILLO_EXPORT bool FromValue(const base::Value& in_value,
106 BRILLO_EXPORT std::unique_ptr<base::Value> ToValue(int value);
107 BRILLO_EXPORT std::unique_ptr<base::Value> ToValue(bool value);
108 BRILLO_EXPORT std::unique_ptr<base::Value> ToValue(double value);
109 BRILLO_EXPORT std::unique_ptr<base::Value> ToValue(const std::string& value);
112 BRILLO_EXPORT std::unique_ptr<base::Value> ToValue(const char* value);
Dflag_helper.h89 class BRILLO_EXPORT BoolFlag final : public Flag {
106 class BRILLO_EXPORT Int32Flag final : public Flag {
121 class BRILLO_EXPORT Int64Flag final : public Flag {
136 class BRILLO_EXPORT UInt64Flag final : public Flag {
151 class BRILLO_EXPORT DoubleFlag final : public Flag {
166 class BRILLO_EXPORT StringFlag final : public Flag {
219 class BRILLO_EXPORT FlagHelper final {
/external/libbrillo/brillo/errors/
Derror_codes.h17 BRILLO_EXPORT extern const char kDomain[];
21 BRILLO_EXPORT extern const char kDomain[];
22 BRILLO_EXPORT extern const char kParseError[];
23 BRILLO_EXPORT extern const char kObjectExpected[];
27 BRILLO_EXPORT extern const char kDomain[];
31 BRILLO_EXPORT extern const char kDomain[];
35 BRILLO_EXPORT void AddSystemError(ErrorPtr* error,
/external/libbrillo/brillo/streams/
Dstream_errors.h15 BRILLO_EXPORT extern const char kDomain[];
17 BRILLO_EXPORT extern const char kStreamClosed[];
18 BRILLO_EXPORT extern const char kOperationNotSupported[];
19 BRILLO_EXPORT extern const char kPartialData[];
20 BRILLO_EXPORT extern const char kInvalidParameter[];
21 BRILLO_EXPORT extern const char kTimeout[];
Dstream_utils.h16 BRILLO_EXPORT bool ErrorStreamClosed(
20 BRILLO_EXPORT bool ErrorOperationNotSupported(
24 BRILLO_EXPORT bool ErrorReadPastEndOfStream(
28 BRILLO_EXPORT bool ErrorOperationTimeout(
39 BRILLO_EXPORT bool CheckInt64Overflow(
52 BRILLO_EXPORT bool CalculateStreamPosition(
92 BRILLO_EXPORT void CopyData(StreamPtr in_stream,
104 BRILLO_EXPORT void CopyData(StreamPtr in_stream,
Dmemory_containers.h27 class BRILLO_EXPORT DataContainerInterface {
68 class BRILLO_EXPORT ContiguousBufferBase : public DataContainerInterface {
104 class BRILLO_EXPORT ContiguousReadOnlyBufferBase : public ContiguousBufferBase {
125 class BRILLO_EXPORT ReadOnlyBuffer : public ContiguousReadOnlyBufferBase {
231 class BRILLO_EXPORT ByteBuffer : public VectorPtr<uint8_t> {
241 class BRILLO_EXPORT StringPtr : public ContiguousBufferBase {
259 class BRILLO_EXPORT ReadOnlyStringRef : public ContiguousReadOnlyBufferBase {
274 class BRILLO_EXPORT ReadOnlyStringCopy : public ReadOnlyStringRef {
/external/libbrillo/brillo/dbus/
Ddata_serialization.h190 BRILLO_EXPORT void AppendValueToWriter(dbus::MessageWriter* writer,
192 BRILLO_EXPORT bool PopValueFromReader(dbus::MessageReader* reader,
209 BRILLO_EXPORT void AppendValueToWriter(dbus::MessageWriter* writer,
211 BRILLO_EXPORT bool PopValueFromReader(dbus::MessageReader* reader,
226 BRILLO_EXPORT void AppendValueToWriter(dbus::MessageWriter* writer,
228 BRILLO_EXPORT bool PopValueFromReader(dbus::MessageReader* reader,
243 BRILLO_EXPORT void AppendValueToWriter(dbus::MessageWriter* writer,
245 BRILLO_EXPORT bool PopValueFromReader(dbus::MessageReader* reader,
262 BRILLO_EXPORT void AppendValueToWriter(dbus::MessageWriter* writer,
264 BRILLO_EXPORT bool PopValueFromReader(dbus::MessageReader* reader,
[all …]
Dutils.h21 BRILLO_EXPORT std::unique_ptr<dbus::Response> CreateDBusErrorResponse(
31 BRILLO_EXPORT std::unique_ptr<dbus::Response> GetDBusError(
37 BRILLO_EXPORT void AddDBusError(brillo::ErrorPtr* error,
/external/libbrillo/brillo/strings/
Dstring_utils.h22 BRILLO_EXPORT std::vector<std::string> Split(const std::string& str,
40 BRILLO_EXPORT std::pair<std::string, std::string> SplitAtFirst(
55 BRILLO_EXPORT bool SplitAtFirst(const std::string& str,
116 BRILLO_EXPORT std::string ToString(double value);
118 BRILLO_EXPORT std::string ToString(bool value);
123 BRILLO_EXPORT std::string GetBytesAsString(const std::vector<uint8_t>& buf);
126 BRILLO_EXPORT std::vector<uint8_t> GetStringAsBytes(const std::string& str);
/external/libbrillo/policy/
Dresilient_policy_util.h19 BRILLO_EXPORT std::map<int, base::FilePath> GetSortedResilientPolicyFilePaths(
25 BRILLO_EXPORT base::FilePath GetResilientPolicyFilePathForIndex(
33 BRILLO_EXPORT bool ParseResilientPolicyFilePath(
/external/libbrillo/brillo/glib/
Ddbus.h36 class BRILLO_EXPORT BusConnection {
88 class BRILLO_EXPORT Proxy {
170 BRILLO_EXPORT bool RegisterExclusiveService(const BusConnection& connection,
368 BRILLO_EXPORT bool CallPtrArray(const Proxy& proxy,
418 BRILLO_EXPORT bool RetrieveProperties(const Proxy& proxy,
424 BRILLO_EXPORT BusConnection GetSystemBusConnection();
428 BRILLO_EXPORT BusConnection GetPrivateBusConnection(const char* address);
433 BRILLO_EXPORT void CallMethodWithNoArguments(const char* service_name,
443 class BRILLO_EXPORT SignalWatcher {
/external/libbrillo/brillo/daemons/
Ddaemon.h30 class BRILLO_EXPORT Daemon : public AsynchronousSignalHandlerInterface {
124 BRILLO_EXPORT void UpdateLogSymlinks(const base::FilePath& latest_log_symlink,
130 BRILLO_EXPORT std::string GetTimeAsLogString(const base::Time& time);
/external/libbrillo/brillo/message_loops/
Dmessage_loop_utils.h18 BRILLO_EXPORT void MessageLoopRunUntil(
25 BRILLO_EXPORT int MessageLoopRunMaxIterations(MessageLoop* loop,

123