Home
last modified time | relevance | path

Searched refs:EXPECT_NE (Results 1 – 25 of 147) 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()
76 EXPECT_NE(0U, boot_path.value().size()); in TEST_F()
113 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/connectivity/wificond/tests/
Dserver_unittest.cpp128 EXPECT_NE(nullptr, ap_if.get()); in TEST_F()
135 EXPECT_NE(nullptr, ap_if.get()); in TEST_F()
141 EXPECT_NE(nullptr, second_ap_if.get()); in TEST_F()
160 EXPECT_NE(nullptr, ap_if.get()); in TEST_F()
177 EXPECT_NE(nullptr, client_if.get()); in TEST_F()
195 EXPECT_NE(nullptr, client_if.get()); in TEST_F()
198 EXPECT_NE(nullptr, ap_if.get()); in TEST_F()
224 EXPECT_NE(nullptr, client_if.get()); in TEST_F()
227 EXPECT_NE(nullptr, ap_if.get()); in TEST_F()
/system/iorap/tests/src/binder/
Dapp_launch_event_test.cc154 EXPECT_NE(MakeIntentStarted(45, MakeDummyIntent()), MakeIntentStarted(45, MakeDummyIntent("a"))); in TEST()
157 EXPECT_NE(MakeIntentFailed(0), MakeIntentFailed(123)); in TEST()
161 EXPECT_NE((MakeActivityLaunched(3, Temperature::kHot, MakeDummyActivityRecord())), in TEST()
163 EXPECT_NE((MakeActivityLaunched(3, Temperature::kHot, MakeDummyActivityRecord())), in TEST()
170 EXPECT_NE((MakeActivityLaunchCancelled(4, MakeDummyActivityRecord())), in TEST()
172 EXPECT_NE((MakeActivityLaunchCancelled(4, MakeDummyActivityRecord())), in TEST()
177 EXPECT_NE((MakeActivityLaunchFinished(5, MakeDummyActivityRecord())), in TEST()
/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/update_engine/update_manager/
Dreal_system_provider_unittest.cc76 EXPECT_NE(nullptr, provider_->var_is_normal_boot_mode()); in TEST_F()
77 EXPECT_NE(nullptr, provider_->var_is_official_build()); in TEST_F()
78 EXPECT_NE(nullptr, provider_->var_is_oobe_complete()); in TEST_F()
79 EXPECT_NE(nullptr, provider_->var_kiosk_required_platform_version()); in TEST_F()
/system/core/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/tools/aidl/
Daidl_unittest.cpp210 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { }", typenames_, GetLanguage())); in TEST_P()
214 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { } // foo", typenames_, GetLanguage())); in TEST_P()
234 EXPECT_NE(nullptr, Parse("a/IBar.aidl", interface_list, typenames_, GetLanguage())); in TEST_P()
453 EXPECT_NE(0, ::android::aidl::compile_aidl(cpp_structured_options, io_delegate_)); in TEST_F()
480 EXPECT_NE(0, ::android::aidl::compile_aidl(java_options, io_delegate_)); in TEST_F()
491 EXPECT_NE(0, ::android::aidl::compile_aidl(java_options, io_delegate_)); in TEST_F()
501 EXPECT_NE(nullptr, Parse("a/IFoo.aidl", oneway_method, typenames_, GetLanguage())); in TEST_P()
506 EXPECT_NE(nullptr, Parse("a/IBar.aidl", oneway_interface, typenames_, GetLanguage())); in TEST_P()
512 EXPECT_NE(nullptr, Parse("a/IFoo.aidl", oneway_method, typenames_, GetLanguage())); in TEST_P()
541 EXPECT_NE(nullptr, parse_result); in TEST_P()
[all …]
/system/bt/stack/test/
Dstack_a2dp_test.cc821 EXPECT_NE(codec_config, nullptr); in TEST_F()
824 EXPECT_NE(codec_config->codecPriority(), BTAV_A2DP_CODEC_PRIORITY_DISABLED); in TEST_F()
825 EXPECT_NE(codec_config->codecPriority(), BTAV_A2DP_CODEC_PRIORITY_DEFAULT); in TEST_F()
842 EXPECT_NE(peer_codec_index, BTAV_A2DP_CODEC_INDEX_MAX); in TEST_F()
845 EXPECT_NE(codec_config, nullptr); in TEST_F()
859 EXPECT_NE(peer_codec_index, BTAV_A2DP_CODEC_INDEX_MAX); in TEST_F()
862 EXPECT_NE(codec_config, nullptr); in TEST_F()
876 EXPECT_NE(peer_codec_index, BTAV_A2DP_CODEC_INDEX_MAX); in TEST_F()
878 EXPECT_NE(codec_config, nullptr); in TEST_F()
892 EXPECT_NE(peer_codec_index, BTAV_A2DP_CODEC_INDEX_MAX); in TEST_F()
[all …]
/system/chre/apps/chqts/src/shared/
Ddumb_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()
/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/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/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/core/logd/
Dlogd_test.cpp404 EXPECT_NE(0UL, ns[log_maximum_retry]); // failure to parse in TEST()
407 EXPECT_NE(0UL, ns[log_maximum]); // failure to parse in TEST()
410 EXPECT_NE(0UL, ns[clock_overhead]); // failure to parse in TEST()
413 EXPECT_NE(0UL, ns[log_print_overhead]); // failure to parse in TEST()
417 EXPECT_NE(0UL, ns[log_latency]); // failure to parse in TEST()
420 EXPECT_NE(0UL, ns[log_delay]); // failure to parse in TEST()
570 EXPECT_NE(0U, alarm_wrap); in timeout_negative()
572 EXPECT_NE(0U, alarm_timeout); in timeout_negative()
715 EXPECT_NE(0U, alarm_timeout); in TEST()
769 EXPECT_NE(0U, alarm(old_alarm)); in TEST()
/system/update_engine/
Domaha_request_builder_xml_unittest.cc110 EXPECT_NE(string::npos, app.find("lang=")); in TEST_F()
111 EXPECT_NE(string::npos, app.find("fw_version=")); in TEST_F()
112 EXPECT_NE(string::npos, app.find("ec_version=")); in TEST_F()
113 EXPECT_NE(string::npos, app.find("requisition=")); in TEST_F()
245 EXPECT_NE(string::npos, (pos = FindAppId(pos + 1))) << request_xml; 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/update_engine/common/
Dsubprocess_unittest.cc98 EXPECT_NE(allowed_envs.end(), allowed_envs.find(key_value_pair.first)); in ExpectedEnvVars()
114 EXPECT_NE(-1, fd); in ExpectedDataOnPipe()
166 EXPECT_NE(0, pid); in TEST_F()
257 EXPECT_NE(0U, tag); in TEST_F()
/system/core/adb/
Dsocket_spec_test.cpp139 EXPECT_NE(server_fd.get(), -1); in TEST()
141 EXPECT_NE(client_fd.get(), -1); in TEST()
170 EXPECT_NE(server_fd.get(), -1); in TEST()
172 EXPECT_NE(client_fd.get(), -1); in TEST()

123456