Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 11 of 11) sorted by relevance

/bionic/libc/system_properties/
Dsystem_properties.cpp50 #define SERIAL_DIRTY(serial) ((serial)&1) argument
51 #define SERIAL_VALUE_LEN(serial) ((serial) >> 24) argument
122 return atomic_load_explicit(pa->serial(), memory_order_acquire); in AreaSerial()
145 uint32_t new_serial = load_const_atomic(&pi->serial, memory_order_acquire); in ReadMutablePropertyValue()
146 uint32_t serial; in ReadMutablePropertyValue() local
149 serial = new_serial; in ReadMutablePropertyValue()
150 len = SERIAL_VALUE_LEN(serial); in ReadMutablePropertyValue()
151 if (__predict_false(SERIAL_DIRTY(serial))) { in ReadMutablePropertyValue()
159 new_serial = load_const_atomic(&pi->serial, memory_order_relaxed); in ReadMutablePropertyValue()
160 if (__predict_true(serial == new_serial)) { in ReadMutablePropertyValue()
[all …]
Dprop_info.cpp41 atomic_init(&this->serial, valuelen << 24); in prop_info()
51 atomic_init(&this->serial, error_value_len << 24 | kLongFlag); in prop_info()
/bionic/tests/
Dsystem_properties_test.cpp343 unsigned serial = __system_property_serial(pi); in TEST() local
345 ASSERT_NE(serial, __system_property_serial(pi)); in TEST()
357 unsigned serial = system_properties.WaitAny(0); in TEST() local
362 serial = system_properties.WaitAny(serial); in TEST()
373 serial = system_properties.WaitAny(serial); in TEST()
392 unsigned serial = __system_property_serial(pi); in TEST() local
402 system_properties.Wait(pi, serial, &new_serial, nullptr); in TEST()
403 ASSERT_GT(new_serial, serial); in TEST()
/bionic/libc/system_properties/include/system_properties/
Dprop_info.h58 atomic_uint_least32_t serial;
71 return (load_const_atomic(&serial, memory_order_relaxed) & kLongFlag) != 0; in is_long()
Dsystem_properties.h64 uint32_t serial),
Dprop_area.h130 atomic_uint_least32_t* serial() { in serial() function
/bionic/libc/private/
DCachedProperty.h96 static void Callback(void* data, const char*, const char* value, uint32_t serial) { in Callback() argument
98 instance->cached_property_serial_ = serial; in Callback()
/bionic/libc/bionic/
Dsystem_property_api.cpp80 const char* value, uint32_t serial), in __system_property_read_callback() argument
109 return atomic_load_explicit(&pi->serial, memory_order_acquire); in __system_property_serial()
/bionic/libc/kernel/uapi/linux/
Dcapi.h64 __u8 serial[CAPI_SERIAL_LEN]; member
Dmedia.h27 char serial[40]; member
/bionic/libc/kernel/uapi/sound/
Dhdspm.h130 unsigned int serial; member