Home
last modified time | relevance | path

Searched refs:setCapabilities (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/tests/vibrator/src/android/os/vibrator/
DMultiVibratorInfoTest.java54 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testIsEffectSupported_supportedInAllVibrators_returnsYes()
100 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testIsPrimitiveSupported_unsupportedInOneVibrator_returnsFalse()
114 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testIsPrimitiveSupported_supportedInAllVibrators_returnsTrue()
118 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testIsPrimitiveSupported_supportedInAllVibrators_returnsTrue()
131 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testGetPrimitiveDuration_unsupportedInOneVibrator_returnsZero()
145 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testGetPrimitiveDuration_supportedInAllVibrators_returnsMaxDuration()
149 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testGetPrimitiveDuration_supportedInAllVibrators_returnsMaxDuration()
162 .setCapabilities(IVibrator.CAP_FREQUENCY_CONTROL) in testGetQFactorAndResonantFrequency_differentValues_returnsNaN()
167 .setCapabilities(IVibrator.CAP_FREQUENCY_CONTROL) in testGetQFactorAndResonantFrequency_differentValues_returnsNaN()
192 .setCapabilities(IVibrator.CAP_FREQUENCY_CONTROL) in testGetQFactorAndResonantFrequency_sameValues_returnsValue()
[all …]
DVibratorInfoFactoryTest.java42 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testCreatedInfo_hasTheRequestedId()
65 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS | IVibrator.CAP_FREQUENCY_CONTROL) in testCreatedInfo_fromSingleVibratorInfo_hasEqualContent()
80 .setCapabilities(IVibrator.CAP_FREQUENCY_CONTROL) in testCreatedInfo_hasEqualContentRegardlessOfSourceInfoOrder()
84 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testCreatedInfo_hasEqualContentRegardlessOfSourceInfoOrder()
96 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS | IVibrator.CAP_FREQUENCY_CONTROL) in testCreatedInfoContents()
101 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS | IVibrator.CAP_AMPLITUDE_CONTROL) in testCreatedInfoContents()
107 .setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL) in testCreatedInfoContents()
112 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testCreatedInfoContents()
119 .setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL) in testCreatedInfoContents()
DStepSegmentTest.java278 builder.setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in createVibInfoForAmplitude()
286 builder.setCapabilities( in createVibInfoForFrequency()
DPrimitiveSegmentTest.java215 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in createVibratorInfoWithSupportedPrimitive()
DRampSegmentTest.java309 return builder.setCapabilities(capabilities).build(); in createVibInfo()
/frameworks/base/core/tests/vibrator/src/android/os/
DVibratorInfoTest.java54 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS | IVibrator.CAP_AMPLITUDE_CONTROL) in testHasAmplitudeControl()
64 .setCapabilities( in testHasFrequencyControl()
73 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testHasCapabilities()
96 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testIsPrimitiveSupported()
112 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testGetPrimitiveDuration()
266 builder.setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL) in testEquals()
291 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testEquals()
358 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testParceling()
403 .setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL) in areVibrationFeaturesSupported_withAmplitudeControl_allWaveformsSupported()
426 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in areVibrationFeaturesSupported_compositionsWithSupportedPrimitivesSupported()
[all …]
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibrationThreadTest.java192 mVibratorProviders.get(VIBRATOR_ID).setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude()
228 mVibratorProviders.get(VIBRATOR_ID).setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes()
250 mVibratorProviders.get(VIBRATOR_ID).setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in vibrate_singleWaveformWithAdaptiveHapticsScaling_scalesAmplitudesProperly()
273 mVibratorProviders.get(VIBRATOR_ID).setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL);
292 fakeVibrator.setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL);
333 fakeVibrator.setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForLonger()
354 mVibratorProviders.get(VIBRATOR_ID).setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in vibrate_singleVibratorPatternWithZeroDurationSteps_skipsZeroDurationSteps()
373 mVibratorProviders.get(VIBRATOR_ID).setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in vibrate_singleVibratorPatternWithZeroDurationAndAmplitude_skipsZeroDurationSteps()
397 fakeVibrator.setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in vibrate_singleVibratorRepeatingPatternWithZeroDurationSteps_repeatsEffectCorrectly()
426 fakeVibrator.setCapabilities(IVibrator.CAP_COMPOSE_PWLE_EFFECTS); in vibrate_singleVibratorRepeatingPwle_generatesLargestPwles()
[all …]
DVibratorManagerServiceTest.java365 mVibratorProviders.get(1).setCapabilities(IVibrator.CAP_EXTERNAL_CONTROL); in createService_resetsVibrators()
366 mVibratorProviders.get(2).setCapabilities(IVibrator.CAP_EXTERNAL_CONTROL); in createService_resetsVibrators()
378 mVibratorProviders.get(1).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL); in createService_doNotCrashIfUsedBeforeSystemReady()
379 mVibratorProviders.get(2).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL); in createService_doNotCrashIfUsedBeforeSystemReady()
439 vibrator.setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS, IVibrator.CAP_AMPLITUDE_CONTROL); in getVibratorInfo_vibratorSuccessfulLoadBeforeSystemReady_returnsInfoForVibrator()
557 mVibratorProviders.get(1).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL); in setAlwaysOnEffect_withMono_enablesAlwaysOnEffectToAllVibratorsWithCapability()
558 mVibratorProviders.get(3).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL); in setAlwaysOnEffect_withMono_enablesAlwaysOnEffectToAllVibratorsWithCapability()
577 mVibratorProviders.get(1).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL); in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability()
578 mVibratorProviders.get(2).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL); in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability()
579 mVibratorProviders.get(4).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL); in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability()
[all …]
DSplitSegmentsAdapterTest.java126 .setCapabilities(IVibrator.CAP_COMPOSE_PWLE_EFFECTS) in testRampSegments_withPwleDurationLimit_splitsLongRampsAndPreserveOtherSegments()
139 .setCapabilities(IntStream.of(capabilities).reduce((a, b) -> a | b).orElse(0)) in createVibratorInfo()
DDeviceAdapterTest.java286 provider.setCapabilities(IVibrator.CAP_COMPOSE_PWLE_EFFECTS); in createPwleWithoutFrequenciesVibratorController()
293 provider.setCapabilities(IVibrator.CAP_COMPOSE_PWLE_EFFECTS); in createPwleVibratorController()
DRampToStepAdapterTest.java123 .setCapabilities(IntStream.of(capabilities).reduce((a, b) -> a | b).orElse(0)) in createVibratorInfo()
DStepToRampAdapterTest.java155 .setCapabilities(IntStream.of(capabilities).reduce((a, b) -> a | b).orElse(0)) in createVibratorInfo()
DVibratorControllerTest.java310 .setCapabilities(capabilities) in mockVibratorCapabilities()
DHapticFeedbackVibrationProviderTest.java460 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS); in mockVibratorPrimitiveSupport()
/frameworks/base/services/tests/vibrator/utils/android/os/test/
DFakeVibrator.java73 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS); in buildInfoSupportingPrimitives()
/frameworks/base/services/tests/vibrator/utils/com/android/server/vibrator/
DFakeVibratorControllerProvider.java183 infoBuilder.setCapabilities(mCapabilities); in getInfo()
265 public void setCapabilities(int... capabilities) { in setCapabilities() method in FakeVibratorControllerProvider
/frameworks/base/core/java/android/hardware/input/
DInputDeviceVibrator.java58 .setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL) in InputDeviceVibrator()
/frameworks/base/telephony/java/com/android/ims/
DImsFeatureContainer.java108 public void setCapabilities(@ImsService.ImsServiceCapability long caps) { in setCapabilities() method in ImsFeatureContainer
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp45 jmethodID setCapabilities; member
388 env->CallObjectMethod(vibratorInfoBuilder, sVibratorInfoBuilderClassInfo.setCapabilities, in vibratorGetInfo()
506 sVibratorInfoBuilderClassInfo.setCapabilities = in register_android_server_vibrator_VibratorController()
/frameworks/base/telecomm/java/android/telecom/
DParcelableCall.java94 public ParcelableCallBuilder setCapabilities(int capabilities) { in setCapabilities() method in ParcelableCall.ParcelableCallBuilder
683 .setCapabilities(capabilities)
DPhoneAccount.java640 public Builder setCapabilities(int value) { in setCapabilities() method in PhoneAccount.Builder
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsFeatureBinderRepository.java230 mFeatureContainer.setCapabilities(caps); in notifyUpdateCapabilities()
/frameworks/base/core/java/android/print/
DPrinterInfo.java536 public @NonNull Builder setCapabilities(@NonNull PrinterCapabilitiesInfo capabilities) { in setCapabilities() method in PrinterInfo.Builder
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java124 PrinterInfo.STATUS_IDLE).setCapabilities(builder.build()).build(); in addPrinter()
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/datatransfer/contextsync/
DCrossDeviceCallTest.java335 parcelableCallBuilder.setCapabilities(capabilities); in createCallDetails()

12