Home
last modified time | relevance | path

Searched refs:expected_result (Results 1 – 23 of 23) sorted by relevance

/aosp12/system/core/init/
H A Ddevices_test.cpp74 device_handler_tester_.TestGetSymlinks(platform_device, uevent, expected_result); in TEST()
85 std::vector<std::string> expected_result{ in TEST() local
91 device_handler_tester_.TestGetSymlinks(platform_device, uevent, expected_result); in TEST()
101 std::vector<std::string> expected_result{ in TEST() local
106 device_handler_tester_.TestGetSymlinks(platform_device, uevent, expected_result); in TEST()
116 std::vector<std::string> expected_result{ in TEST() local
122 device_handler_tester_.TestGetSymlinks(platform_device, uevent, expected_result); in TEST()
141 std::vector<std::string> expected_result{}; in TEST() local
152 std::vector<std::string> expected_result{"/dev/block/vbd/1234/mmcblk0"}; in TEST() local
163 std::vector<std::string> expected_result{}; in TEST() local
[all …]
H A Drlimit_parser_test.cpp27 const std::pair<int, rlimit>& expected_result) { in TestRlimitSuccess() argument
34 const auto& [expected_resource, expected_rlimit] = expected_result; in TestRlimitSuccess()
40 void TestRlimitFailure(std::vector<std::string> input, const std::string& expected_result) { in TestRlimitFailure() argument
46 EXPECT_EQ(expected_result, result.error().message()); in TestRlimitFailure()
105 for (const auto& [input, expected_result] : inputs_and_results) { in TEST()
106 TestRlimitSuccess(input, expected_result); in TEST()
124 for (const auto& [input, expected_result] : inputs_and_results) { in TEST()
125 TestRlimitFailure(input, expected_result); in TEST()
/aosp12/art/libnativeloader/
H A Dnative_loader_test.cpp463 const std::vector<std::string> expected_result = {"libA.so", "libC.so", "libD.so"}; in TEST() local
466 ASSERT_EQ(expected_result, *result); in TEST()
476 const std::vector<std::string> expected_result = {"libB.so", "libC.so"}; in TEST() local
478 const std::vector<std::string> expected_result = {"libA.so", "libC.so"}; in TEST() local
482 ASSERT_EQ(expected_result, *result); in TEST()
492 const std::vector<std::string> expected_result = {"libC.so"}; in TEST() local
497 ASSERT_EQ(expected_result, *result); in TEST()
510 const std::vector<std::string> expected_result = {"libD.so"}; in TEST() local
512 const std::vector<std::string> expected_result = {"libC.so"}; in TEST() local
518 ASSERT_EQ(expected_result, *result); in TEST()
/aosp12/bootable/recovery/tests/unit/
H A Dparse_install_logs_test.cpp65 std::map<std::string, int64_t> expected_result = { in TEST() local
73 ASSERT_EQ(expected_result, metrics); in TEST()
/aosp12/art/compiler/optimizing/
H A Dcodegen_test.cc638 bool expected_result = false; in TestComparison() local
644 expected_result = (i == j); in TestComparison()
648 expected_result = (i != j); in TestComparison()
652 expected_result = (i < j); in TestComparison()
656 expected_result = (i <= j); in TestComparison()
660 expected_result = (i > j); in TestComparison()
664 expected_result = (i >= j); in TestComparison()
668 expected_result = (x < y); in TestComparison()
672 expected_result = (x <= y); in TestComparison()
676 expected_result = (x > y); in TestComparison()
[all …]
/aosp12/hardware/interfaces/tetheroffload/control/1.0/vts/functional/include/
H A DOffloadControlTestV1_0.h43 virtual void initOffload(const bool expected_result) override { in initOffload() argument
47 ASSERT_EQ(expected_result, success) << msg; in initOffload()
H A DOffloadControlTestBase.h75 virtual void initOffload(const bool expected_result) = 0;
/aosp12/system/libbase/
H A Dlogging_splitters_test.cpp298 const char* expected_result = in TEST() local
311 expected_result); in TEST()
319 auto expected_result = "tag E 01-01 00:00:00 1234 4321 " + long_string_a + '\n' + in TEST() local
321 TestStderrOutputGenerator("tag", nullptr, 0, message.c_str(), expected_result); in TEST()
/aosp12/hardware/interfaces/tetheroffload/control/1.1/vts/functional/include/
H A DOffloadControlTestV1_1.h47 void initOffload(const bool expected_result) override { in initOffload() argument
51 ASSERT_EQ(expected_result, success) << msg; in initOffload()
/aosp12/system/bt/types/test/
H A Dclass_of_device_unittest.cc53 size_t expected_result = ClassOfDevice::kLength; in TEST() local
54 ASSERT_EQ(expected_result, cod.FromOctets(test_bytes)); in TEST()
H A Draw_address_unittest.cc71 size_t expected_result = RawAddress::kLength; in TEST() local
72 ASSERT_EQ(expected_result, bdaddr.FromOctets(test_addr_array)); in TEST()
/aosp12/system/bt/gd/hci/
H A Dclass_of_device_unittest.cc56 size_t expected_result = ClassOfDevice::kLength; in TEST() local
57 ASSERT_EQ(expected_result, cod.FromOctets(test_bytes)); in TEST()
H A Daddress_unittest.cc76 size_t expected_result = Address::kLength; in TEST() local
77 ASSERT_EQ(expected_result, bdaddr.FromOctets(test_addr_array)); in TEST()
/aosp12/frameworks/native/cmds/installd/tests/
H A Dinstalld_dexopt_test.cpp970 bool expected_result) { in createProfileSnapshot() argument
974 ASSERT_EQ(expected_result, result); in createProfileSnapshot()
976 if (!expected_result) { in createProfileSnapshot()
1013 int expected_result) { in mergePackageProfiles() argument
1017 ASSERT_EQ(expected_result, result); in mergePackageProfiles()
1040 bool expected_result) { in preparePackageProfile() argument
1045 ASSERT_EQ(expected_result, result); in preparePackageProfile()
1047 if (!expected_result) { in preparePackageProfile()
1284 void createBootImageProfileSnapshot(const std::string& classpath, bool expected_result) { in createBootImageProfileSnapshot() argument
1288 ASSERT_EQ(expected_result, result); in createBootImageProfileSnapshot()
[all …]
/aosp12/system/update_engine/payload_consumer/
H A Ddelta_performer_integration_test.cc896 ErrorCode expected_result, in VerifyPayloadResult() argument
903 LOG(INFO) << "Verifying payload for expected result " << expected_result; in VerifyPayloadResult()
906 EXPECT_EQ(expected_result, in VerifyPayloadResult()
910 if (expected_result != ErrorCode::kSuccess) { in VerifyPayloadResult()
953 ErrorCode expected_result = ErrorCode::kSuccess; in VerifyPayload() local
956 expected_result = ErrorCode::kSignedDeltaPayloadExpectedError; in VerifyPayload()
959 expected_result = ErrorCode::kDownloadPayloadPubKeyVerificationError; in VerifyPayload()
965 VerifyPayloadResult(performer, state, expected_result, minor_version); in VerifyPayload()
H A Ddelta_performer_unittest.cc380 MetadataParseResult expected_result, actual_result; in DoMetadataSignatureTest() local
390 expected_result = MetadataParseResult::kError; in DoMetadataSignatureTest()
396 expected_result = MetadataParseResult::kError; in DoMetadataSignatureTest()
411 expected_result = MetadataParseResult::kSuccess; in DoMetadataSignatureTest()
418 expected_result = MetadataParseResult::kSuccess; in DoMetadataSignatureTest()
427 EXPECT_EQ(expected_result, actual_result); in DoMetadataSignatureTest()
/aosp12/bionic/tests/
H A Dglob_test.cpp215 int expected_result = expected_matches.empty() ? GLOB_NOMATCH : 0; in CheckGlob() local
216 ASSERT_EQ(expected_result, glob(pattern, GLOB_ALTDIRFUNC, nullptr, &g)) << pattern; in CheckGlob()
H A Dpthread_test.cpp253 void* expected_result = reinterpret_cast<void*>(123); in TEST() local
256 ASSERT_EQ(0, pthread_create(&t, nullptr, IdFn, expected_result)); in TEST()
260 ASSERT_EQ(expected_result, result); in TEST()
/aosp12/bootable/recovery/tests/unit/host/
H A Dupdate_simulator_test.cpp217 std::map<string, string> expected_result = { in TEST_F() local
232 for (const auto& [key, value] : expected_result) { in TEST_F()
/aosp12/system/core/fs_mgr/libfs_avb/tests/
H A Davb_util_test.cpp55 bool TestVBMetaModification(VBMetaVerifyResult expected_result, const VBMetaData& vbmeta,
522 bool AvbUtilTest::TestVBMetaModification(VBMetaVerifyResult expected_result, in TestVBMetaModification() argument
535 if (result != expected_result) { in TestVBMetaModification()
/aosp12/art/runtime/mirror/
H A Dclass-inl.h607 SubtypeCheckInfo::Result expected_result = in IsSubClass() local
609 DCHECK_EQ(expected_result, sc_result) in IsSubClass()
/aosp12/system/update_engine/cros/
H A Dupdate_attempter_unittest.cc123 bool expected_result = true; member
350 cfu_params_.expected_result, in TestCheckForUpdate()
1415 cfu_params_.expected_result = false; in TEST_F()
/aosp12/art/runtime/interpreter/
H A Dunstarted_runtime_test.cc167 const StackHandleScope<3>& expected_result) in RunArrayCopy() argument
186 CheckObjectArray(dst_handle.Get(), expected_result); in RunArrayCopy()