/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/chre/util/tests/ |
D | time_test.cc | 30 TEST(Time, CheckTimeConversionConstants) { in TEST() function 37 TEST(Time, ConvertSecToNanosec) { in TEST() function 42 TEST(Time, ConvertSecToNanosecOverflowIsUint64Max) { in TEST() function 48 TEST(Time, DefaultMillisecIsZero) { in TEST() function 53 TEST(Time, GetInitialMillisec) { in TEST() function 58 TEST(Time, InitializeMillisecFromNanosec) { in TEST() function 64 TEST(Time, ConvertMillisecToNanosec) { in TEST() function 69 TEST(Time, ConvertMillisecToNanosecOverflowIsUint64Max) { in TEST() function 74 TEST(Time, TestMillisecEquals) { in TEST() function 81 TEST(Time, GetInitialMicrosec) { in TEST() function [all …]
|
D | array_queue_test.cc | 34 TEST(ArrayQueueTest, IsEmptyInitially) { in TEST() function 40 TEST(ArrayQueueTest, SimplePushPop) { in TEST() function 48 TEST(ArrayQueueTest, TestSize) { in TEST() function 59 TEST(ArrayQueueTest, TestEmpty) { in TEST() function 71 TEST(ArrayQueueTest, PopWhenEmpty) { in TEST() function 77 TEST(ArrayQueueTest, PushWhenFull) { in TEST() function 84 TEST(ArrayQueueDeathTest, FrontWhenEmpty) { in TEST() function 89 TEST(ArrayQueueTest, TestFront) { in TEST() function 98 TEST(ArrayQueueDeathTest, InvalidSubscript) { in TEST() function 103 TEST(ArrayQueueTest, Subscript) { 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, EraseDestructorCalled) { in TEST() function 131 TEST(FixedSizeVectorDeathTest, SwapWithInvalidIndex) { in TEST() function 138 TEST(FixedSizeVectorDeathTest, SwapWithInvalidIndices) { in TEST() function 145 TEST(FixedSizeVector, Swap) { in TEST() function 155 TEST(FixedSizeVector, ResizeLarger) { in TEST() function 161 TEST(FixedSizeVector, ResizeSmaller) { in TEST() function [all …]
|
/system/core/base/ |
D | logging_test.cpp | 35 #define HOST_TEST(suite, name) TEST(suite, DISABLED_ ## name) 37 #define HOST_TEST(suite, name) TEST(suite, name) 60 TEST(logging, CHECK) { in TEST() function 87 TEST(logging, DCHECK) { in TEST() function 139 TEST(logging, WOULD_LOG_FATAL) { in TEST() function 143 TEST(logging, WOULD_LOG_FATAL_WITHOUT_ABORT_disabled) { in TEST() function 147 TEST(logging, WOULD_LOG_FATAL_WITHOUT_ABORT_enabled) { in TEST() function 151 TEST(logging, WOULD_LOG_ERROR_disabled) { in TEST() function 155 TEST(logging, WOULD_LOG_ERROR_enabled) { in TEST() function 159 TEST(logging, WOULD_LOG_WARNING_disabled) { in TEST() function [all …]
|
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_null_char) { in TEST() function 62 TEST(strings, split_any) { in TEST() function 70 TEST(strings, split_any_with_empty_part) { in TEST() function 78 TEST(strings, trim_empty) { in TEST() function 82 TEST(strings, trim_already_trimmed) { in TEST() function 86 TEST(strings, trim_left) { in TEST() function [all …]
|
D | properties_test.cpp | 28 TEST(properties, smoke) { in TEST() function 45 TEST(properties, empty) { in TEST() function 59 TEST(properties, GetBoolProperty_true) { in TEST() function 67 TEST(properties, GetBoolProperty_false) { in TEST() function 75 TEST(properties, GetBoolProperty_default) { in TEST() function 118 TEST(properties, GetIntProperty_int8_t) { CheckGetIntProperty<int8_t>(); } in TEST() function 119 TEST(properties, GetIntProperty_int16_t) { CheckGetIntProperty<int16_t>(); } in TEST() function 120 TEST(properties, GetIntProperty_int32_t) { CheckGetIntProperty<int32_t>(); } in TEST() function 121 TEST(properties, GetIntProperty_int64_t) { CheckGetIntProperty<int64_t>(); } in TEST() function 123 TEST(properties, GetUintProperty_uint8_t) { CheckGetUintProperty<uint8_t>(); } in TEST() function [all …]
|
D | stringprintf_test.cpp | 23 TEST(StringPrintfTest, HexSizeT) { in TEST() function 29 TEST(StringPrintfTest, StringAppendF) { in TEST() function 35 TEST(StringPrintfTest, Errno) { in TEST() function 50 TEST(StringPrintfTest, At1023) { in TEST() function 54 TEST(StringPrintfTest, At1024) { in TEST() function 58 TEST(StringPrintfTest, At1025) { 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 …]
|
D | nano_endian_test.cc | 55 TEST(EndianTest, SwapBytes1) { in TEST() function 59 TEST(EndianTest, SwapBytes2) { in TEST() function 63 TEST(EndianTest, SwapBytes4) { in TEST() function 67 TEST(EndianTest, SwapBytes8) { in TEST() function 71 TEST(EndianTest, SwapBytes16) { in TEST() function 83 TEST(EndianTest, LittleEndianToHost) { in TEST() function 92 TEST(EndianTest, HostToLittleEndian) { in TEST() function
|
/system/update_engine/update_manager/ |
D | boxed_value_unittest.cc | 64 TEST(UmBoxedValueTest, Deleted) { in TEST() function 75 TEST(UmBoxedValueTest, MoveConstructor) { in TEST() function 89 TEST(UmBoxedValueTest, MixedList) { in TEST() function 101 TEST(UmBoxedValueTest, MixedMap) { in TEST() function 111 TEST(UmBoxedValueTest, StringToString) { in TEST() function 116 TEST(UmBoxedValueTest, IntToString) { in TEST() function 120 TEST(UmBoxedValueTest, Int64ToString) { in TEST() function 126 TEST(UmBoxedValueTest, UnsignedIntToString) { in TEST() function 132 TEST(UmBoxedValueTest, UnsignedInt64ToString) { in TEST() function 138 TEST(UmBoxedValueTest, BoolToString) { 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 …]
|
D | memory_reader_unittest.cpp | 30 TEST(MemoryReaderTest, BoolConversionNonEmptyBufferYieldsTrue) { in TEST() function 36 TEST(MemoryReaderTest, BoolConversionEmptyBufferYieldsFalse) { in TEST() function 42 TEST(MemoryReaderTest, BoolConversionNullBufferYieldsFalse) { in TEST() function 47 TEST(MemoryReaderTest, CopyAssignmentWorks) { in TEST() function 61 TEST(MemoryReaderTest, CopyConstructionWorks) { in TEST() function 75 TEST(MemoryReaderTest, CopyOutOrDieCopiesData) { in TEST() function 87 TEST(MemoryReaderTest, CopyOutOrDieWorksForMultipleObjects) { in TEST() function 109 TEST(MemoryReaderTest, GetBytesOrDieSucceedsOnSmallRead) { in TEST() function 115 TEST(MemoryReaderTest, GetBytesOrDieSucceedsOnFullRead) { in TEST() function 121 TEST(MemoryReaderTest, GetBytesOrDieCanConsumeFullBufferInParts) { in TEST() function [all …]
|
/system/chre/platform/slpi/tests/ |
D | platform_sensor_util_test.cc | 27 TEST(SmgrSamplingRateTest, Zero) { in TEST() function 32 TEST(SmgrSamplingRateTest, FiftyHertz) { in TEST() function 38 TEST(SmgrSamplingRateTest, ZeroPointFiveHertz) { in TEST() function 44 TEST(SmgrSamplingRateTest, MinisculeRate) { in TEST() function 50 TEST(SmgrSamplingRateTest, HugeRate) { in TEST() function 56 TEST(SmgrQ16ReportRateTest, Zero) { in TEST() function 61 TEST(SmgrQ16ReportRateTest, FiftyHertz) { in TEST() function 67 TEST(SmgrQ16ReportRateTest, ZeroPointFiveHertz) { in TEST() function 73 TEST(SmgrQ16ReportRateTest, OneNanosecond) { in TEST() function
|
/system/extras/simpleperf/ |
D | cmd_stat_test.cpp | 34 TEST(stat_cmd, no_options) { ASSERT_TRUE(StatCmd()->Run({"sleep", "1"})); } in TEST() function 36 TEST(stat_cmd, event_option) { in TEST() function 40 TEST(stat_cmd, system_wide_option) { in TEST() function 44 TEST(stat_cmd, verbose_option) { in TEST() function 48 TEST(stat_cmd, tracepoint_event) { in TEST() function 53 TEST(stat_cmd, event_modifier) { in TEST() function 85 TEST(stat_cmd, existing_processes) { in TEST() function 93 TEST(stat_cmd, existing_threads) { in TEST() function 102 TEST(stat_cmd, no_monitored_threads) { ASSERT_FALSE(StatCmd()->Run({""})); } in TEST() function 104 TEST(stat_cmd, group_option) { in TEST() function [all …]
|
D | cmd_record_test.cpp | 60 TEST(record_cmd, no_options) { ASSERT_TRUE(RunRecordCmd({})); } in TEST() function 62 TEST(record_cmd, system_wide_option) { in TEST() function 66 TEST(record_cmd, sample_period_option) { in TEST() function 70 TEST(record_cmd, event_option) { in TEST() function 74 TEST(record_cmd, freq_option) { in TEST() function 79 TEST(record_cmd, output_file_option) { in TEST() function 84 TEST(record_cmd, dump_kernel_mmap) { in TEST() function 107 TEST(record_cmd, dump_build_id_feature) { in TEST() function 119 TEST(record_cmd, tracepoint_event) { in TEST() function 123 TEST(record_cmd, branch_sampling) { in TEST() function [all …]
|
/system/core/init/ |
D | devices_test.cpp | 63 TEST(device_handler, get_block_device_symlinks_success_platform) { in TEST() function 77 TEST(device_handler, get_block_device_symlinks_success_platform_with_partition) { in TEST() function 95 TEST(device_handler, get_block_device_symlinks_success_platform_with_partition_only_num) { in TEST() function 111 TEST(device_handler, get_block_device_symlinks_success_platform_with_partition_only_name) { in TEST() function 127 TEST(device_handler, get_block_device_symlinks_success_pci) { in TEST() function 138 TEST(device_handler, get_block_device_symlinks_pci_bad_format) { in TEST() function 149 TEST(device_handler, get_block_device_symlinks_success_vbd) { in TEST() function 160 TEST(device_handler, get_block_device_symlinks_vbd_bad_format) { in TEST() function 171 TEST(device_handler, get_block_device_symlinks_no_matches) { in TEST() function 184 TEST(device_handler, sanitize_null) { in TEST() function [all …]
|
/system/connectivity/wificond/tests/ |
D | nl80211_attribute_unittest.cpp | 122 TEST(NL80211AttributeTest,U8AttributesSeriallizeCorrectly) { in TEST() function 127 TEST(NL80211AttributeTest,U16AttributesSeriallizeCorrectly) { in TEST() function 132 TEST(NL80211AttributeTest,U32AttributesSeriallizeCorrectly) { in TEST() function 137 TEST(NL80211AttributeTest,StringAttributesSeriallizeCorrectly) { in TEST() function 142 TEST(NL80211AttributeTest, ByteVectorsSeriallizeCorrectly) { in TEST() function 150 TEST(NL80211AttributeTest, CanGetNestedAttributes) { in TEST() function 168 TEST(NL80211AttributeTest, CannotGetDoubleNestedAttributes) { in TEST() function 179 TEST(NL80211AttributeTest, CannotGetMissingAttribute) { in TEST() function 190 TEST(NL80211AttributeTest, CannotGetAttributeWithWrongType) { in TEST() function 202 TEST(NL80211AttributeTest, InvalidU32AttributeWithEmptyBuffer) { in TEST() function [all …]
|
/system/nvram/messages/tests/ |
D | io_test.cpp | 79 TEST(InputStreamBufferTest, Basic) { in TEST() function 95 TEST(InputStreamBufferTest, Empty) { in TEST() function 102 TEST(InputStreamBufferTest, LargeRead) { in TEST() function 108 TEST(InputStreamBufferTest, LargeSkip) { in TEST() function 113 TEST(InputStreamBufferTest, OverlappingReadByte) { in TEST() function 126 TEST(InputStreamBufferTest, OverlappingRead) { in TEST() function 134 TEST(InputStreamBufferTest, OverlappingSkip) { in TEST() function 142 TEST(NestedInputStreamBufferTest, Large) { in TEST() function 148 TEST(NestedInputStreamBufferTest, Short) { in TEST() function 156 TEST(NestedInputStreamBufferTest, Matching) { in TEST() function [all …]
|
/system/core/libcutils/tests/ |
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 63 TEST(MultiuserTest, TestExt) { in TEST() function 71 TEST(MultiuserTest, TestExtCache) { in TEST() function 79 TEST(MultiuserTest, TestShared) { in TEST() function
|
/system/bt/service/test/ |
D | uuid_unittest.cc | 38 TEST(UUIDTest, DefaultUUID) { in TEST() function 46 TEST(UUIDTest, Init16Bit) { in TEST() function 58 TEST(UUIDTest, Init16BitString) { in TEST() function 75 TEST(UUIDTest, Init32Bit) { in TEST() function 88 TEST(UUIDTest, Init32BitString) { in TEST() function 102 TEST(UUIDTest, Init128Bit) { in TEST() function 116 TEST(UUIDTest, Init128BitLittleEndian) { in TEST() function 130 TEST(UUIDTest, Init128BitString) { in TEST() function 144 TEST(UUIDTest, InitInvalid) { in TEST() function 155 TEST(UUIDTest, ToString) { in TEST() function
|
/system/extras/memory_replay/tests/ |
D | PointersTest.cpp | 21 TEST(PointersTest, smoke) { in TEST() function 29 TEST(PointersTest, readd_pointer) { in TEST() function 41 TEST(PointersTest, expect_collision) { in TEST() function 54 TEST(PointersTest, multiple_add_removes) { in TEST() function 90 TEST(PointersTest_DeathTest, no_entries_left) { in TEST() function 100 TEST(PointersTest_DeathTest, find_no_pointer) { in TEST() function 111 TEST(PointersTest_DeathTest, remove_zero_value) { in TEST() function
|
D | ActionTest.cpp | 24 TEST(ActionTest, malloc) { in TEST() function 39 TEST(ActionTest, malloc_malformed) { in TEST() function 46 TEST(ActionTest, free) { in TEST() function 59 TEST(ActionTest, calloc) { in TEST() function 74 TEST(ActionTest, free_zero) { in TEST() function 85 TEST(ActionTest, calloc_malformed) { in TEST() function 96 TEST(ActionTest, realloc) { in TEST() function 122 TEST(ActionTest, realloc_malformed) { in TEST() function 133 TEST(ActionTest, memalign) { in TEST() function 148 TEST(ActionTest, memalign_malformed) { in TEST() function [all …]
|
/system/keymaster/ |
D | keymaster_configuration_test.cpp | 35 TEST(VersionParsingTest, Full) { in TEST() function 44 TEST(VersionParsingTest, FullWithExtraChars) {} in TEST() function 46 TEST(VersionParsingTest, MajorOnly) { in TEST() function 53 TEST(VersionParsingTest, MajorMinorOnly) { in TEST() function 58 TEST(PatchLevelParsingTest, Full) { in TEST() function
|