Home
last modified time | relevance | path

Searched refs:pwleQueue (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/vibrator/aidl/vts/
DVtsHalVibratorTargetTest.cpp768 auto pwleQueue = in TEST_P()
771 EXPECT_EQ(Status::EX_NONE, vibrator->composePwle(pwleQueue, nullptr).exceptionCode()); in TEST_P()
800 auto pwleQueue = std::vector<PrimitivePwle>{active, braking, active}; in TEST_P()
802 EXPECT_TRUE(vibrator->composePwle(pwleQueue, callback).isOk()); in TEST_P()
809 std::vector<PrimitivePwle> pwleQueue; in TEST_P() local
812 vibrator->composePwle(pwleQueue, nullptr).exceptionCode()); in TEST_P()
824 pwleQueue.emplace_back(std::move(pwle)); in TEST_P()
828 vibrator->composePwle(pwleQueue, nullptr).exceptionCode()); in TEST_P()
893 auto pwleQueue = std::vector<PrimitivePwle>{active}; in TEST_P()
896 vibrator->composePwle(pwleQueue, nullptr).exceptionCode()); in TEST_P()
/hardware/google/pixel/vibrator/cs40l25/
DVibrator.cpp843 ndk::ScopedAStatus Vibrator::setPwle(const std::string &pwleQueue) { in setPwle() argument
844 HAPTICS_TRACE("setPwle(pwleQueue:%s)", pwleQueue.c_str()); in setPwle()
845 if (!mHwApi->setPwle(pwleQueue)) { in setPwle()
847 ALOGE("Failed to write \"%s\" to pwle (%d): %s", pwleQueue.c_str(), errno, strerror(errno)); in setPwle()
899 std::string pwleQueue; in composePwle() local
1001 pwleQueue = pwleBuilder.str(); in composePwle()
1002 ALOGD("composePwle queue: (%s)", pwleQueue.c_str()); in composePwle()
1004 if (pwleQueue.size() > CS40L2X_PWLE_LENGTH_MAX) { in composePwle()
1005 ALOGE("PWLE string too large(%u)", static_cast<uint32_t>(pwleQueue.size())); in composePwle()
1009 ALOGD("PWLE string : %u", static_cast<uint32_t>(pwleQueue.size())); in composePwle()
[all …]
DVibrator.h223 ndk::ScopedAStatus setPwle(const std::string &pwleQueue);
/hardware/google/pixel/vibrator/cs40l26/
DVibrator.h233 ndk::ScopedAStatus setPwle(const std::string &pwleQueue);
/hardware/interfaces/vibrator/aidl/default/
DVibrator.cpp328 std::string pwleQueue; in composePwle() local