/external/bouncycastle/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;
|
/system/media/opensles/libopensles/ |
IBassBoost.c | 86 static SLresult IBassBoost_SetStrength(SLBassBoostItf self, SLpermille strength) 90 if ((BASSBOOST_STRENGTH_MIN > strength) || (BASSBOOST_STRENGTH_MAX < strength)) { 96 this->mStrength = strength; 103 android_bb_setParam(this->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength); 123 SLpermille strength = this->mStrength;; local 131 android_bb_getParam(this->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength); 136 *pStrength = strength;
|
IVirtualizer.c | 88 static SLresult IVirtualizer_SetStrength(SLVirtualizerItf self, SLpermille strength) 92 if ((VIRTUALIZER_STRENGTH_MIN > strength) || (VIRTUALIZER_STRENGTH_MAX < strength)) { 98 this->mStrength = strength; 105 VIRTUALIZER_PARAM_STRENGTH, &strength); 125 SLpermille strength = this->mStrength;; local 133 VIRTUALIZER_PARAM_STRENGTH, &strength); 138 *pStrength = strength;
|
android_Effect.cpp | 257 // initialize strength 258 int16_t strength; local 260 BASSBOOST_PARAM_STRENGTH, &strength)) { 261 ibb->mStrength = (SLpermille) strength; 348 // initialize strength 349 int16_t strength; local 351 VIRTUALIZER_PARAM_STRENGTH, &strength)) { 352 ivi->mStrength = (SLpermille) strength;
|
/external/libvpx/vp8/encoder/ |
preproc.c | 42 void (*temp_filter)(pre_proc_instance *ppi, unsigned char *s, unsigned char *d, int bytes, int strength); 49 int strength 57 int strength 68 * int strength : Strength of filter to apply. 85 int strength 131 modifier >>= strength; local
|
/hardware/broadcom/wlan/bcm4329/src/shared/ |
hndpmu.c | 44 /* SDIO Pad drive strength to select value mappings */ 46 uint8 strength; /* Pad Drive Strength in mA */ member in struct:__anon9474 50 /* SDIO Drive Strength to sel value table for PMU Rev 1 */ 57 /* SDIO Drive Strength to sel value table for PMU Rev 2, 3 */ 100 PMU_MSG(("No SDIO Drive strength init done for chip %x rev %d pmurev %d\n", 111 for (i = 0; str_tab[i].strength != 0; i ++) { 112 if (drivestrength >= str_tab[i].strength) { 125 PMU_MSG(("SDIO: %dmA drive strength selected, set to 0x%08x\n",
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/ |
RSAKeyPairGenerator.java | 33 // p and q values should have a length of half the strength in bits 35 int strength = param.getStrength(); local 36 int pbitlength = (strength + 1) / 2; 37 int qbitlength = strength - pbitlength; 38 int mindiffbits = strength / 3;
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JDKAlgorithmParameterGenerator.java | 36 protected int strength = 1024; field in class:JDKAlgorithmParameterGenerator 39 int strength, 42 this.strength = strength; 62 this.strength = spec.getPrimeSize(); 73 pGen.init(strength, 20, random); 77 pGen.init(strength, 20, new SecureRandom()); 102 int strength, 105 if (strength < 512 || strength > 1024 || strength % 64 != 0 [all...] |
JDKKeyPairGenerator.java | 64 public abstract void initialize(int strength, SecureRandom random); 88 int strength, 92 random, strength, defaultTests); 133 int strength = 1024; field in class:JDKKeyPairGenerator.DH 144 int strength, 147 this.strength = strength; 173 Integer paramStrength = Integer.valueOf(strength); 184 pGen.init(strength, certainty, random); 210 int strength = 1024 field in class:JDKKeyPairGenerator.DSA [all...] |
/external/chromium/third_party/icu/source/i18n/ |
usrchimp.h | 69 UCollationStrength strength; member in struct:UStringSearch
|
tblcoll.cpp | 584 UCollationStrength strength = getUCollationStrength(newStrength); local 585 ucol_setAttribute(ucollator, UCOL_STRENGTH, strength, &intStatus);
|
ucol_tok.h | 79 uint32_t strength; member in struct:UColToken 95 uint32_t strength; member in struct:__anon2898 172 uint32_t strength); 176 uint32_t strength);
|
/frameworks/base/media/java/android/media/audiofx/ |
BassBoost.java | 57 * Is strength parameter supported by bass boost engine. Parameter ID for getParameter(). 61 * Bass boost effect strength. Parameter ID for 67 * Indicates if strength parameter is supported by the bass boost engine 112 * Indicates whether setting strength is supported. If this method returns false, only one 113 * strength is supported and the setStrength() method always rounds to that value. 114 * @return true is strength parameter is supported, false otherwise 121 * Sets the strength of the bass boost effect. If the implementation does not support per mille 122 * accuracy for setting the strength, it is allowed to round the given strength to the nearest 125 * @param strength strength of the effect. The valid range for strength strength is [0, 1000] 221 public short strength; field in class:BassBoost.Settings [all...] |
Virtualizer.java | 58 * Is strength parameter supported by virtualizer engine. Parameter ID for getParameter(). 62 * Virtualizer effect strength. Parameter ID for 68 * Indicates if strength parameter is supported by the virtualizer engine 113 * Indicates whether setting strength is supported. If this method returns false, only one 114 * strength is supported and the setStrength() method always rounds to that value. 115 * @return true is strength parameter is supported, false otherwise 122 * Sets the strength of the virtualizer effect. If the implementation does not support per mille 123 * accuracy for setting the strength, it is allowed to round the given strength to the nearest 126 * @param strength strength of the effect. The valid range for strength strength is [0, 1000] 222 public short strength; field in class:Virtualizer.Settings [all...] |
/frameworks/base/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...] |
/system/media/opensles/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); 254 fprintf(stdout, "and applies a bass boost effect of the specified strength,\n"); 255 fprintf(stdout, "where strength is a integer value between 0 and 1000.\n"); 276 // intentionally not checking that argv[2], the bassboost strength, is between 0 and 100 [all...] |
slesTestVirtualizerPath.cpp | 198 fprintf(stdout, "Virtualizer strength is not supported on this platform. Too bad!\n"); 200 fprintf(stdout, "Virtualizer strength is supported, setting strength to %d\n", 206 SLpermille strength = 0; local 207 result = (*virtItf)->GetRoundedStrength(virtItf, &strength); 209 fprintf(stdout, "Rounded strength of virt = %d\n", strength); 255 fprintf(stdout, "and applies a virtualization effect of the specified strength,\n"); 256 fprintf(stdout, "where strength is an integer value between 0 and 1000.\n"); 277 // intentionally not checking that argv[2], the virtualizer strength, is between 0 and 100 [all...] |
/external/bluetooth/bluez/audio/ |
telephony-dummy.c | 306 dbus_uint32_t strength; local 308 if (!dbus_message_get_args(msg, NULL, DBUS_TYPE_UINT32, &strength, 312 if (strength > 5) 315 telephony_update_indicator(dummy_indicators, "signal", strength); 317 DBG("telephony-dummy: signal strength set to %u", strength);
|
/external/chromium/third_party/icu/source/test/cintltst/ |
usrchdat.c | 30 UCollationStrength strength; member in struct:SearchData 93 static const SearchData STRENGTH[] = {
|
/external/icu4c/i18n/ |
tblcoll.cpp | 584 UCollationStrength strength = getUCollationStrength(newStrength); local 585 ucol_setAttribute(ucollator, UCOL_STRENGTH, strength, &intStatus);
|
usrchimp.h | 72 UCollationStrength strength; member in struct:UStringSearch
|
/external/icu4c/test/cintltst/ |
usrchdat.c | 30 UCollationStrength strength; member in struct:SearchData 117 static const SearchData STRENGTH[] = { [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
BassBoostTest.java | 102 //Test case 1.0: test strength 124 short strength = mBassBoost.getRoundedStrength(); local 125 strength = (strength == TEST_STRENGTH) ? TEST_STRENGTH2 : TEST_STRENGTH; 126 mBassBoost.setStrength((short)strength); 128 // allow STRENGTH_TOLERANCE difference between set strength and rounded strength 129 assertTrue("got incorrect strength", 130 ((float)strength2 > (float)strength / STRENGTH_TOLERANCE) && 131 ((float)strength2 < (float)strength * STRENGTH_TOLERANCE)) 133 short strength = mBassBoost.getRoundedStrength(); local 168 short strength = settings.strength; local [all...] |
VirtualizerTest.java | 101 //Test case 1.0: test strength 123 short strength = mVirtualizer.getRoundedStrength(); local 124 strength = (strength == TEST_STRENGTH) ? TEST_STRENGTH2 : TEST_STRENGTH; 125 mVirtualizer.setStrength((short)strength); 127 // allow STRENGTH_TOLERANCE difference between set strength and rounded strength 128 assertTrue("got incorrect strength", 129 ((float)strength2 > (float)strength / STRENGTH_TOLERANCE) && 130 ((float)strength2 < (float)strength * STRENGTH_TOLERANCE)) 132 short strength = mVirtualizer.getRoundedStrength(); local 166 short strength = settings.strength; local [all...] |