Home
last modified time | relevance | path

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

1234

/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/tools/aidl/
Daidl_unittest.cpp101 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { }", &java_types_)); in TEST_F()
118 EXPECT_NE(nullptr, in TEST_F()
177 EXPECT_NE(nullptr, Parse("a/IFoo.aidl", oneway_method, &cpp_types_)); in TEST_F()
178 EXPECT_NE(nullptr, Parse("a/IFoo.aidl", oneway_method, &java_types_)); in TEST_F()
179 EXPECT_NE(nullptr, Parse("a/IBar.aidl", oneway_interface, &cpp_types_)); in TEST_F()
180 EXPECT_NE(nullptr, Parse("a/IBar.aidl", oneway_interface, &java_types_)); in TEST_F()
210 EXPECT_NE(nullptr, parse_result); in TEST_F()
261 EXPECT_NE(nullptr, parse_result); in TEST_F()
272 EXPECT_NE(0, ::android::aidl::compile_aidl_to_java(options, io_delegate_)); in TEST_F()
315 EXPECT_NE(nullptr, cpp_parse_result); in TEST_F()
[all …]
/system/update_engine/update_manager/
Dreal_system_provider_unittest.cc78 EXPECT_NE(nullptr, provider_->var_is_normal_boot_mode()); in TEST_F()
79 EXPECT_NE(nullptr, provider_->var_is_official_build()); in TEST_F()
80 EXPECT_NE(nullptr, provider_->var_is_oobe_complete()); in TEST_F()
81 EXPECT_NE(nullptr, provider_->var_kiosk_required_platform_version()); in TEST_F()
Dreal_random_provider_unittest.cc45 EXPECT_NE(nullptr, provider_->var_seed()); in TEST_F()
/system/tpm/tpm_manager/server/
Dtpm2_nvram_test.cc168 EXPECT_NE(NVRAM_RESULT_SUCCESS, in TEST_F()
170 EXPECT_NE(NVRAM_RESULT_SUCCESS, tpm_nvram_->DestroySpace(0)); in TEST_F()
171 EXPECT_NE(NVRAM_RESULT_SUCCESS, tpm_nvram_->WriteSpace(0, "", "")); in TEST_F()
172 EXPECT_NE(NVRAM_RESULT_SUCCESS, tpm_nvram_->ReadSpace(0, nullptr, "")); in TEST_F()
173 EXPECT_NE(NVRAM_RESULT_SUCCESS, tpm_nvram_->LockSpace(0, false, false, "")); in TEST_F()
210 EXPECT_NE( in TEST_F()
222 EXPECT_NE(NVRAM_RESULT_SUCCESS, in TEST_F()
277 EXPECT_NE(local_data.nvram_policy(0).index(), in TEST_F()
279 EXPECT_NE(local_data.nvram_policy(0).index(), in TEST_F()
281 EXPECT_NE(local_data.nvram_policy(1).index(), in TEST_F()
[all …]
/system/tpm/attestation/server/
Dattestation_service_test.cc278 EXPECT_NE(STATUS_SUCCESS, reply.status()); in TEST_F()
292 EXPECT_NE(STATUS_SUCCESS, reply.status()); in TEST_F()
306 EXPECT_NE(STATUS_SUCCESS, reply.status()); in TEST_F()
321 EXPECT_NE(STATUS_SUCCESS, reply.status()); in TEST_F()
334 EXPECT_NE(STATUS_SUCCESS, reply.status()); in TEST_F()
347 EXPECT_NE(STATUS_SUCCESS, reply.status()); in TEST_F()
362 EXPECT_NE(STATUS_SUCCESS, reply.status()); in TEST_F()
375 EXPECT_NE(STATUS_SUCCESS, reply.status()); in TEST_F()
389 EXPECT_NE(STATUS_SUCCESS, reply.status()); in TEST_F()
403 EXPECT_NE(STATUS_SUCCESS, reply.status()); 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/libion/tests/
Dion_test_fixture.cpp64 EXPECT_NE(0U, m_firstHeap); in SetUp()
65 EXPECT_NE(0U, m_lastHeap); in SetUp()
/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.cc412 EXPECT_NE(A2DP_BuildSrc2SinkConfig(codec_info_aac, codec_info_result), in TEST_F()
418 EXPECT_NE(A2DP_BuildSrc2SinkConfig(codec_info_sbc_test1, codec_info_result), in TEST_F()
836 EXPECT_NE(codec_config, nullptr); in TEST_F()
839 EXPECT_NE(codec_config->codecPriority(), BTAV_A2DP_CODEC_PRIORITY_DISABLED); in TEST_F()
840 EXPECT_NE(codec_config->codecPriority(), BTAV_A2DP_CODEC_PRIORITY_DEFAULT); in TEST_F()
857 EXPECT_NE(peer_codec_index, BTAV_A2DP_CODEC_INDEX_MAX); in TEST_F()
860 EXPECT_NE(codec_config, nullptr); in TEST_F()
874 EXPECT_NE(peer_codec_index, BTAV_A2DP_CODEC_INDEX_MAX); in TEST_F()
877 EXPECT_NE(codec_config, nullptr); in TEST_F()
891 EXPECT_NE(peer_codec_index, BTAV_A2DP_CODEC_INDEX_MAX); in TEST_F()
[all …]
/system/netd/server/
DInterfaceControllerTest.cpp126 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
131 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
158 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
172 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
DIptablesRestoreControllerTest.cpp208 EXPECT_NE(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
209 EXPECT_NE(pid6, getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS)); in TEST_F()
285 EXPECT_NE(0, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
286 EXPECT_NE(0, getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS)); in TEST_F()
/system/media/brillo/audio/audioservice/test/
Dbrillo_audio_client_test.cpp112 EXPECT_NE(id, 0); in TEST_F()
126 EXPECT_NE(id, 0); in TEST_F()
142 EXPECT_NE(id, 0); in TEST_F()
165 EXPECT_NE(id1, 0); in TEST_F()
167 EXPECT_NE(id2, 0); in TEST_F()
Daudio_device_handler_test.cpp100 EXPECT_NE( in TEST_F()
118 EXPECT_NE( in TEST_F()
137 EXPECT_NE( in TEST_F()
140 EXPECT_NE( in TEST_F()
356 EXPECT_NE( in TEST_F()
371 EXPECT_NE( in TEST_F()
Dbrillo_audio_manager_test.cpp48 EXPECT_NE(bam, nullptr); in GetValidManager()
68 EXPECT_NE(bam, nullptr); in TEST_F()
197 EXPECT_NE(callback_id, 0); in TEST_F()
211 EXPECT_NE(callback_id, 0); in TEST_F()
232 EXPECT_NE(callback_id, 0); in TEST_F()
289 EXPECT_NE(callback_id, 0); in TEST_F()
/system/update_engine/common/
Dsubprocess_unittest.cc94 EXPECT_NE(allowed_envs.end(), allowed_envs.find(key_value_pair.first)); in ExpectedEnvVars()
110 EXPECT_NE(-1, fd); in ExpectedDataOnPipe()
162 EXPECT_NE(0, pid); in TEST_F()
254 EXPECT_NE(0U, tag); in TEST_F()
/system/chre/core/tests/
Dmemory_manager_test.cc41 EXPECT_NE(ptr, nullptr); in TEST()
82 EXPECT_NE(curr, nullptr); in TEST()
/system/core/logd/tests/
Dlogd_test.cpp511 EXPECT_NE(0UL, ns[log_maximum_retry]); // failure to parse in TEST()
514 EXPECT_NE(0UL, ns[log_maximum]); // failure to parse in TEST()
517 EXPECT_NE(0UL, ns[clock_overhead]); // failure to parse in TEST()
520 EXPECT_NE(0UL, ns[log_print_overhead]); // failure to parse in TEST()
524 EXPECT_NE(0UL, ns[log_latency]); // failure to parse in TEST()
527 EXPECT_NE(0UL, ns[log_delay]); // failure to parse in TEST()
673 EXPECT_NE(0U, alarm_wrap); in timeout_negative()
675 EXPECT_NE(0U, alarm_timeout); in timeout_negative()
813 EXPECT_NE(0U, alarm_timeout); in TEST()
865 EXPECT_NE(0U, alarm(old_alarm)); in TEST()
/system/update_engine/
Domaha_request_action_unittest.cc716 EXPECT_NE("", fetcher->GetHeader("X-GoogleUpdate-Updater")); in TEST_F()
1400 EXPECT_NE(string::npos, post_str.find("testtheservice_pack>")); in TEST_F()
1402 EXPECT_NE(string::npos, post_str.find("x86 generic<id")); in TEST_F()
1404 EXPECT_NE(string::npos, post_str.find("unittest_track<")); in TEST_F()
1406 EXPECT_NE(string::npos, post_str.find("<OEM MODEL>")); in TEST_F()
1408 EXPECT_NE(string::npos, post_str.find("cohort=\"evil\nstring\"")); in TEST_F()
1410 EXPECT_NE(string::npos, post_str.find("cohorthint=\"evil&string\\\"")); in TEST_F()
1480 EXPECT_NE(post_str.find( in TEST_F()
1484 EXPECT_NE(post_str.find("hardware_class=\"OEM MODEL 09235 7471\""), in TEST_F()
1486 EXPECT_NE(post_str.find("fw_version=\"ChromeOSFirmware.1.0\""), in TEST_F()
[all …]
/system/connectivity/wificond/tests/
Dserver_unittest.cpp129 EXPECT_NE(nullptr, ap_if.get()); in TEST_F()
136 EXPECT_NE(nullptr, ap_if.get()); in TEST_F()
/system/core/libnativebridge/tests/
DPreInitializeNativeBridge_test.cpp53 EXPECT_NE(nullptr, fgets(buf, sizeof(buf), proc_cpuinfo)) << "Error reading."; in TEST_F()
/system/core/init/
Dutil_test.cpp49 EXPECT_NE(-1, fchmodat(AT_FDCWD, tf.path, 0620, AT_SYMLINK_NOFOLLOW)) << strerror(errno); in TEST()
62 EXPECT_NE(-1, fchmodat(AT_FDCWD, tf.path, 0602, AT_SYMLINK_NOFOLLOW)) << strerror(errno); in TEST()
123 EXPECT_NE(-1, fd); in TEST()
/system/connectivity/wifilogd/tests/
Dbyte_buffer_unittest.cpp93 EXPECT_NE(nullptr, buffer_.data()); in TEST_F()
98 EXPECT_NE(nullptr, buffer_.data()); in TEST_F()
/system/bt/btcore/test/
Duuid_test.cc117 EXPECT_NE((uint16_t)0xffff, uuid16); in TEST_F()
133 EXPECT_NE((uint32_t)0xffffffff, uuid32); in TEST_F()
/system/bt/bta/test/
Dbta_hf_client_test.cc93 EXPECT_NE(p_handle_first, p_handle_second); in TEST_F()

1234