/system/tools/aidl/tests/ |
D | aidl_test_client_primitives.cpp | 47 void DoTest(Status (ITestService::*func)(T, U*), V input) { in DoTest() function 55 void DoTest(Status (ITestService::*func)(const std::vector<T>&, std::vector<T>*, std::vector<T>*), in DoTest() function 71 DoTest(&ITestService::RepeatBoolean, true); in TEST_F() 75 DoTest(&ITestService::RepeatByte, int8_t{-128}); in TEST_F() 79 DoTest(&ITestService::RepeatChar, char16_t{'A'}); in TEST_F() 83 DoTest(&ITestService::RepeatInt, int32_t{1 << 30}); in TEST_F() 87 DoTest(&ITestService::RepeatLong, int64_t{1LL << 60}); in TEST_F() 91 DoTest(&ITestService::RepeatFloat, float{1.0f / 3.0f}); in TEST_F() 95 DoTest(&ITestService::RepeatDouble, double{1.0 / 3.0}); in TEST_F() 101 DoTest(&ITestService::RepeatByte, sent); in TEST_F() [all …]
|
D | aidl_test_client_nullables.cpp | 47 void DoTest(Status (ITestService::*func)(const std::optional<T>&, std::optional<T>*), in DoTest() function 63 DoTest(&ITestService::RepeatNullableIntArray, std::make_optional(std::vector<int32_t>{1, 2, 3})); in TEST_F() 67 DoTest(&ITestService::RepeatNullableByteEnumArray, in TEST_F() 72 DoTest(&ITestService::RepeatNullableIntEnumArray, in TEST_F() 77 DoTest(&ITestService::RepeatNullableLongEnumArray, in TEST_F() 82 DoTest(&ITestService::RepeatNullableString, std::optional<String16>("Blooob")); in TEST_F() 94 DoTest(&ITestService::RepeatNullableStringList, std::make_optional(input)); in TEST_F()
|
D | aidl_test_client_utf8_strings.cpp | 87 void DoTest( in DoTest() function 143 DoTest(&ITestService::ReverseUtf8CppStringList); in TEST_F() 147 DoTest(&ITestService::ReverseNullableUtf8CppString); in TEST_F()
|
/system/update_engine/cros/ |
D | omaha_response_handler_action_unittest.cc | 96 bool DoTest(const OmahaResponse& in, 128 bool OmahaResponseHandlerActionTest::DoTest(const OmahaResponse& in, in DoTest() function in chromeos_update_engine::OmahaResponseHandlerActionTest 201 EXPECT_TRUE(DoTest(in, test_deadline_file.path(), &install_plan)); in TEST_F() 232 EXPECT_TRUE(DoTest(in, test_deadline_file.path(), &install_plan)); in TEST_F() 262 EXPECT_TRUE(DoTest(in, test_deadline_file.path(), &install_plan)); in TEST_F() 290 EXPECT_TRUE(DoTest(in, test_deadline_file.path(), &install_plan)); in TEST_F() 307 EXPECT_FALSE(DoTest(in, "", &install_plan)); in TEST_F() 326 EXPECT_TRUE(DoTest(in, "", &install_plan)); in TEST_F() 346 EXPECT_TRUE(DoTest(in, "", &install_plan)); in TEST_F() 376 EXPECT_TRUE(DoTest(in, "", &install_plan)); in TEST_F() [all …]
|
/system/update_engine/payload_consumer/ |
D | filesystem_verifier_action_unittest.cc | 108 bool DoTest(bool terminate_early, bool hash_fail); 254 bool FilesystemVerifierActionTest::DoTest(bool terminate_early, in DoTest() function in chromeos_update_engine::FilesystemVerifierActionTest 424 EXPECT_TRUE(DoTest(false, false)); in TEST_F() 429 EXPECT_TRUE(DoTest(false, true)); in TEST_F() 434 EXPECT_TRUE(DoTest(true, false)); in TEST_F()
|