Home
last modified time | relevance | path

Searched refs:SECONDS (Results 1 – 25 of 29) sorted by relevance

12

/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DTraceCmdCollector.java110 device.executeShellCommand("chmod +x " + mTraceCmdBinary, c, 1, TimeUnit.SECONDS, 1); in startTracing()
111 device.executeShellCommand(traceCmd.toString(), c, 1, TimeUnit.SECONDS, 1); in startTracing()
131 TimeUnit.SECONDS, in stopTracing()
DAtraceCollector.java171 device.executeShellCommand(cmd, c, 1, TimeUnit.SECONDS, 1); in startTracing()
219 TimeUnit.SECONDS, in stopTracing()
DRuntimeRestartCollector.java339 return TIME_FORMATTER.format(new Date(TimeUnit.SECONDS.toMillis(seconds))); in timestampToHoursMinutesSeconds()
DPerfettoPullerMetricCollector.java99 private long mCompressResponseTimeoutMs = TimeUnit.SECONDS.toMillis(30);
/tools/aadevtools/dev/
Dclone_proj.sh52 SECONDS=0
70 Cloned $PROJECT projects took $SECONDS sec.
/tools/aadevtools/validation/
Dbatch_check_permission.sh24 SECONDS=0
117 echo "Took ${SECONDS} seconds"
Dbatch_install_app.sh26 SECONDS=0
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyPairedBase.java94 TimeUnit.SECONDS); in scheduleRecurringCommand()
100 mScheduler.awaitTermination(mCompanionRecurringInterval, TimeUnit.SECONDS); in stopRecurringCommand()
/tools/tradefederation/core/javatests/com/android/tradefed/util/executor/
DParallelDeviceExecutorTest.java70 List<Boolean> results = mExecutor.invokeAll(callableTasks, 1, TimeUnit.SECONDS); in testSimpleExecution()
90 List<Boolean> results = mExecutor.invokeAll(callableTasks, 1, TimeUnit.SECONDS); in testExecution_errors()
/tools/tradefederation/core/javatests/com/android/tradefed/cache/remote/
DByteStreamDownloaderTest.java69 mChannel.shutdown().awaitTermination(5, TimeUnit.SECONDS); in tearDown()
70 mFakeServer.shutdown().awaitTermination(5, TimeUnit.SECONDS); in tearDown()
DRemoteCacheClientTest.java115 mChannel.shutdown().awaitTermination(5, TimeUnit.SECONDS); in tearDown()
116 mFakeServer.shutdown().awaitTermination(5, TimeUnit.SECONDS); in tearDown()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DRuntimeRestartCollectorTest.java69 new Date(TimeUnit.SECONDS.toMillis(TIMESTAMP_1_SECS)));
73 new Date(TimeUnit.SECONDS.toMillis(TIMESTAMP_2_SECS)));
76 TimeUnit.HOURS.toNanos(1) + TimeUnit.MINUTES.toNanos(2) + TimeUnit.SECONDS.toNanos(3);
79 TimeUnit.HOURS.toNanos(1) + TimeUnit.MINUTES.toNanos(4) + TimeUnit.SECONDS.toNanos(8);
/tools/tradefederation/core/src/com/android/tradefed/monitoring/
DLabResourceDeviceMonitor.java214 executor.awaitTermination(EXECUTOR_TERMINATE_TIMEOUT_SEC, TimeUnit.SECONDS); in awaitTerminateExecutor()
266 TimeUnit.SECONDS); in scheduleMetricizeTask()
/tools/tradefederation/core/common_util/com/android/tradefed/cache/remote/
DByteStreamDownloader.java147 .withDeadlineAfter(mCallTimeout.getSeconds(), TimeUnit.SECONDS);
DRemoteCacheClient.java177 .withDeadlineAfter(REMOTE_TIMEOUT.getSeconds(), TimeUnit.SECONDS); in acFutureStub()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DNativeDeviceTest.java2528 assertEquals(history, spy.getBootHistorySince(1556238009L, TimeUnit.SECONDS)); in testGetBootHistorySince()
2542 assertEquals(history, spy.getBootHistorySince(1579678463, TimeUnit.SECONDS)); in testGetBootHistorySince_limit()
2579 assertFalse(spy.deviceSoftRestartedSince(1559091923L, TimeUnit.SECONDS)); in testDeviceSoftRestartedSince()
2581 assertFalse(spy.deviceSoftRestartedSince(1559091922L, TimeUnit.SECONDS)); in testDeviceSoftRestartedSince()
2583 assertTrue(spy.deviceSoftRestartedSince(1559091920L, TimeUnit.SECONDS)); in testDeviceSoftRestartedSince()
2592 assertTrue(spy.deviceSoftRestartedSince(1559091922L, TimeUnit.SECONDS)); in testDeviceSoftRestartedSinceWithSystemServerStopped()
2613 spy.deviceSoftRestartedSince(1559091922L, TimeUnit.SECONDS); in testDeviceSoftRestartedSinceWithAbnormalReboot()
2638 assertFalse(spy.deviceSoftRestartedSince(1559091921L, TimeUnit.SECONDS)); in testDeviceSoftRestartedSinceNotAfterNormalReboot()
2658 assertTrue(spy.deviceSoftRestartedSince(1559091921L, TimeUnit.SECONDS)); in testDeviceSoftRestartedSinceAfterNormalReboot()
DDeviceManagerTest.java1290 mMockTestDevice.getSerialNumber(), "mock cmd", 1, TimeUnit.SECONDS); in testExecCmdOnAvailableDevice_deviceNotAvailable()
1301 when(mMockTestDevice.executeShellV2Command("foo", 2, TimeUnit.SECONDS)) in testExecCmdOnAvailableDevice_longRunCmd()
1307 mMockTestDevice.getSerialNumber(), "mock cmd", 2, TimeUnit.SECONDS); in testExecCmdOnAvailableDevice_longRunCmd()
1317 when(mMockTestDevice.executeShellV2Command("foo", 1, TimeUnit.SECONDS)) in testExecCmdOnAvailableDevice_success()
1334 mMockTestDevice.getSerialNumber(), "foo", 1, TimeUnit.SECONDS); in testExecCmdOnAvailableDevice_success()
DTestDeviceFuncTest.java683 assertFalse(mTestDevice.deviceSoftRestartedSince(prev.getStartTime(), TimeUnit.SECONDS)); in testDeviceSoftRestart()
/tools/netsim/testing/tests/wifi/nsd/src/android/test/wifi/nsd/
DNsdHelper.java60 assertTrue(latch.await(60, TimeUnit.SECONDS)); in await()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DIsolatedHostTest.java300 isolationRunner.waitFor(10, TimeUnit.SECONDS); in run()
307 isolationRunner.waitFor(10, TimeUnit.SECONDS); in run()
/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCache.java248 return fileLock.tryLock(0, TimeUnit.SECONDS); in tryLockFile()
/tools/tradefederation/contrib/src/com/android/media/tests/
DVideoMultimeterTest.java161 receiver, 1L, TimeUnit.SECONDS, 0); in startPlayback()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DDriver.kt64 import java.util.concurrent.TimeUnit.SECONDS in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DTestAppInstallSetup.java793 mIncrementalInstallTimeout, TimeUnit.SECONDS); in installPackageIncrementally()
/tools/tradefederation/core/src/com/android/tradefed/util/image/
DIncrementalImageUtil.java529 "snapshotctl revert-snapshots", 60L, TimeUnit.SECONDS, 0); in teardownDevice()

12