HomeSort by relevance Sort by last modified time
    Searched refs:strength (Results 1 - 25 of 296) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
KeyGenerationParameters.java 11 private int strength; field in class:KeyGenerationParameters
15 * and a strength (in bits).
18 * @param strength the size, in bits, of the keys we want to produce.
22 int strength)
25 this.strength = strength;
40 * return the bit strength for keys produced by this generator,
42 * @return the strength of the keys this generator produces (in bits).
46 return strength;
CipherKeyGenerator.java 11 protected int strength; field in class:CipherKeyGenerator
22 this.strength = (param.getStrength() + 7) / 8;
32 byte[] key = new byte[strength];
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseAlgorithmParameterGenerator.java 10 protected int strength = 1024; field in class:BaseAlgorithmParameterGenerator
13 int strength,
16 this.strength = strength;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DESedeKeyGenerator.java 10 * initialise the key generator - if strength is set to zero
12 * strength can be 128 or 192 (or 112 or 168 if you don't count
22 this.strength = (param.getStrength() + 7) / 8;
24 if (strength == 0 || strength == (168 / 8))
26 strength = DESedeParameters.DES_EDE_KEY_LENGTH;
28 else if (strength == (112 / 8))
30 strength = 2 * DESedeParameters.DES_KEY_LENGTH;
32 else if (strength != DESedeParameters.DES_EDE_KEY_LENGTH
33 && strength != (2 * DESedeParameters.DES_KEY_LENGTH)
    [all...]
DESKeyGenerator.java 11 * initialise the key generator - if strength is set to zero
13 * strength can be 64 or 56 bits (if you don't count the parity bits).
22 if (strength == 0 || strength == (56 / 8))
24 strength = DESParameters.DES_KEY_LENGTH;
26 else if (strength != DESParameters.DES_KEY_LENGTH)
  /external/chromium_org/third_party/libwebp/utils/
quant_levels_dec.h 25 // Strength is in [0..100] and controls the amount of dithering applied.
29 int strength);
  /external/webp/src/utils/
quant_levels_dec.h 25 // Strength is in [0..100] and controls the amount of dithering applied.
29 int strength);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
AlgorithmParameterGeneratorSpi.java 20 protected int strength = 1024; field in class:AlgorithmParameterGeneratorSpi
24 int strength,
27 if (strength < 512 || strength > 3072)
29 throw new InvalidParameterException("strength must be from 512 - 3072");
32 if (strength <= 1024 && strength % 64 != 0)
34 throw new InvalidParameterException("strength must be a multiple of 64 below 1024 bits.");
37 if (strength > 1024 && strength % 1024 != 0
    [all...]
KeyPairGeneratorSpi.java 23 int strength = 1024; field in class:KeyPairGeneratorSpi
34 int strength,
37 if (strength < 512 || strength > 1024 || strength % 64 != 0)
39 throw new InvalidParameterException("strength must be from 512 - 1024 and a multiple of 64");
42 this.strength = strength;
69 pGen.init(strength, certainty, random);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
AlgorithmParameterGeneratorSpi.java 19 protected int strength = 1024; field in class:AlgorithmParameterGeneratorSpi
24 int strength,
27 this.strength = strength;
42 this.strength = spec.getPrimeSize();
53 pGen.init(strength, 20, random);
57 pGen.init(strength, 20, new SecureRandom());
KeyPairGeneratorSpi.java 29 int strength = 1024; field in class:KeyPairGeneratorSpi
40 int strength,
43 this.strength = strength;
68 Integer paramStrength = Integers.valueOf(strength);
76 DHParameterSpec dhParams = BouncyCastleProvider.CONFIGURATION.getDHDefaultParameters(strength);
97 pGen.init(strength, certainty, random);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
RSAKeyGenerationParameters.java 17 int strength,
20 super(random, strength);
22 if (strength < 12)
24 throw new IllegalArgumentException("key strength too small");
  /cts/tests/tests/media/src/android/media/cts/
BassBoostTest.java 77 //Test case 1.0: test strength
85 short strength = mBassBoost.getRoundedStrength(); local
86 strength = (strength == TEST_STRENGTH) ? TEST_STRENGTH2 : TEST_STRENGTH;
87 mBassBoost.setStrength((short)strength);
89 // allow STRENGTH_TOLERANCE difference between set strength and rounded strength
90 assertTrue("got incorrect strength",
91 ((float)strength2 > (float)strength / STRENGTH_TOLERANCE) &&
92 ((float)strength2 < (float)strength * STRENGTH_TOLERANCE))
94 short strength = mBassBoost.getRoundedStrength(); local
120 short strength = settings.strength; local
    [all...]
VirtualizerTest.java 77 //Test case 1.0: test strength
86 short strength = mVirtualizer.getRoundedStrength(); local
87 strength = (strength == TEST_STRENGTH) ? TEST_STRENGTH2 : TEST_STRENGTH;
88 mVirtualizer.setStrength((short)strength);
90 // allow STRENGTH_TOLERANCE difference between set strength and rounded strength
91 assertTrue("got incorrect strength",
92 ((float)strength2 > (float)strength / STRENGTH_TOLERANCE) &&
93 ((float)strength2 < (float)strength * STRENGTH_TOLERANCE))
95 short strength = mVirtualizer.getRoundedStrength(); local
121 short strength = settings.strength; local
    [all...]
  /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
post_filter.cpp 189 int mbnum, strength, A_D, d1_2, d1, d2, A, B, C, D, b_size; local
220 strength = STRENGTH_tab[QP_store[mbnum]];
233 if (d1 < -(strength << 1))
237 else if (d1 < -strength)
239 d1 = -d1 - (strength << 1);
246 if (d1 > (strength << 1))
250 else if (d1 > strength)
252 d1 = (strength << 1) - d1;
311 strength = STRENGTH_tab[(annex_T ? MQ_chroma_QP_table[QP_store[mbnum]] : QP_store[mbnum])];
315 strength = STRENGTH_tab[(annex_T ? MQ_chroma_QP_table[QP_store[mbnum - nMBPerRow]] : QP_store[mbnum - nMBP (…)
    [all...]
  /frameworks/base/media/java/android/media/audiofx/
BassBoost.java 48 * Is strength parameter supported by bass boost engine. Parameter ID for getParameter().
52 * Bass boost effect strength. Parameter ID for
58 * Indicates if strength parameter is supported by the bass boost engine
106 * Indicates whether setting strength is supported. If this method returns false, only one
107 * strength is supported and the setStrength() method always rounds to that value.
108 * @return true is strength parameter is supported, false otherwise
115 * Sets the strength of the bass boost effect. If the implementation does not support per mille
116 * accuracy for setting the strength, it is allowed to round the given strength to the nearest
119 * @param strength strength of the effect. The valid range for strength strength is [0, 1000]
215 public short strength; field in class:BassBoost.Settings
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
ssearch.h 52 const char *name, const char *strength, uint32_t seed);
56 const char *name, const char *strength, uint32_t seed);
  /frameworks/wilhelm/src/itf/
IBassBoost.c 89 static SLresult IBassBoost_SetStrength(SLBassBoostItf self, SLpermille strength)
93 if ((BASSBOOST_STRENGTH_MIN > strength) || (BASSBOOST_STRENGTH_MAX < strength)) {
99 thiz->mStrength = strength;
106 android_bb_setParam(thiz->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength);
126 SLpermille strength = thiz->mStrength;; local
134 android_bb_getParam(thiz->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength);
139 *pStrength = strength;
IVirtualizer.c 91 static SLresult IVirtualizer_SetStrength(SLVirtualizerItf self, SLpermille strength)
95 if ((VIRTUALIZER_STRENGTH_MIN > strength) || (VIRTUALIZER_STRENGTH_MAX < strength)) {
101 thiz->mStrength = strength;
108 VIRTUALIZER_PARAM_STRENGTH, &strength);
128 SLpermille strength = thiz->mStrength;; local
136 VIRTUALIZER_PARAM_STRENGTH, &strength);
141 *pStrength = strength;
  /external/icu/icu4c/source/test/intltest/
ssearch.h 43 const char *name, const char *strength, uint32_t seed);
  /external/icu/icu4c/source/i18n/
collationbuilder.cpp 108 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, ECollationStrength strength,
116 internalBuildTailoring(rules, strength, UCOL_DEFAULT, NULL, NULL, errorCode);
132 ECollationStrength strength,
141 internalBuildTailoring(rules, strength, decompositionMode, NULL, NULL, errorCode);
158 int32_t strength,
182 if(strength != UCOL_DEFAULT) {
183 setAttribute(UCOL_STRENGTH, (UColAttributeValue)strength, errorCode);
285 CollationBuilder::addReset(int32_t strength, const UnicodeString &str,
308 if(strength == UCOL_IDENTICAL) { return; } // simple reset-at-position
310 // &[before strength]positio
476 int32_t strength = UCOL_PRIMARY; local
1030 int32_t strength = ceStrength(ce); local
1377 int32_t strength = strengthFromNode(node); local
    [all...]
collationbuilder.h 57 virtual void addReset(int32_t strength, const UnicodeString &str,
64 virtual void addRelation(int32_t strength, const UnicodeString &prefix,
70 * for the CE + strength.
72 int32_t findOrInsertNodeForCEs(int32_t strength, const char *&parserErrorReason,
74 int32_t findOrInsertNodeForRootCE(int64_t ce, int32_t strength, UErrorCode &errorCode);
83 * Skips over nodes of weaker strength to maintain collation order
87 int32_t insertTailoredNodeAfter(int32_t index, int32_t strength, UErrorCode &errorCode);
98 * Finds the node which implies or contains a common=05 weight of the given strength
102 * Always returns the input index if that node is no stronger than the given strength.
104 int32_t findCommonNode(int32_t index, int32_t strength) const
    [all...]
  /hardware/qcom/audio/post_proc/
bass_boost.c 47 ALOGV("%s: strength: %d", __func__, context->strength);
48 return context->strength;
51 int bassboost_set_strength(bassboost_context_t *context, uint32_t strength)
53 ALOGV("%s: strength: %d", __func__, strength);
54 context->strength = strength;
56 offload_bassboost_set_strength(&(context->offload_bass), strength);
125 uint32_t strength; local
    [all...]
virtualizer.c 47 ALOGV("%s: strength: %d", __func__, context->strength);
48 return context->strength;
51 int virtualizer_set_strength(virtualizer_context_t *context, uint32_t strength)
53 ALOGV("%s: strength: %d", __func__, strength);
54 context->strength = strength;
56 offload_virtualizer_set_strength(&(context->offload_virt), strength);
125 uint32_t strength; local
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaBassBoostTest.java 119 //Test case 1.0: test strength
128 short strength = mBassBoost.getRoundedStrength(); local
129 // allow 10% difference between set strength and rounded strength
130 assertTrue(msg +": got incorrect strength",
131 ((float)strength > (float)TEST_STRENGTH * 0.9f) &&
132 ((float)strength < (float)TEST_STRENGTH * 1.1f));
134 short strength = mBassBoost.getRoundedStrength(); local
135 assertTrue(msg +": got incorrect strength", strength >= 0 && strength <= 1000)
    [all...]

Completed in 1524 milliseconds

1 2 3 4 5 6 7 8 91011>>