Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibrationThreadTest.java162 mVibratorProviders.get(VIBRATOR_ID).setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude()
202 mVibratorProviders.get(VIBRATOR_ID).setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes()
226 fakeVibrator.setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in vibrate_singleVibratorRepeatingWaveform_runsVibrationUntilThreadCancelled()
261 fakeVibrator.setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForASecond()
283 fakeVibrator.setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in vibrate_singleVibratorRepeatingLongAlwaysOnWaveform_turnsVibratorOnForACycle()
306 fakeVibrator.setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in vibrate_singleVibratorRepeatingAlwaysOnWaveform_turnsVibratorBackOn()
335 mVibratorProviders.get(VIBRATOR_ID).setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS); in vibrate_singleVibratorPredefinedCancel_cancelsVibrationImmediately()
364 mVibratorProviders.get(VIBRATOR_ID).setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS); in vibrate_singleVibratorWaveformCancel_cancelsVibrationImmediately()
408 mVibratorProviders.get(VIBRATOR_ID).setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in vibrate_singleVibratorPrebakedAndUnsupportedEffectWithFallback_runsFallback()
447 fakeVibrator.setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS); in vibrate_singleVibratorComposed_runsVibration()
[all …]
DVibratorManagerServiceTest.java237 mVibratorProviders.get(1).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL);
238 mVibratorProviders.get(2).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL);
279 vibrator.setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS, IVibrator.CAP_AMPLITUDE_CONTROL);
372 mVibratorProviders.get(1).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL);
373 mVibratorProviders.get(3).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL);
392 mVibratorProviders.get(1).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL);
393 mVibratorProviders.get(2).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL);
394 mVibratorProviders.get(4).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL);
420 mVibratorProviders.get(1).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL);
421 mVibratorProviders.get(3).setCapabilities(IVibrator.CAP_ALWAYS_ON_CONTROL);
[all …]
DStepToRampAdapterTest.java93 .setCapabilities(IVibrator.CAP_COMPOSE_PWLE_EFFECTS) in testRampSegments_withPwleDurationLimit_splitsLongRamps()
185 .setCapabilities(IntStream.of(capabilities).reduce((a, b) -> a | b).orElse(0)) in createVibratorInfo()
DFakeVibratorControllerProvider.java159 infoBuilder.setCapabilities(mCapabilities); in getInfo()
222 public void setCapabilities(int... capabilities) { in setCapabilities() method in FakeVibratorControllerProvider
DRampToStepAdapterTest.java119 .setCapabilities(IntStream.of(capabilities).reduce((a, b) -> a | b).orElse(0)) in createVibratorInfo()
DDeviceVibrationEffectAdapterTest.java201 .setCapabilities(cap) in createVibratorInfo()
DVibratorControllerTest.java304 .setCapabilities(capabilities) in mockVibratorCapabilities()
/frameworks/base/core/tests/coretests/src/android/os/
DVibratorTest.java143 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in arePrimitivesSupported_unsupportedInOneVibrator_returnsFalse()
155 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in arePrimitivesSupported_supportedInAllVibrators_returnsTrue()
159 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in arePrimitivesSupported_supportedInAllVibrators_returnsTrue()
187 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in getPrimitivesDurations_unsupportedInOneVibrator_returnsZero()
199 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in getPrimitivesDurations_supportedInAllVibrators_returnsMaxDuration()
203 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in getPrimitivesDurations_supportedInAllVibrators_returnsMaxDuration()
DVibratorInfoTest.java57 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS in testHasAmplitudeControl()
66 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testHasCapabilities()
89 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testIsPrimitiveSupported()
105 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testGetPrimitiveDuration()
283 .setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL) in testEquals()
300 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testEquals()
357 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in testParceling()
/frameworks/base/cmds/telecom/src/com/android/commands/telecom/
DTelecom.java280 .setCapabilities(PhoneAccount.CAPABILITY_CALL_PROVIDER).build(); in runRegisterPhoneAccount()
306 .setCapabilities(capabilities) in runRegisterSimPhoneAccount()
/frameworks/base/telephony/java/com/android/ims/
DImsFeatureContainer.java108 public void setCapabilities(@ImsService.ImsServiceCapability long caps) { in setCapabilities() method in ImsFeatureContainer
/frameworks/base/core/java/android/hardware/input/
DInputDeviceVibrator.java58 .setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL) in InputDeviceVibrator()
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp45 jmethodID setCapabilities; member
375 env->CallObjectMethod(vibratorInfoBuilder, sVibratorInfoBuilderClassInfo.setCapabilities, in vibratorGetInfo()
493 sVibratorInfoBuilderClassInfo.setCapabilities = in register_android_server_vibrator_VibratorController()
/frameworks/base/telecomm/java/android/telecom/
DParcelableCall.java93 public ParcelableCallBuilder setCapabilities(int capabilities) { in setCapabilities() method in ParcelableCall.ParcelableCallBuilder
663 .setCapabilities(capabilities)
DPhoneAccount.java546 public Builder setCapabilities(int value) { in setCapabilities() method in PhoneAccount.Builder
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsFeatureBinderRepository.java229 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/core/java/android/app/
DUiAutomationConnection.java525 info.setCapabilities(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT in registerUiTestAutomationServiceLocked()
/frameworks/base/core/tests/coretests/src/android/print/
DIPrintManagerParametersTest.java155 .setCapabilities(capabilities)
/frameworks/base/core/java/android/os/
DVibratorInfo.java710 public Builder setCapabilities(long capabilities) { in setCapabilities() method in VibratorInfo.Builder
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityServiceInfo.java903 public void setCapabilities(int capabilities) { in setCapabilities() method in AccessibilityServiceInfo
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h533 auto& setCapabilities(const std::unordered_set<hal::Capability>* capabilities) { in setCapabilities() function
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAbstractAccessibilityServiceConnectionTest.java227 mSpyServiceInfo.setCapabilities(A11Y_SERVICE_CAPABILITY); in setup()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsServiceControllerTest.java111 container.setCapabilities(caps); in updateCapabilities()

12