Android-cuttlefish cvd tool
Namespaces | Functions
properties.h File Reference
#include <sys/cdefs.h>
#include <chrono>
#include <limits>
#include <mutex>
#include <optional>
#include <string>
Include dependency graph for properties.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  android
 
namespace  android::base
 

Functions

std::string android::base::GetProperty (const std::string &key, const std::string &default_value)
 
bool android::base::GetBoolProperty (const std::string &key, bool default_value)
 
template<typename T >
android::base::GetIntProperty (const std::string &key, T default_value, T min=std::numeric_limits< T >::min(), T max=std::numeric_limits< T >::max())
 
template<typename T >
android::base::GetUintProperty (const std::string &key, T default_value, T max=std::numeric_limits< T >::max())
 
bool android::base::SetProperty (const std::string &key, const std::string &value)
 
static int android::base::HwTimeoutMultiplier ()
 
int __system_property_set (const char *, const char *)
 
int __system_property_get (const char *, char *)
 
const prop_info__system_property_find (const char *)
 
void __system_property_read_callback (const prop_info *, void(*)(void *, const char *, const char *, uint32_t), void *)
 

Function Documentation

◆ __system_property_find()

const prop_info * __system_property_find ( const char *  key)

Implementation detail.

◆ __system_property_get()

int __system_property_get ( const char *  key,
char *  value 
)

Implementation detail.

◆ __system_property_read_callback()

void __system_property_read_callback ( const prop_info pi,
void(*)(void *, const char *, const char *, uint32_t)  callback,
void *  cookie 
)

Implementation detail.

◆ __system_property_set()

int __system_property_set ( const char *  key,
const char *  value 
)

Implementation detail.