Home
last modified time | relevance | path

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

/frameworks/base/core/tests/vibrator/src/android/os/vibrator/
DMultiVibratorInfoTest.java164 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(1, 1, 1, null)) in testGetQFactorAndResonantFrequency_differentValues_returnsNaN()
169 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(2, 2, 2, null)) in testGetQFactorAndResonantFrequency_differentValues_returnsNaN()
194 .setFrequencyProfile(new VibratorInfo.FrequencyProfile( in testGetQFactorAndResonantFrequency_sameValues_returnsValue()
200 .setFrequencyProfile(new VibratorInfo.FrequencyProfile( in testGetQFactorAndResonantFrequency_sameValues_returnsValue()
218 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(1, 1, 1, in testGetFrequencyProfile_differentResonantFrequencyOrResolutions_returnsEmpty()
223 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(2, 1, 1, in testGetFrequencyProfile_differentResonantFrequencyOrResolutions_returnsEmpty()
233 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(1, 1, 2, in testGetFrequencyProfile_differentResonantFrequencyOrResolutions_returnsEmpty()
246 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(1, 1, 1, in testGetFrequencyProfile_missingValues_returnsEmpty()
251 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(Float.NaN, 1, 1, in testGetFrequencyProfile_missingValues_returnsEmpty()
262 .setFrequencyProfile(new VibratorInfo.FrequencyProfile(1, Float.NaN, 1, in testGetFrequencyProfile_missingValues_returnsEmpty()
[all …]
/frameworks/base/core/tests/vibrator/src/android/os/
DVibratorInfoTest.java43 private static final VibratorInfo.FrequencyProfile EMPTY_FREQUENCY_PROFILE =
44 new VibratorInfo.FrequencyProfile(Float.NaN, Float.NaN, Float.NaN, null);
45 private static final VibratorInfo.FrequencyProfile TEST_FREQUENCY_PROFILE =
46 new VibratorInfo.FrequencyProfile(TEST_RESONANT_FREQUENCY, TEST_MIN_FREQUENCY,
161 assertTrue(new VibratorInfo.FrequencyProfile( in testFrequencyProfile_invalidValuesCreatesEmptyProfile()
163 assertTrue(new VibratorInfo.FrequencyProfile( in testFrequencyProfile_invalidValuesCreatesEmptyProfile()
165 assertTrue(new VibratorInfo.FrequencyProfile( in testFrequencyProfile_invalidValuesCreatesEmptyProfile()
167 assertTrue(new VibratorInfo.FrequencyProfile(150, 50, 25, null).isEmpty()); in testFrequencyProfile_invalidValuesCreatesEmptyProfile()
169 assertTrue(new VibratorInfo.FrequencyProfile(-1, 50, 25, TEST_AMPLITUDE_MAP).isEmpty()); in testFrequencyProfile_invalidValuesCreatesEmptyProfile()
170 assertTrue(new VibratorInfo.FrequencyProfile(150, 0, 25, TEST_AMPLITUDE_MAP).isEmpty()); in testFrequencyProfile_invalidValuesCreatesEmptyProfile()
[all …]
/frameworks/base/core/java/android/os/
DVibratorInfo.java62 private final FrequencyProfile mFrequencyProfile;
75 mFrequencyProfile = FrequencyProfile.CREATOR.createFromParcel(in); in VibratorInfo()
114 float qFactor, @NonNull FrequencyProfile frequencyProfile) { in VibratorInfo()
454 public FrequencyProfile getFrequencyProfile() { in getFrequencyProfile()
554 public static final class FrequencyProfile implements Parcelable { class in VibratorInfo
562 FrequencyProfile(Parcel in) { in FrequencyProfile() method in VibratorInfo.FrequencyProfile
578 public FrequencyProfile(float resonantFrequencyHz, float minFrequencyHz, in FrequencyProfile() method in VibratorInfo.FrequencyProfile
690 if (!(o instanceof FrequencyProfile)) { in equals()
693 FrequencyProfile that = (FrequencyProfile) o; in equals()
720 public static final Creator<FrequencyProfile> CREATOR =
[all …]
DVibrator.java302 VibratorInfo.FrequencyProfile frequencyProfile = getInfo().getFrequencyProfile(); in getFrequencyProfile()
/frameworks/base/core/java/android/os/vibrator/
DVibratorFrequencyProfile.java47 private final VibratorInfo.FrequencyProfile mFrequencyProfile;
50 public VibratorFrequencyProfile(@NonNull VibratorInfo.FrequencyProfile frequencyProfile) { in VibratorFrequencyProfile()
DMultiVibratorInfo.java51 int id, VibratorInfo[] vibrators, VibratorInfo.FrequencyProfile mergedProfile) { in MultiVibratorInfo()
206 private static FrequencyProfile frequencyProfileIntersection(VibratorInfo[] infos) { in frequencyProfileIntersection()
214 return new FrequencyProfile(resonantFreq, Float.NaN, freqResolution, null); in frequencyProfileIntersection()
237 return new FrequencyProfile(resonantFreq, Float.NaN, Float.NaN, null); in frequencyProfileIntersection()
246 return new FrequencyProfile(resonantFreq, freqRange.getLower(), in frequencyProfileIntersection()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DRampToStepAdapterTest.java42 private static final VibratorInfo.FrequencyProfile TEST_FREQUENCY_PROFILE =
43 new VibratorInfo.FrequencyProfile(
DSplitSegmentsAdapterTest.java44 private static final VibratorInfo.FrequencyProfile TEST_FREQUENCY_PROFILE =
45 new VibratorInfo.FrequencyProfile(
DStepToRampAdapterTest.java41 private static final VibratorInfo.FrequencyProfile TEST_FREQUENCY_PROFILE =
42 new VibratorInfo.FrequencyProfile(
DVibratorControllerTest.java305 VibratorInfo.FrequencyProfile frequencyProfile = new VibratorInfo.FrequencyProfile( in mockVibratorCapabilities()
/frameworks/base/services/core/java/com/android/server/vibrator/
DClippingAmplitudeAndFrequencyAdapter.java70 VibratorInfo.FrequencyProfile mapping = info.getFrequencyProfile(); in clampAmplitude()
/frameworks/base/services/tests/vibrator/utils/com/android/server/vibrator/
DFakeVibratorControllerProvider.java194 infoBuilder.setFrequencyProfile(new VibratorInfo.FrequencyProfile( in getInfo()
/frameworks/base/boot/
Dpreloaded-classes6383 android.os.VibratorInfo$FrequencyProfile$1
6384 android.os.VibratorInfo$FrequencyProfile
Dboot-image-profile.txt28783 Landroid/os/VibratorInfo$FrequencyProfile$1;
28784 Landroid/os/VibratorInfo$FrequencyProfile;
/frameworks/base/config/
Dpreloaded-classes6387 android.os.VibratorInfo$FrequencyProfile$1
6388 android.os.VibratorInfo$FrequencyProfile
Dboot-image-profile.txt38917 Landroid/os/VibratorInfo$FrequencyProfile$1;
38918 Landroid/os/VibratorInfo$FrequencyProfile;