Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DErrorLoggingService.java269 private static class SettableFuture<T> extends FutureTask<T> { class in ErrorLoggingService
271 public SettableFuture() { in SettableFuture() method in ErrorLoggingService.SettableFuture
281 public SettableFuture(Callable<T> callable) { in SettableFuture() method in ErrorLoggingService.SettableFuture
285 public SettableFuture(Runnable runnable, T result) { in SettableFuture() method in ErrorLoggingService.SettableFuture
339 private final LinkedBlockingQueue<SettableFuture<List<LogEvent>>> mFuturesQueue =
350 List<SettableFuture<List<LogEvent>>> logFutures = new ArrayList<>(); in cancelAll()
352 for (SettableFuture<List<LogEvent>> i : logFutures) { in cancelAll()
362 public void cancel(SettableFuture<List<LogEvent>> report) { in cancel()
372 public void addFuture(SettableFuture<List<LogEvent>> report) { in addFuture()
383 SettableFuture<List<LogEvent>> task = mFuturesQueue.poll(); in handleMessage()
[all …]
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java219 … final SettableFuture<Intent> downloadCompleteIntentFuture = new SettableFuture<Intent>(); in downloadUsingDownloadManager()
279 private static class SettableFuture<T> implements Future<T> { class in NetworkSecurityPolicyTestBase