/system/libbase/ |
D | strings_test.cpp | 26 TEST(strings, split_empty) { in TEST() function 32 TEST(strings, split_single) { in TEST() function 38 TEST(strings, split_simple) { in TEST() function 46 TEST(strings, split_with_empty_part) { in TEST() function 54 TEST(strings, split_with_trailing_empty_part) { in TEST() function 62 TEST(strings, split_null_char) { in TEST() function 70 TEST(strings, split_any) { in TEST() function 78 TEST(strings, split_any_with_empty_part) { in TEST() function 86 TEST(strings, trim_empty) { in TEST() function 90 TEST(strings, trim_already_trimmed) { in TEST() function [all …]
|
D | properties_test.cpp | 32 TEST(properties, smoke) { in TEST() function 49 TEST(properties, too_long) { in TEST() function 70 TEST(properties, empty_key) { in TEST() function 75 TEST(properties, empty_value) { in TEST() function 88 TEST(properties, GetBoolProperty_true) { in TEST() function 96 TEST(properties, GetBoolProperty_false) { in TEST() function 104 TEST(properties, GetBoolProperty_default) { in TEST() function 147 TEST(properties, GetIntProperty_int8_t) { CheckGetIntProperty<int8_t>(); } in TEST() function 148 TEST(properties, GetIntProperty_int16_t) { CheckGetIntProperty<int16_t>(); } in TEST() function 149 TEST(properties, GetIntProperty_int32_t) { CheckGetIntProperty<int32_t>(); } in TEST() function [all …]
|
D | logging_test.cpp | 63 TEST(logging, CHECK) { in TEST() function 100 TEST(logging, DCHECK) { in TEST() function 159 TEST(logging, WOULD_LOG_FATAL) { in TEST() function 163 TEST(logging, WOULD_LOG_FATAL_WITHOUT_ABORT_enabled) { in TEST() function 167 TEST(logging, WOULD_LOG_ERROR_disabled) { in TEST() function 171 TEST(logging, WOULD_LOG_ERROR_enabled) { in TEST() function 175 TEST(logging, WOULD_LOG_WARNING_disabled) { in TEST() function 179 TEST(logging, WOULD_LOG_WARNING_enabled) { in TEST() function 183 TEST(logging, WOULD_LOG_INFO_disabled) { in TEST() function 187 TEST(logging, WOULD_LOG_INFO_enabled) { in TEST() function [all …]
|
D | test_utils_test.cpp | 27 TEST(TestUtilsTest, AssertMatch) { in TEST() function 32 TEST(TestUtilsTest, AssertNotMatch) { in TEST() function 37 TEST(TestUtilsTest, ExpectMatch) { in TEST() function 42 TEST(TestUtilsTest, ExpectNotMatch) { in TEST() function 47 TEST(TestUtilsTest, CaptureStdout_smoke) { in TEST() function 66 TEST(TestUtilsTest, CaptureStderr_smoke) { in TEST() function
|
/system/core/init/parser/ |
D | tokenizer_test.cpp | 38 TEST(Tokenizer, Empty) { in TEST() function 43 TEST(Tokenizer, Simple) { in TEST() function 49 TEST(Tokenizer, LeadingWhiteSpace) { in TEST() function 55 TEST(Tokenizer, TrailingWhiteSpace) { in TEST() function 61 TEST(Tokenizer, WhiteSpace) { in TEST() function 68 TEST(Tokenizer, TwoTokens) { in TEST() function 76 TEST(Tokenizer, MultiToken) { in TEST() function 87 TEST(Tokenizer, NewLine) { in TEST() function 94 TEST(Tokenizer, TextNewLine) { in TEST() function 102 TEST(Tokenizer, MultiTextNewLine) { in TEST() function [all …]
|
/system/update_engine/update_manager/ |
D | boxed_value_unittest.cc | 67 TEST(UmBoxedValueTest, Deleted) { in TEST() function 78 TEST(UmBoxedValueTest, MoveConstructor) { in TEST() function 92 TEST(UmBoxedValueTest, MixedList) { in TEST() function 104 TEST(UmBoxedValueTest, MixedMap) { in TEST() function 114 TEST(UmBoxedValueTest, StringToString) { in TEST() function 118 TEST(UmBoxedValueTest, IntToString) { in TEST() function 122 TEST(UmBoxedValueTest, Int64ToString) { in TEST() function 128 TEST(UmBoxedValueTest, UnsignedIntToString) { in TEST() function 134 TEST(UmBoxedValueTest, UnsignedInt64ToString) { in TEST() function 140 TEST(UmBoxedValueTest, BoolToString) { in TEST() function [all …]
|
/system/chre/util/tests/ |
D | time_test.cc | 32 TEST(Time, CheckTimeConversionConstants) { in TEST() function 40 TEST(Time, ConvertSecToNanosec) { in TEST() function 45 TEST(Time, ConvertSecToNanosecOverflowIsUint64Max) { in TEST() function 50 TEST(Time, ConvertSecToMillisec) { in TEST() function 55 TEST(Time, ConvertSecToMillisecOverflowIsUint64Max) { in TEST() function 61 TEST(Time, DefaultMillisecIsZero) { in TEST() function 66 TEST(Time, GetInitialMillisec) { in TEST() function 71 TEST(Time, InitializeMillisecFromNanosec) { in TEST() function 77 TEST(Time, ConcertMillisecToMicrosec) { in TEST() function 82 TEST(Time, ConvertMillisecToMicrosecOverflowIsUint64Max) { in TEST() function [all …]
|
D | priority_queue_test.cc | 42 TEST(PriorityQueueTest, IsEmptyInitially) { in TEST() function 49 TEST(PriorityQueueTest, SimplePushPop) { in TEST() function 60 TEST(PriorityQueueTest, TestSize) { in TEST() function 71 TEST(PriorityQueueTest, TestEmpty) { in TEST() function 84 TEST(PriorityQueueTest, TestCapacity) { in TEST() function 95 TEST(PriorityQueueTest, PopWhenEmpty) { in TEST() function 101 TEST(PriorityQueueDeathTest, TopWhenEmpty) { in TEST() function 106 TEST(PriorityQueueTest, TestTop) { in TEST() function 119 TEST(PriorityQueueDeathTest, InvalidSubscript) { in TEST() function 124 TEST(PriorityQueueTest, Subscript) { in TEST() function [all …]
|
D | fixed_size_vector_test.cc | 43 TEST(FixedSizeVector, EmptyWithCapacityWithDefault) { in TEST() function 52 TEST(FixedSizeVector, PushBackOneAndRead) { in TEST() function 63 TEST(FixedSizeVector, PushBackUntilFullAndRead) { in TEST() function 85 TEST(FixedSizeVector, PushBackAndErase) { in TEST() function 102 TEST(FixedSizeVector, PushBackAndPopBack) { in TEST() function 124 TEST(FixedSizeVector, EraseDestructorCalled) { in TEST() function 153 TEST(FixedSizeVectorDeathTest, SwapWithInvalidIndex) { in TEST() function 160 TEST(FixedSizeVectorDeathTest, SwapWithInvalidIndices) { in TEST() function 167 TEST(FixedSizeVector, Swap) { in TEST() function 177 TEST(FixedSizeVector, ResizeLarger) { in TEST() function [all …]
|
D | array_queue_test.cc | 40 TEST(ArrayQueueTest, IsEmptyInitially) { in TEST() function 46 TEST(ArrayQueueTest, SimplePushPop) { in TEST() function 54 TEST(ArrayQueueTest, SimplePushPopBackPush) { in TEST() function 91 TEST(ArrayQueueTest, TestSize) { in TEST() function 102 TEST(ArrayQueueTest, TestEmpty) { in TEST() function 114 TEST(ArrayQueueTest, KickPushWhenNotFull) { in TEST() function 124 TEST(ArrayQueueTest, KickPushWhenFull) { in TEST() function 135 TEST(ArrayQueueTest, PopWhenEmpty) { in TEST() function 141 TEST(ArrayQueueTest, PopBackWhenEmpty) { in TEST() function 147 TEST(ArrayQueueTest, PushWhenFull) { in TEST() function [all …]
|
/system/core/libutils/ |
D | String16_test.cpp | 34 TEST(String16Test, FromChar16_t) { in TEST() function 39 TEST(String16Test, FromChar16_tSized) { in TEST() function 44 TEST(String16Test, FromChar) { in TEST() function 49 TEST(String16Test, FromCharSized) { in TEST() function 54 TEST(String16Test, Copy) { in TEST() function 61 TEST(String16Test, Move) { in TEST() function 67 TEST(String16Test, Size) { in TEST() function 72 TEST(String16Test, setTo) { in TEST() function 79 TEST(String16Test, Append) { in TEST() function 86 TEST(String16Test, Insert) { in TEST() function [all …]
|
/system/connectivity/wifilogd/tests/ |
D | local_utils_unittest.cpp | 33 TEST(LocalUtilsTest, CastEnumToIntegerWorksForValidEnumValues) { in TEST() function 39 TEST(LocalUtilsTest, CastEnumToIntegerWorksForInvalidEnumValues) { in TEST() function 48 TEST(LocalUtilsTest, CopyFromBufferOrDieCopiesData) { in TEST() function 60 TEST(LocalUtilsTest, GetMaxValFromTypeIsCorrectForUnsignedTypes) { in TEST() function 67 TEST(LocalUtilsTest, GetMaxValFromTypeIsCorrectForSignedTypes) { in TEST() function 74 TEST(LocalUtilsTest, GetMaxValFromInstanceIsCorrectForUnsignedTypes) { in TEST() function 81 TEST(LocalUtilsTest, GetMaxValFromInstanceIsCorrectForSignedTypes) { in TEST() function 88 TEST(LocalUtilsTest, IsAsciiPrintableReturnsTrueForAlphabeticCharacters) { in TEST() function 94 TEST(LocalUtilsTest, IsAsciiPrintableReturnsTrueForNumericCharacters) { in TEST() function 100 TEST(LocalUtilsTest, IsAsciiPrintableReturnsTrueForPrintableSpaces) { in TEST() function [all …]
|
/system/bt/gd/common/ |
D | strings_test.cc | 37 TEST(StringsTest, trim_string_test) { in TEST() function 45 TEST(StringsTest, split_string_test) { in TEST() function 61 TEST(StringsTest, join_string_test) { in TEST() function 69 TEST(StringsTest, to_hex_string_test) { in TEST() function 85 TEST(StringsTest, from_hex_string_test) { in TEST() function 104 TEST(StringsTest, int64_from_and_to_string_test) { in TEST() function 135 TEST(StringsTest, uint64_from_and_to_string_test) { in TEST() function 158 TEST(StringsTest, bool_from_and_to_string_test) { in TEST() function
|
/system/extras/simpleperf/ |
D | cmd_report_sample_test.cpp | 30 TEST(cmd_report_sample, text) { in TEST() function 35 TEST(cmd_report_sample, output_option) { in TEST() function 41 TEST(cmd_report_sample, show_callchain_option) { in TEST() function 60 TEST(cmd_report_sample, protobuf_option) { in TEST() function 68 TEST(cmd_report_sample, no_skipped_file_id) { in TEST() function 75 TEST(cmd_report_sample, sample_has_event_count) { in TEST() function 81 TEST(cmd_report_sample, has_thread_record) { in TEST() function 88 TEST(cmd_report_sample, trace_offcpu) { in TEST() function 94 TEST(cmd_report_sample, have_clear_callchain_end_in_protobuf_output) { in TEST() function 101 TEST(cmd_report_sample, app_package_name_in_meta_info) { in TEST() function [all …]
|
/system/core/libcutils/ |
D | multiuser_test.cpp | 22 TEST(MultiuserTest, TestMerge) { in TEST() function 33 TEST(MultiuserTest, TestSplitUser) { in TEST() function 44 TEST(MultiuserTest, TestSplitApp) { in TEST() function 55 TEST(MultiuserTest, TestCache) { in TEST() function 66 TEST(MultiuserTest, TestExt) { in TEST() function 74 TEST(MultiuserTest, TestExtCache) { in TEST() function 82 TEST(MultiuserTest, TestShared) { in TEST() function
|
/system/chre/apps/chqts/src/shared/ |
D | nano_string_test.cc | 53 TEST(NanoStringsTest, MemsetZeroBytes) { in TEST() function 57 TEST(NanoStringsTest, MemsetPartialArray) { in TEST() function 61 TEST(NanoStringsTest, MemsetFullArray) { in TEST() function 86 TEST(NanoStringsTest, MemcpyZeroBytes) { in TEST() function 90 TEST(NanoStringsTest, MemcpyPartialArray) { in TEST() function 94 TEST(NanoStringsTest, MemcpyFullArray) { in TEST() function 99 TEST(NanoStringsTest, StrlenEmptyString) { in TEST() function 104 TEST(NanoStringsTest, StrlenNormal) { in TEST() function 127 TEST(NanoStringsTest, Strncpy) { in TEST() function 131 TEST(NanoStringsTest, StrncpySetsTrailingBytes) { in TEST() function [all …]
|
/system/bt/gd/storage/ |
D | config_cache_test.cc | 42 TEST(ConfigCacheTest, simple_set_get_test) { in TEST() function 50 TEST(ConfigCacheTest, empty_values_test) { in TEST() function 61 TEST(ConfigCacheTest, insert_boundary_device_with_linkkey_test) { in TEST() function 70 TEST(ConfigCacheTest, comparison_test) { in TEST() function 112 TEST(ConfigCacheTest, empty_string_test) { in TEST() function 120 TEST(ConfigCacheTest, mac_address_set_get_test) { in TEST() function 134 TEST(ConfigCacheTest, has_section_and_property_test) { in TEST() function 160 TEST(ConfigCacheTest, remove_section_test) { in TEST() function 175 TEST(ConfigCacheTest, remove_property_test) { in TEST() function 190 TEST(ConfigCacheTest, remove_all_properties_from_section_test) { in TEST() function [all …]
|
/system/chre/core/tests/ |
D | sensor_request_test.cc | 27 TEST(SensorType, LosslessSensorHandleToSensorTypeAndBack) { in TEST() function 42 TEST(SensorType, SensorHandleToSensorTypeUnknownHandles) { in TEST() function 47 TEST(SensorRequest, DefaultMinimalPriority) { in TEST() function 54 TEST(SensorRequest, ActiveContinuousIsHigherPriorityThanActiveOneShot) { in TEST() function 67 TEST(SensorRequest, ActiveOneShotIsHigherPriorityThanPassiveContinuous) { in TEST() function 81 TEST(SensorRequest, PassiveContinuousIsHigherPriorityThanPassiveOneShot) { in TEST() function 94 TEST(SensorRequest, PassiveOneShotIsHigherPriorityThanOff) { in TEST() function 106 TEST(SensorRequest, LowerLatencyIsHigherPriorityThanHigherLatency) { in TEST() function 119 TEST(SensorRequest, HigherFrequencyIsHigherPriorityThanLowerFrequency) { in TEST() function 132 TEST(SensorRequest, OnlyDefaultFrequency) { in TEST() function [all …]
|
/system/core/init/ |
D | property_type_test.cpp | 24 TEST(property_type, CheckType_string) { in TEST() function 34 TEST(property_type, CheckType_int) { in TEST() function 45 TEST(property_type, CheckType_uint) { in TEST() function 55 TEST(property_type, CheckType_double) { in TEST() function 66 TEST(property_type, CheckType_size) { in TEST() function 82 TEST(property_type, CheckType_enum) { in TEST() function
|
D | tokenizer_test.cpp | 60 TEST(tokenizer, null) { in TEST() function 64 TEST(tokenizer, simple_oneline) { in TEST() function 68 TEST(tokenizer, simple_multiline) { in TEST() function 72 TEST(tokenizer, preceding_space) { in TEST() function 78 TEST(tokenizer, comments) { in TEST() function 89 TEST(tokenizer, control_chars) { in TEST() function 118 TEST(tokenizer, cr_lf) { in TEST() function 139 TEST(tokenizer, quoted) { in TEST() function
|
/system/bt/gd/hci/ |
D | address_unittest.cc | 31 TEST(AddressUnittest, test_constructor_array) { in TEST() function 46 TEST(AddressUnittest, test_is_empty) { in TEST() function 56 TEST(AddressUnittest, test_to_from_str) { in TEST() function 72 TEST(AddressUnittest, test_from_octets) { in TEST() function 91 TEST(AddressTest, test_equals) { in TEST() function 107 TEST(AddressTest, test_less_than) { in TEST() function 121 TEST(AddressTest, test_more_than) { in TEST() function 135 TEST(AddressTest, test_less_than_or_equal) { in TEST() function 149 TEST(AddressTest, test_more_than_or_equal) { in TEST() function 163 TEST(AddressTest, test_copy) { in TEST() function [all …]
|
/system/bt/packet/tests/avrcp/ |
D | register_notification_packet_test.cc | 29 TEST(RegisterNotificationRequestTest, getterTest) { in TEST() function 37 TEST(RegisterNotificationRequestTest, validTest) { in TEST() function 43 TEST(RegisterNotificationRequestTest, invalidTest) { in TEST() function 54 TEST(RegisterNotificationRequestBuilderTest, builderTest) { in TEST() function 64 TEST(RegisterNotificationResponseTest, volumeGetterTest) { in TEST() function 73 TEST(RegisterNotificationResponseTest, validTest) { in TEST() function 80 TEST(RegisterNotificationResponseTest, invalidTest) { in TEST() function 96 TEST(RegisterNotificationResponseTest, wrongEventDeathTest) { in TEST() function 105 TEST(RegisterNotificationResponseBuilderTest, playStatusBuilderTest) { in TEST() function 114 TEST(RegisterNotificationResponseBuilderTest, trackChangedBuilderTest) { in TEST() function [all …]
|
/system/netd/libnetdutils/ |
D | LogTest.cpp | 70 TEST(LogEntryTest, Empty) { in TEST() function 75 TEST(LogEntryTest, GlobalFunction) { in TEST() function 79 TEST(LogEntryTest, GlobalPrettyFunction) { in TEST() function 83 TEST(LogEntryTest, UnnamedNamespaceFunction) { in TEST() function 88 TEST(LogEntryTest, UnnamedNamespacePrettyFunction) { in TEST() function 93 TEST(LogEntryTest, ClassFunction) { in TEST() function 98 TEST(LogEntryTest, ClassPrettyFunction) { in TEST() function 103 TEST(LogEntryTest, InnerClassFunction) { in TEST() function 108 TEST(LogEntryTest, InnerClassPrettyFunction) { in TEST() function 113 TEST(LogEntryTest, PrintChainedArguments) { in TEST() function [all …]
|
/system/extras/memory_replay/tests/ |
D | AllocTest.cpp | 25 TEST(AllocTest, malloc_valid) { in TEST() function 36 TEST(AllocTest, malloc_invalid) { in TEST() function 45 TEST(AllocTest, free_valid) { in TEST() function 56 TEST(AllocTest, free_invalid) { in TEST() function 62 TEST(AllocTest, calloc_valid) { in TEST() function 73 TEST(AllocTest, calloc_invalid) { in TEST() function 85 TEST(AllocTest, realloc_valid) { in TEST() function 96 TEST(AllocTest, realloc_invalid) { in TEST() function 108 TEST(AllocTest, memalign_valid) { in TEST() function 119 TEST(AllocTest, memalign_invalid) { in TEST() function [all …]
|
/system/tools/hidl/test/utils_test/ |
D | main.cpp | 74 TEST(LibHidlGenUtilsTest, FqName) { in TEST() function 82 TEST(LibHidlGenUtilsTest, FqNameIdentifier) { in TEST() function 93 TEST(LibHidlGenUtilsTest, InvalidFqName) { in TEST() function 100 TEST(LibHidlGenUtilsTest, FqInstance1) { in TEST() function 116 TEST(LibHidlGenUtilsTest, FqInstance2) { in TEST() function 129 TEST(LibHidlGenUtilsTest, FqInstance3) { in TEST() function 141 TEST(LibHidlGenUtilsTest, FqInstanceFqNameOnly) { in TEST() function 150 TEST(LibHidlGenUtilsTest, FqInstanceInvalidFqNameOnly) { in TEST() function 157 TEST(LibHidlGenUtilsTest, FqInstanceIdentifier) { in TEST() function 164 TEST(LibHidlGenUtilsTest, FqInstanceSetToByComponent) { in TEST() function [all …]
|