Searched refs:cancellation_signal (Results 1 – 3 of 3) sorted by relevance
415 std::shared_ptr<IArtdCancellationSignal> cancellation_signal = nullptr) { in RunDexopt() argument418 std::move(cancellation_signal)); in RunDexopt()424 std::shared_ptr<IArtdCancellationSignal> cancellation_signal = nullptr) { in RunDexopt() argument426 if (cancellation_signal == nullptr) { in RunDexopt()427 ASSERT_TRUE(artd_->createCancellationSignal(&cancellation_signal).isOk()); in RunDexopt()440 cancellation_signal, in RunDexopt()1148 std::shared_ptr<IArtdCancellationSignal> cancellation_signal; in TEST_F() local1149 ASSERT_TRUE(artd_->createCancellationSignal(&cancellation_signal).isOk()); in TEST_F()1161 cancellation_signal->cancel(); in TEST_F()1163 RunDexopt(EX_NONE, Field(&ArtdDexoptResult::cancelled, true), cancellation_signal); in TEST_F()[all …]
1008 ArtdCancellationSignal* cancellation_signal = in dexopt() local1175 art_exec_args.Get(), kLongTimeoutSec, cancellation_signal->CreateExecCallbacks(), &stat); in dexopt()1179 if (cancellation_signal->IsCancelled()) { in dexopt()1792 ArtdCancellationSignal* cancellation_signal = in preRebootInit() local1794 if (!OR_RETURN_NON_FATAL(PreRebootInitBootImages(cancellation_signal))) { in preRebootInit()1881 Result<bool> Artd::PreRebootInitBootImages(ArtdCancellationSignal* cancellation_signal) { in PreRebootInitBootImages() argument1891 ExecAndReturnCode(args.Get(), kLongTimeoutSec, cancellation_signal->CreateExecCallbacks()); in PreRebootInitBootImages()1893 if (cancellation_signal->IsCancelled()) { in PreRebootInitBootImages()
316 android::base::Result<bool> PreRebootInitBootImages(ArtdCancellationSignal* cancellation_signal);