Home
last modified time | relevance | path

Searched refs:tracker (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DTestsPoolPollerTest.java72 CountDownLatch tracker = new CountDownLatch(2); in testMultiPolling() local
73 TestsPoolPoller poller1 = new TestsPoolPoller(testsList, tracker); in testMultiPolling()
74 TestsPoolPoller poller2 = new TestsPoolPoller(testsList, tracker); in testMultiPolling()
104 CountDownLatch tracker = new CountDownLatch(1); in testPollingRun() local
105 TestsPoolPoller poller = new TestsPoolPoller(testsList, tracker); in testPollingRun()
112 assertEquals(0, tracker.getCount()); in testPollingRun()
135 CountDownLatch tracker = new CountDownLatch(1); in testRun_runtimeException() local
136 TestsPoolPoller poller = new TestsPoolPoller(testsList, tracker); in testRun_runtimeException()
143 assertEquals(0, tracker.getCount()); in testRun_runtimeException()
166 CountDownLatch tracker = new CountDownLatch(1); in testRun_deviceUnresponsive() local
[all …]
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/compress/
DDeflateExecutionCompressor.java44 private final ByteTracker tracker; field in DeflateExecutionCompressor
55 @Nonnull ByteTracker tracker, in DeflateExecutionCompressor() argument
60 this.tracker = tracker; in DeflateExecutionCompressor()
74 CloseableByteSource result = tracker.fromStream(output); in immediateCompress()
DBestAndDefaultDeflateExecutorCompressor.java62 @Nonnull ByteTracker tracker, double minRatio) { in BestAndDefaultDeflateExecutorCompressor() argument
69 new DeflateExecutionCompressor(executor, tracker, Deflater.DEFAULT_COMPRESSION); in BestAndDefaultDeflateExecutorCompressor()
71 new DeflateExecutionCompressor(executor, tracker, Deflater.BEST_COMPRESSION); in BestAndDefaultDeflateExecutorCompressor()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFileOptions.java34 private ByteTracker tracker; field in ZFileOptions
73 tracker = new ByteTracker(); in ZFileOptions()
77 tracker, in ZFileOptions()
90 return tracker; in getTracker()
DZFile.java380 private final ByteTracker tracker; field in ZFile
477 tracker = options.getTracker(); in ZFile()
1654 CloseableByteSource source = tracker.fromStream(stream); in makeStoredEntry()
2037 CloseableByteSource rawContents = tracker.fromSource(fromSource.getRawByteSource()); in mergeFrom()
2185 CloseableByteSource rawContents = tracker.fromSource(source.getRawByteSource()); in realign()
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DDeviceTracker.java111 public void setCommandTracker(String deviceSerial, ExecCommandTracker tracker) { in setCommandTracker() argument
112 mDeviceLastCommandMap.put(deviceSerial, tracker); in setCommandTracker()
DRemoteManager.java438 ExecCommandTracker tracker = new ExecCommandTracker(); in processExecCommand() local
439 mScheduler.execCommand(tracker, device, c.getCommandArgs()); in processExecCommand()
440 getDeviceTracker().setCommandTracker(c.getDeviceSerial(), tracker); in processExecCommand() local
451 ExecCommandTracker tracker = getDeviceTracker().getLastCommandResult(c.getDeviceSerial()); in processGetLastCommandResult() local
454 } else if (tracker == null) { in processGetLastCommandResult()
458 c.packResponseIntoJson(tracker.getCommandResult(), json); in processGetLastCommandResult()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DShardHelper.java112 CountDownLatch tracker = new CountDownLatch(maxShard); in shardConfig() local
115 shardConfig.setTest(new TestsPoolPoller(shardableTests, tracker)); in shardConfig()
119 CountDownLatch tracker = new CountDownLatch(shardableTests.size()); in shardConfig() local
124 shardConfig.setTest(new TestsPoolPoller(shardableTests, tracker)); in shardConfig()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationUtil.java216 Set<String> tracker = new HashSet<>(); in dedupFiles() local
219 if (!tracker.contains(f.getName())) { in dedupFiles()
220 tracker.add(f.getName()); in dedupFiles()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java411 ExceptionTracker tracker = new ExceptionTracker(); in testRun_oneConfigLoop() local
412 Thread.setDefaultUncaughtExceptionHandler(tracker); in testRun_oneConfigLoop()
431 assertNull("exception occurred on background thread!", tracker.mThrowable); in testRun_oneConfigLoop()