Home
last modified time | relevance | path

Searched refs:cancelVibrate (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/native/services/inputflinger/reader/mapper/
DVibratorInputMapper.cpp65 std::list<NotifyArgs> VibratorInputMapper::cancelVibrate(int32_t token) { in cancelVibrate() function in android::VibratorInputMapper
124 getDeviceContext().cancelVibrate(); in nextStep()
142 getDeviceContext().cancelVibrate(); in stopVibrating()
DVibratorInputMapper.h37 [[nodiscard]] std::list<NotifyArgs> cancelVibrate(int32_t token) override;
DInputMapper.cpp81 std::list<NotifyArgs> InputMapper::cancelVibrate(int32_t token) { in cancelVibrate() function in android::InputMapper
DInputMapper.h93 [[nodiscard]] virtual std::list<NotifyArgs> cancelVibrate(int32_t token);
/frameworks/base/core/java/android/os/
DIVibratorManagerService.aidl38 void cancelVibrate(int usageFilter, IBinder token); in cancelVibrate() method
DSystemVibratorManager.java180 mService.cancelVibrate(usageFilter, mToken); in cancelVibration()
/frameworks/native/services/inputflinger/tests/fuzzers/
DInputReaderFuzzer.cpp92 void cancelVibrate(int32_t deviceId, int32_t token) { reader->cancelVibrate(deviceId, token); } in cancelVibrate() function in android::FuzzInputReader
238 reader->cancelVibrate(fdp->ConsumeIntegral<int32_t>(), in LLVMFuzzerTestOneInput()
DMapperHelpers.h237 void cancelVibrate(int32_t deviceId) override {} in cancelVibrate() function
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DInputDeviceDelegateTest.java290 verify(mIInputManagerMock, never()).cancelVibrate(anyInt(), any()); in cancelVibrateIfAvailable_withNoInputDevice_returnsFalse()
305 verify(mIInputManagerMock).cancelVibrate(eq(1), any()); in cancelVibrateIfAvailable_withInputDevices_returnsTrueAndStopsAllDevices()
306 verify(mIInputManagerMock).cancelVibrate(eq(2), any()); in cancelVibrateIfAvailable_withInputDevices_returnsTrueAndStopsAllDevices()
DVibratorManagerServiceTest.java255 cancelVibrate(mService); in tearDown()
389 service.cancelVibrate(VibrationAttributes.USAGE_FILTER_MATCH_ALL, service); in createService_doNotCrashIfUsedBeforeSystemReady()
952 cancelVibrate(service); in vibrate_withOngoingRepeatingVibrationBeingCancelled_playsAfterPreviousIsCancelled()
1758 service.cancelVibrate(VibrationAttributes.USAGE_FILTER_MATCH_ALL, service); in cancelVibrate_withoutUsageFilter_stopsVibrating()
1766 service.cancelVibrate(VibrationAttributes.USAGE_FILTER_MATCH_ALL, service); in cancelVibrate_withoutUsageFilter_stopsVibrating()
1783 service.cancelVibrate(VibrationAttributes.USAGE_RINGTONE, service); in cancelVibrate_withFilter_onlyCancelsVibrationWithFilteredUsage()
1787 service.cancelVibrate( in cancelVibrate_withFilter_onlyCancelsVibrationWithFilteredUsage()
1793 service.cancelVibrate( in cancelVibrate_withFilter_onlyCancelsVibrationWithFilteredUsage()
1814 service.cancelVibrate(VibrationAttributes.USAGE_RINGTONE, service); in cancelVibrate_withoutUnknownUsage_onlyStopsIfFilteringUnknownOrAllUsages()
1817 service.cancelVibrate( in cancelVibrate_withoutUnknownUsage_onlyStopsIfFilteringUnknownOrAllUsages()
[all …]
/frameworks/base/core/java/android/hardware/input/
DInputDeviceVibratorManager.java135 mGlobal.cancelVibrate(mDeviceId, mToken); in cancel()
DInputDeviceVibrator.java184 mGlobal.cancelVibrate(mDeviceId, mToken); in cancel()
DIInputManager.aidl142 void cancelVibrate(int deviceId, IBinder token); in cancelVibrate() method
DInputManagerGlobal.java1287 void cancelVibrate(int deviceId, IBinder token) { in cancelVibrate() method in InputManagerGlobal
1289 mIm.cancelVibrate(deviceId, token); in cancelVibrate()
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java151 void cancelVibrate(int deviceId, int token); in cancelVibrate() method
419 public native void cancelVibrate(int deviceId, int token); in cancelVibrate() method in NativeInputManagerService.NativeImpl
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
DVibratorManagerServicePermissionTest.java148 mVibratorService.cancelVibrate(/* usageFilter= */ -1, new Binder()); in testCancelVibrateFails()
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h108 [[nodiscard]] std::list<NotifyArgs> cancelVibrate(int32_t token);
414 inline void cancelVibrate() { return mEventHub->cancelVibrate(mId); } in cancelVibrate() function
DInputReader.h81 void cancelVibrate(int32_t deviceId, int32_t token) override;
DEventHub.h372 virtual void cancelVibrate(int32_t deviceId) = 0;
588 void cancelVibrate(int32_t deviceId) override final;
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h350 virtual void cancelVibrate(int32_t deviceId, int32_t token) = 0;
/frameworks/native/services/inputflinger/tests/
DInterfaceMocks.h164 MOCK_METHOD(void, cancelVibrate, (int32_t deviceId), (override));
DFakeEventHub.h206 void cancelVibrate(int32_t) override {} in cancelVibrate() function
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp608 std::list<NotifyArgs> InputDevice::cancelVibrate(int32_t token) { in cancelVibrate() function in android::InputDevice
610 for_each_mapper([&](InputMapper& mapper) { out += mapper.cancelVibrate(token); }); in cancelVibrate()
DInputReader.cpp679 void InputReader::cancelVibrate(int32_t deviceId, int32_t token) { in cancelVibrate() function in android::InputReader
684 mPendingArgs += device->cancelVibrate(token); in cancelVibrate()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorManagerService.java573 public void cancelVibrate(int usageFilter, IBinder token) { in cancelVibrate() method in VibratorManagerService
2255 cancelVibrate(VibrationAttributes.USAGE_FILTER_MATCH_ALL, VibratorManagerService.this); in runCancel()

12