Home
last modified time | relevance | path

Searched refs:backoff (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DBackoffSequenceTest.cpp25 BackoffSequence<uint32_t> backoff; in TEST() local
27 EXPECT_TRUE(backoff.hasNextTimeout()); in TEST()
28 EXPECT_EQ(0x00000001U, backoff.getNextTimeout()); in TEST()
29 EXPECT_EQ(0x00000002U, backoff.getNextTimeout()); in TEST()
30 EXPECT_EQ(0x00000004U, backoff.getNextTimeout()); in TEST()
31 EXPECT_EQ(0x00000008U, backoff.getNextTimeout()); in TEST()
32 EXPECT_EQ(0x00000010U, backoff.getNextTimeout()); in TEST()
33 EXPECT_EQ(0x00000020U, backoff.getNextTimeout()); in TEST()
34 EXPECT_EQ(0x00000040U, backoff.getNextTimeout()); in TEST()
35 EXPECT_EQ(0x00000080U, backoff.getNextTimeout()); in TEST()
[all …]
/packages/apps/Dialer/java/com/android/dialer/common/backoff/
DExponentialBackoff.java17 package com.android.dialer.common.backoff;
69 long backoff = Math.round(nextBackoff); in getNextBackoff() local
72 return backoff; in getNextBackoff()
DExponentialBaseCalculator.java17 package com.android.dialer.common.backoff;
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDataModelException.java62 final long backoff, final boolean injection, final String message) { in DataModelException() argument
78 mBackoff = backoff; in DataModelException()
/packages/modules/DnsResolver/
DDns64Configuration.cpp73 auto backoff = netdutils::BackoffSequence<>::Builder() in startPrefixDiscovery() local
94 if (!backoff.hasNextTimeout()) break; in startPrefixDiscovery()
100 thiz->mCv.wait_for(cvGuard, backoff.getNextTimeout()); in startPrefixDiscovery()
DPrivateDnsConfiguration.cpp363 auto backoff = mBackoffBuilder.build(); in startDotValidation() local
377 if (!needs_reeval || !backoff.hasNextTimeout()) { in startDotValidation()
384 if (mCv.wait_for(cvGuard, backoff.getNextTimeout(), in startDotValidation()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dprobability_utils.h30 static AK_FORCE_INLINE int backoff(const int unigramProbability) { in backoff() function
Dforgetting_curve_utils.h104 static int backoff(const int unigramProbability);
Dforgetting_curve_utils.cpp149 /* static */ int ForgettingCurveUtils::backoff(const int unigramProbability) { in backoff() function in latinime::ForgettingCurveUtils
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Ddynamic_language_model_probability_utils.h37 static float backoff(const int ngramProbability, const NgramType ngramType) { in backoff() function
Dlanguage_model_dict_content.cpp102 probability = DynamicLanguageModelProbabilityUtils::backoff( in getWordAttributes()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionTask.java152 backoff(i); in sendRequest()
163 private static void backoff(int retryCount) { in backoff() method in TranscriptionTask
DGetTranscriptReceiver.java29 import com.android.dialer.common.backoff.ExponentialBaseCalculator;
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp84 auto backoff = BackoffSequence<milliseconds>::Builder() in bindSocket() local
92 if (!backoff.hasNextTimeout()) return ErrnoError(); in bindSocket()
95 std::this_thread::sleep_for(backoff.getNextTimeout()); in bindSocket()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp332 return ProbabilityUtils::backoff(unigramProbability); in getProbability()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp155 return ProbabilityUtils::backoff(unigramProbability); in getProbability()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java2608 boolean backoff) { in SwPnoScheduleInfo() argument
2616 this.mBackoff = backoff; in SwPnoScheduleInfo()
2632 boolean backoff) { in addSchedule() argument
2634 backoff)); in addSchedule()