Home
last modified time | relevance | path

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

123456

/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/base/
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_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 …]
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/extras/simpleperf/
Dcmd_record_test.cpp51 TEST(record_cmd, no_options) { in TEST() function
55 TEST(record_cmd, system_wide_option) { in TEST() function
61 TEST(record_cmd, sample_period_option) { in TEST() function
65 TEST(record_cmd, event_option) { in TEST() function
69 TEST(record_cmd, freq_option) { in TEST() function
74 TEST(record_cmd, output_file_option) { in TEST() function
79 TEST(record_cmd, dump_kernel_mmap) { in TEST() function
99 TEST(record_cmd, dump_build_id_feature) { in TEST() function
109 TEST(record_cmd, tracepoint_event) { in TEST() function
115 TEST(record_cmd, branch_sampling) { in TEST() function
[all …]
Dcmd_stat_test.cpp29 TEST(stat_cmd, no_options) { in TEST() function
33 TEST(stat_cmd, event_option) { in TEST() function
37 TEST(stat_cmd, system_wide_option) { in TEST() function
43 TEST(stat_cmd, verbose_option) { in TEST() function
47 TEST(stat_cmd, tracepoint_event) { in TEST() function
53 TEST(stat_cmd, event_modifier) { in TEST() function
68 TEST(stat_cmd, existing_processes) { in TEST() function
76 TEST(stat_cmd, existing_threads) { in TEST() function
85 TEST(stat_cmd, no_monitored_threads) { in TEST() function
89 TEST(stat_cmd, cpu_option) { in TEST() function
Dread_elf_test.cpp24 TEST(read_elf, GetBuildIdFromElfFile) { in TEST() function
30 TEST(read_elf, GetBuildIdFromEmbeddedElfFile) { in TEST() function
51 TEST(read_elf, parse_symbols_from_elf_file_with_correct_build_id) { in TEST() function
58 TEST(read_elf, parse_symbols_from_elf_file_without_build_id) { in TEST() function
65 TEST(read_elf, parse_symbols_from_elf_file_with_wrong_build_id) { in TEST() function
72 TEST(read_elf, ParseSymbolsFromEmbeddedElfFile) { in TEST() function
80 TEST(read_elf, arm_mapping_symbol) { in TEST() function
87 TEST(read_elf, IsValidElfPath) { in TEST() function
Dread_apk_test.cpp24 TEST(read_apk, IsValidApkPath) { in TEST() function
30 TEST(read_apk, FindElfInApkByOffset) { in TEST() function
44 TEST(read_apk, FindElfInApkByName) { in TEST() function
53 TEST(read_apk, GetBuildIdFromApkFile) { in TEST() function
59 TEST(read_apk, ParseSymbolsFromApkFile) { in TEST() function
/system/update_engine/update_manager/
Dboxed_value_unittest.cc62 TEST(UmBoxedValueTest, Deleted) { in TEST() function
73 TEST(UmBoxedValueTest, MoveConstructor) { in TEST() function
87 TEST(UmBoxedValueTest, MixedList) { in TEST() function
99 TEST(UmBoxedValueTest, MixedMap) { in TEST() function
109 TEST(UmBoxedValueTest, StringToString) { in TEST() function
114 TEST(UmBoxedValueTest, IntToString) { in TEST() function
118 TEST(UmBoxedValueTest, Int64ToString) { in TEST() function
124 TEST(UmBoxedValueTest, UnsignedIntToString) { in TEST() function
130 TEST(UmBoxedValueTest, UnsignedInt64ToString) { in TEST() function
136 TEST(UmBoxedValueTest, BoolToString) { in TEST() function
[all …]
/system/bt/service/test/
Duuid_unittest.cpp38 TEST(UUIDTest, DefaultUUID) { in TEST() function
46 TEST(UUIDTest, Init16Bit) { in TEST() function
58 TEST(UUIDTest, Init16BitString) { in TEST() function
76 TEST(UUIDTest, Init32Bit) { in TEST() function
89 TEST(UUIDTest, Init32BitString) { in TEST() function
103 TEST(UUIDTest, Init128Bit) { in TEST() function
117 TEST(UUIDTest, Init128BitLittleEndian) { in TEST() function
131 TEST(UUIDTest, Init128BitString) { in TEST() function
146 TEST(UUIDTest, InitInvalid) { in TEST() function
157 TEST(UUIDTest, ToString) { in TEST() function
Dparcel_helpers_unittest.cpp105 TEST(ParcelHelpersTest, EmptyAdvertiseData) { in TEST() function
112 TEST(ParcelHelpersTest, NonEmptyAdvertiseData) { in TEST() function
128 TEST(ParcelHelpersTest, DefaultAdvertiseSettings) { in TEST() function
133 TEST(ParcelHelpersTest, NonEmptyAdvertiseSettings) { in TEST() function
142 TEST(ParcelHelpersTest, UUID) { in TEST() function
150 TEST(ParcelHelpersTest, GattIdentifier) { in TEST() function
165 TEST(ParcelHelpersTest, ScanSettings) { in TEST() function
179 TEST(ParcelHelpersTest, ScanFilter) { in TEST() function
195 TEST(ParcelHelpersTest, ScanResult) { in TEST() function
/system/extras/memory_replay/tests/
DPointersTest.cpp21 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
DActionTest.cpp24 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/core/init/
Dinit_parser_test.cpp29 TEST(init_parser, make_exec_oneshot_service_invalid_syntax) { in TEST() function
44 TEST(init_parser, make_exec_oneshot_service_too_many_supplementary_gids) { in TEST() function
113 TEST(init_parser, make_exec_oneshot_service_with_everything) { in TEST() function
117 TEST(init_parser, make_exec_oneshot_service_with_seclabel_uid_gid) { in TEST() function
121 TEST(init_parser, make_exec_oneshot_service_with_seclabel_uid) { in TEST() function
125 TEST(init_parser, make_exec_oneshot_service_with_seclabel) { in TEST() function
129 TEST(init_parser, make_exec_oneshot_service_with_just_command) { in TEST() function
133 TEST(init_parser, make_exec_oneshot_service_with_just_command_no_dash) { in TEST() function
/system/keymaster/
Dkeymaster_configuration_test.cpp35 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
Dandroid_keymaster_messages_test.cpp66 TEST(RoundTrip, EmptyKeymasterResponse) { in TEST() function
75 TEST(RoundTrip, EmptyKeymasterResponseError) { in TEST() function
84 TEST(RoundTrip, SupportedByAlgorithmRequest) { in TEST() function
94 TEST(RoundTrip, SupportedByAlgorithmAndPurposeRequest) { in TEST() function
106 TEST(RoundTrip, SupportedResponse) { in TEST() function
130 TEST(RoundTrip, GenerateKeyRequest) { in TEST() function
139 TEST(RoundTrip, GenerateKeyResponse) { in TEST() function
154 TEST(RoundTrip, GenerateKeyResponseTestError) { in TEST() function
170 TEST(RoundTrip, GetKeyCharacteristicsRequest) { in TEST() function
183 TEST(RoundTrip, GetKeyCharacteristicsResponse) { in TEST() function
[all …]
Dauthorization_set_test.cpp28 TEST(Construction, ListProvided) { in TEST() function
40 TEST(Construction, Copy) { in TEST() function
53 TEST(Construction, NullProvided) { in TEST() function
67 TEST(Lookup, NonRepeated) { in TEST() function
98 TEST(Lookup, Repeated) { in TEST() function
127 TEST(Lookup, Indexed) { in TEST() function
147 TEST(Serialization, RoundTrip) { in TEST() function
179 TEST(Deserialization, Deserialize) { in TEST() function
214 TEST(Deserialization, TooShortBuffer) { in TEST() function
224 TEST(Deserialization, InvalidLengthField) { in TEST() function
[all …]
/system/extras/tests/audio/alsa/
Dpcmtest.cpp166 TEST(pcmtest, CheckAudioDir) { in TEST() function
171 TEST(pcmtest, GetSoundDevs) { in TEST() function
178 TEST(pcmtest, CheckPcmSanity0) { in TEST() function
182 TEST(pcmtest, CheckPcmSanity1) { in TEST() function
186 TEST(pcmtests, CheckMixerSanity) { in TEST() function
191 TEST(pcmtest, CheckTimesSanity0) { in TEST() function
195 TEST(pcmtest, CheckTimesSanity1) { in TEST() function
199 TEST(pcmtest, CheckPcmDevices) { in TEST() function
206 TEST(pcmtest, CheckMixerDevices) { in TEST() function
216 TEST(pcmtest, CheckTimer) { in TEST() function
/system/core/libmemunreachable/tests/
DMemUnreachable_test.cpp54 TEST(MemunreachableTest, clean) { in TEST() function
63 TEST(MemunreachableTest, stack) { in TEST() function
95 TEST(MemunreachableTest, global) { in TEST() function
126 TEST(MemunreachableTest, tls) { in TEST() function
161 TEST(MemunreachableTest, twice) { in TEST() function
188 TEST(MemunreachableTest, log) { in TEST() function
203 TEST(MemunreachableTest, notdumpable) { in TEST() function
213 TEST(MemunreachableTest, leak_lots) { in TEST() function
/system/tpm/trunks/
Dpassword_authorization_delegate_test.cc27 TEST(PasswordAuthorizationDelegateTest, NullInitialization) { in TEST() function
35 TEST(PasswordAuthorizationDelegateTest, SerializationTest) { in TEST() function
55 TEST(PasswordAuthorizationDelegateTest, ParseGoodParams) { in TEST() function
70 TEST(PasswordAuthorizationDelegateTest, ParseBadParams) { in TEST() function
86 TEST(PasswordAuthorizationDelegateTest, EncryptDecrypt) { in TEST() function
/system/core/libziparchive/
Dentry_name_utils_test.cc21 TEST(entry_name_utils, NullChars) { in TEST() function
31 TEST(entry_name_utils, InvalidSequence) { in TEST() function
41 TEST(entry_name_utils, TruncatedContinuation) { in TEST() function
53 TEST(entry_name_utils, BadContinuation) { in TEST() function
/system/core/adb/
Dadb_io_test.cpp40 TEST(io, ReadFdExactly_whole) { in TEST() function
54 TEST(io, ReadFdExactly_eof) { in TEST() function
68 TEST(io, ReadFdExactly_partial) { in TEST() function
85 TEST(io, WriteFdExactly_whole) { in TEST() function
100 TEST(io, WriteFdExactly_partial) { in TEST() function
117 TEST(io, WriteFdExactly_ENOSPC) { in TEST() function
126 TEST(io, WriteFdExactly_string) { in TEST() function
140 TEST(io, WriteFdFmt) { in TEST() function
/system/bt/device/test/
Dinterop_test.cpp25 TEST(InteropTest, test_lookup_hit) { in TEST() function
33 TEST(InteropTest, test_lookup_miss) { in TEST() function
45 TEST(InteropTest, test_dynamic) { in TEST() function
66 TEST(InteropTest, test_name_hit) { in TEST() function
72 TEST(InteropTest, test_name_miss) { in TEST() function
/system/core/libcutils/tests/
Dsockets_test.cpp94 TEST(SocketsTest, TestGetLocalPort) { in TEST() function
115 TEST(SocketsTest, TestIpv4UdpLoopback) { in TEST() function
124 TEST(SocketsTest, TestIpv4TcpLoopback) { in TEST() function
137 TEST(SocketsTest, TestIpv6UdpLoopback) { in TEST() function
146 TEST(SocketsTest, TestIpv6TcpLoopback) { in TEST() function
159 TEST(SocketsTest, TestUdpReceiveTimeout) { in TEST() function
169 TEST(SocketsTest, TestTcpReceiveTimeout) { in TEST() function
185 TEST(SocketsTest, TestSocketSendBuffersFailure) { in TEST() function
/system/update_engine/common/
Dutils_unittest.cc50 TEST(UtilsTest, CanParseECVersion) { in TEST() function
63 TEST(UtilsTest, ReadFileFailure) { in TEST() function
68 TEST(UtilsTest, ReadFileChunk) { in TEST() function
89 TEST(UtilsTest, ErrnoNumberAsStringTest) { in TEST() function
93 TEST(UtilsTest, IsSymlinkTest) { in TEST() function
107 TEST(UtilsTest, SplitPartitionNameTest) { in TEST() function
150 TEST(UtilsTest, MakePartitionNameTest) { in TEST() function
164 TEST(UtilsTest, MakePartitionNameForMountTest) { in TEST() function
185 TEST(UtilsTest, FuzzIntTest) { in TEST() function
197 TEST(UtilsTest, RunAsRootGetFilesystemSizeTest) { in TEST() function
[all …]
/system/extras/tests/kernel.config/
Dpstore_test.cpp21 TEST(kernel_config, CONFIG_PSTORE) { in TEST() function
25 TEST(kernel_config, CONFIG_PSTORE_CONSOLE) { in TEST() function
29 TEST(kernel_config, CONFIG_PSTORE_PMSG) { in TEST() function

123456