Loading include/cutils/properties.h +7 −1 Original line number Diff line number Diff line Loading @@ -44,6 +44,12 @@ int property_get(const char *key, char *value, const char *default_value); */ int property_set(const char *key, const char *value); /* property_set_sync: returns 0 on success, < 0 on failure ** ** symbol needed for Motorola RILs. Calls property_set */ int property_set_sync(const char *key, const char *value); int property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie); Loading libcutils/properties.c +5 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,11 @@ int property_set(const char *key, const char *value) return __system_property_set(key, value); } int property_set_sync(const char *key, const char *value) { return __system_property_set(key, value); } int property_get(const char *key, char *value, const char *default_value) { int len; Loading Loading
include/cutils/properties.h +7 −1 Original line number Diff line number Diff line Loading @@ -44,6 +44,12 @@ int property_get(const char *key, char *value, const char *default_value); */ int property_set(const char *key, const char *value); /* property_set_sync: returns 0 on success, < 0 on failure ** ** symbol needed for Motorola RILs. Calls property_set */ int property_set_sync(const char *key, const char *value); int property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie); Loading
libcutils/properties.c +5 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,11 @@ int property_set(const char *key, const char *value) return __system_property_set(key, value); } int property_set_sync(const char *key, const char *value) { return __system_property_set(key, value); } int property_get(const char *key, char *value, const char *default_value) { int len; Loading