Home
last modified time | relevance | path

Searched refs:TEST (Results 1 – 25 of 422) sorted by relevance

12345678910>>...17

/system/chre/util/tests/
Dtime_test.cc32 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 …]
Darray_queue_test.cc40 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 …]
Dpriority_queue_test.cc42 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 …]
Doptional_test.cc41 TEST(Optional, ShouldDestructContainedObject) { in TEST() function
50 TEST(Optional, NoValueByDefault) { in TEST() function
55 TEST(Optional, NonDefaultValueByDefault) { in TEST() function
61 TEST(Optional, NonDefaultMovedValueByDefault) { in TEST() function
67 TEST(Optional, CopyConstruct) { in TEST() function
74 TEST(Optional, CopyConstructConst) { in TEST() function
81 TEST(Optional, CopyAssignAndRead) { in TEST() function
91 TEST(Optional, MoveAssignAndRead) { in TEST() function
99 TEST(Optional, OptionalMoveAssignAndRead) { in TEST() function
109 TEST(Optional, OptionalCopyAssignAndRead) { in TEST() function
[all …]
/system/core/init/parser/
Dtokenizer_test.cpp38 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/core/libutils/
DString16_test.cpp34 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/libbase/
Dstrings_test.cpp26 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 …]
Dlogging_test.cpp38 #define HOST_TEST(suite, name) TEST(suite, DISABLED_ ## name)
40 #define HOST_TEST(suite, name) TEST(suite, name)
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
[all …]
Dlogging_splitters_test.cpp43 TEST(logging_splitters, NewlineSplitter_EmptyString) { in TEST() function
47 TEST(logging_splitters, NewlineSplitter_BasicString) { in TEST() function
51 TEST(logging_splitters, NewlineSplitter_ormalBasicStringTrailingNewline) { in TEST() function
55 TEST(logging_splitters, NewlineSplitter_MultilineTrailing) { in TEST() function
60 TEST(logging_splitters, NewlineSplitter_MultilineTrailingNewline) { in TEST() function
66 TEST(logging_splitters, NewlineSplitter_MultilineEmbeddedNewlines) { in TEST() function
99 TEST(logging_splitters, LogdChunkSplitter_EmptyString) { in TEST() function
103 TEST(logging_splitters, LogdChunkSplitter_BasicString) { in TEST() function
107 TEST(logging_splitters, LogdChunkSplitter_NormalBasicStringTrailingNewline) { in TEST() function
111 TEST(logging_splitters, LogdChunkSplitter_MultilineTrailing) { in TEST() function
[all …]
Dproperties_test.cpp32 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 …]
Dstringprintf_test.cpp23 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/
Dnano_string_test.cc53 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 …]
Dnano_endian_test.cc55 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
91 TEST(EndianTest, HostToLittleEndian) { in TEST() function
/system/netd/libnetdutils/
DLogTest.cpp70 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/chre/platform/slpi/smgr/tests/
Dplatform_sensor_util_test.cc27 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/update_engine/update_manager/
Dboxed_value_unittest.cc67 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/connectivity/wifilogd/tests/
Dlocal_utils_unittest.cpp33 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 …]
Dmemory_reader_unittest.cpp30 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/bt/packet/tests/avrcp/
Dregister_notification_packet_test.cc29 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/bt/gd/l2cap/
Dsignal_id_test.cc25 TEST(L2capSignalIdTest, valid_values) { in TEST() function
37 TEST(L2capSignalIdTest, zero_invalid) { in TEST() function
42 TEST(L2capSignalIdTest, pre_increment) { in TEST() function
51 TEST(L2capSignalIdTest, post_increment) { in TEST() function
60 TEST(L2capSignalIdTest, almost_wrap_up) { in TEST() function
70 TEST(L2capSignalIdTest, wrap_up) { in TEST() function
80 TEST(L2capSignalIdTest, pre_decrement) { in TEST() function
89 TEST(L2capSignalIdTest, post_decrement) { in TEST() function
98 TEST(L2capSignalIdTest, almost_wrap_down) { in TEST() function
108 TEST(L2capSignalIdTest, wrap_down) { in TEST() function
/system/core/init/
Ddevices_test.cpp63 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
94 TEST(device_handler, get_block_device_symlinks_success_platform_with_partition_only_num) { in TEST() function
109 TEST(device_handler, get_block_device_symlinks_success_platform_with_partition_only_name) { in TEST() function
125 TEST(device_handler, get_block_device_symlinks_success_pci) { in TEST() function
136 TEST(device_handler, get_block_device_symlinks_pci_bad_format) { in TEST() function
147 TEST(device_handler, get_block_device_symlinks_success_vbd) { in TEST() function
158 TEST(device_handler, get_block_device_symlinks_vbd_bad_format) { in TEST() function
169 TEST(device_handler, get_block_device_symlinks_no_matches) { in TEST() function
182 TEST(device_handler, sanitize_null) { in TEST() function
[all …]
/system/core/adb/
Dsocket_spec_test.cpp27 TEST(socket_spec, parse_tcp_socket_spec_failure) { in TEST() function
34 TEST(socket_spec, parse_tcp_socket_spec_just_port) { in TEST() function
43 TEST(socket_spec, parse_tcp_socket_spec_bad_ports) { in TEST() function
51 TEST(socket_spec, parse_tcp_socket_spec_host_and_port) { in TEST() function
60 TEST(socket_spec, parse_tcp_socket_spec_host_no_port) { in TEST() function
69 TEST(socket_spec, parse_tcp_socket_spec_host_bad_ports) { in TEST() function
77 TEST(socket_spec, parse_tcp_socket_spec_ipv6_and_port) { in TEST() function
86 TEST(socket_spec, parse_tcp_socket_spec_ipv6_no_port) { in TEST() function
95 TEST(socket_spec, parse_tcp_socket_spec_ipv6_bad_ports) { in TEST() function
103 TEST(socket_spec, get_host_socket_spec_port) { in TEST() function
[all …]
/system/connectivity/wificond/tests/
Dnl80211_attribute_unittest.cpp121 TEST(NL80211AttributeTest,U8AttributesSeriallizeCorrectly) { in TEST() function
126 TEST(NL80211AttributeTest,U16AttributesSeriallizeCorrectly) { in TEST() function
131 TEST(NL80211AttributeTest,U32AttributesSeriallizeCorrectly) { in TEST() function
136 TEST(NL80211AttributeTest,StringAttributesSeriallizeCorrectly) { in TEST() function
141 TEST(NL80211AttributeTest, ByteVectorsSeriallizeCorrectly) { in TEST() function
149 TEST(NL80211AttributeTest, CanGetNestedAttributes) { in TEST() function
167 TEST(NL80211AttributeTest, CannotGetDoubleNestedAttributes) { in TEST() function
178 TEST(NL80211AttributeTest, CannotGetMissingAttribute) { in TEST() function
189 TEST(NL80211AttributeTest, CannotGetAttributeWithWrongType) { in TEST() function
201 TEST(NL80211AttributeTest, InvalidU32AttributeWithEmptyBuffer) { in TEST() function
[all …]
/system/chre/core/tests/
Daudio_request_manager_test.cc24 TEST(AudioDurationFromSampleCountAndRate, HalfSecond) { in TEST() function
30 TEST(AudioDurationFromSampleCountAndRate, OneSecond) { in TEST() function
36 TEST(AudioDurationFromSampleCountAndRate, OneHundredSecond) { in TEST() function
42 TEST(AudioSampleCountFromRateAndDuration, OneSample) { in TEST() function
49 TEST(AudioSampleCountFromRateAndDuration, OneHundredSample) { in TEST() function
56 TEST(AudioSampleCountFromRateAndDuration, OneThousandSample) { in TEST() function
/system/extras/memory_replay/tests/
DAllocTest.cpp25 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 …]

12345678910>>...17