Home
last modified time | relevance | path

Searched refs:milliseconds (Results 1 – 25 of 32) sorted by relevance

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java306 final int milliseconds = prefs.getInt( in readKeyLongpressTimeout() local
308 return (milliseconds != UNDEFINED_PREFERENCE_VALUE_INT) ? milliseconds in readKeyLongpressTimeout()
318 final int milliseconds = prefs.getInt( in readKeypressVibrationDuration() local
320 return (milliseconds != UNDEFINED_PREFERENCE_VALUE_INT) ? milliseconds in readKeypressVibrationDuration()
341 final int milliseconds = prefs.getInt(prefKey, UNDEFINED_PREFERENCE_VALUE_INT); in readKeyPreviewAnimationDuration() local
342 return (milliseconds != UNDEFINED_PREFERENCE_VALUE_INT) ? milliseconds : defaultValue; in readKeyPreviewAnimationDuration()
/packages/modules/DnsResolver/tests/dns_metrics_listener/
Ddns_metrics_listener.cpp29 using std::chrono::milliseconds;
31 constexpr milliseconds kRetryIntervalMs{20};
32 constexpr milliseconds kEventTimeoutMs{5000};
80 bool DnsMetricsListener::waitForNat64Prefix(ExpectNat64PrefixStatus status, milliseconds timeout) { in waitForNat64Prefix()
124 while (t.duration() < milliseconds{1000}) { in popDnsEvent()
Ddns_metrics_listener.h74 bool waitForNat64Prefix(ExpectNat64PrefixStatus status, std::chrono::milliseconds timeout)
/packages/modules/DnsResolver/
DDnsTlsServer.h57 static constexpr std::chrono::milliseconds kDotConnectTimeoutMs =
58 std::chrono::milliseconds(127 * 1000);
59 std::chrono::milliseconds connectTimeout = kDotConnectTimeoutMs;
DPrivateDnsConfiguration.cpp36 using std::chrono::milliseconds;
43 milliseconds getExperimentTimeout(const std::string& flagName, const milliseconds defaultValue) { in getExperimentTimeout()
45 return milliseconds((val < 1000) ? 1000 : val); in getExperimentTimeout()
DDnsQueryLog.h54 std::chrono::milliseconds time = kDefaultValidityMinutes)
64 const std::chrono::milliseconds mValidityTimeMs;
DDnsQueryLog.cpp51 using std::chrono::milliseconds; in timestampToString()
55 int ms = duration_cast<milliseconds>(ts.time_since_epoch()).count() % 1000; in timestampToString()
DDnsStats.cpp34 using std::chrono::milliseconds;
81 return (total == 0) ? 0 : duration_cast<milliseconds>(latencyUs).count() / total; in averageLatencyMs()
DDnsStatsTest.cpp29 using std::chrono::milliseconds;
36 const milliseconds& latency) { in makeDnsQueryEvent()
44 StatsData makeStatsData(const IPSockAddr& server, const int total, const milliseconds& latencyMs, in makeStatsData()
Dresolv_private.h147 uint32_t flags, std::chrono::milliseconds sleepTimeMs = {});
Dgetaddrinfo.cpp1612 std::chrono::milliseconds sleepTimeMs) { in doQuery()
1676 std::chrono::milliseconds sleepTimeMs{}; in res_queryN_parallel()
1685 sleepTimeMs = std::chrono::milliseconds(sleepFlag); in res_queryN_parallel()
Dres_send.cpp424 uint32_t flags, std::chrono::milliseconds sleepTimeMs) { in res_nsend()
1238 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in res_tls_send()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DAudioAndHapticFeedbackManager.java71 public void vibrate(final long milliseconds) { in vibrate() argument
75 mVibrator.vibrate(milliseconds); in vibrate()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DPseudoEmergencyAnimator.java126 private void vibrate(long milliseconds) { in vibrate() argument
131 vibrator.vibrate(milliseconds); in vibrate()
/packages/modules/DnsResolver/tests/
Dresolv_test_utils.h197 std::chrono::milliseconds timeout = std::chrono::milliseconds(1000));
Dresolv_test_utils.cpp140 bool PollForCondition(const std::function<bool()>& condition, std::chrono::milliseconds timeout) { in PollForCondition()
141 constexpr std::chrono::milliseconds retryIntervalMs{5}; in PollForCondition()
Dresolv_gold_test.cpp45 using std::chrono::milliseconds;
127 constexpr milliseconds retryIntervalMs{20}; in WaitForPrivateDnsValidation()
128 constexpr milliseconds timeoutMs{3000}; in WaitForPrivateDnsValidation()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DAddWifiNetworkTask.java227 public void threadSleep(long milliseconds) throws InterruptedException { in threadSleep() argument
228 Thread.sleep(milliseconds); in threadSleep()
/packages/services/Telecomm/proto/
Dtelecom.proto160 // The number of milliseconds that this event pair took.
181 // The number of milliseconds that the in call service remained bound between binding and
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputTestsBase.java422 protected static void sleep(final int milliseconds) { in sleep() argument
424 Thread.sleep(milliseconds); in sleep()
/packages/services/Car/evs/app/
DEvsVehicleListener.h55 std::cv_status result = mEventCond.wait_for(g, std::chrono::milliseconds(timeout_ms)); in waitForEvents()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java507 public static int millsToUnit(int milliseconds) { in millsToUnit() argument
508 return (int) (TimeUnit.MILLISECONDS.toMicros(milliseconds) / MICROS_PER_UNIT); in millsToUnit()
/packages/apps/ManagedProvisioning/proto/
Ddevicepolicy.proto34 // A parameter specifying a time period in milliseconds.
/packages/services/Car/tools/ioanalyze/
Danalyzer.py55 self.runtime = datetime.timedelta(milliseconds=uptimes[1]-uptimes[0])
/packages/apps/Car/libs/car-messenger-common/proto/
Dnotification_msg.proto105 // The time, in milliseconds, this message notification was last updated.

12