/frameworks/base/core/tests/vibrator/src/android/os/vibrator/ |
D | MultiVibratorInfoTest.java | 164 .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/ |
D | VibratorInfoTest.java | 43 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/ |
D | VibratorInfo.java | 62 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 …]
|
D | Vibrator.java | 302 VibratorInfo.FrequencyProfile frequencyProfile = getInfo().getFrequencyProfile(); in getFrequencyProfile()
|
/frameworks/base/core/java/android/os/vibrator/ |
D | VibratorFrequencyProfile.java | 47 private final VibratorInfo.FrequencyProfile mFrequencyProfile; 50 public VibratorFrequencyProfile(@NonNull VibratorInfo.FrequencyProfile frequencyProfile) { in VibratorFrequencyProfile()
|
D | MultiVibratorInfo.java | 51 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/ |
D | RampToStepAdapterTest.java | 42 private static final VibratorInfo.FrequencyProfile TEST_FREQUENCY_PROFILE = 43 new VibratorInfo.FrequencyProfile(
|
D | SplitSegmentsAdapterTest.java | 44 private static final VibratorInfo.FrequencyProfile TEST_FREQUENCY_PROFILE = 45 new VibratorInfo.FrequencyProfile(
|
D | StepToRampAdapterTest.java | 41 private static final VibratorInfo.FrequencyProfile TEST_FREQUENCY_PROFILE = 42 new VibratorInfo.FrequencyProfile(
|
D | VibratorControllerTest.java | 305 VibratorInfo.FrequencyProfile frequencyProfile = new VibratorInfo.FrequencyProfile( in mockVibratorCapabilities()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | ClippingAmplitudeAndFrequencyAdapter.java | 70 VibratorInfo.FrequencyProfile mapping = info.getFrequencyProfile(); in clampAmplitude()
|
/frameworks/base/services/tests/vibrator/utils/com/android/server/vibrator/ |
D | FakeVibratorControllerProvider.java | 194 infoBuilder.setFrequencyProfile(new VibratorInfo.FrequencyProfile( in getInfo()
|
/frameworks/base/boot/ |
D | preloaded-classes | 6383 android.os.VibratorInfo$FrequencyProfile$1 6384 android.os.VibratorInfo$FrequencyProfile
|
D | boot-image-profile.txt | 28783 Landroid/os/VibratorInfo$FrequencyProfile$1; 28784 Landroid/os/VibratorInfo$FrequencyProfile;
|
/frameworks/base/config/ |
D | preloaded-classes | 6387 android.os.VibratorInfo$FrequencyProfile$1 6388 android.os.VibratorInfo$FrequencyProfile
|
D | boot-image-profile.txt | 38917 Landroid/os/VibratorInfo$FrequencyProfile$1; 38918 Landroid/os/VibratorInfo$FrequencyProfile;
|