/system/netd/libnetdutils/ |
BackoffSequenceTest.cpp | 25 BackoffSequence<uint32_t> backoff; local 27 EXPECT_TRUE(backoff.hasNextTimeout()); 28 EXPECT_EQ(0x00000001U, backoff.getNextTimeout()); 29 EXPECT_EQ(0x00000002U, backoff.getNextTimeout()); 30 EXPECT_EQ(0x00000004U, backoff.getNextTimeout()); 31 EXPECT_EQ(0x00000008U, backoff.getNextTimeout()); 32 EXPECT_EQ(0x00000010U, backoff.getNextTimeout()); 33 EXPECT_EQ(0x00000020U, backoff.getNextTimeout()); 34 EXPECT_EQ(0x00000040U, backoff.getNextTimeout()); 35 EXPECT_EQ(0x00000080U, backoff.getNextTimeout()) 68 auto backoff = BackoffSequence<uint32_t>::Builder() local 94 auto backoff = BackoffSequence<uint32_t>::Builder() local 115 auto backoff = BackoffSequence<int>::Builder() local 133 auto backoff = BackoffSequence<std::chrono::seconds>::Builder() local 145 auto backoff = BackoffSequence<std::chrono::milliseconds>::Builder() local 158 auto backoff = BackoffSequence<std::chrono::hours>::Builder() local 171 auto backoff = BackoffSequence<std::chrono::nanoseconds>::Builder() local [all...] |
/packages/apps/Dialer/java/com/android/dialer/common/backoff/ |
ExponentialBackoff.java | 17 package com.android.dialer.common.backoff; 22 * Given an initial backoff delay, D, a base multiplier, B, and a total number of backoffs, N, this 31 * ExponentialBackoff backoff = new ExponentialBackoff(initialDelayMillis, multiplier, backoffs); 32 * while (backoff.isInRange()) { 34 * sleep(backoff.getNextBackoff()); 48 * Setup an exponential backoff with an initial delay, a base multiplier and a maximum number of 49 * backoff steps. 64 * @return the next backoff time in the exponential sequence. Specifically, if D is the initial 69 long backoff = Math.round(nextBackoff); local 72 return backoff; [all...] |
ExponentialBaseCalculator.java | 17 package com.android.dialer.common.backoff; 22 * Given an initial delay, D, a maximum total backoff time, T, and a maximum number of backoffs, N, 24 * backoff is g*b = D and the sum of the scaled backoffs is T = g*b + g*b^2 + g*b^3 + ... g*b^N 33 * // Retry with exponential backoff for up to 2 minutes, with an initial delay of 100 millis 41 * ExponentialBackoff backoff = new ExponentialBackoff(initialDelayMillis, base, maxTries); 42 * while (backoff.isInRange()) { 44 * long delay = backoff.getNextBackoff(); 54 * Calculate an exponential backoff base multiplier such that the first backoff delay will be as 58 * @throws IllegalArgumentException if the initial delay is greater than the total backoff tim [all...] |
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
probability_utils.h | 30 static AK_FORCE_INLINE int backoff(const int unigramProbability) { function in class:latinime::ProbabilityUtils 32 // For some reason, applying the backoff weight gives bad results in tests. To apply the 33 // backoff weight, we divide the probability by 2, which in our storing format means
|
forgetting_curve_utils.cpp | 148 // See comments in ProbabilityUtils::backoff(). 149 /* static */ int ForgettingCurveUtils::backoff(const int unigramProbability) { function in class:latinime::ForgettingCurveUtils
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
dynamic_language_model_probability_utils.h | 37 static float backoff(const int ngramProbability, const NgramType ngramType) { function in class:latinime::DynamicLanguageModelProbabilityUtils
|
/external/tensorflow/tensorflow/contrib/lite/models/smartreply/demo/app/src/main/java/com/example/android/smartreply/ |
SmartReplyClient.java | 62 String[] backoff = loadBackoffList(); local 63 storage = loadJNI(model, backoff); 122 private native long loadJNI(MappedByteBuffer buffer, String[] backoff);
|
/external/ltp/tools/genload/ |
genload.c | 41 /* By default, use this as backoff coefficient for good fork throughput. */ 145 } else if (strcmp(arg, "--backoff") == 0) { 146 assert_arg("--backoff"); 149 err(stderr, "invalid backoff factor: %i\n", 153 dbg(stdout, "setting backoff coeffient to %dus\n", 344 " --backoff n wait for factor of n us before starting work\n" 475 long backoff = global_backoff * forks; local 477 dbg(stdout, "using backoff sleep of %lius for hogcpu\n", backoff); 484 /* Use a backoff sleep to ensure we get good fork throughput. * 551 long backoff = global_backoff * forks; local 627 long backoff = global_backoff * forks; local 750 long backoff = global_backoff * forks; local [all...] |
stress.c | 41 /* By default, use this as backoff coefficient for good fork throughput. */ 145 } else if (strcmp(arg, "--backoff") == 0) { 146 assert_arg("--backoff"); 149 err(stderr, "invalid backoff factor: %i\n", 153 dbg(stdout, "setting backoff coeffient to %dus\n", 344 " --backoff n wait for factor of n us before starting work\n" 475 long backoff = global_backoff * forks; local 477 dbg(stdout, "using backoff sleep of %lius for hogcpu\n", backoff); 484 /* Use a backoff sleep to ensure we get good fork throughput. * 551 long backoff = global_backoff * forks; local 627 long backoff = global_backoff * forks; local 750 long backoff = global_backoff * forks; local [all...] |
/frameworks/ex/common/java/com/android/common/ |
OperationScheduler.java | 28 * exponential backoff, periodic rescheduling, event-driven triggering, 60 "OperationScheduler.Options[backoff=%.1f+%.1f+%.1f max=%.1f min=%.1f period=%.1f]", 67 "OperationScheduler.Options[backoff=%.1f+%.1f max=%.1f min=%.1f period=%.1f]", 90 * backoff=(fixed)+(incremental)[+(exponential)] max=(maxmoratorium) min=(mintrigger) [period=](interval) 97 * The default options: <code>backoff=0+5 max=86400 min=0 period=0</code><br> 98 * Fractions are OK: <code>backoff=+2.5 period=10.0</code><br> 110 if (param.startsWith("backoff=")) { 113 throw new IllegalArgumentException("bad value for backoff: [" + spec + "]"); 182 long backoff = options.backoffFixedMillis + local 186 // Treat backoff like a moratorium: don't let the backoff time grow too large [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/ |
TranscriptionTask.java | 152 backoff(i); 163 private static void backoff(int retryCount) { method in class:TranscriptionTask 164 VvmLog.i(TAG, "backoff, count: " + retryCount);
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
PerformFullTransportBackupTask.java | 315 long backoff = 0; local 521 backoff = transport.requestFullBackupTime(); 523 Slog.i(TAG, "Transport suggested backoff=" + backoff); [all...] |
/external/iproute2/misc/ |
ss.c | 704 int qack, ssthresh, backoff; member in struct:tcpstat [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
SyncManager.java | 146 * Each {@link EndPoint} has a backoff associated with it. When a SyncOperation fails, we increase 147 * the backoff on the authority. Then we reschedule all syncs associated with that authority to 148 * run at a later time. Similarly, when a sync succeeds, backoff is cleared and all associated syncs 1379 Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(target); local 1427 final long backoff = now + newDelayInMs; local 1474 Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(target); local 1509 Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(syncOperation.target); local [all...] |
/frameworks/base/services/core/java/com/android/server/job/ |
JobSchedulerService.java | 460 * The minimum backoff time to allow for linear backoff. 464 * The minimum backoff time to allow for exponential backoff. 1383 long backoff = initialBackoffMillis; local 1394 long backoff = initialBackoffMillis; local [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |
/prebuilts/misc/common/robolectric/android-all/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |
/prebuilts/tools/common/m2/repository/io/netty/netty-common/4.1.3.Final/ |
netty-common-4.1.3.Final.jar | |
/prebuilts/tools/common/m2/repository/io/netty/netty-common/4.1.6.Final/ |
netty-common-4.1.6.Final.jar | |