Home
last modified time | relevance | path

Searched refs:EXPECT_NE (Results 1 – 25 of 142) sorted by relevance

123456

/system/extras/tests/kernel.config/
Dlogger_test.cpp21 EXPECT_NE(0, access("/dev/log/main", F_OK)); in TEST()
22 EXPECT_NE(0, access("/dev/log_main", F_OK)); in TEST()
23 EXPECT_NE(0, access("/dev/log/radio", F_OK)); in TEST()
24 EXPECT_NE(0, access("/dev/log_radio", F_OK)); in TEST()
25 EXPECT_NE(0, access("/dev/log/events", F_OK)); in TEST()
26 EXPECT_NE(0, access("/dev/log_events", F_OK)); in TEST()
27 EXPECT_NE(0, access("/dev/log/system", F_OK)); in TEST()
28 EXPECT_NE(0, access("/dev/log_system", F_OK)); in TEST()
/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_device_test.cpp42 EXPECT_NE(nullptr, system_entry); in TEST()
51 EXPECT_NE(nullptr, vbmeta); in TEST()
54 EXPECT_NE("", out_public_key_data); in TEST()
77 EXPECT_NE(nullptr, system_other); in TEST()
86 EXPECT_NE(nullptr, system_other_vbmeta); in TEST()
89 EXPECT_NE("", out_public_key_data); in TEST()
93 EXPECT_NE(nullptr, hashtree_desc); in TEST()
121 EXPECT_NE(nullptr, avb_handle) << "Failed to load system_other vbmeta. Try 'adb root'?"; in TEST()
130 EXPECT_NE(nullptr, avb_handle) << "Failed to load inline vbmeta. Try 'adb root'?"; in TEST()
135 EXPECT_NE(nullptr, system_entry); in TEST()
[all …]
Dfs_avb_test.cpp110 EXPECT_NE(nullptr, avb_handle); in TEST_F()
126 EXPECT_NE(nullptr, avb_handle); in TEST_F()
192 EXPECT_NE(nullptr, avb_handle); in TEST_F()
212 EXPECT_NE(nullptr, avb_handle); in TEST_F()
228 EXPECT_NE(nullptr, avb_handle); in TEST_F()
284 EXPECT_NE(nullptr, avb_handle); in TEST_F()
307 EXPECT_NE(nullptr, avb_handle); in TEST_F()
Dbasic_test.cpp30 EXPECT_NE(0U, boot_path.value().size()); in TEST_F()
78 EXPECT_NE(0U, boot_path.value().size()); in TEST_F()
117 EXPECT_NE(0U, system_path.value().size()); in TEST_F()
/system/bt/gd/common/
Dlru_cache_test.cc49 EXPECT_NE(cache_1, cache_2); in TEST()
54 EXPECT_NE(cache_1, cache_2); in TEST()
59 EXPECT_NE(cache_1, cache_3); in TEST()
62 EXPECT_NE(cache_1, cache_4); in TEST()
68 EXPECT_NE(cache_4, cache_6); in TEST()
176 EXPECT_NE(cache.find(56), cache.end()); in TEST()
179 EXPECT_NE(iter, cache.end()); in TEST()
202 EXPECT_NE(iter = cache.find(4), cache.end()); in TEST()
204 EXPECT_NE(iter = cache.find(2), cache.end()); in TEST()
206 EXPECT_NE(iter = cache.find(3), cache.end()); in TEST()
[all …]
Dlist_map_test.cc49 EXPECT_NE(list_map_1, list_map_2); in TEST()
54 EXPECT_NE(list_map_1, list_map_3); in TEST()
57 EXPECT_NE(list_map_1, list_map_4); in TEST()
154 EXPECT_NE(iter, list_map.end()); in TEST()
190 EXPECT_NE(iter, list_map.end()); in TEST()
251 EXPECT_NE(iter, list_map.end()); in TEST()
349 EXPECT_NE(iter, list_map.end()); in TEST()
/system/update_engine/update_manager/
Dreal_system_provider_unittest.cc65 EXPECT_NE(nullptr, provider_->var_is_normal_boot_mode()); in TEST_F()
66 EXPECT_NE(nullptr, provider_->var_is_official_build()); in TEST_F()
67 EXPECT_NE(nullptr, provider_->var_is_oobe_complete()); in TEST_F()
68 EXPECT_NE(nullptr, provider_->var_kiosk_required_platform_version()); in TEST_F()
69 EXPECT_NE(nullptr, provider_->var_chromeos_version()); in TEST_F()
/system/chre/util/tests/
Dmemory_pool_test.cc13 EXPECT_NE(memoryPool.allocate(), nullptr); in TEST()
15 EXPECT_NE(memoryPool.allocate(), nullptr); in TEST()
17 EXPECT_NE(memoryPool.allocate(), nullptr); in TEST()
41 EXPECT_NE(element1, nullptr); in TEST()
/system/connectivity/wificond/tests/
Dserver_unittest.cpp150 EXPECT_NE(nullptr, ap_if.get()); in TEST_F()
157 EXPECT_NE(nullptr, ap_if.get()); in TEST_F()
163 EXPECT_NE(nullptr, second_ap_if.get()); in TEST_F()
182 EXPECT_NE(nullptr, ap_if.get()); in TEST_F()
199 EXPECT_NE(nullptr, client_if.get()); in TEST_F()
224 EXPECT_NE(nullptr, client_if.get()); in TEST_F()
245 EXPECT_NE(nullptr, client_if1.get()); in TEST_F()
299 EXPECT_NE(nullptr, client_if.get()); in TEST_F()
327 EXPECT_NE(nullptr, client_if1.get()); in TEST_F()
396 EXPECT_NE(nullptr, client_if.get()); in TEST_F()
[all …]
/system/unwinding/libunwindstack/tests/
DElfCacheTest.cpp92 EXPECT_NE(elf1, elf2); in VerifySameMap()
145 EXPECT_NE(elf0_1, elf0_2); in VerifyWithinSameMap()
159 EXPECT_NE(elf100_1, elf100_2); in VerifyWithinSameMap()
173 EXPECT_NE(elf200_1, elf200_2); in VerifyWithinSameMap()
188 EXPECT_NE(elf300_1, elf300_2); in VerifyWithinSameMap()
189 EXPECT_NE(elf0_1, elf300_1); in VerifyWithinSameMap()
235 EXPECT_NE(elf300_1, elf300_2); in VerifyWithinSameMapNeverReadAtZero()
250 EXPECT_NE(elf400_1, elf400_2); in VerifyWithinSameMapNeverReadAtZero()
251 EXPECT_NE(elf300_1, elf400_1); in VerifyWithinSameMapNeverReadAtZero()
/system/linkerconfig/contents/tests/configuration/include/
Dconfigurationtest.h61 EXPECT_NE(0u, section.namespaces.size()) in ValidateSection()
63 EXPECT_NE(0u, section.dirs.size()) in ValidateSection()
76 EXPECT_NE(0u, conf.sections.size()); in ValidateConfiguration()
/system/core/libutils/
DSharedBuffer_test.cpp41 EXPECT_NE(nullptr, buf->data()); in TEST()
51 EXPECT_NE(nullptr, buf->data()); in TEST()
78 EXPECT_NE(nullptr, buf2->data()); in TEST()
/system/chre/apps/test/chqts/src/shared/
Dchunk_allocator_test.cc27 EXPECT_NE(nullptr, ptr); in ExpectGoodAlloc()
46 EXPECT_NE(ptrs[j], ptrs[i]); in TEST()
60 EXPECT_NE(newPtr, ptrs[i]); in TEST()
/system/core/fs_mgr/liblp/
Ddevice_test.cpp61 EXPECT_NE(metadata, nullptr); in TEST_F()
78 EXPECT_NE(other_metadata, nullptr); in TEST_F()
/system/netd/server/
DInterfaceControllerTest.cpp130 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
135 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
162 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
176 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
189 EXPECT_NE(ifaceNames.value().end(), val); in TEST_F()
202 EXPECT_NE(ifaceMap.value().end(), ifacePair); in TEST_F()
DIptablesRestoreControllerTest.cpp91 EXPECT_NE(-1, read(fd, statBuf, sizeof(statBuf))) in parseProcStat()
129 EXPECT_NE(-1, fd) << "Unexpected error opening " << statPath << ": " << strerror(errno); in getRssPages()
250 EXPECT_NE(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
251 EXPECT_NE(pid6, getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS)); in TEST_F()
330 EXPECT_NE(0, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
331 EXPECT_NE(0, getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS)); in TEST_F()
/system/tools/aidl/
Daidl_unittest.cpp142 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { }", typenames_, GetLanguage())); in TEST_P()
146 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { } // foo", typenames_, GetLanguage())); in TEST_P()
202 EXPECT_NE(nullptr, Parse("a/IBar.aidl", interface_list, typenames_, GetLanguage())); in TEST_P()
255 EXPECT_NE(nullptr, Parse("a/IFoo.aidl", oneway_method, typenames_, GetLanguage())); in TEST_P()
288 EXPECT_NE(nullptr, Parse("Foo.aidl", "parcelable Foo {}", typenames_, GetLanguage())); in TEST_P()
441 EXPECT_NE(0, ::android::aidl::compile_aidl(cpp_structured_options, io_delegate_)); in TEST_F()
445 EXPECT_NE(0, ::android::aidl::compile_aidl(rust_options, io_delegate_)); in TEST_F()
559 EXPECT_NE(0, ::android::aidl::compile_aidl(java_options, io_delegate_)); in TEST_F()
570 EXPECT_NE(0, ::android::aidl::compile_aidl(java_options, io_delegate_)); in TEST_F()
578 EXPECT_NE(0, ::android::aidl::compile_aidl(java_options, io_delegate_)); in TEST_F()
[all …]
/system/bt/audio_bluetooth_hw/
Dutils_unittest.cc53 EXPECT_NE(map_.find("key0"), map_.end()); in TEST_F()
62 EXPECT_NE(map_.find("key0"), map_.end()); in TEST_F()
71 EXPECT_NE(map_.find("key0"), map_.end()); in TEST_F()
/system/logging/logd/
DSerializedLogChunkTest.cpp67 EXPECT_NE(nullptr, chunk.Log(1, log_time(), 1000, 1, 1, log_message, sizeof(log_message))); in TEST()
70 EXPECT_NE(nullptr, chunk.Log(2, log_time(), 1000, 2, 1, log_message, sizeof(log_message))); in TEST()
73 EXPECT_NE(nullptr, chunk.Log(3, log_time(), 1000, 3, 1, log_message, sizeof(log_message))); in TEST()
Dlogd_test.cpp408 EXPECT_NE(0UL, ns[log_maximum_retry]); // failure to parse in TEST()
411 EXPECT_NE(0UL, ns[log_maximum]); // failure to parse in TEST()
414 EXPECT_NE(0UL, ns[clock_overhead]); // failure to parse in TEST()
417 EXPECT_NE(0UL, ns[log_print_overhead]); // failure to parse in TEST()
421 EXPECT_NE(0UL, ns[log_latency]); // failure to parse in TEST()
424 EXPECT_NE(0UL, ns[log_delay]); // failure to parse in TEST()
574 EXPECT_NE(0U, alarm_wrap); in timeout_negative()
576 EXPECT_NE(0U, alarm_timeout); in timeout_negative()
719 EXPECT_NE(0U, alarm_timeout); in TEST()
773 EXPECT_NE(0U, alarm(old_alarm)); in TEST()
/system/core/fastboot/
Dtcp_test.cpp41 EXPECT_NE(nullptr, tcp::internal::Connect(std::move(mock), &error)); in TEST()
51 EXPECT_NE(nullptr, tcp::internal::Connect(std::move(mock), &error)); in TEST()
61 EXPECT_NE(std::string::npos, error.find("Failed to send initialization message")); in TEST()
71 EXPECT_NE(std::string::npos, error.find("No initialization message received")); in TEST()
81 EXPECT_NE(std::string::npos, error.find("Unrecognized initialization message")); in TEST()
/system/bt/stack/test/
Dstack_a2dp_test.cc870 EXPECT_NE(codec_config, nullptr); in TEST_F()
873 EXPECT_NE(codec_config->codecPriority(), BTAV_A2DP_CODEC_PRIORITY_DISABLED); in TEST_F()
874 EXPECT_NE(codec_config->codecPriority(), BTAV_A2DP_CODEC_PRIORITY_DEFAULT); in TEST_F()
891 EXPECT_NE(peer_codec_index, BTAV_A2DP_CODEC_INDEX_MAX); in TEST_F()
894 EXPECT_NE(codec_config, nullptr); in TEST_F()
908 EXPECT_NE(peer_codec_index, BTAV_A2DP_CODEC_INDEX_MAX); in TEST_F()
910 EXPECT_NE(codec_config, nullptr); in TEST_F()
924 EXPECT_NE(peer_codec_index, BTAV_A2DP_CODEC_INDEX_MAX); in TEST_F()
926 EXPECT_NE(codec_config, nullptr); in TEST_F()
940 EXPECT_NE(peer_codec_index, BTAV_A2DP_CODEC_INDEX_MAX); in TEST_F()
[all …]
/system/bt/gd/os/linux_generic/
Dthread_unittest.cc34 EXPECT_NE(fd_, 0); in SampleReactable()
78 EXPECT_NE(thread->ToString().find("test"), std::string::npos); in TEST_F()
/system/bt/gd/l2cap/internal/
Dle_credit_based_channel_data_controller_test.cc81 EXPECT_NE(next_packet, nullptr); in TEST_F()
103 EXPECT_NE(next_packet, nullptr); in TEST_F()
115 EXPECT_NE(next_packet, nullptr); in TEST_F()
136 EXPECT_NE(payload, nullptr); in TEST_F()
158 EXPECT_NE(payload, nullptr); in TEST_F()
/system/tools/xsdc/tests/
Dsimple_type_enumsonly.cpp25 EXPECT_NE(v, EnumType::UNKNOWN); in TEST_F()

123456