/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | TraceCmdCollector.java | 110 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()
|
D | AtraceCollector.java | 171 device.executeShellCommand(cmd, c, 1, TimeUnit.SECONDS, 1); in startTracing() 219 TimeUnit.SECONDS, in stopTracing()
|
D | RuntimeRestartCollector.java | 339 return TIME_FORMATTER.format(new Date(TimeUnit.SECONDS.toMillis(seconds))); in timestampToHoursMinutesSeconds()
|
D | PerfettoPullerMetricCollector.java | 99 private long mCompressResponseTimeoutMs = TimeUnit.SECONDS.toMillis(30);
|
/tools/aadevtools/dev/ |
D | clone_proj.sh | 52 SECONDS=0 70 Cloned $PROJECT projects took $SECONDS sec.
|
/tools/aadevtools/validation/ |
D | batch_check_permission.sh | 24 SECONDS=0 117 echo "Took ${SECONDS} seconds"
|
D | batch_install_app.sh | 26 SECONDS=0
|
/tools/tradefederation/contrib/src/com/android/monkey/ |
D | MonkeyPairedBase.java | 94 TimeUnit.SECONDS); in scheduleRecurringCommand() 100 mScheduler.awaitTermination(mCompanionRecurringInterval, TimeUnit.SECONDS); in stopRecurringCommand()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/executor/ |
D | ParallelDeviceExecutorTest.java | 70 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/ |
D | ByteStreamDownloaderTest.java | 69 mChannel.shutdown().awaitTermination(5, TimeUnit.SECONDS); in tearDown() 70 mFakeServer.shutdown().awaitTermination(5, TimeUnit.SECONDS); in tearDown()
|
D | RemoteCacheClientTest.java | 115 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/ |
D | RuntimeRestartCollectorTest.java | 69 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/ |
D | LabResourceDeviceMonitor.java | 214 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/ |
D | ByteStreamDownloader.java | 147 .withDeadlineAfter(mCallTimeout.getSeconds(), TimeUnit.SECONDS);
|
D | RemoteCacheClient.java | 177 .withDeadlineAfter(REMOTE_TIMEOUT.getSeconds(), TimeUnit.SECONDS); in acFutureStub()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | NativeDeviceTest.java | 2528 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()
|
D | DeviceManagerTest.java | 1290 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()
|
D | TestDeviceFuncTest.java | 683 assertFalse(mTestDevice.deviceSoftRestartedSince(prev.getStartTime(), TimeUnit.SECONDS)); in testDeviceSoftRestart()
|
/tools/netsim/testing/tests/wifi/nsd/src/android/test/wifi/nsd/ |
D | NsdHelper.java | 60 assertTrue(latch.await(60, TimeUnit.SECONDS)); in await()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | IsolatedHostTest.java | 300 isolationRunner.waitFor(10, TimeUnit.SECONDS); in run() 307 isolationRunner.waitFor(10, TimeUnit.SECONDS); in run()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | FileDownloadCache.java | 248 return fileLock.tryLock(0, TimeUnit.SECONDS); in tryLockFile()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | VideoMultimeterTest.java | 161 receiver, 1L, TimeUnit.SECONDS, 0); in startPlayback()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | Driver.kt | 64 import java.util.concurrent.TimeUnit.SECONDS in <lambda>()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | TestAppInstallSetup.java | 793 mIncrementalInstallTimeout, TimeUnit.SECONDS); in installPackageIncrementally()
|
/tools/tradefederation/core/src/com/android/tradefed/util/image/ |
D | IncrementalImageUtil.java | 529 "snapshotctl revert-snapshots", 60L, TimeUnit.SECONDS, 0); in teardownDevice()
|