/frameworks/base/core/tests/vibrator/src/android/os/vibrator/ |
D | MultiVibratorInfoTest.java | 54 .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 …]
|
D | VibratorInfoFactoryTest.java | 42 .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()
|
D | StepSegmentTest.java | 278 builder.setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL); in createVibInfoForAmplitude() 286 builder.setCapabilities( in createVibInfoForFrequency()
|
D | PrimitiveSegmentTest.java | 215 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS) in createVibratorInfoWithSupportedPrimitive()
|
D | RampSegmentTest.java | 309 return builder.setCapabilities(capabilities).build(); in createVibInfo()
|
/frameworks/base/core/tests/vibrator/src/android/os/ |
D | VibratorInfoTest.java | 54 .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/ |
D | VibrationThreadTest.java | 192 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 …]
|
D | VibratorManagerServiceTest.java | 365 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 …]
|
D | SplitSegmentsAdapterTest.java | 126 .setCapabilities(IVibrator.CAP_COMPOSE_PWLE_EFFECTS) in testRampSegments_withPwleDurationLimit_splitsLongRampsAndPreserveOtherSegments() 139 .setCapabilities(IntStream.of(capabilities).reduce((a, b) -> a | b).orElse(0)) in createVibratorInfo()
|
D | DeviceAdapterTest.java | 286 provider.setCapabilities(IVibrator.CAP_COMPOSE_PWLE_EFFECTS); in createPwleWithoutFrequenciesVibratorController() 293 provider.setCapabilities(IVibrator.CAP_COMPOSE_PWLE_EFFECTS); in createPwleVibratorController()
|
D | RampToStepAdapterTest.java | 123 .setCapabilities(IntStream.of(capabilities).reduce((a, b) -> a | b).orElse(0)) in createVibratorInfo()
|
D | StepToRampAdapterTest.java | 155 .setCapabilities(IntStream.of(capabilities).reduce((a, b) -> a | b).orElse(0)) in createVibratorInfo()
|
D | VibratorControllerTest.java | 310 .setCapabilities(capabilities) in mockVibratorCapabilities()
|
D | HapticFeedbackVibrationProviderTest.java | 460 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS); in mockVibratorPrimitiveSupport()
|
/frameworks/base/services/tests/vibrator/utils/android/os/test/ |
D | FakeVibrator.java | 73 .setCapabilities(IVibrator.CAP_COMPOSE_EFFECTS); in buildInfoSupportingPrimitives()
|
/frameworks/base/services/tests/vibrator/utils/com/android/server/vibrator/ |
D | FakeVibratorControllerProvider.java | 183 infoBuilder.setCapabilities(mCapabilities); in getInfo() 265 public void setCapabilities(int... capabilities) { in setCapabilities() method in FakeVibratorControllerProvider
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputDeviceVibrator.java | 58 .setCapabilities(IVibrator.CAP_AMPLITUDE_CONTROL) in InputDeviceVibrator()
|
/frameworks/base/telephony/java/com/android/ims/ |
D | ImsFeatureContainer.java | 108 public void setCapabilities(@ImsService.ImsServiceCapability long caps) { in setCapabilities() method in ImsFeatureContainer
|
/frameworks/base/services/core/jni/ |
D | com_android_server_vibrator_VibratorController.cpp | 45 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/ |
D | ParcelableCall.java | 94 public ParcelableCallBuilder setCapabilities(int capabilities) { in setCapabilities() method in ParcelableCall.ParcelableCallBuilder 683 .setCapabilities(capabilities)
|
D | PhoneAccount.java | 640 public Builder setCapabilities(int value) { in setCapabilities() method in PhoneAccount.Builder
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsFeatureBinderRepository.java | 230 mFeatureContainer.setCapabilities(caps); in notifyUpdateCapabilities()
|
/frameworks/base/core/java/android/print/ |
D | PrinterInfo.java | 536 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/ |
D | WorkflowTest.java | 124 PrinterInfo.STATUS_IDLE).setCapabilities(builder.build()).build(); in addPrinter()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/datatransfer/contextsync/ |
D | CrossDeviceCallTest.java | 335 parcelableCallBuilder.setCapabilities(capabilities); in createCallDetails()
|