/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/ |
D | HttpUrlConnectionBuilder.java | 103 public HttpUrlConnectionBuilder setConnectTimeout(int timeoutMillis) { in setConnectTimeout() argument 104 if (timeoutMillis < 0) { in setConnectTimeout() 106 + timeoutMillis); in setConnectTimeout() 108 mConnectTimeoutMillis = timeoutMillis; in setConnectTimeout() 118 public HttpUrlConnectionBuilder setReadTimeout(int timeoutMillis) { in setReadTimeout() argument 119 if (timeoutMillis < 0) { in setReadTimeout() 121 + timeoutMillis); in setReadTimeout() 123 mReadTimeoutMillis = timeoutMillis; in setReadTimeout()
|
/packages/services/Telephony/tests/src/com/android/ |
D | TelephonyTestBase.java | 62 protected final boolean waitForExecutorAction(Executor executor, long timeoutMillis) { in waitForExecutorAction() argument 69 return lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForExecutorAction() 77 protected final void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() argument 82 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerAction() 89 protected final void waitForHandlerActionDelayed(Handler h, long timeoutMillis, long delayMs) { in waitForHandlerActionDelayed() argument 94 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerActionDelayed()
|
/packages/modules/StatsD/framework/test/src/android/app/ |
D | PullAtomMetadataTest.java | 43 long timeoutMillis = 500L; in testSetTimeoutMillis() local 45 new PullAtomMetadata.Builder().setTimeoutMillis(timeoutMillis).build(); in testSetTimeoutMillis() 46 assertThat(metadata.getTimeoutMillis()).isEqualTo(timeoutMillis); in testSetTimeoutMillis() 73 long timeoutMillis = 300L; in testSetAllElements() local 77 .setTimeoutMillis(timeoutMillis) in testSetAllElements() 81 assertThat(metadata.getTimeoutMillis()).isEqualTo(timeoutMillis); in testSetAllElements()
|
/packages/modules/StatsD/lib/libstatspull/tests/ |
D | pull_atom_metadata_test.cpp | 37 int64_t timeoutMillis = 500; in TEST() local 39 AStatsManager_PullAtomMetadata_setTimeoutMillis(metadata, timeoutMillis); in TEST() 41 EXPECT_EQ(AStatsManager_PullAtomMetadata_getTimeoutMillis(metadata), timeoutMillis); in TEST() 73 int64_t timeoutMillis = 500; in TEST() local 79 AStatsManager_PullAtomMetadata_setTimeoutMillis(metadata, timeoutMillis); in TEST() 84 EXPECT_EQ(AStatsManager_PullAtomMetadata_getTimeoutMillis(metadata), timeoutMillis); in TEST()
|
/packages/apps/Dialer/java/com/android/incallui/multisim/ |
D | SwapSimWorker.java | 63 private final int timeoutMillis; field in SwapSimWorker 84 int timeoutMillis) { in SwapSimWorker() argument 91 this.timeoutMillis = timeoutMillis; in SwapSimWorker() 111 if (!disconnectLatch.await(timeoutMillis, TimeUnit.MILLISECONDS)) { in doInBackground() 124 if (!dialingLatch.await(timeoutMillis, TimeUnit.MILLISECONDS)) { in doInBackground()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TelecomTestCase.java | 57 protected static void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() argument 62 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerAction() 69 protected final void waitForHandlerActionDelayed(Handler h, long timeoutMillis, long delayMs) { in waitForHandlerActionDelayed() argument 74 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerActionDelayed()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | JavaNetHttpHelper.java | 169 public void setConnectTimeout(int timeoutMillis) { in setConnectTimeout() argument 170 mConnectTimeout = timeoutMillis; in setConnectTimeout() 173 public void setReadTimeout(int timeoutMillis) { in setReadTimeout() argument 174 mReadTimeout = timeoutMillis; in setReadTimeout()
|
D | HttpHelper.java | 39 public void setConnectTimeout(int timeoutMillis); in setConnectTimeout() argument 41 public void setReadTimeout(int timeoutMillis); in setReadTimeout() argument
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | LocalSocketTest.java | 207 int timeoutMillis = 1000; in testSetSoTimeout_readTimeout() local 208 clientSocket.setSoTimeout(timeoutMillis); in testSetSoTimeout_readTimeout() 220 int allowedTime = timeoutMillis + 2000; in testSetSoTimeout_readTimeout() 237 int timeoutMillis = 1000; in testSetSoTimeout_writeTimeout() local 238 clientSocket.setSoTimeout(timeoutMillis); in testSetSoTimeout_writeTimeout() 255 int allowedTime = timeoutMillis + 2000; in testSetSoTimeout_writeTimeout()
|
/packages/modules/StatsD/framework/java/android/app/ |
D | StatsManager.java | 499 long timeoutMillis = metadata == null ? DEFAULT_TIMEOUT_MILLIS : metadata.mTimeoutMillis; in setPullAtomCallback() local 511 atomTag, coolDownMillis, timeoutMillis, additiveFields, rec); in setPullAtomCallback() 592 private PullAtomMetadata(long coolDownMillis, long timeoutMillis, int[] additiveFields) { in PullAtomMetadata() argument 594 mTimeoutMillis = timeoutMillis; in PullAtomMetadata() 632 public Builder setTimeoutMillis(long timeoutMillis) { in setTimeoutMillis() argument 633 mTimeoutMillis = timeoutMillis; in setTimeoutMillis()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarBugreportManagerTest.java | 218 void waitTillDoneOrTimeout(long timeoutMillis) throws InterruptedException { in waitTillDoneOrTimeout() argument 219 mEndedLatch.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitTillDoneOrTimeout() 222 void waitTillProgressOrTimeout(long timeoutMillis) throws InterruptedException { in waitTillProgressOrTimeout() argument 223 mProgressLatch.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitTillProgressOrTimeout()
|
/packages/modules/StatsD/lib/libstatspull/ |
D | stats_pull_atom_callback.cpp | 107 const int64_t coolDownMillis, const int64_t timeoutMillis, in StatsPullAtomCallbackInternal() argument 112 mTimeoutMillis(timeoutMillis), in StatsPullAtomCallbackInternal() 234 int64_t timeoutMillis = metadata == nullptr ? DEFAULT_TIMEOUT_MILLIS : metadata->timeout_millis; in AStatsManager_setPullAtomCallback() local 243 timeoutMillis, additiveFields); in AStatsManager_setPullAtomCallback()
|
/packages/services/Car/cpp/telemetry/cartelemetryd/src/ |
D | LooperWrapper.cpp | 25 int LooperWrapper::pollAll(int timeoutMillis) { in pollAll() argument 26 return mLooper->pollAll(timeoutMillis); in pollAll()
|
/packages/services/Car/cpp/evs/manager/1.1/stats/ |
D | LooperWrapper.cpp | 38 int LooperWrapper::pollAll(int timeoutMillis) { in pollAll() argument 44 return mLooper->pollAll(timeoutMillis); in pollAll()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | LooperWrapper.cpp | 35 int LooperWrapper::pollAll(int timeoutMillis) { in pollAll() argument 40 return mLooper->pollAll(timeoutMillis); in pollAll()
|
/packages/modules/StatsD/apex/tests/libstatspull/jni/ |
D | stats_pull_helper.cpp | 49 JNIEnv* /*env*/, jobject /* this */, jint atomTag, jlong timeoutMillis, in Java_com_android_internal_os_statsd_libstats_LibStatsPullTests_setStatsPuller() argument 58 AStatsManager_PullAtomMetadata_setTimeoutMillis(metadata, timeoutMillis); in Java_com_android_internal_os_statsd_libstats_LibStatsPullTests_setStatsPuller()
|
/packages/modules/StatsD/service/java/com/android/server/stats/ |
D | StatsManagerService.java | 145 PullerValue(long coolDownMillis, long timeoutMillis, int[] additiveFields, in PullerValue() argument 148 mTimeoutMillis = timeoutMillis; in PullerValue() 173 public void registerPullAtomCallback(int atomTag, long coolDownMillis, long timeoutMillis, in registerPullAtomCallback() argument 183 new PullerValue(coolDownMillis, timeoutMillis, additiveFields, pullerCallback); in registerPullAtomCallback() 198 statsd.registerPullAtomCallback(callingUid, atomTag, coolDownMillis, timeoutMillis, in registerPullAtomCallback()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | BlockingBroadcastReceiver.java | 86 public @Nullable Intent awaitForBroadcast(long timeoutMillis) { in awaitForBroadcast() argument 88 return mBlockingQueue.poll(timeoutMillis, TimeUnit.MILLISECONDS); in awaitForBroadcast()
|
/packages/modules/StatsD/aidl/android/os/ |
D | IStatsd.aidl | 194 long timeoutMillis,in int[] additiveFields, in registerPullAtomCallback() argument 203 oneway void registerNativePullAtomCallback(int atomTag, long coolDownMillis, long timeoutMillis, in registerNativePullAtomCallback() argument
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/ |
D | Cp2ExtendedDirectoryPhoneLookup.java | 100 long timeoutMillis = in lookup() local 107 return timeoutMillis == Long.MAX_VALUE in lookup() 111 cp2InfoFuture, timeoutMillis, TimeUnit.MILLISECONDS, scheduledExecutorService), in lookup()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastActivityTestCase.java | 90 protected final void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() argument 95 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerAction()
|
/packages/services/Telephony/src/com/android/phone/ |
D | NumberVerificationManager.java | 92 INumberVerificationCallback callback, long timeoutMillis) { in requestVerification() argument 114 }, timeoutMillis); in requestVerification()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/ |
D | ManagedProfileTest.java | 106 long timeoutMillis = PROVISIONING_RESULT_TIMEOUT_SECONDS * 1000; in removeProfileAndWait() local 107 Intent confirmation = receiver.awaitForBroadcast(timeoutMillis); in removeProfileAndWait()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/ |
D | EapAuthenticator.java | 107 long timeoutMillis) { in EapAuthenticator() argument 113 mTimeoutMillis = timeoutMillis; in EapAuthenticator()
|
/packages/modules/StatsD/statsd/src/ |
D | StatsService.h | 173 int32_t uid, int32_t atomTag, int64_t coolDownMillis, int64_t timeoutMillis, 181 int32_t atomTag, int64_t coolDownMillis, int64_t timeoutMillis,
|