Home
last modified time | relevance | path

Searched refs:strength (Results 1 – 25 of 115) sorted by relevance

12345

/frameworks/av/media/module/codecs/m4v_h263/dec/src/
Dpost_filter.cpp43 int mbnum, strength, A_D, d1_2, d1, d2, A, B, C, D, b_size; in H263_Deblock() local
74 strength = STRENGTH_tab[QP_store[mbnum]]; in H263_Deblock()
87 if (d1 < -(strength << 1)) in H263_Deblock()
91 else if (d1 < -strength) in H263_Deblock()
93 d1 = -d1 - (strength << 1); in H263_Deblock()
100 if (d1 > (strength << 1)) in H263_Deblock()
104 else if (d1 > strength) in H263_Deblock()
106 d1 = (strength << 1) - d1; in H263_Deblock()
165strength = STRENGTH_tab[(annex_T ? MQ_chroma_QP_table[QP_store[mbnum]] : QP_store[mbnum])]; in H263_Deblock()
169strength = STRENGTH_tab[(annex_T ? MQ_chroma_QP_table[QP_store[mbnum - nMBPerRow]] : QP_store[mbn… in H263_Deblock()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DMultiBiometricLockoutState.java68 void setPermanentLockOut(int userId, @Authenticators.Types int strength) { in setPermanentLockOut() argument
70 switch (strength) { in setPermanentLockOut()
81 Slog.e(TAG, "increaseLockoutTime called for invalid strength : " + strength); in setPermanentLockOut()
85 void clearPermanentLockOut(int userId, @Authenticators.Types int strength) { in clearPermanentLockOut() argument
87 switch (strength) { in clearPermanentLockOut()
98 Slog.e(TAG, "increaseLockoutTime called for invalid strength : " + strength); in clearPermanentLockOut()
102 void setTimedLockout(int userId, @Authenticators.Types int strength) { in setTimedLockout() argument
104 switch (strength) { in setTimedLockout()
115 Slog.e(TAG, "increaseLockoutTime called for invalid strength : " + strength); in setTimedLockout()
119 void clearTimedLockout(int userId, @Authenticators.Types int strength) { in clearTimedLockout() argument
[all …]
DAuthResultCoordinator.java61 private void updateState(@Authenticators.Types int strength, IntFunction<Integer> mapper) { in updateState() argument
62 switch (strength) { in updateState()
81 void authenticatedFor(@Authenticators.Types int strength) { in authenticatedFor() argument
83 if (strength == Authenticators.BIOMETRIC_STRONG) { in authenticatedFor()
84 updateState(strength, (old) -> AUTHENTICATOR_UNLOCKED | old); in authenticatedFor()
91 void lockedOutFor(@Authenticators.Types int strength) { in lockedOutFor() argument
92 updateState(strength, (old) -> AUTHENTICATOR_PERMANENT_LOCKED | old); in lockedOutFor()
98 void lockOutTimed(@Authenticators.Types int strength) { in lockOutTimed() argument
99 updateState(strength, (old) -> AUTHENTICATOR_TIMED_LOCKED | old); in lockOutTimed()
DAuthResult.java28 AuthResult(int status, @BiometricManager.Authenticators.Types int strength) { in AuthResult() argument
30 mBiometricStrength = strength; in AuthResult()
/frameworks/base/media/java/android/media/audiofx/
DBassBoost.java125 public void setStrength(short strength) in setStrength() argument
127 checkStatus(setParameter(PARAM_STRENGTH, strength)); in setStrength()
215 public short strength; field in BassBoost.Settings
241 strength = Short.parseShort(st.nextToken()); in Settings()
251 ";strength="+Short.toString(strength) in toString()
271 settings.strength = value[0]; in getProperties()
285 checkStatus(setParameter(PARAM_STRENGTH, settings.strength)); in setProperties()
DVirtualizer.java156 public void setStrength(short strength) in setStrength() argument
158 checkStatus(setParameter(PARAM_STRENGTH, strength)); in setStrength()
562 public short strength; field in Virtualizer.Settings
588 strength = Short.parseShort(st.nextToken()); in Settings()
598 ";strength="+Short.toString(strength) in toString()
618 settings.strength = value[0]; in getProperties()
632 checkStatus(setParameter(PARAM_STRENGTH, settings.strength)); in setProperties()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/data/repository/
DFakeFingerprintPropertyRepository.kt38 override val strength = _strength.asStateFlow() constant in com.android.systemui.biometrics.data.repository.FakeFingerprintPropertyRepository
50 strength: SensorStrength, in setProperties()
55 _strength.value = strength in setProperties()
65 strength = SensorStrength.STRONG, in supportsUdfps()
75 strength = SensorStrength.STRONG, in supportsSideFps()
85 strength = SensorStrength.STRONG, in supportsRearFps()
/frameworks/wilhelm/src/itf/
DIBassBoost.cpp89 static SLresult IBassBoost_SetStrength(SLBassBoostItf self, SLpermille strength) in IBassBoost_SetStrength() argument
93 if ((BASSBOOST_STRENGTH_MIN > strength) || (BASSBOOST_STRENGTH_MAX < strength)) { in IBassBoost_SetStrength()
99 thiz->mStrength = strength; in IBassBoost_SetStrength()
106 android_bb_setParam(thiz->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength); in IBassBoost_SetStrength()
126 SLpermille strength = thiz->mStrength;; in IBassBoost_GetRoundedStrength() local
134 android_bb_getParam(thiz->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength); in IBassBoost_GetRoundedStrength()
139 *pStrength = strength; in IBassBoost_GetRoundedStrength()
DIVirtualizer.cpp91 static SLresult IVirtualizer_SetStrength(SLVirtualizerItf self, SLpermille strength) in IVirtualizer_SetStrength() argument
95 if ((VIRTUALIZER_STRENGTH_MIN > strength) || (VIRTUALIZER_STRENGTH_MAX < strength)) { in IVirtualizer_SetStrength()
101 thiz->mStrength = strength; in IVirtualizer_SetStrength()
108 VIRTUALIZER_PARAM_STRENGTH, &strength); in IVirtualizer_SetStrength()
128 SLpermille strength = thiz->mStrength;; in IVirtualizer_GetRoundedStrength() local
136 VIRTUALIZER_PARAM_STRENGTH, &strength); in IVirtualizer_GetRoundedStrength()
141 *pStrength = strength; in IVirtualizer_GetRoundedStrength()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaBassBoostTest.java114 short strength = mBassBoost.getRoundedStrength(); in test1_0Strength() local
117 ((float)strength > (float)TEST_STRENGTH * 0.9f) && in test1_0Strength()
118 ((float)strength < (float)TEST_STRENGTH * 1.1f)); in test1_0Strength()
120 short strength = mBassBoost.getRoundedStrength(); in test1_0Strength() local
121 assertTrue(msg +": got incorrect strength", strength >= 0 && strength <= 1000); in test1_0Strength()
DMediaVirtualizerTest.java115 short strength = mVirtualizer.getRoundedStrength(); in test1_0Strength() local
118 ((float)strength > (float)TEST_STRENGTH * 0.9f) && in test1_0Strength()
119 ((float)strength < (float)TEST_STRENGTH * 1.1f)); in test1_0Strength()
121 short strength = mVirtualizer.getRoundedStrength(); in test1_0Strength() local
122 assertTrue(msg +": got incorrect strength", strength >= 0 && strength <= 1000); in test1_0Strength()
/frameworks/base/core/java/android/hardware/
DSensorAdditionalInfo.java258 float strength, float declination, float inclination) { in createLocalGeomagneticField() argument
259 if (strength < 10 || strength > 100 // much beyond extreme values on earth in createLocalGeomagneticField()
267 null, new float[] { strength, declination, inclination}); in createLocalGeomagneticField()
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp245 HalResult<void> AidlHalWrapper::alwaysOnEnable(int32_t id, Effect effect, EffectStrength strength) { in alwaysOnEnable() argument
246 return HalResultFactory::fromStatus(getHal()->alwaysOnEnable(id, effect, strength)); in alwaysOnEnable()
254 Effect effect, EffectStrength strength, const std::function<void()>& completionCallback) { in performEffect() argument
261 auto result = getHal()->perform(effect, strength, cb, &lengthMs); in performEffect()
489 perform_fn<T> performFn, sp<I> handle, T effect, EffectStrength strength, in performInternal() argument
498 V1_0::EffectStrength effectStrength = static_cast<V1_0::EffectStrength>(strength); in performInternal()
519 Effect effect, EffectStrength strength, const std::function<void()>& completionCallback) { in performEffect() argument
522 static_cast<V1_0::Effect>(effect), strength, completionCallback); in performEffect()
533 Effect effect, EffectStrength strength, const std::function<void()>& completionCallback) { in performEffect() argument
536 static_cast<V1_0::Effect>(effect), strength, completionCallback); in performEffect()
[all …]
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintSensorPropertiesInternal.java47 @SensorProperties.Strength int strength, int maxEnrollmentsPerUser, in FingerprintSensorPropertiesInternal() argument
57 super(sensorId, strength, maxEnrollmentsPerUser, componentInfo, in FingerprintSensorPropertiesInternal()
68 @SensorProperties.Strength int strength, int maxEnrollmentsPerUser, in FingerprintSensorPropertiesInternal() argument
73 this(sensorId, strength, maxEnrollmentsPerUser, componentInfo, sensorType, in FingerprintSensorPropertiesInternal()
DHidlFingerprintSensorConfig.java107 @BiometricManager.Authenticators.Types int strength) { in authenticatorStrengthToPropertyStrength()
108 switch (strength) { in authenticatorStrengthToPropertyStrength()
116 throw new IllegalArgumentException("Unknown strength: " + strength); in authenticatorStrengthToPropertyStrength()
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionVirtualizer.cpp57 int16_t strength = 0; in setParameter() local
58 if (OK != param.readFromValue(&strength)) { in setParameter()
62 aidlParam = MAKE_SPECIFIC_PARAMETER(Virtualizer, virtualizer, strengthPm, strength); in setParameter()
108 int16_t strength = VALUE_OR_RETURN_STATUS(GET_PARAMETER_SPECIFIC_FIELD( in getParameter() local
110 return param.writeToValue(&strength); in getParameter()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerSignalTest.java654 int strength = SignalStrength.SIGNAL_STRENGTH_GREAT; in testCarrierNetworkChange_carrierNetworkChange() local
657 setLevel(strength); in testCarrierNetworkChange_carrierNetworkChange()
661 strength /* strengthIcon */, in testCarrierNetworkChange_carrierNetworkChange()
678 strength /* strengthIcon */, in testCarrierNetworkChange_carrierNetworkChange()
684 int strength = SignalStrength.SIGNAL_STRENGTH_GREAT; in testCarrierNetworkChange_roamingBeforeNetworkChange() local
687 setLevel(strength); in testCarrierNetworkChange_roamingBeforeNetworkChange()
692 strength /* strengthIcon */, in testCarrierNetworkChange_roamingBeforeNetworkChange()
711 strength /* strengthIcon */, in testCarrierNetworkChange_roamingBeforeNetworkChange()
718 int strength = SignalStrength.SIGNAL_STRENGTH_GREAT; in testCarrierNetworkChange_roamingAfterNetworkChange() local
721 setLevel(strength); in testCarrierNetworkChange_roamingAfterNetworkChange()
[all …]
/frameworks/base/core/java/android/hardware/face/
DHidlFaceSensorConfig.java73 @BiometricManager.Authenticators.Types int strength) { in authenticatorStrengthToPropertyStrength()
74 switch (strength) { in authenticatorStrengthToPropertyStrength()
82 throw new IllegalArgumentException("Unknown strength: " + strength); in authenticatorStrengthToPropertyStrength()
DFaceSensorPropertiesInternal.java51 public FaceSensorPropertiesInternal(int sensorId, @SensorProperties.Strength int strength, in FaceSensorPropertiesInternal() argument
57 super(sensorId, strength, maxEnrollmentsPerUser, componentInfo, in FaceSensorPropertiesInternal()
/frameworks/base/services/core/java/com/android/server/biometrics/
DSensorConfig.java27 @BiometricManager.Authenticators.Types public final int strength; field in SensorConfig
33 strength = Integer.parseInt(elems[2]); in SensorConfig()
DBiometricSensor.java90 @Authenticators.Types int strength, IBiometricAuthenticator impl) { in BiometricSensor() argument
94 this.oemStrength = strength; in BiometricSensor()
97 mUpdatedStrength = strength; in BiometricSensor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DFingerprintRepositoryImplTest.kt83 val strength by collectLastValue(repository.strength) in initializeProperties() constant
89 assertThat(strength).isEqualTo(SensorStrength.CONVENIENCE) in initializeProperties()
130 assertThat(strength).isEqualTo(SensorStrength.STRONG) in initializeProperties()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorController.java427 private static native long performEffect(long nativePtr, long effect, long strength, in performEffect() argument
439 long strength); in alwaysOnEnable() argument
481 public long perform(long effect, long strength, long vibrationId) { in perform() argument
482 return performEffect(mNativePtr, effect, strength, vibrationId); in perform()
501 public void alwaysOnEnable(long id, long effect, long strength) { in alwaysOnEnable() argument
502 alwaysOnEnable(mNativePtr, id, effect, strength); in alwaysOnEnable()
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
DModemBatteryStatsReader.java82 final RawBatteryStats.SignalStrengthTime strength in createRemainder() local
88 if (strength != null && scanning != null && misc != null) { in createRemainder()
93 remainder.strengthTimeMs = strength.phoneSignalStrengthTimeMs; in createRemainder()
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp395 for (const auto& strength : enum_range<EffectStrength>()) { in DefaultArgs() local
396 b->Args({static_cast<long>(effect), static_cast<long>(strength)}); in DefaultArgs()
432 auto strength = getStrength(state);
433 auto enableFn = [&](auto hal) { return hal->alwaysOnEnable(id, effect, strength); }; in __anon599d61ff0f02()
462 auto strength = getStrength(state);
463 auto enableFn = [&](auto hal) { return hal->alwaysOnEnable(id, effect, strength); }; in __anon599d61ff1102()
488 auto strength = getStrength(state);
495 return hal->performEffect(effect, strength, cb.completeFn()); in __anon599d61ff1302()

12345