Home
last modified time | relevance | path

Searched refs:supportedBraking (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/os/
DVibratorInfo.java101 @Nullable SparseBooleanArray supportedBraking, in VibratorInfo() argument
108 mSupportedBraking = supportedBraking == null ? null : supportedBraking.clone(); in VibratorInfo()
724 public Builder setSupportedBraking(int... supportedBraking) { in setSupportedBraking() argument
725 mSupportedBraking = toSparseBooleanArray(supportedBraking); in setSupportedBraking()
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp386 if (info.supportedBraking.isOk()) { in vibratorGetInfo()
387 std::vector<aidl::Braking> braking = info.supportedBraking.value(); in vibratorGetInfo()
388 jintArray supportedBraking = env->NewIntArray(braking.size()); in vibratorGetInfo() local
389 env->SetIntArrayRegion(supportedBraking, 0, braking.size(), in vibratorGetInfo()
392 sVibratorInfoBuilderClassInfo.setSupportedBraking, supportedBraking); in vibratorGetInfo()
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperAidlTest.cpp310 std::vector<Braking> supportedBraking = {Braking::CLAB}; in TEST_F() local
330 .WillRepeatedly(DoAll(SetArgPointee<0>(supportedBraking), Return(Status()))); in TEST_F()
378 ASSERT_TRUE(failed.supportedBraking.isFailed()); in TEST_F()
394 ASSERT_EQ(supportedBraking, successful.supportedBraking.value()); in TEST_F()
471 ASSERT_TRUE(info.supportedBraking.isUnsupported()); in TEST_F()
DVibratorHalWrapperHidlV1_0Test.cpp206 ASSERT_TRUE(info.supportedBraking.isUnsupported()); in TEST_F()
243 ASSERT_TRUE(info.supportedBraking.isUnsupported()); in TEST_F()
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp383 std::vector<Braking> supportedBraking; in getSupportedBrakingInternal() local
384 auto result = getHal()->getSupportedBraking(&supportedBraking); in getSupportedBrakingInternal()
385 return HalResult<std::vector<Braking>>::fromStatus(result, supportedBraking); in getSupportedBrakingInternal()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h182 const HalResult<std::vector<hardware::vibrator::Braking>> supportedBraking; variable
198 supportedBraking.checkAndLogFailure("getSupportedBraking") || in checkAndLogFailure()