Searched refs:supportedPrimitives (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/vibratorservice/test/ |
D | VibratorHalWrapperAidlTest.cpp | 309 std::vector<CompositePrimitive> supportedPrimitives = {CompositePrimitive::CLICK}; in TEST_F() local 334 .WillRepeatedly(DoAll(SetArgPointee<0>(supportedPrimitives), Return(Status()))); in TEST_F() 379 ASSERT_TRUE(failed.supportedPrimitives.isFailed()); in TEST_F() 395 ASSERT_EQ(supportedPrimitives, successful.supportedPrimitives.value()); in TEST_F() 472 ASSERT_TRUE(info.supportedPrimitives.isUnsupported()); in TEST_F() 564 std::vector<CompositePrimitive> supportedPrimitives = {CompositePrimitive::CLICK, in TEST_F() local 579 .WillRepeatedly(DoAll(SetArgPointee<0>(supportedPrimitives), Return(Status()))); in TEST_F() 621 std::vector<CompositePrimitive> supportedPrimitives = {CompositePrimitive::SPIN, in TEST_F() local 633 .WillRepeatedly(DoAll(SetArgPointee<0>(supportedPrimitives), Return(Status()))); in TEST_F()
|
D | VibratorHalWrapperHidlV1_0Test.cpp | 207 ASSERT_TRUE(info.supportedPrimitives.isUnsupported()); in TEST_F() 244 ASSERT_TRUE(info.supportedPrimitives.isUnsupported()); in TEST_F()
|
/frameworks/native/services/vibratorservice/benchmarks/ |
D | VibratorHalControllerBenchmarks.cpp | 271 checkHalResult(result.supportedPrimitives, state); 286 checkHalResult(result.supportedPrimitives, state); 410 auto primitivesResult = controller.getInfo().supportedPrimitives; in DefaultArgs()
|
/frameworks/native/services/vibratorservice/ |
D | VibratorHalWrapper.cpp | 389 std::vector<CompositePrimitive> supportedPrimitives; in getSupportedPrimitivesInternal() local 390 auto result = getHal()->getSupportedPrimitives(&supportedPrimitives); in getSupportedPrimitivesInternal() 391 return HalResult<std::vector<CompositePrimitive>>::fromStatus(result, supportedPrimitives); in getSupportedPrimitivesInternal() 395 const std::vector<CompositePrimitive>& supportedPrimitives) { in getPrimitiveDurationsInternal() argument 401 for (auto primitive : supportedPrimitives) { in getPrimitiveDurationsInternal()
|
/frameworks/native/services/vibratorservice/include/vibratorservice/ |
D | VibratorHalWrapper.h | 183 const HalResult<std::vector<hardware::vibrator::CompositePrimitive>> supportedPrimitives; variable 199 supportedPrimitives.checkAndLogFailure("getSupportedPrimitives") || in checkAndLogFailure() 311 const std::vector<hardware::vibrator::CompositePrimitive>& supportedPrimitives); 376 const std::vector<hardware::vibrator::CompositePrimitive>& supportedPrimitives)
|
/frameworks/base/core/java/android/os/ |
D | VibratorInfo.java | 102 @NonNull SparseIntArray supportedPrimitives, int primitiveDelayMax, in VibratorInfo() argument 109 mSupportedPrimitives = supportedPrimitives.clone(); in VibratorInfo()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_vibrator_VibratorController.cpp | 405 if (info.supportedPrimitives.isOk()) { in vibratorGetInfo() 407 for (auto& primitive : info.supportedPrimitives.value()) { in vibratorGetInfo()
|