Home
last modified time | relevance | path

Searched refs:lengthMs (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/cmds/idlcli/vibrator/
DCommandPerform.cpp111 uint32_t lengthMs; in doMain() local
131 lengthMs = static_cast<uint32_t>(aidlLengthMs); in doMain()
136 auto callback = [&status, &lengthMs](V1_0::Status retStatus, uint32_t retLengthMs) { in doMain()
138 lengthMs = retLengthMs; in doMain()
168 sleep_for(milliseconds(lengthMs)); in doMain()
173 std::cout << "Length: " << lengthMs << std::endl; in doMain()
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp329 int32_t lengthMs; in performEffect() local
330 auto result = getHal()->perform(effect, strength, cb, &lengthMs); in performEffect()
331 milliseconds length = milliseconds(lengthMs); in performEffect()
550 int32_t lengthMs; in performInternal() local
551 auto effectCallback = [&status, &lengthMs](V1_0::Status retStatus, uint32_t retLengthMs) { in performInternal()
553 lengthMs = retLengthMs; in performInternal()
558 milliseconds length = milliseconds(lengthMs); in performInternal()