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

1 2 3 4 5 6 7 8 910

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
CipherKeyGenerator.java 11 protected int strength; field in class:CipherKeyGenerator
22 this.strength = (param.getStrength() + 7) / 8;
32 byte[] key = new byte[strength];
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;
  /hardware/qcom/audio/post_proc/
bass_boost.h 27 int strength; member in struct:bassboost_context_s
virtualizer.h 27 int strength; member in struct:virtualizer_context_s
bass_boost.c 48 ALOGV("%s: strength: %d", __func__, context->strength);
49 return context->strength;
52 int bassboost_set_strength(bassboost_context_t *context, uint32_t strength)
54 ALOGV("%s: strength: %d", __func__, strength);
55 context->strength = strength;
57 offload_bassboost_set_strength(&(context->offload_bass), strength);
126 uint32_t strength; local
    [all...]
virtualizer.c 48 ALOGV("%s: strength: %d", __func__, context->strength);
49 return context->strength;
52 int virtualizer_set_strength(virtualizer_context_t *context, uint32_t strength)
54 ALOGV("%s: strength: %d", __func__, strength);
55 context->strength = strength;
57 offload_virtualizer_set_strength(&(context->offload_virt), strength);
126 uint32_t strength; local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseAlgorithmParameterGenerator.java 18 protected int strength = 1024; field in class:BaseAlgorithmParameterGenerator
31 int strength,
34 this.strength = strength;
  /frameworks/wilhelm/src/itf/
IBassBoost.cpp 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.cpp 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/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;
69 Integer paramStrength = Integers.valueOf(strength);
77 DHParameterSpec dhParams = BouncyCastleProvider.CONFIGURATION.getDHDefaultParameters(strength);
98 pGen.init(strength, certainty, random);
  /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 31 int strength = 1024; field in class:KeyPairGeneratorSpi
42 int strength,
45 if (strength < 512 || strength > 4096 || ((strength < 1024) && strength % 64 != 0) || (strength >= 1024 && strength % 1024 != 0))
47 throw new InvalidParameterException("strength must be from 512 - 4096 and a multiple of 1024 above 1024");
50 this.strength = strength
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
CacheValue.java 20 * depending on the current "strength" when {@code getInstance()} was called.
38 * "Strength" of holding a value in CacheValue instances.
39 * The default strength is {@code SOFT}.
41 public enum Strength {
53 private static volatile Strength strength = Strength.SOFT; field in class:CacheValue
59 * Changes the "strength" of value references for subsequent {@code getInstance()} calls.
61 public static void setStrength(Strength strength) { CacheValue.strength = strength;
    [all...]
  /external/icu/icu4c/source/i18n/
collationcompare.cpp 186 int32_t strength = CollationSettings::getStrength(options); local
191 if(strength == UCOL_PRIMARY) {
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
CacheValue.java 19 * depending on the current "strength" when {@code getInstance()} was called.
36 * "Strength" of holding a value in CacheValue instances.
37 * The default strength is {@code SOFT}.
39 public enum Strength {
51 private static volatile Strength strength = Strength.SOFT; field in class:CacheValue
57 * Changes the "strength" of value references for subsequent {@code getInstance()} calls.
59 public static void setStrength(Strength strength) { CacheValue.strength = strength;
    [all...]
  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
CollatorICU.java 101 int strength; local
105 strength = java.text.Collator.IDENTICAL;
108 strength = java.text.Collator.PRIMARY;
111 strength = java.text.Collator.SECONDARY;
114 strength = java.text.Collator.TERTIARY;
119 strength = java.text.Collator.TERTIARY;
122 throw new IllegalStateException("Unknown strength is used by the ICU Collator.");
124 return strength;
143 // This option is interpreted as IDENTICAL strength.
167 throw new IllegalArgumentException("Invalid strength.")
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
RSAKeyPairGenerator.java 37 // p and q values should have a length of half the strength in bits
39 int strength = param.getStrength(); local
40 int pbitlength = (strength + 1) / 2;
41 int qbitlength = strength - pbitlength;
42 int mindiffbits = (strength / 2) - 100;
44 if (mindiffbits < strength / 3)
46 mindiffbits = strength / 3;
49 int minWeight = strength >> 2;
51 // d lower bound is 2^(strength / 2)
52 BigInteger dLowerBound = BigInteger.valueOf(2).pow(strength / 2)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
CollationCompare.java 180 int strength = CollationSettings.getStrength(options); local
185 if (strength == Collator.PRIMARY) {
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
CollationCompare.java 176 int strength = CollationSettings.getStrength(options); local
181 if (strength == Collator.PRIMARY) {
  /external/libopus/silk/float/
noise_shape_analysis_FLP.c 139 silk_float delta, BWExp1, BWExp2, gain_mult, gain_add, strength, b, warping; local
212 strength = FIND_PITCH_WHITE_NOISE_FRACTION * psEncCtrl->predGain; /* between 0.0 and 1.0 */
213 BWExp1 = BWExp2 = BANDWIDTH_EXPANSION / ( 1.0f + strength * strength );
308 strength = LOW_FREQ_SHAPING * ( 1.0f + LOW_QUALITY_LOW_FREQ_SHAPING_DECR * ( psEnc->sCmn.input_quality_bands_Q15[ 0 ] * ( 1.0f / 32768.0f ) - 1.0f ) );
309 strength *= psEnc->sCmn.speech_activity_Q8 * ( 1.0f / 256.0f );
316 psEncCtrl->LF_AR_shp[ k ] = 1.0f - b - b * strength;
323 psEncCtrl->LF_AR_shp[ 0 ] = 1.0f - b - b * strength * 0.6f;
  /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...]
  /frameworks/wilhelm/tests/examples/
slesTestBassBoostPath.cpp 198 fprintf(stdout, "BassBoost strength is not supported on this platform. Too bad!\n");
200 fprintf(stdout, "BassBoost strength is supported, setting strength to %d\n", boostStrength);
205 SLpermille strength = 0; local
206 result = (*bbItf)->GetRoundedStrength(bbItf, &strength);
208 fprintf(stdout, "Rounded strength of boost = %d\n", strength);
257 fprintf(stdout, "and applies a bass boost effect of the specified strength,\n");
258 fprintf(stdout, "where strength is a integer value between 0 and 1000.\n");
287 // intentionally not checking that argv[2], the bassboost strength, is between 0 and 100
    [all...]
slesTestVirtualizerPath.cpp 199 fprintf(stdout, "Virtualizer strength is not supported on this platform. Too bad!\n");
201 fprintf(stdout, "Virtualizer strength is supported, setting strength to %d\n",
207 SLpermille strength = 0; local
208 result = (*virtItf)->GetRoundedStrength(virtItf, &strength);
210 fprintf(stdout, "Rounded strength of virt = %d\n", strength);
259 fprintf(stdout, "and applies a virtualization effect of the specified strength,\n");
260 fprintf(stdout, "where strength is an integer value between 0 and 1000.\n");
289 // intentionally not checking that argv[2], the virtualizer strength, is between 0 and 100
    [all...]

Completed in 1593 milliseconds

1 2 3 4 5 6 7 8 910