/system/extras/simpleperf/ |
D | cmd_report_sample_test.cpp | 62 ASSERT_NE(data.find("magic: SIMPLEPERF"), std::string::npos); in TEST() 63 ASSERT_NE(data.find("version: 1"), std::string::npos); in TEST() 64 ASSERT_NE(data.find("file:"), std::string::npos); in TEST() 77 ASSERT_NE(data.find("event_count:"), std::string::npos); in TEST() 83 ASSERT_NE(data.find("thread:"), std::string::npos); in TEST() 84 ASSERT_NE(data.find("thread_name: t2"), std::string::npos); in TEST() 90 ASSERT_NE(data.find("event_type: sched:sched_switch"), std::string::npos); in TEST() 96 ASSERT_NE(data.find("__libc_init"), std::string::npos); in TEST() 103 ASSERT_NE(data.find("app_package_name: com.google.sample.tunnel"), std::string::npos); in TEST() 110 ASSERT_NE(data.find("time: 1368182962424044"), std::string::npos); in TEST() [all …]
|
D | cmd_merge_test.cpp | 71 ASSERT_NE(report.find("Samples: 27"), std::string::npos); in TEST() 72 ASSERT_NE(report.find("malloc"), std::string::npos); in TEST() 74 ASSERT_NE(report.find("toybox_main"), std::string::npos); in TEST() 77 ASSERT_NE(report.find("Samples: 31"), std::string::npos); in TEST() 79 ASSERT_NE(report.find("sleep_main"), std::string::npos); in TEST() 80 ASSERT_NE(report.find("toybox_main"), std::string::npos); in TEST() 87 ASSERT_NE(report.find("Samples: 58"), std::string::npos); in TEST() 89 ASSERT_NE(report.find("malloc"), std::string::npos); in TEST() 90 ASSERT_NE(report.find("sleep_main"), std::string::npos); in TEST() 91 ASSERT_NE(report.find("toybox_main"), std::string::npos); in TEST()
|
D | cmd_debug_unwind_test.cpp | 44 ASSERT_NE(capture.Finish().find("sample_time: 1516379654300997"), std::string::npos); in TEST() 56 ASSERT_NE(output.find("sample_time: 1516379654300997"), std::string::npos); in TEST() 57 ASSERT_NE(output.find("sample_time: 1516379654363914"), std::string::npos); in TEST() 58 ASSERT_NE(output.find("sample_time: 1516379655959122"), std::string::npos); in TEST() 69 ASSERT_NE(output.find("sample_time: 1516379654300997"), std::string::npos); in TEST() 78 ASSERT_NE(capture.Finish().find( in TEST() 88 ASSERT_NE(capture.Finish().find("sample_time: 152526249937103"), std::string::npos); in TEST() 102 ASSERT_NE( in TEST() 107 ASSERT_NE(output.find("dso_2: /bionic/lib64/libc.so"), std::string::npos) << output; in TEST() 116 ASSERT_NE(output.find("symbol_5: android.os.Handler.post"), std::string::npos) << output; in TEST() [all …]
|
D | cmd_report_test.cpp | 87 ASSERT_NE(content.find("GlobalFunc"), std::string::npos); in TEST_F() 93 ASSERT_NE(content.find("GlobalFunc"), std::string::npos); in TEST_F() 114 ASSERT_NE(lines[line_index].find("Command"), std::string::npos); in TEST_F() 115 ASSERT_NE(lines[line_index].find("Pid"), std::string::npos); in TEST_F() 116 ASSERT_NE(lines[line_index].find("Shared Object"), std::string::npos); in TEST_F() 117 ASSERT_NE(lines[line_index].find("Symbol"), std::string::npos); in TEST_F() 132 ASSERT_NE(map.find("GlobalFunc"), map.end()); in TEST_F() 133 ASSERT_NE(map.find("main"), map.end()); in TEST_F() 218 ASSERT_NE(content.find("17441"), std::string::npos); in TEST_F() 219 ASSERT_NE(content.find("17445"), std::string::npos); in TEST_F() [all …]
|
D | cmd_dumprecord_test.cpp | 50 ASSERT_NE(data.find("[kernel.kallsyms][+ffffffc000086b4a]"), std::string::npos); in TEST() 51 ASSERT_NE(data.find("__ioctl (/system/lib64/libc.so[+70b6c])"), std::string::npos); in TEST() 59 ASSERT_NE(data.find("prev_comm: sleep"), std::string::npos); in TEST() 65 ASSERT_NE(data.find("name: /sys/kernel/debug/tracing/events/kprobes/myopen/format"), in TEST() 75 ASSERT_NE(data.find("record aux:"), std::string::npos); in TEST() 76 ASSERT_NE(data.find("feature section for auxtrace:"), std::string::npos); in TEST() 78 ASSERT_NE(data.find("OCSD_GEN_TRC_ELEM_INSTR_RANGE"), std::string::npos); in TEST()
|
D | cmd_trace_sched_test.cpp | 56 ASSERT_NE(data.find("Process 3845.961 ms 94.90% 8603 examplepurejava"), in TEST() 58 ASSERT_NE(data.find("Thread 3845.961 ms 94.90% 8615 BusyThread"), std::string::npos); in TEST() 59 ASSERT_NE(data.find("Detect 3 spin loops in process examplepurejava (8603) thread " in TEST()
|
D | cmd_kmem_test.cpp | 123 ASSERT_NE(result.content.find("kmem:kmalloc"), std::string::npos); in TEST() 124 ASSERT_NE(result.content.find("__alloc_skb"), std::string::npos); in TEST() 133 ASSERT_NE(result.content.find("Ptr"), std::string::npos); in TEST() 134 ASSERT_NE(result.content.find("GfpFlags"), std::string::npos); in TEST() 141 ASSERT_NE(result.content.find("kmem:kmalloc"), std::string::npos); in TEST() 142 ASSERT_NE(result.content.find("__alloc_skb"), std::string::npos); in TEST() 143 ASSERT_NE(result.content.find("system_call_fastpath"), std::string::npos); in TEST()
|
D | kallsyms_test.cpp | 70 ASSERT_NE(GetKernelStartAddress(), 0u); in TEST() 88 ASSERT_NE(capture.str().find(warning_msg), std::string::npos); in TEST() 96 ASSERT_NE(capture.str().find(warning_msg), std::string::npos); in TEST() 103 ASSERT_NE(capture.str().find(warning_msg), std::string::npos); in TEST() 118 ASSERT_NE(pos, std::string::npos); in TEST()
|
/system/vold/tests/ |
D | cryptfs_test.cpp | 31 ASSERT_NE(0, match_multi_entry("foo", "foo", 0)); in TEST_F() 32 ASSERT_NE(0, match_multi_entry("foo_0", "foo", 0)); in TEST_F() 33 ASSERT_NE(0, match_multi_entry("foo_1", "foo", 0)); in TEST_F() 34 ASSERT_NE(0, match_multi_entry("foo_2", "foo", 0)); in TEST_F() 38 ASSERT_NE(0, match_multi_entry("foo_1", "foo", 1)); in TEST_F() 39 ASSERT_NE(0, match_multi_entry("foo_2", "foo", 1)); in TEST_F() 44 ASSERT_NE(0, match_multi_entry("foo_2", "foo", 2)); in TEST_F()
|
/system/core/fs_mgr/liblp/ |
D | builder_test.cpp | 49 ASSERT_NE(builder, nullptr); in TEST_F() 52 ASSERT_NE(partition, nullptr); in TEST_F() 64 ASSERT_NE(builder, nullptr); in TEST_F() 67 ASSERT_NE(system, nullptr); in TEST_F() 73 ASSERT_NE(extent, nullptr); in TEST_F() 106 ASSERT_NE(extent, nullptr); in TEST_F() 111 ASSERT_NE(exported, nullptr); in TEST_F() 114 ASSERT_NE(entry, nullptr); in TEST_F() 125 ASSERT_NE(builder, nullptr); in TEST_F() 129 ASSERT_NE(system, nullptr); in TEST_F() [all …]
|
D | io_test.cpp | 144 ASSERT_NE(builder, nullptr); in TEST_F() 146 ASSERT_NE(exported, nullptr); in TEST_F() 161 ASSERT_NE(builder, nullptr); in TEST_F() 171 ASSERT_NE(exported, nullptr); in TEST_F() 179 ASSERT_NE(imported, nullptr); in TEST_F() 216 ASSERT_NE(imported, nullptr); in TEST_F() 226 ASSERT_NE(imported, nullptr); in TEST_F() 232 ASSERT_NE(imported, nullptr); in TEST_F() 237 ASSERT_NE(super_device, nullptr); in TEST_F() 262 ASSERT_NE(metadata, nullptr); in TEST_F() [all …]
|
D | utility_test.cpp | 120 ASSERT_NE(builder, nullptr); in TEST() 124 ASSERT_NE(system_a, nullptr); in TEST() 127 ASSERT_NE(vendor_a, nullptr); in TEST() 132 ASSERT_NE(system_b, nullptr); in TEST() 135 ASSERT_NE(vendor_b, nullptr); in TEST() 145 ASSERT_NE(nullptr, metadata); in TEST() 150 ASSERT_NE(nullptr, new_builder); in TEST() 157 ASSERT_NE(nullptr, group_b); in TEST() 161 ASSERT_NE(nullptr, new_system_b); in TEST() 167 ASSERT_NE(nullptr, new_vendor_b); in TEST()
|
/system/core/property_service/libpropertyinfoserializer/ |
D | trie_builder_test.cpp | 43 ASSERT_NE(nullptr, builder_root.context()); in TEST() 45 ASSERT_NE(nullptr, builder_root.type()); in TEST() 56 ASSERT_NE(nullptr, test_node->context()); in TEST() 58 ASSERT_NE(nullptr, test_node->type()); in TEST() 66 ASSERT_NE(nullptr, property_entry.context); in TEST() 68 ASSERT_NE(nullptr, property_entry.type); in TEST() 76 ASSERT_NE(nullptr, test_node->exact_matches()[0].context); in TEST() 77 ASSERT_NE(nullptr, test_node->exact_matches()[1].context); in TEST() 78 ASSERT_NE(nullptr, test_node->exact_matches()[2].context); in TEST() 83 ASSERT_NE(nullptr, test_node->exact_matches()[0].type); in TEST() [all …]
|
/system/memory/libmemunreachable/tests/ |
D | DisableMalloc_test.cpp | 45 ASSERT_NE(ptr1, nullptr); in TEST_F() 49 ASSERT_NE(ptr2, nullptr); in TEST_F() 60 ASSERT_NE(ptr, nullptr); in TEST_F() 66 ASSERT_NE(ptr, nullptr); in TEST_F() 80 ASSERT_NE(ptr, nullptr); in TEST_F() 86 ASSERT_NE(ptr, nullptr); in TEST_F() 97 ASSERT_NE(ptr, nullptr); in TEST_F() 111 ASSERT_NE(ptr, nullptr); in TEST_F()
|
/system/testing/gtest_extras/tests/ |
D | OptionsTest.cpp | 246 ASSERT_NE(-1, setenv("GTEST_SHARD_INDEX", "100", 1)); in TEST_F() 255 ASSERT_NE(-1, setenv("GTEST_SHARD_INDEX", "0", 1)); in TEST_F() 260 ASSERT_NE(-1, unsetenv("GTEST_SHARD_INDEX")); in TEST_F() 264 ASSERT_NE(-1, setenv("GTEST_SHARD_INDEX", "", 1)); in TEST_F() 274 ASSERT_NE(-1, unsetenv("GTEST_SHARD_INDEX")); in TEST_F() 278 ASSERT_NE(-1, setenv("GTEST_SHARD_INDEX", "bad", 1)); in TEST_F() 289 ASSERT_NE(-1, unsetenv("GTEST_SHARD_INDEX")); in TEST_F() 303 ASSERT_NE(-1, setenv("GTEST_TOTAL_SHARDS", "500", 1)); in TEST_F() 312 ASSERT_NE(-1, setenv("GTEST_TOTAL_SHARDS", "0", 1)); in TEST_F() 317 ASSERT_NE(-1, unsetenv("GTEST_TOTAL_SHARDS")); in TEST_F() [all …]
|
D | SystemTests.cpp | 170 ASSERT_NE(-1, pipe2(fds, O_NONBLOCK)); in Exec() 172 ASSERT_NE(-1, pipe(fds)); in Exec() 173 ASSERT_NE(-1, fcntl(fds[0], F_SETFL, O_NONBLOCK)); in Exec() 182 ASSERT_NE(0, dup2(fds[1], STDOUT_FILENO)); in Exec() 183 ASSERT_NE(0, dup2(fds[1], STDERR_FILENO)); in Exec() 192 ASSERT_NE(-1, pid_); in Exec() 202 ASSERT_NE(-1, flags); in ExecAndCapture() 204 ASSERT_NE(-1, fcntl(fd_, F_SETFL, flags)); in ExecAndCapture() 714 ASSERT_NE(0, exitcode_); in TEST_F() 784 ASSERT_NE(std::string::npos, isolation_help) << "Cannot find isolation help:\n" << raw_output_; in TEST_F() [all …]
|
/system/core/fs_mgr/libsnapshot/ |
D | partition_cow_creator_test.cpp | 59 ASSERT_NE(builder_a, nullptr); in TEST_F() 61 ASSERT_NE(system_a, nullptr); in TEST_F() 65 ASSERT_NE(builder_b, nullptr); in TEST_F() 67 ASSERT_NE(system_b, nullptr); in TEST_F() 92 ASSERT_NE(nullptr, system); in TEST_F() 95 ASSERT_NE(nullptr, vendor); in TEST_F() 100 ASSERT_NE(nullptr, source_metadata); in TEST_F() 106 ASSERT_NE(nullptr, vendor); in TEST_F() 110 ASSERT_NE(nullptr, system); in TEST_F() 131 ASSERT_NE(builder_a, nullptr); in TEST_F() [all …]
|
/system/chre/util/tests/ |
D | singleton_test.cc | 28 ASSERT_NE(Singleton<int>::get(), nullptr); in TEST() 32 ASSERT_NE(Singleton<int>::get(), nullptr); in TEST() 41 ASSERT_NE(Singleton<int>::get(), nullptr); in TEST()
|
/system/libbase/ |
D | cmsg_test.cpp | 46 ASSERT_NE(-1, dup1); in SetUp() 48 ASSERT_NE(-1, dup2); in SetUp() 77 ASSERT_NE(-1, received.get()); in TEST_P() 96 ASSERT_NE(-1, received1.get()); in TEST_P() 97 ASSERT_NE(-1, received2.get()); in TEST_P() 159 ASSERT_NE(-1, received1.get()); in TEST_P() 160 ASSERT_NE(-1, received2.get()); in TEST_P() 175 ASSERT_NE(-1, received1.get()); in TEST_P() 176 ASSERT_NE(-1, received2.get()); in TEST_P()
|
/system/incremental_delivery/incfs/tests/util/ |
D | map_ptr_test.cpp | 93 ASSERT_NE(nullptr, map); in TEST_F() 108 ASSERT_NE(nullptr, map); in TEST_F() 125 ASSERT_NE(nullptr, map); in TEST_F() 140 ASSERT_NE(nullptr, map); in TEST_F() 157 ASSERT_NE(nullptr, map); in TEST_F() 179 ASSERT_NE(nullptr, map); in TEST_F() 194 ASSERT_NE(nullptr, map); in TEST_F() 205 ASSERT_NE(nullptr, map); in TEST_F() 216 ASSERT_NE(nullptr, map); in TEST_F() 229 ASSERT_NE(it, it2); in TEST_F() [all …]
|
/system/update_engine/update_manager/ |
D | real_random_provider_unittest.cc | 34 ASSERT_NE(nullptr, provider_.get()); in SetUp() 52 ASSERT_NE(nullptr, value.get()); in TEST_F() 60 ASSERT_NE(nullptr, other_value.get()); in TEST_F()
|
D | umtest_utils.h | 42 ASSERT_NE(nullptr, variable); in ExpectVariableHasValue() 45 ASSERT_NE(nullptr, value.get()) << "Variable: " << variable->GetName(); in ExpectVariableHasValue() 52 ASSERT_NE(nullptr, variable); in ExpectVariableNotSet()
|
/system/core/fs_mgr/libfiemap/ |
D | fiemap_writer_test.cpp | 100 ASSERT_NE(fptr, nullptr); in TEST_F() 106 ASSERT_NE(fptr, nullptr); in TEST_F() 115 ASSERT_NE(fptr, nullptr); in TEST_F() 144 ASSERT_NE(ptr, nullptr); in TEST_F() 160 ASSERT_NE(fptr, nullptr); in TEST_F() 167 ASSERT_NE(fptr, nullptr); in TEST_F() 176 ASSERT_NE(fptr, nullptr); in TEST_F() 182 { ASSERT_NE(FiemapWriter::Open(testfile, gBlockSize), nullptr); } in TEST_F() 186 ASSERT_NE(ptr, nullptr); in TEST_F() 207 ASSERT_NE(fptr, nullptr); in TEST_F() [all …]
|
/system/unwinding/libunwindstack/tests/ |
D | DwarfCfaTest.cpp | 112 ASSERT_NE(loc_regs.end(), location); in TYPED_TEST_P() 127 ASSERT_NE(loc_regs.end(), location); in TYPED_TEST_P() 143 ASSERT_NE(loc_regs.end(), location); in TYPED_TEST_P() 158 ASSERT_NE(loc_regs.end(), location); in TYPED_TEST_P() 174 ASSERT_NE(loc_regs.end(), location); in TYPED_TEST_P() 190 ASSERT_NE(loc_regs.end(), location); in TYPED_TEST_P() 220 ASSERT_NE(loc_regs.end(), location); in TYPED_TEST_P() 250 ASSERT_NE(loc_regs.end(), location); in TYPED_TEST_P() 351 ASSERT_NE(loc_regs.end(), location); in TYPED_TEST_P() 365 ASSERT_NE(loc_regs.end(), location); in TYPED_TEST_P() [all …]
|
/system/logging/liblog/tests/ |
D | log_wrap_test.cpp | 39 ASSERT_NE(logger_list, nullptr); in read_with_wrap() 47 ASSERT_NE(start, log_time()); in read_with_wrap() 51 ASSERT_NE(logger_list, nullptr); in read_with_wrap()
|