Searched refs:supportedEffects (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | VibratorInfo.java | 100 public VibratorInfo(int id, long capabilities, @Nullable SparseBooleanArray supportedEffects, in VibratorInfo() argument 107 mSupportedEffects = supportedEffects == null ? null : supportedEffects.clone(); in VibratorInfo() 717 public Builder setSupportedEffects(int... supportedEffects) { in setSupportedEffects() argument 718 mSupportedEffects = toSparseBooleanArray(supportedEffects); in setSupportedEffects()
|
/frameworks/native/services/vibratorservice/test/ |
D | VibratorHalWrapperAidlTest.cpp | 308 std::vector<Effect> supportedEffects = {Effect::CLICK, Effect::TICK}; in TEST_F() local 326 .WillRepeatedly(DoAll(SetArgPointee<0>(supportedEffects), Return(Status()))); in TEST_F() 377 ASSERT_TRUE(failed.supportedEffects.isFailed()); in TEST_F() 393 ASSERT_EQ(supportedEffects, successful.supportedEffects.value()); in TEST_F() 416 std::vector<Effect> supportedEffects = {Effect::CLICK, Effect::TICK}; in TEST_F() local 423 .WillRepeatedly(DoAll(SetArgPointee<0>(supportedEffects), Return(Status()))); in TEST_F() 470 ASSERT_EQ(supportedEffects, info.supportedEffects.value()); in TEST_F()
|
D | VibratorHalWrapperHidlV1_0Test.cpp | 205 ASSERT_TRUE(info.supportedEffects.isUnsupported()); in TEST_F() 242 ASSERT_TRUE(info.supportedEffects.isUnsupported()); in TEST_F()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_vibrator_VibratorController.cpp | 378 if (info.supportedEffects.isOk()) { in vibratorGetInfo() 379 std::vector<aidl::Effect> effects = info.supportedEffects.value(); in vibratorGetInfo() 380 jintArray supportedEffects = env->NewIntArray(effects.size()); in vibratorGetInfo() local 381 env->SetIntArrayRegion(supportedEffects, 0, effects.size(), in vibratorGetInfo() 384 sVibratorInfoBuilderClassInfo.setSupportedEffects, supportedEffects); in vibratorGetInfo()
|
/frameworks/native/services/vibratorservice/benchmarks/ |
D | VibratorHalControllerBenchmarks.cpp | 270 checkHalResult(result.supportedEffects, state); 285 checkHalResult(result.supportedEffects, state); 297 auto effectsResult = controller.getInfo().supportedEffects; in DefaultArgs()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 461 String8 supportedEffects; in initialize() local 464 if (addComma) supportedEffects += ","; in initialize() 468 supportedEffects += in initialize() 472 supportedEffects += in initialize() 476 supportedEffects += in initialize() 480 supportedEffects += in initialize() 484 supportedEffects += in initialize() 488 supportedEffects += in initialize() 492 supportedEffects += in initialize() 496 supportedEffects += in initialize() [all …]
|
/frameworks/native/services/vibratorservice/ |
D | VibratorHalWrapper.cpp | 377 std::vector<Effect> supportedEffects; in getSupportedEffectsInternal() local 378 auto result = getHal()->getSupportedEffects(&supportedEffects); in getSupportedEffectsInternal() 379 return HalResult<std::vector<Effect>>::fromStatus(result, supportedEffects); in getSupportedEffectsInternal()
|
/frameworks/native/services/vibratorservice/include/vibratorservice/ |
D | VibratorHalWrapper.h | 181 const HalResult<std::vector<hardware::vibrator::Effect>> supportedEffects; variable 197 supportedEffects.checkAndLogFailure("getSupportedEffects") || in checkAndLogFailure()
|