/frameworks/native/services/vibratorservice/test/ |
D | VibratorManagerHalControllerTest.cpp | 45 MOCK_METHOD(vibrator::HalResult<std::shared_ptr<HalController>>, getVibrator, (int32_t id), 87 EXPECT_CALL(*mMockHal.get(), getVibrator(_)) in setHalExpectations() 135 auto getVibratorResult = mController->getVibrator(VIBRATOR_ID); in TEST_F() 155 ASSERT_TRUE(mController->getVibrator(VIBRATOR_ID).isUnsupported()); in TEST_F() 172 ASSERT_TRUE(mController->getVibrator(VIBRATOR_ID).isFailed()); in TEST_F() 189 ASSERT_TRUE(mController->getVibrator(VIBRATOR_ID).isFailed()); in TEST_F()
|
D | VibratorManagerHalWrapperLegacyTest.cpp | 105 ASSERT_TRUE(mWrapper->getVibrator(0).isFailed()); in TEST_F() 107 auto result = mWrapper->getVibrator(0); in TEST_F() 113 ASSERT_TRUE(mWrapper->getVibrator(-1).isFailed()); in TEST_F()
|
D | VibratorManagerHalWrapperAidlTest.cpp | 97 MOCK_METHOD(Status, getVibrator, (int32_t id, sp<IVibrator>* ret), (override)); 230 EXPECT_CALL(*mMockHal.get(), getVibrator(Eq(kVibratorId), _)) in TEST_F() 235 auto result = mWrapper->getVibrator(kVibratorId); in TEST_F() 246 ASSERT_TRUE(mWrapper->getVibrator(0).isFailed()); in TEST_F() 254 EXPECT_CALL(*mMockHal.get(), getVibrator(Eq(kVibratorId), _)) in TEST_F() 268 auto result = mWrapper->getVibrator(kVibratorId); in TEST_F() 286 EXPECT_CALL(*mMockHal.get(), getVibrator(_, _)) in TEST_F() 362 EXPECT_CALL(*mMockHal.get(), getVibrator(_, _)) in TEST_F()
|
/frameworks/native/services/vibratorservice/include/vibratorservice/ |
D | VibratorManagerHalWrapper.h | 76 virtual HalResult<std::shared_ptr<HalController>> getVibrator(int32_t id) = 0; 96 HalResult<std::shared_ptr<HalController>> getVibrator(int32_t id) override final; 119 HalResult<std::shared_ptr<HalController>> getVibrator(int32_t id) override final;
|
D | VibratorManagerHalController.h | 60 HalResult<std::shared_ptr<HalController>> getVibrator(int32_t id) override final;
|
/frameworks/base/core/tests/vibrator/src/android/os/ |
D | VibratorTest.java | 126 verify(mockVibratorManager, never()).getVibrator(anyInt()); in onVibratorStateChanged_noVibrator_registersNoListenerToVibratorManager() 133 when(mockVibratorManager.getVibrator(anyInt())).thenReturn(NullVibrator.getInstance()); in onVibratorStateChanged_singleVibrator_forwardsAllCallbacks() 161 when(mockVibratorManager.getVibrator(anyInt())).thenReturn(NullVibrator.getInstance()); in onVibratorStateChanged_multipleVibrators_triggersOnlyWhenAllVibratorsInitialized() 186 when(mockVibratorManager.getVibrator(anyInt())).thenReturn(NullVibrator.getInstance()); in onVibratorStateChanged_multipleVibrators_stateChangeIsDeduped()
|
/frameworks/base/core/java/android/os/ |
D | SystemVibrator.java | 82 Vibrator vibrator = mVibratorManager.getVibrator(vibratorIds[i]); in getInfo() 112 if (mVibratorManager.getVibrator(vibratorId).isVibrating()) { in isVibrating() 319 vibratorManager.getVibrator(vibratorId).addVibratorStateListener(mExecutor, in register() 342 vibratorManager.getVibrator(vibratorId).removeVibratorStateListener(listener); in unregister()
|
D | VibratorManager.java | 70 public abstract Vibrator getVibrator(int vibratorId); in getVibrator() method in VibratorManager
|
D | SystemVibratorManager.java | 87 public Vibrator getVibrator(int vibratorId) { in getVibrator() method in SystemVibratorManager
|
/frameworks/native/services/vibratorservice/ |
D | VibratorManagerHalWrapper.cpp | 53 HalResult<std::shared_ptr<HalController>> LegacyManagerHalWrapper::getVibrator(int32_t id) { in getVibrator() function in android::vibrator::LegacyManagerHalWrapper 80 auto result = this->getHal()->getVibrator(vibratorId, &vibrator); in connectToVibrator() 147 HalResult<std::shared_ptr<HalController>> AidlManagerHalWrapper::getVibrator(int32_t id) { in getVibrator() function in android::vibrator::AidlManagerHalWrapper
|
D | VibratorManagerHalController.cpp | 120 HalResult<std::shared_ptr<HalController>> ManagerHalController::getVibrator(int32_t id) { in getVibrator() function in android::vibrator::ManagerHalController 122 [&](std::shared_ptr<ManagerHalWrapper> hal) { return hal->getVibrator(id); }; in getVibrator()
|
/frameworks/layoutlib/bridge/src/android/os/ |
D | NullVibratorManager.java | 34 public Vibrator getVibrator(int vibratorId) { in getVibrator() method in NullVibratorManager
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputDeviceVibratorManager.java | 106 public Vibrator getVibrator(int vibratorId) { in getVibrator() method in InputDeviceVibratorManager
|
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | ShutdownThreadTest.java | 204 public Vibrator getVibrator(Context context) { in getVibrator() method in ShutdownThreadTest.TestInjector
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ShutdownThread.java | 746 Vibrator vibrator = mInjector.getVibrator(context); in playShutdownVibration() 907 public Vibrator getVibrator(Context context) {
|
/frameworks/base/services/core/jni/ |
D | com_android_server_vibrator_VibratorController.cpp | 100 auto result = manager->getVibrator(vibratorId); in findVibrator()
|
/frameworks/base/core/java/android/view/ |
D | InputDevice.java | 1242 public Vibrator getVibrator() { in getVibrator() method in InputDevice
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 1616 Vibrator vibrator = vibratorManager.getVibrator(id); in updateVibratorInfos()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/base/core/api/ |
D | current.txt | 34227 method @NonNull public abstract android.os.Vibrator getVibrator(int); 51028 method @Deprecated public android.os.Vibrator getVibrator();
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 32257 method public android.os.Vibrator getVibrator();
|