Home
last modified time | relevance | path

Searched refs:duration (Results 1 – 25 of 40) sorted by relevance

12

/device/google/coral/vibrator/tests/
Dtest-vibrator.cpp91 auto duration = EFFECT_DURATION; in Queue() local
92 return {string, duration}; in Queue()
105 auto duration = std::get<1>(head) + std::get<1>(tail); in Queue() local
106 return {string, duration}; in Queue()
257 uint16_t duration = std::rand() + 1; in TEST_F() local
265 EXPECT_CALL(*mMockApi, setDuration(Ge(duration))) in TEST_F()
272 EXPECT_EQ(Status::OK, mVibrator->on(duration)); in TEST_F()
395 EffectDuration duration; in TEST_P() local
400 duration = EFFECT_DURATION; in TEST_P()
408 EXPECT_CALL(*mMockApi, setDuration(Ge(duration))) in TEST_P()
[all …]
/device/google/bonito/
Ddevice-bonito.mk32 ro.vibrator.hal.click.duration=8 \
33 ro.vibrator.hal.tick.duration=5 \
34 ro.vibrator.hal.heavyclick.duration=12 \
Ddevice-sargo.mk34 ro.vibrator.hal.click.duration=8 \
35 ro.vibrator.hal.tick.duration=5 \
36 ro.vibrator.hal.heavyclick.duration=12 \
/device/google/bonito-sepolicy/vendor/google/
Dproperty_contexts7 ro.vibrator.hal.click.duration u:object_r:vendor_vibrator_prop:s0
8 ro.vibrator.hal.tick.duration u:object_r:vendor_vibrator_prop:s0
9 ro.vibrator.hal.heavyclick.duration u:object_r:vendor_vibrator_prop:s0
/device/google/contexthub/firmware/app/chre/common/
Dchre10_app_syscalls.c64 uint32_t chreTimerSet(uint64_t duration, const void* cookie, bool oneShot) in chreTimerSet() argument
66 uint32_t dur_lo = duration; in chreTimerSet()
67 uint32_t dur_hi = duration >> 32; in chreTimerSet()
Dchre11_app_syscalls.c67 uint32_t chreTimerSet(uint64_t duration, const void* cookie, bool oneShot) in chreTimerSet() argument
69 uint32_t dur_lo = duration; in chreTimerSet()
70 uint32_t dur_hi = duration >> 32; in chreTimerSet()
Dchre_app_syscalls.c67 uint32_t chreTimerSet(uint64_t duration, const void* cookie, bool oneShot) in chreTimerSet() argument
69 uint32_t dur_lo = duration; in chreTimerSet()
70 uint32_t dur_hi = duration >> 32; in chreTimerSet()
/device/google/crosshatch/vibrator/
Dimpl.cpp112 std::ofstream duration{DURATION_PATH}; in makeVibratorService() local
113 if (!duration) { in makeVibratorService()
146 return new Vibrator(std::move(activate), std::move(duration), std::move(effect), in makeVibratorService()
DVibrator.h32 Vibrator(std::ofstream&& activate, std::ofstream&& duration, std::ofstream&& effect,
DVibrator.cpp103 Vibrator::Vibrator(std::ofstream&& activate, std::ofstream&& duration, std::ofstream&& effect, in Vibrator() argument
106 mDuration(std::move(duration)), in Vibrator()
/device/google/wahoo/vibrator/
Dservice.cpp130 std::ofstream duration{DURATION_PATH}; in registerVibratorService() local
131 if (!duration) { in registerVibratorService()
192 sp<IVibrator> vibrator = new Vibrator(std::move(activate), std::move(duration), in registerVibratorService()
DVibrator.cpp67 Vibrator::Vibrator(std::ofstream&& activate, std::ofstream&& duration, in Vibrator() argument
72 mDuration(std::move(duration)), in Vibrator()
DVibrator.h32 Vibrator(std::ofstream&& activate, std::ofstream&& duration,
/device/google/taimen/
Ddevice.mk136 ro.vibrator.hal.click.duration=10 \
137 ro.vibrator.hal.tick.duration=4 \
138 ro.vibrator.hal.heavyclick.duration=12
/device/google/coral/vibrator/bench/
Dbenchmark.cpp91 uint32_t duration = std::rand() ?: 1;
94 mVibrator->on(duration);
/device/linaro/poplar/wifi/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c127 int wpa_driver_set_p2p_noa(void *priv, u8 count, int start, int duration) in wpa_driver_set_p2p_noa() argument
133 snprintf(buf, sizeof(buf), "P2P_SET_NOA %d %d %d", count, start, duration); in wpa_driver_set_p2p_noa()
/device/google/cuttlefish/host/frontend/gcastv2/https/
DRunLoop.cpp124 std::chrono::steady_clock::duration delay, AsyncFunction fn) { in postWithDelay()
301 auto duration = in run() local
305 std::chrono::duration_cast<std::chrono::milliseconds>(duration); in run()
/device/google/cuttlefish/host/commands/fetcher/
Dcredential_source.cc23 std::chrono::steady_clock::duration REFRESH_WINDOW =
/device/google/bonito/vibrator/
Dservice.cpp153 hwapi.duration.open(DURATION_PATH); in registerVibratorService()
154 if (!hwapi.duration) { in registerVibratorService()
DVibrator.cpp90 mHwApi.duration << timeoutMs << std::endl; in on()
91 if (!mHwApi.duration) { in on()
DVibrator.h35 std::ofstream duration; member
/device/google/cuttlefish/host/frontend/gcastv2/https/include/https/
DRunLoop.h62 std::chrono::steady_clock::duration delay, AsyncFunction fn);
/device/generic/goldfish/wifi/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c75 __attribute__((__unused__)) int duration) { in wpa_driver_set_p2p_noa() argument
/device/google/cuttlefish/host/commands/modem_simulator/
Dthread_looper.h63 Serial PostWithDelay(std::chrono::steady_clock::duration delay, Callback cb);
Dthread_looper.cpp46 std::chrono::steady_clock::duration delay, Callback cb) { in PostWithDelay()

12