Home
last modified time | relevance | path

Searched refs:FrequencyProfile (Results 1 – 16 of 16) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DVibratorInfoTest.java152 assertTrue(new VibratorInfo.FrequencyProfile( in testFrequencyProfile_invalidValuesCreatesEmptyProfile()
154 assertTrue(new VibratorInfo.FrequencyProfile( in testFrequencyProfile_invalidValuesCreatesEmptyProfile()
156 assertTrue(new VibratorInfo.FrequencyProfile( in testFrequencyProfile_invalidValuesCreatesEmptyProfile()
164 assertTrue(new VibratorInfo.FrequencyProfile( in testFrequencyProfile_invalidValuesCreatesEmptyProfile()
166 assertTrue(new VibratorInfo.FrequencyProfile( in testFrequencyProfile_invalidValuesCreatesEmptyProfile()
169 assertTrue(new VibratorInfo.FrequencyProfile( in testFrequencyProfile_invalidValuesCreatesEmptyProfile()
173 assertTrue(new VibratorInfo.FrequencyProfile( in testFrequencyProfile_invalidValuesCreatesEmptyProfile()
179 assertNull(new VibratorInfo.FrequencyProfile( in testGetFrequencyRangeHz_emptyProfileReturnsNull()
190 VibratorInfo.FrequencyProfile profile = new VibratorInfo.FrequencyProfile( in testGetFrequencyRangeHz_validProfileReturnsMappedValues()
209 profile = new VibratorInfo.FrequencyProfile( in testGetMaxAmplitude_emptyProfileReturnsAlwaysZero()
[all …]
H A DVibratorTest.java251 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(1, 1, 1, null)) in getQFactorAndResonantFrequency_differentValues_returnsNaN()
256 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(2, 2, 2, null)) in getQFactorAndResonantFrequency_differentValues_returnsNaN()
280 .setFrequencyProfile(new VibratorInfo.FrequencyProfile( in getQFactorAndResonantFrequency_sameValues_returnsValue()
286 .setFrequencyProfile(new VibratorInfo.FrequencyProfile( in getQFactorAndResonantFrequency_sameValues_returnsValue()
311 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(1, 1, 1, in getFrequencyProfile_differentResonantFrequencyOrResolutionValues_returnsEmpty()
316 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(2, 1, 1, in getFrequencyProfile_differentResonantFrequencyOrResolutionValues_returnsEmpty()
326 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(1, 1, 2, in getFrequencyProfile_differentResonantFrequencyOrResolutionValues_returnsEmpty()
339 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(1, 1, 1, in getFrequencyProfile_missingValues_returnsEmpty()
374 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(1, 1, 1, null)) in getFrequencyProfile_missingValues_returnsEmpty()
386 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(11, 10, 0.5f, in getFrequencyProfile_unalignedMaxAmplitudes_returnsEmpty()
[all …]
/aosp14/frameworks/base/core/java/android/os/
H A DVibratorInfo.java61 private final FrequencyProfile mFrequencyProfile;
396 public FrequencyProfile getFrequencyProfile() { in getFrequencyProfile()
503 FrequencyProfile(Parcel in) { in FrequencyProfile() method in VibratorInfo.FrequencyProfile
631 if (!(o instanceof FrequencyProfile)) { in equals()
634 FrequencyProfile that = (FrequencyProfile) o; in equals()
661 public static final Creator<FrequencyProfile> CREATOR =
662 new Creator<FrequencyProfile>() {
665 return new FrequencyProfile(in);
669 public FrequencyProfile[] newArray(int size) {
670 return new FrequencyProfile[size];
[all …]
H A DSystemVibrator.java296 new FrequencyProfile(/* resonantFrequencyHz= */ Float.NaN, in NoVibratorInfo()
322 VibratorInfo.FrequencyProfile mergedProfile) { in MultiVibratorInfo()
477 private static FrequencyProfile frequencyProfileIntersection(VibratorInfo[] infos) { in frequencyProfileIntersection()
485 return new FrequencyProfile(resonantFreq, Float.NaN, freqResolution, null); in frequencyProfileIntersection()
508 return new FrequencyProfile(resonantFreq, Float.NaN, Float.NaN, null); in frequencyProfileIntersection()
517 return new FrequencyProfile(resonantFreq, freqRange.getLower(), in frequencyProfileIntersection()
H A DVibrator.java294 VibratorInfo.FrequencyProfile frequencyProfile = getInfo().getFrequencyProfile(); in getFrequencyProfile()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DDeviceVibrationEffectAdapterTest.java65 private static final VibratorInfo.FrequencyProfile EMPTY_FREQUENCY_PROFILE =
66 new VibratorInfo.FrequencyProfile(Float.NaN, Float.NaN, Float.NaN, null);
67 private static final VibratorInfo.FrequencyProfile TEST_FREQUENCY_PROFILE =
68 new VibratorInfo.FrequencyProfile(TEST_RESONANT_FREQUENCY, TEST_MIN_FREQUENCY,
214 private static VibratorInfo createVibratorInfo(VibratorInfo.FrequencyProfile frequencyProfile, in createVibratorInfo()
H A DRampToStepAdapterTest.java50 private static final VibratorInfo.FrequencyProfile TEST_FREQUENCY_PROFILE =
51 new VibratorInfo.FrequencyProfile(
H A DStepToRampAdapterTest.java49 private static final VibratorInfo.FrequencyProfile TEST_FREQUENCY_PROFILE =
50 new VibratorInfo.FrequencyProfile(
H A DVibratorControllerTest.java313 VibratorInfo.FrequencyProfile frequencyProfile = new VibratorInfo.FrequencyProfile( in mockVibratorCapabilities()
H A DFakeVibratorControllerProvider.java193 infoBuilder.setFrequencyProfile(new VibratorInfo.FrequencyProfile( in getInfo()
/aosp14/frameworks/base/core/java/android/os/vibrator/
H A DVibratorFrequencyProfile.java47 private final VibratorInfo.FrequencyProfile mFrequencyProfile;
50 public VibratorFrequencyProfile(@NonNull VibratorInfo.FrequencyProfile frequencyProfile) { in VibratorFrequencyProfile()
/aosp14/frameworks/base/services/core/java/com/android/server/vibrator/
H A DClippingAmplitudeAndFrequencyAdapter.java80 VibratorInfo.FrequencyProfile mapping = info.getFrequencyProfile(); in clampAmplitude()
/aosp14/frameworks/base/boot/
H A Dpreloaded-classes6260 android.os.VibratorInfo$FrequencyProfile$1
6261 android.os.VibratorInfo$FrequencyProfile
H A Dboot-image-profile.txt29049 Landroid/os/VibratorInfo$FrequencyProfile$1;
29050 Landroid/os/VibratorInfo$FrequencyProfile;
/aosp14/frameworks/base/config/
H A Dpreloaded-classes6264 android.os.VibratorInfo$FrequencyProfile$1
6265 android.os.VibratorInfo$FrequencyProfile
H A Dboot-image-profile.txt39156 Landroid/os/VibratorInfo$FrequencyProfile$1;
39157 Landroid/os/VibratorInfo$FrequencyProfile;