Home
last modified time | relevance | path

Searched refs:timeoutMs (Results 1 – 25 of 60) sorted by relevance

123

/hardware/interfaces/audio/aidl/vts/
DAudioHalBinderServiceUtil.h44 std::chrono::milliseconds timeoutMs = std::chrono::milliseconds(3000)) {
45 if (!stopService(timeoutMs)) {
61 bool waitForFired(std::chrono::milliseconds timeoutMs) { in waitForFired() argument
63 return condition.wait_for(lock, timeoutMs, [this]() { return fired; }); in waitForFired()
85 bool stopService(std::chrono::milliseconds timeoutMs) { in stopService() argument
95 if (!deathHandler.waitForFired(timeoutMs)) { in stopService()
/hardware/google/aemu/host-common/testing/
DMockAndroidEmulatorWindowAgent.cpp42 [](const char* message, WindowMessageType type, int timeoutMs) { in __anon218769fb0502()
44 ->showMessage(message, type, timeoutMs); in __anon218769fb0502()
53 int timeoutMs) { in __anon218769fb0602()
/hardware/google/aemu/base/include/aemu/base/testing/
DTestEvent.h68 void wait(int64_t timeoutMs = kDefaultTimeoutMs) {
71 mCv.wait_for(lock, std::chrono::milliseconds(timeoutMs),
/hardware/google/aemu/host-common/include/host-common/
Dwindow_agent.h69 int timeoutMs);
77 int timeoutMs);
/hardware/interfaces/broadcastradio/aidl/default/test/
DMockBroadcastRadioCallback.h62 CallbackFlag(int timeoutMs) { mTimeoutMs = timeoutMs; } in CallbackFlag() argument
/hardware/interfaces/gatekeeper/aidl/android/hardware/gatekeeper/
DGatekeeperEnrollResponse.aidl33 int timeoutMs;
DGatekeeperVerifyResponse.aidl35 int timeoutMs;
/hardware/interfaces/gatekeeper/aidl/aidl_api/android.hardware.gatekeeper/1/android/hardware/gatekeeper/
DGatekeeperEnrollResponse.aidl38 int timeoutMs;
DGatekeeperVerifyResponse.aidl38 int timeoutMs;
/hardware/interfaces/gatekeeper/aidl/aidl_api/android.hardware.gatekeeper/current/android/hardware/gatekeeper/
DGatekeeperEnrollResponse.aidl38 int timeoutMs;
DGatekeeperVerifyResponse.aidl38 int timeoutMs;
/hardware/google/aemu/base/include/aemu/base/
DDebug.h44 bool WaitForDebugger(int64_t timeoutMs = -1);
/hardware/google/aemu/base/include/aemu/base/files/
DFileShareOpen.h29 FileShare fileshare, int timeoutMs);
/hardware/interfaces/usb/gadget/aidl/android/hardware/usb/gadget/
DIUsbGadget.aidl37 in long timeoutMs, long transactionId); in setCurrentUsbFunctions() argument
/hardware/interfaces/usb/gadget/aidl/aidl_api/android.hardware.usb.gadget/current/android/hardware/usb/gadget/
DIUsbGadget.aidl37 …ns, in android.hardware.usb.gadget.IUsbGadgetCallback callback, in long timeoutMs, long transactio… in setCurrentUsbFunctions() argument
/hardware/interfaces/usb/gadget/aidl/aidl_api/android.hardware.usb.gadget/1/android/hardware/usb/gadget/
DIUsbGadget.aidl37 …ns, in android.hardware.usb.gadget.IUsbGadgetCallback callback, in long timeoutMs, long transactio… in setCurrentUsbFunctions() argument
/hardware/google/pixel/vibrator/cs40l26/
DVibrator.h62 virtual bool pollVibeState(uint32_t value, int32_t timeoutMs = -1) = 0;
95 virtual bool setFFEffect(struct ff_effect *effect, uint16_t timeoutMs) = 0;
183 ndk::ScopedAStatus on(int32_t timeoutMs,
215 ndk::ScopedAStatus on(uint32_t timeoutMs, uint32_t effectIndex, const class DspMemChunk *ch,
DHardware.h90 bool pollVibeState(uint32_t value, int32_t timeoutMs) override { in pollVibeState() argument
91 return poll(value, &mVibeState, timeoutMs); in pollVibeState()
207 bool setFFEffect(struct ff_effect *effect, uint16_t timeoutMs) override { in setFFEffect() argument
208 ATRACE_NAME(StringPrintf("%s %dms", __func__, timeoutMs).c_str()); in setFFEffect()
217 HWAPI_RECORD(StringPrintf("#%d: %dms", (*effect).id, timeoutMs), &mInputIoStream); in setFFEffect()
/hardware/interfaces/vibrator/1.0/default/
DVibrator.h33 Return<Status> on(uint32_t timeoutMs) override;
/hardware/google/pixel/vibrator/drv2624/
DVibrator.cpp124 ndk::ScopedAStatus Vibrator::on(uint32_t timeoutMs, const char mode[], in on() argument
130 if (mode == RTP_MODE && timeoutMs > mCloseLoopThreshold) { in on()
135 if (!mHwApi->setDuration(timeoutMs)) { in on()
155 ndk::ScopedAStatus Vibrator::on(int32_t timeoutMs, in on() argument
161 return on(timeoutMs, RTP_MODE, mSteadyConfig); in on()
/hardware/google/pixel/vibrator/cs40l26/tests/
Dmocks.h31 MOCK_METHOD2(pollVibeState, bool(uint32_t value, int32_t timeoutMs));
44 MOCK_METHOD2(setFFEffect, bool(struct ff_effect *effect, uint16_t timeoutMs));
/hardware/google/pixel/vibrator/common/
DHardwareBase.h138 bool HwApiBase::poll(const T &value, std::istream *stream, const int32_t timeoutMs) { in poll() argument
152 if (timeoutMs < -1) { in poll()
163 epollRet = epoll_wait(epollFd, &event, 1, timeoutMs); in poll()
/hardware/google/pixel/vibrator/cs40l25/
DVibrator.h94 virtual bool pollVibeState(uint32_t value, int32_t timeoutMs = -1) = 0;
170 ndk::ScopedAStatus on(int32_t timeoutMs,
202 ndk::ScopedAStatus on(uint32_t timeoutMs, uint32_t effectIndex,
DVibrator.cpp339 ndk::ScopedAStatus Vibrator::on(int32_t timeoutMs, in on() argument
341 HAPTICS_TRACE("on(timeoutMs:%u, callback)", timeoutMs); in on()
345 const uint32_t index = timeoutMs < WAVEFORM_LONG_VIBRATION_THRESHOLD_MS in on()
348 mStatsApi->logWaveform(index, timeoutMs); in on()
349 if (MAX_COLD_START_LATENCY_MS <= UINT32_MAX - timeoutMs) { in on()
350 timeoutMs += MAX_COLD_START_LATENCY_MS; in on()
354 return on(timeoutMs, index, callback); in on()
545 ndk::ScopedAStatus Vibrator::on(uint32_t timeoutMs, uint32_t effectIndex, in on() argument
547 HAPTICS_TRACE("on(timeoutMs:%u, effectIndex:%u, callback)", timeoutMs, effectIndex); in on()
561 mHwApi->setDuration(timeoutMs); in on()
[all …]
/hardware/interfaces/vibrator/aidl/aidl_api/android.hardware.vibrator/1/android/hardware/vibrator/
DIVibrator.aidl23 void on(in int timeoutMs, in android.hardware.vibrator.IVibratorCallback callback); in on() argument

123