platform_system_core/libutils
Ryan Prichard f01048743a Define String8 and String16 operator<=>
Previously, in C++20 mode, using <=> on String8 or String16 would
compare the pointer values from the implicit conversion operators
returning const char* and const char16_t*. Instead, compare the string
content. This is especially a problem with STL containers that prefer
<=> when it is available.

See https://godbolt.org/z/cc1hW17h3 for a demo of the problem.

Bug: 339775405
Test: treehugger
Change-Id: I5ee6af96dee0c9968a1bab1ad96729e45bb1ac50
2024-05-15 17:34:57 -07:00
..
abi-dumps libutils: Looper add 'repoll' 2024-01-23 21:51:13 +00:00
binder Define String8 and String16 operator<=> 2024-05-15 17:34:57 -07:00
include/utils Reduce <CallStack.h> namespace pollution. 2024-02-23 00:46:16 +00:00
Android.bp Updated fuzz_config in Android.bp file 2024-04-11 14:31:25 +05:30
BitSet_fuzz.cpp
BitSet_test.cpp
CallStack.cpp Enable weak functions properly. 2024-03-27 17:49:51 -07:00
CallStack_fuzz.cpp
CallStack_test.cpp Enable weak functions properly. 2024-03-27 17:49:51 -07:00
CleanSpec.mk
FileMap.cpp libutils: use log/log.h internally 2023-10-07 00:29:44 +00:00
FileMap_fuzz.cpp
FileMap_test.cpp
JenkinsHash.cpp
LightRefBase.cpp
Looper.cpp libutils: Looper add 'repoll' 2024-01-23 21:51:13 +00:00
Looper_fuzz.cpp
Looper_test.cpp Looper: Use sequence numbers in epoll_event to track requests 2021-09-01 14:52:52 +00:00
Looper_test_pipe.h
LruCache_fuzz.cpp
LruCache_test.cpp Fix LruCache, allow std:string caching 2023-06-15 00:37:52 +00:00
misc.cpp libutils: use log/log.h internally 2023-10-07 00:29:44 +00:00
MODULE_LICENSE_APACHE2
Mutex_test.cpp
NativeHandle.cpp
NOTICE
OWNERS
Printer.cpp libutils: use log/log.h internally 2023-10-07 00:29:44 +00:00
Printer_fuzz.cpp
ProcessCallStack.cpp Migrate String8/16 from .string() to c_str() 2023-08-11 19:53:20 +00:00
ProcessCallStack_fuzz.cpp Fix the missing std 2023-03-01 23:30:29 +00:00
Singleton_test.cpp
Singleton_test.h
Singleton_test1.cpp
Singleton_test2.cpp
StopWatch.cpp We don't need __STDC_FORMAT_MACROS any more. 2024-02-07 18:27:47 +00:00
SystemClock.cpp libutils: use log/log.h internally 2023-10-07 00:29:44 +00:00
SystemClock_test.cpp
TEST_MAPPING libutils: split out libutils_binder 2023-10-09 21:56:15 +00:00
Threads.cpp libutils: use log/log.h internally 2023-10-07 00:29:44 +00:00
Timers.cpp libutils: use log/log.h internally 2023-10-07 00:29:44 +00:00
Timers_test.cpp
Tokenizer.cpp libutils: use log/log.h internally 2023-10-07 00:29:44 +00:00
Trace.cpp