Home
last modified time | relevance | path

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

/bionic/libc/system_properties/
Dsystem_properties.cpp52 #define SERIAL_DIRTY(serial) ((serial)&1) argument
53 #define SERIAL_VALUE_LEN(serial) ((serial) >> 24) argument
159 return atomic_load_explicit(pa->serial(), memory_order_acquire); in AreaSerial()
186 uint32_t new_serial = load_const_atomic(&pi->serial, memory_order_acquire); in ReadMutablePropertyValue()
187 uint32_t serial; in ReadMutablePropertyValue() local
190 serial = new_serial; in ReadMutablePropertyValue()
191 len = SERIAL_VALUE_LEN(serial); in ReadMutablePropertyValue()
192 if (__predict_false(SERIAL_DIRTY(serial))) { in ReadMutablePropertyValue()
200 new_serial = load_const_atomic(&pi->serial, memory_order_relaxed); in ReadMutablePropertyValue()
201 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/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.h63 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/tests/
Dsystem_properties_test.cpp417 unsigned serial = __system_property_serial(pi); in TEST() local
419 ASSERT_NE(serial, __system_property_serial(pi)); in TEST()
431 unsigned serial = system_properties.WaitAny(0); in TEST() local
436 serial = system_properties.WaitAny(serial); in TEST()
447 serial = system_properties.WaitAny(serial); in TEST()
466 unsigned serial = __system_property_serial(pi); in TEST() local
476 system_properties.Wait(pi, serial, &new_serial, nullptr); in TEST()
477 ASSERT_GT(new_serial, serial); in TEST()
/bionic/libc/bionic/
Dsystem_property_api.cpp81 const char* value, uint32_t serial), in __system_property_read_callback() argument
110 return atomic_load_explicit(&pi->serial, memory_order_acquire); in __system_property_serial()
/bionic/libc/kernel/uapi/linux/
Dcapi.h52 __u8 serial[CAPI_SERIAL_LEN]; member
Dmedia.h14 char serial[40]; member
/bionic/libc/kernel/uapi/sound/
Dhdspm.h120 unsigned int serial; member