Home
last modified time | relevance | path

Searched refs:mRunningJob (Results 1 – 2 of 2) sorted by relevance

/art/libartservice/service/java/com/android/server/art/
DPreRebootDexoptJob.java72 @GuardedBy("this") @Nullable private CompletableFuture<Void> mRunningJob = null; field in PreRebootDexoptJob
128 cancelGivenLocked(mRunningJob, false /* expectInterrupt */); in onStopJob()
188 while (mRunningJob != null) { in waitForRunningJob()
269 Utils.check(mRunningJob == null); in startLocked()
274 mRunningJob = new CompletableFuture().runAsync(() -> { in startLocked()
289 mRunningJob = null; in startLocked()
296 return mRunningJob; in startLocked()
311 while (mRunningJob == job) { in cancelGivenLocked()
337 while (mRunningJob != null) { in cancelAnyLocked()
DBackgroundDexoptJob.java74 @GuardedBy("this") @Nullable private CompletableFuture<Result> mRunningJob = null; field in BackgroundDexoptJob
175 if (mRunningJob != null) { in start()
177 return mRunningJob; in start()
182 mRunningJob = new CompletableFuture().supplyAsync(() -> { in start()
190 mRunningJob = null; in start()
195 return mRunningJob; in start()
199 if (mRunningJob == null) { in cancel()
210 return mRunningJob; in get()