Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/tests/controllers/android_lib/
Dlogcat_test.py42 tracker = TimestampTracker()
43 tracker.read_output(BASE_TIMESTAMP + 'D message')
45 self.assertEqual(tracker.last_timestamp, '2000-01-01 12:34:56.789')
48 tracker = TimestampTracker()
49 tracker.read_output(BASE_TIMESTAMP + 'D message')
50 tracker.read_output('--------- beginning of main')
52 self.assertEqual(tracker.last_timestamp, '2000-01-01 12:34:56.789')
55 tracker = TimestampTracker()
56 tracker.read_output(BASE_TIMESTAMP + 'D 9999-99-99 12:34:56.789')
58 self.assertEqual(tracker.last_timestamp, '2000-01-01 12:34:56.789')
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/shard/
DTestsPoolPollerTest.java98 CountDownLatch tracker = new CountDownLatch(2); in testMultiPolling() local
100 TestsPoolPoller poller1 = new TestsPoolPoller(pool, tracker); in testMultiPolling()
101 TestsPoolPoller poller2 = new TestsPoolPoller(pool, tracker); in testMultiPolling()
135 CountDownLatch tracker = new CountDownLatch(1); in testPollingRun() local
137 TestsPoolPoller poller = new TestsPoolPoller(pool, tracker); in testPollingRun()
146 assertEquals(0, tracker.getCount()); in testPollingRun()
172 CountDownLatch tracker = new CountDownLatch(1); in testRun_runtimeException() local
174 TestsPoolPoller poller = new TestsPoolPoller(pool, tracker); in testRun_runtimeException()
181 assertEquals(0, tracker.getCount()); in testRun_runtimeException()
204 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/tradefederation/core/javatests/com/android/tradefed/util/image/
DDeviceImageTrackerTest.java62 FileCacheTracker tracker = mTestableCache.getBaselineDeviceImage("serial"); in testCache() local
63 assertNotNull(tracker); in testCache()
64 assertEquals("8888", tracker.buildId); in testCache()
65 assertEquals("content", FileUtil.readStringFromFile(tracker.zippedDeviceImage)); in testCache()
/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.java381 private final ByteTracker tracker; field in ZFile
478 tracker = options.getTracker(); in ZFile()
1655 CloseableByteSource source = tracker.fromStream(stream); in makeStoredEntry()
2038 CloseableByteSource rawContents = tracker.fromSource(fromSource.getRawByteSource()); in mergeFrom()
2186 CloseableByteSource rawContents = tracker.fromSource(source.getRawByteSource()); in realign()
/tools/tradefederation/core/src/com/android/tradefed/util/image/
DIncrementalImageUtil.java113 FileCacheTracker tracker = in initialize() local
116 if (tracker == null) { in initialize()
121 if (!tracker.buildId.equals(deviceBuildId)) { in initialize()
124 deviceBuildId, tracker.buildId); in initialize()
129 if (!tracker.branch.equals(build.getBuildBranch())) { in initialize()
134 if (!tracker.flavor.equals(build.getBuildFlavor())) { in initialize()
138 tracker.flavor, build.getBuildFlavor()); in initialize()
166 deviceImage = copyImage(tracker.zippedDeviceImage); in initialize()
167 bootloader = copyImage(tracker.zippedBootloaderImage); in initialize()
168 if (tracker.zippedBasebandImage != null) { in initialize()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DShardHelper.java161 CountDownLatch tracker = in shardConfig() local
176 createTestsPool(shardableTests, tokenPool), tracker); in shardConfig()
182 CountDownLatch tracker = new CountDownLatch(shardableTests.size()); in shardConfig() local
199 createTestsPool(shardableTests, tokenPool), tracker); in shardConfig()
DDynamicShardHelper.java173 CountDownLatch tracker = new CountDownLatch(2); in shardConfig() local
174 TestsPoolPoller poller = new TestsPoolPoller(pool, tracker); in shardConfig()
DTestsPoolPoller.java90 public TestsPoolPoller(ITestsPool testsPool, CountDownLatch tracker) { in TestsPoolPoller() argument
91 mTracker = tracker; in TestsPoolPoller()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasher.java733 FileCacheTracker tracker = in shouldFlashSystem() local
736 if (tracker != null in shouldFlashSystem()
737 && tracker.buildId.equals(systemBuildId) in shouldFlashSystem()
738 && tracker.flavor.equals(deviceBuild.getBuildFlavor())) { in shouldFlashSystem()
/tools/test/connectivity/acts/framework/acts/libs/testtracker/protos/
Dtesttracker_result.proto12 // detail: "This is really long text blob (test tracker test case text)"
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java2999 MicrodroidTracker tracker = new MicrodroidTracker(); in startMicrodroid() local
3000 tracker.executor = executor; in startMicrodroid()
3001 tracker.cid = cid; in startMicrodroid()
3002 mStartedMicrodroids.put(process, tracker); in startMicrodroid()
3197 MicrodroidTracker tracker = mStartedMicrodroids.remove(process); in shutdownMicrodroid() local
3200 tracker.executor.shutdownNow(); in shutdownMicrodroid()
3201 tracker.executor.awaitTermination(1L, TimeUnit.MINUTES); in shutdownMicrodroid()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java318 CommandTracker tracker, IConfiguration config, boolean rescheduled) { in ExecutableCommand() argument
320 mCmdTracker = tracker; in ExecutableCommand()
2060 private void logInvocationStartedEvent(CommandTracker tracker, IInvocationContext context) { in logInvocationStartedEvent() argument
2062 args.put("id", Integer.toString(tracker.getId())); in logInvocationStartedEvent()
2068 args.put("args", ArrayUtil.join(" ", Arrays.asList(tracker.getArgs()))); in logInvocationStartedEvent()