Searched refs:supportedEffects (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | VibratorInfo.java | 110 public VibratorInfo(int id, long capabilities, @Nullable SparseBooleanArray supportedEffects, in VibratorInfo() argument 119 mSupportedEffects = supportedEffects == null ? null : supportedEffects.clone(); in VibratorInfo() 763 public Builder setSupportedEffects(int... supportedEffects) { in setSupportedEffects() argument 764 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 | 391 if (info.supportedEffects.isOk()) { in vibratorGetInfo() 392 std::vector<aidl::Effect> effects = info.supportedEffects.value(); in vibratorGetInfo() 393 jintArray supportedEffects = env->NewIntArray(effects.size()); in vibratorGetInfo() local 394 env->SetIntArrayRegion(supportedEffects, 0, effects.size(), in vibratorGetInfo() 397 sVibratorInfoBuilderClassInfo.setSupportedEffects, supportedEffects); in vibratorGetInfo()
|
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/ |
D | PrebakedSegmentTest.java | 289 private static VibratorInfo createVibratorInfoWithSupportedEffects(int... supportedEffects) { in createVibratorInfoWithSupportedEffects() argument 291 .setSupportedEffects(supportedEffects) in createVibratorInfoWithSupportedEffects()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 482 String8 supportedEffects; in initialize() local 485 if (addComma) supportedEffects += ","; in initialize() 489 supportedEffects += in initialize() 493 supportedEffects += in initialize() 497 supportedEffects += in initialize() 501 supportedEffects += in initialize() 505 supportedEffects += in initialize() 509 supportedEffects += in initialize() 513 supportedEffects += in initialize() 517 supportedEffects += in initialize() [all …]
|
/frameworks/native/services/vibratorservice/ |
D | VibratorHalWrapper.cpp | 309 std::vector<Effect> supportedEffects; in getSupportedEffectsInternal() local 310 auto result = getHal()->getSupportedEffects(&supportedEffects); in getSupportedEffectsInternal() 311 return HalResultFactory::fromStatus<std::vector<Effect>>(result, supportedEffects); in getSupportedEffectsInternal()
|
/frameworks/native/services/vibratorservice/include/vibratorservice/ |
D | VibratorHalWrapper.h | 234 const HalResult<std::vector<hardware::vibrator::Effect>> supportedEffects; variable 250 logFailure<std::vector<hardware::vibrator::Effect>>(supportedEffects, in logFailures() 271 return capabilities.shouldRetry() || supportedEffects.shouldRetry() || in shouldRetry()
|
/frameworks/native/services/vibratorservice/benchmarks/ |
D | VibratorHalControllerBenchmarks.cpp | 378 auto effectsResult = controller.getInfo().supportedEffects; in DefaultArgs()
|