Searched refs:system_properties (Results 1 - 9 of 9) sorted by relevance

/bionic/libc/bionic/
H A Dsystem_property_api.cpp32 #include <system_properties/prop_area.h>
33 #include <system_properties/system_properties.h>
37 static SystemProperties system_properties; variable
48 return system_properties.Init(PROP_FILENAME) ? 0 : -1;
61 return system_properties.AreaInit(PROP_FILENAME, &fsetxattr_failed) && !fsetxattr_failed ? 0 : -1;
66 return system_properties.AreaSerial();
71 return system_properties.Find(name);
76 return system_properties.Read(pi, name, value);
84 return system_properties
[all...]
H A Dmalloc_common.cpp195 #include <sys/system_properties.h>
/bionic/tests/
H A Dsystem_properties_test.cpp36 #include <system_properties/system_properties.h>
94 SystemPropertiesTest system_properties; local
95 ASSERT_TRUE(system_properties.valid());
97 ASSERT_EQ(0, system_properties.Add("property", 8, "value1", 6));
98 ASSERT_EQ(0, system_properties.Add("other_property", 14, "value2", 6));
99 ASSERT_EQ(0, system_properties.Add("property_other", 14, "value3", 6));
109 ASSERT_EQ(0, system_properties.Add(name, strlen(name), "value", 5));
112 ASSERT_EQ(6, system_properties.Get("property", propvalue));
115 ASSERT_EQ(6, system_properties
130 SystemPropertiesTest system_properties; local
165 SystemPropertiesTest system_properties; local
211 SystemPropertiesTest system_properties; local
228 SystemPropertiesTest system_properties; local
257 SystemPropertiesTest system_properties; local
316 SystemPropertiesTest system_properties; local
337 SystemPropertiesTest system_properties; local
353 SystemPropertiesTest system_properties; local
384 SystemPropertiesTest system_properties; local
445 SystemPropertiesTest system_properties; local
518 SystemPropertiesTest system_properties; local
[all...]
H A Dsystem_properties_test2.cpp26 #include <sys/system_properties.h>
/bionic/benchmarks/
H A Dproperty_benchmark.cpp34 #include <system_properties/system_properties.h>
92 SystemProperties& system_properties() { function in struct:LocalPropertyTestState
134 pa.system_properties().Get(pa.names[random() % nprops], value);
146 pa.system_properties().Find(pa.names[random() % nprops]);
161 pinfo[i] = pa.system_properties().Find(pa.names[random() % nprops]);
166 pa.system_properties().Read(pinfo[i], 0, propvalue);
182 pinfo[i] = pa.system_properties().Find(pa.names[random() % nprops]);
187 pa.system_properties().Serial(pinfo[i]);
/bionic/libc/include/sys/
H A D_system_properties.h36 #error you should #include <sys/system_properties.h> instead
39 #include <sys/system_properties.h>
/bionic/tools/versioner/current/sys/
H A D_system_properties.h36 #error you should #include <sys/system_properties.h> instead
39 #include <sys/system_properties.h>
/bionic/libc/system_properties/include/system_properties/
H A Dprop_info.h33 #include <sys/system_properties.h>
H A Dsystem_properties.h33 #include <sys/system_properties.h>

Completed in 909 milliseconds