/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/transformer/src/androidTest/java/com/google/android/exoplayer2/transformer/ |
H A D | TransformerAndroidTestRunner.java | 49 private int timeoutSeconds; field in TransformerAndroidTestRunner.Builder 62 this.timeoutSeconds = DEFAULT_TIMEOUT_SECONDS; in Builder() 71 * @param timeoutSeconds The timeout. 74 public Builder setTimeoutSeconds(int timeoutSeconds) { in setTimeoutSeconds() argument 75 this.timeoutSeconds = timeoutSeconds; in setTimeoutSeconds() 135 timeoutSeconds, in build() 144 private final int timeoutSeconds; field in TransformerAndroidTestRunner 152 int timeoutSeconds, in TransformerAndroidTestRunner() argument 158 this.timeoutSeconds = timeoutSeconds; in TransformerAndroidTestRunner() 200 * @throws TimeoutException If the transformation takes longer than the {@link #timeoutSeconds}. [all …]
|
/aosp_15_r20/external/guava/guava-testlib/src/com/google/common/testing/ |
H A D | GcFinalization.java | 117 private static long timeoutSeconds() { in timeoutSeconds() method in GcFinalization 143 long timeoutSeconds = timeoutSeconds(); in awaitDone() local 144 long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in awaitDone() 162 throw formatRuntimeException("Future not done within %d second timeout", timeoutSeconds); in awaitDone() 176 long timeoutSeconds = timeoutSeconds(); in awaitDone() local 177 long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in awaitDone() 191 "Predicate did not become true within %d second timeout", timeoutSeconds); in awaitDone() 205 long timeoutSeconds = timeoutSeconds(); in await() local 206 long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in await() 222 "Latch failed to count down within %d second timeout", timeoutSeconds); in await()
|
/aosp_15_r20/external/guava/android/guava-testlib/src/com/google/common/testing/ |
H A D | GcFinalization.java | 117 private static long timeoutSeconds() { in timeoutSeconds() method in GcFinalization 143 long timeoutSeconds = timeoutSeconds(); in awaitDone() local 144 long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in awaitDone() 162 throw formatRuntimeException("Future not done within %d second timeout", timeoutSeconds); in awaitDone() 176 long timeoutSeconds = timeoutSeconds(); in awaitDone() local 177 long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in awaitDone() 191 "Predicate did not become true within %d second timeout", timeoutSeconds); in awaitDone() 205 long timeoutSeconds = timeoutSeconds(); in await() local 206 long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in await() 222 "Latch failed to count down within %d second timeout", timeoutSeconds); in await()
|
/aosp_15_r20/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothRequestPermissionActivity.java | 233 private int setDiscoverable(int timeoutSeconds) { in setDiscoverable() argument 235 timeoutSeconds)) { in setDiscoverable() 240 long endTime = System.currentTimeMillis() + (long) timeoutSeconds * 1000; in setDiscoverable() 242 if (timeoutSeconds > 0) { in setDiscoverable() 246 int returnCode = timeoutSeconds; in setDiscoverable() 326 // Assumes {@code timeoutSeconds} > 0. 327 private AlertDialog createDiscoverableConfirmDialog(int timeoutSeconds) { in createDiscoverableConfirmDialog() argument 329 ? getString(R.string.bluetooth_ask_discovery, mAppLabel, timeoutSeconds) in createDiscoverableConfirmDialog() 330 : getString(R.string.bluetooth_ask_discovery_no_name, timeoutSeconds); in createDiscoverableConfirmDialog() 355 // Assumes {@code timeoutSeconds} > 0. [all …]
|
/aosp_15_r20/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/ |
H A D | TransformerAndroidTestRunner.java | 70 private int timeoutSeconds; field in TransformerAndroidTestRunner.Builder 83 this.timeoutSeconds = DEFAULT_TIMEOUT_SECONDS; in Builder() 92 * @param timeoutSeconds The timeout. 96 public Builder setTimeoutSeconds(int timeoutSeconds) { in setTimeoutSeconds() argument 97 this.timeoutSeconds = timeoutSeconds; in setTimeoutSeconds() 161 timeoutSeconds, in build() 170 private final int timeoutSeconds; field in TransformerAndroidTestRunner 178 int timeoutSeconds, in TransformerAndroidTestRunner() argument 184 this.timeoutSeconds = timeoutSeconds; in TransformerAndroidTestRunner() 392 if (!countDownLatch.await(timeoutSeconds, SECONDS)) { in runInternal() [all …]
|
/aosp_15_r20/external/vogar/src/vogar/tasks/ |
H A D | RunActionTask.java | 48 private final int timeoutSeconds; field in RunActionTask 61 this.timeoutSeconds = useLargeTimeout in RunActionTask() 86 if (timeoutSeconds != 0) { in execute() 87 currentCommand.scheduleTimeout(timeoutSeconds); in execute() 158 vmCommandBuilder.args("--time-limit", String.format("%ds", timeoutSeconds)); in createActionCommand() 199 if (command != null && timeoutSeconds != 0) { in start() 200 command.scheduleTimeout(timeoutSeconds); in start() 216 if (command != null && timeoutSeconds != 0) { in finish() 217 command.scheduleTimeout(timeoutSeconds); in finish()
|
/aosp_15_r20/external/vogar/src/vogar/target/junit/ |
H A D | TimeoutAndAbortRunRule.java | 40 private final int timeoutSeconds; field in TimeoutAndAbortRunRule 43 * @param timeoutSeconds the timeout in seconds, if 0 then never times out. 45 public TimeoutAndAbortRunRule(int timeoutSeconds) { in TimeoutAndAbortRunRule() argument 46 this.timeoutSeconds = timeoutSeconds; in TimeoutAndAbortRunRule() 103 thrown = timeoutSeconds == 0 105 : result.get(timeoutSeconds, TimeUnit.SECONDS);
|
/aosp_15_r20/out/soong/.intermediates/hardware/interfaces/health/storage/1.0/[email protected]_genc++/gen/android/hardware/health/storage/1.0/ |
D | StorageAll.cpp | 42 … ::android::hardware::Return<void> IStorage::garbageCollect(uint64_t timeoutSeconds, const ::andro… 132 …rdware::details::HidlInstrumentor *_hidl_this_instrumentor, uint64_t timeoutSeconds, const ::andro… in _hidl_garbageCollect() argument 143 _hidl_args.push_back((void *)&timeoutSeconds); in _hidl_garbageCollect() 160 _hidl_err = _hidl_data.writeUint64(timeoutSeconds); in _hidl_garbageCollect() 201 ::android::hardware::Return<void> BpHwStorage::garbageCollect(uint64_t timeoutSeconds, const ::andr… in garbageCollect() argument 202 …re::health::storage::V1_0::BpHwStorage::_hidl_garbageCollect(this, this, timeoutSeconds, callback); in garbageCollect() 308 uint64_t timeoutSeconds; in _hidl_garbageCollect() local 311 _hidl_err = _hidl_data.readUint64(&timeoutSeconds); in _hidl_garbageCollect() 326 _hidl_args.push_back((void *)&timeoutSeconds); in _hidl_garbageCollect() 334 …et = static_cast<IStorage*>(_hidl_this->getImpl().get())->garbageCollect(timeoutSeconds, callback); in _hidl_garbageCollect()
|
/aosp_15_r20/external/vogar/src/vogar/commands/ |
H A D | Command.java | 156 * @param timeoutSeconds how long to wait, or 0 to wait indefinitely 159 public List<String> executeWithTimeout(int timeoutSeconds) throws TimeoutException { in executeWithTimeout() argument 160 if (timeoutSeconds == 0) { in executeWithTimeout() 164 scheduleTimeout(timeoutSeconds); in executeWithTimeout() 200 public void scheduleTimeout(int timeoutSeconds) { in scheduleTimeout() argument 201 timeoutNanoTime = System.nanoTime() + TimeUnit.SECONDS.toNanos(timeoutSeconds); in scheduleTimeout()
|
/aosp_15_r20/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/ |
H A D | NativePoc.java | 62 abstract long timeoutSeconds(); in timeoutSeconds() method in NativePoc 78 .timeoutSeconds(DEFAULT_POC_TIMEOUT_SECONDS) in builder() 125 public Builder timeoutSeconds(long value, String reason) { in timeoutSeconds() method in NativePoc.Builder 126 return timeoutSeconds(value); in timeoutSeconds() 129 abstract Builder timeoutSeconds(long value); in timeoutSeconds() method in NativePoc.Builder 252 timeoutSeconds(), in runPocAndAssert()
|
/aosp_15_r20/external/pytorch/torch/csrc/distributed/rpc/ |
H A D | py_rref.cpp | 183 py::object PyRRef::toHere(const float timeoutSeconds) const { in toHere() 191 timeoutSeconds); in toHere() 249 float timeoutSeconds) const { in createRRefProxy() 256 return ctor(*this, functions.rpcSync_, timeoutSeconds); in createRRefProxy() 259 return ctor(*this, functions.rpcAsync_, timeoutSeconds); in createRRefProxy() 262 return ctor(*this, functions.remote_, timeoutSeconds); in createRRefProxy()
|
/aosp_15_r20/external/vogar/src/vogar/target/ |
H A D | TestRunner.java | 51 private final int timeoutSeconds; field in TestRunner 60 timeoutSeconds = Integer.parseInt(properties.getProperty(TestProperties.TIMEOUT)); in TestRunner() 213 skipPastReference, testEnvironment, timeoutSeconds, excludeFilters, args); in run() 258 TestEnvironment testEnvironment, int timeoutSeconds, String[] excludeFilters, in newRunner() argument 262 skipPastReference, testEnvironment, timeoutSeconds, excludeFilters, args); in newRunner()
|
/aosp_15_r20/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/utils/ |
H A D | Exec.java | 42 int timeoutSeconds in runForStream() argument 56 final boolean success = p.waitFor(timeoutSeconds, TimeUnit.SECONDS); in runForStream() 82 int timeoutSeconds) in runForStrings() argument 86 runForStream(commandLine, messenger, onCanceled, onException, timeoutSeconds)))) { in runForStrings() argument
|
/aosp_15_r20/external/vogar/src/vogar/ |
H A D | Run.java | 74 public final int timeoutSeconds; field in Run 145 this.largeTimeoutSeconds = vogar.timeoutSeconds * Vogar.LARGE_TIMEOUT_MULTIPLIER; in Run() 149 this.timeoutSeconds = vogar.timeoutSeconds; in Run() 150 this.smallTimeoutSeconds = vogar.timeoutSeconds; in Run()
|
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/transformer/src/androidTest/java/com/google/android/exoplayer2/transformer/mh/ |
H A D | AndroidTestUtil.java | 62 * @param timeoutSeconds The transformer timeout. An assertion confirms this is not exceeded. 67 Context context, String testId, Transformer transformer, String uriString, int timeoutSeconds) in runTransformer() argument 104 assertWithMessage("Transformer timed out after " + timeoutSeconds + " seconds.") in runTransformer() 105 .that(countDownLatch.await(timeoutSeconds, SECONDS)) in runTransformer()
|
H A D | RepeatedTranscodeTransformationTest.java | 64 /* timeoutSeconds= */ 120) in repeatedTranscode_givesConsistentLengthOutput() 98 /* timeoutSeconds= */ 120) in repeatedTranscodeNoAudio_givesConsistentLengthOutput() 129 /* timeoutSeconds= */ 120) in repeatedTranscodeNoVideo_givesConsistentLengthOutput()
|
/aosp_15_r20/hardware/interfaces/gnss/aidl/vts/ |
H A D | gnss_hal_test.cpp | 469 const int timeoutSeconds, in collectMeasurementIntervals() argument 475 ASSERT_TRUE(callback->gnss_data_cbq_.retrieve(lastGnssData, timeoutSeconds)); in collectMeasurementIntervals() 498 const int timeoutSeconds, in collectSvInfoListTimestamps() argument 509 timeoutSeconds)); in collectSvInfoListTimestamps() 520 const int numMeasurementEvents, const int timeoutSeconds, in checkGnssDataFields() argument 524 ASSERT_TRUE(callback->gnss_data_cbq_.retrieve(lastGnssData, timeoutSeconds)); in checkGnssDataFields()
|
H A D | gnss_hal_test.h | 102 const int numMeasurementEvents, const int timeoutSeconds, 104 void collectSvInfoListTimestamps(const int numMeasurementEvents, const int timeoutSeconds, 107 const int numMeasurementEvents, const int timeoutSeconds,
|
/aosp_15_r20/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
H A D | BlockingBroadcastReceiver.java | 241 * @param timeoutSeconds new timeout value, in seconds. 243 public void setTimeout(int timeoutSeconds) { in setTimeout() argument 244 if (timeoutSeconds <= 0) { in setTimeout() 247 mTimeoutSeconds = timeoutSeconds; in setTimeout()
|
/aosp_15_r20/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
H A D | BlockingBroadcastReceiver.java | 252 * @param timeoutSeconds new timeout value, in seconds. 254 public void setTimeout(int timeoutSeconds) { in setTimeout() argument 255 if (timeoutSeconds <= 0) { in setTimeout() 258 mTimeoutSeconds = timeoutSeconds; in setTimeout()
|
/aosp_15_r20/cts/tests/tests/view/src/android/view/cts/input/ |
H A D | InputDeviceKeyLayoutMapTestActivity.java | 51 * @param timeoutSeconds Timeout in unit of second 54 public KeyEvent getKeyEvent(int timeoutSeconds) { in getKeyEvent() argument 56 return mEvents.poll(timeoutSeconds, TimeUnit.SECONDS); in getKeyEvent()
|
/aosp_15_r20/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/ |
H A D | Http2Client.java | 202 private final int timeoutSeconds = 180; field in Http2Client.Tester 228 if (!responseObserver.awaitCompletion(timeoutSeconds, TimeUnit.SECONDS)) { in rstAfterData() 244 if (!responseObserver.awaitCompletion(timeoutSeconds, TimeUnit.SECONDS)) { in rstDuringData() 278 f.get(timeoutSeconds, TimeUnit.SECONDS); in maxStreams()
|
/aosp_15_r20/external/aws-sdk-java-v2/core/sdk-core/src/main/java/software/amazon/awssdk/core/async/ |
H A D | BlockingOutputStreamAsyncRequestBody.java | 91 long timeoutSeconds = subscribeTimeout.getSeconds(); in waitForSubscriptionIfNeeded() local 92 if (!subscribedLatch.await(timeoutSeconds, TimeUnit.SECONDS)) { in waitForSubscriptionIfNeeded() 93 …w IllegalStateException("The service request was not made within " + timeoutSeconds + " seconds of… in waitForSubscriptionIfNeeded()
|
H A D | BlockingInputStreamAsyncRequestBody.java | 108 long timeoutSeconds = subscribeTimeout.getSeconds(); in waitForSubscriptionIfNeeded() local 109 if (!subscribedLatch.await(timeoutSeconds, TimeUnit.SECONDS)) { in waitForSubscriptionIfNeeded() 110 …w IllegalStateException("The service request was not made within " + timeoutSeconds + " seconds of… in waitForSubscriptionIfNeeded()
|
/aosp_15_r20/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSNetworkActivityTest.kt | 75 private fun setMobileDataActivityTimeout(timeoutSeconds: Int) { in <lambda>() 77 context, Duration.ofSeconds(timeoutSeconds.toLong()) in <lambda>() 81 private fun setWifiDataActivityTimeout(timeoutSeconds: Int) { in <lambda>() 83 context, Duration.ofSeconds(timeoutSeconds.toLong()) in <lambda>()
|