/aosp12/hardware/interfaces/health/2.0/vts/functional/ |
H A D | VtsHalHealthV2_0TargetTest.cpp | 44 #define TEST_AND_RETURN(expr) \ macro 490 TEST_AND_RETURN(isOk(mHealth->getHealthInfo([&](auto result, const auto& value) { in TEST_P() 506 TEST_AND_RETURN(isOk(mHealth->getHealthInfo([&](auto result, const auto& value) { in TEST_P() 539 TEST_AND_RETURN(isOk(mHealth->getChargeStatus([&](auto result, auto value) { in TEST_P() 542 TEST_AND_RETURN(isOk(mHealth->getCurrentNow([&](auto result, auto value) { in TEST_P() 557 TEST_AND_RETURN(isOk(mHealth->getChargeStatus([&](auto result, auto value) { in TEST_P() 561 TEST_AND_RETURN(isOk(mHealth->getCurrentAverage([&](auto result, auto value) { in TEST_P() 575 TEST_AND_RETURN(isOk(mHealth->getChargeStatus([&](auto result, auto value) { in TEST_P() 579 TEST_AND_RETURN(isOk(mHealth->getCurrentNow([&](auto result, auto value) { in TEST_P() 583 TEST_AND_RETURN(isOk(mHealth->getCurrentAverage([&](auto result, auto value) { in TEST_P() [all …]
|
/aosp12/hardware/interfaces/health/2.1/vts/functional/ |
H A D | VtsHalHealthV2_1TargetTest.cpp | 47 #define TEST_AND_RETURN(expr) \ macro 150 TEST_AND_RETURN(ResultIsSuccess(service->registerCallback(first))); in TestCallbacks() 151 TEST_AND_RETURN(ResultIsSuccess(service->registerCallback(second))); in TestCallbacks() 160 TEST_AND_RETURN(ResultIsSuccess(service->update())); in TestCallbacks() 165 TEST_AND_RETURN(ResultIsSuccess(service->unregisterCallback(first))); in TestCallbacks() 173 TEST_AND_RETURN(ResultIsSuccess(service->update())); in TestCallbacks() 178 TEST_AND_RETURN(ResultIsSuccess(service->unregisterCallback(second))); in TestCallbacks() 194 TEST_AND_RETURN(IsOk(ret)); in TestUnregisterNonExistentCallback()
|
/aosp12/system/update_engine/aosp/ |
H A D | cleanup_previous_update_action.cc | 166 TEST_AND_RETURN(running_); in ScheduleWaitBootCompleted() 177 TEST_AND_RETURN(running_); in WaitBootCompletedOrSchedule() 194 TEST_AND_RETURN(running_); in ScheduleWaitMarkBootSuccessful() 206 TEST_AND_RETURN(running_); in CheckSlotMarkedSuccessfulOrSchedule() 267 TEST_AND_RETURN(running_); in ScheduleWaitForMerge() 278 TEST_AND_RETURN(running_); in WaitForMergeOrSchedule() 396 TEST_AND_RETURN(running_); in InitiateMergeAndWait()
|
H A D | update_attempter_android.cc | 888 TEST_AND_RETURN(utils::GetBootId(¤t_boot_id)); in UpdatePrefsAndReportUpdateMetricsOnReboot() 892 TEST_AND_RETURN(!current_version.empty()); in UpdatePrefsAndReportUpdateMetricsOnReboot()
|
H A D | dynamic_partition_control_android.cc | 608 TEST_AND_RETURN(fd_ != nullptr && fd_->IsOpen()); in ~AvbFooterEraser()
|
/aosp12/system/update_engine/payload_consumer/ |
H A D | bzip_extent_writer.cc | 28 TEST_AND_RETURN(BZ2_bzDecompressEnd(&stream_) == BZ_OK); in ~BzipExtentWriter() 29 TEST_AND_RETURN(input_buffer_.empty()); in ~BzipExtentWriter()
|
H A D | xz_extent_writer.cc | 57 TEST_AND_RETURN(input_buffer_.empty()); in ~XzExtentWriter()
|
H A D | vabc_partition_writer.cc | 158 TEST_AND_RETURN(cow_writer_ != nullptr); in CheckpointUpdateProgress()
|
H A D | postinstall_runner_action.cc | 63 TEST_AND_RETURN(base::CreateNewTempDirectory("au_postint_mount", &temp_dir)); in PostinstallRunnerAction()
|
H A D | postinstall_runner_action_unittest.cc | 220 TEST_AND_RETURN(base::CreateNewTempDirectory("postinstall", &temp_dir)); in RunPostinstallActionWithInstallPlan()
|
/aosp12/system/update_engine/common/ |
H A D | utils_unittest.cc | 339 TEST_AND_RETURN(i); in VoidMacroTestHelper() 340 TEST_AND_RETURN(ui); in VoidMacroTestHelper() 341 TEST_AND_RETURN(b); in VoidMacroTestHelper() 342 TEST_AND_RETURN(cptr); in VoidMacroTestHelper()
|
H A D | utils.h | 501 #define TEST_AND_RETURN(_x) \ macro
|
H A D | utils.cc | 409 TEST_AND_RETURN(r == 13); in HexDumpArray() 415 TEST_AND_RETURN(r == 3); in HexDumpArray()
|
/aosp12/system/update_engine/ |
H A D | libcurl_http_fetcher.cc | 387 TEST_AND_RETURN(header_line.find('\n') == string::npos); in SetHeader() 388 TEST_AND_RETURN(header_name.find(':') == string::npos); in SetHeader()
|
/aosp12/system/update_engine/cros/ |
H A D | omaha_response_handler_action.cc | 221 TEST_AND_RETURN(HasOutputPipe()); in PerformAction()
|
/aosp12/system/update_engine/payload_generator/ |
H A D | delta_diff_utils.cc | 204 TEST_AND_RETURN(blob_file_ != nullptr); in Run()
|