Home
last modified time | relevance | path

Searched refs:milliseconds (Results 1 – 25 of 98) sorted by relevance

1234

/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DRecurrentTimer_test.cpp26 using std::chrono::milliseconds;
42 timer.registerRecurrentEvent(milliseconds(1), 0xdead); in TEST()
43 std::this_thread::sleep_for(milliseconds(100)); in TEST()
65 timer.registerRecurrentEvent(milliseconds(1), 0xdead); in TEST()
66 timer.registerRecurrentEvent(milliseconds(5), 0xbeef); in TEST()
68 std::this_thread::sleep_for(milliseconds(100)); in TEST()
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp45 using std::chrono::milliseconds;
76 int32_t numCallsToFlush, milliseconds timeout) { in waitForFlushEvents()
87 void waitForEvents(const std::vector<SensorInfo>& sensorsToWaitFor, milliseconds timeout) { in waitForEvents()
402 callback.waitForEvents(sensors, milliseconds(1000) /* timeout */); in TEST_P()
428 testStreamingOperation(SensorType::ACCELEROMETER, std::chrono::milliseconds(200), in TEST_P()
434 testStreamingOperation(SensorType::ACCELEROMETER, std::chrono::milliseconds(20), in TEST_P()
440 testStreamingOperation(SensorType::ACCELEROMETER, std::chrono::milliseconds(5), in TEST_P()
446 testStreamingOperation(SensorType::GYROSCOPE, std::chrono::milliseconds(200), in TEST_P()
452 testStreamingOperation(SensorType::GYROSCOPE, std::chrono::milliseconds(20), in TEST_P()
458 testStreamingOperation(SensorType::GYROSCOPE, std::chrono::milliseconds(5), in TEST_P()
[all …]
/hardware/google/pixel/perfstatsd/
Dperfstatsd.cpp53 auto milliseconds = std::chrono::duration_cast<std::chrono::milliseconds>(d); in getHistory() local
61 ret->append(std::to_string(milliseconds.count()) + "\n"); in getHistory()
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp259 testStreamingOperation(SensorType::ACCELEROMETER, std::chrono::milliseconds(200), in TEST_P()
265 testStreamingOperation(SensorType::ACCELEROMETER, std::chrono::milliseconds(20), in TEST_P()
271 testStreamingOperation(SensorType::ACCELEROMETER, std::chrono::milliseconds(5), in TEST_P()
277 testStreamingOperation(SensorType::GYROSCOPE, std::chrono::milliseconds(200), in TEST_P()
283 testStreamingOperation(SensorType::GYROSCOPE, std::chrono::milliseconds(20), in TEST_P()
289 testStreamingOperation(SensorType::GYROSCOPE, std::chrono::milliseconds(5), in TEST_P()
295 testStreamingOperation(SensorType::MAGNETIC_FIELD, std::chrono::milliseconds(200), in TEST_P()
301 testStreamingOperation(SensorType::MAGNETIC_FIELD, std::chrono::milliseconds(20), in TEST_P()
307 testStreamingOperation(SensorType::MAGNETIC_FIELD, std::chrono::milliseconds(5), in TEST_P()
/hardware/interfaces/bluetooth/1.0/default/
Dasync_fd_watcher.h38 int ConfigureTimeout(const std::chrono::milliseconds timeout,
60 std::chrono::milliseconds timeout_ms_;
Dasync_fd_watcher.cc55 const std::chrono::milliseconds timeout, in ConfigureTimeout()
143 if (timeout_ms_ > std::chrono::milliseconds(0)) { in ThreadRoutine()
162 if (timeout_ms_ > std::chrono::milliseconds(0)) saved_cb = timeout_cb_; in ThreadRoutine()
/hardware/interfaces/broadcastradio/common/utils/
DWorkerThread.cpp21 using std::chrono::milliseconds;
45 void WorkerThread::schedule(function<void()> task, milliseconds delay) { in schedule()
/hardware/interfaces/audio/effect/2.0/
DIAcousticEchoCancelerEffect.hal24 * Sets echo delay value in milliseconds.
29 * Gets echo delay value in milliseconds.
DIEnvironmentalReverbEffect.hal159 uint32_t decayTime; // in milliseconds, range 100 to 20000
162 uint32_t reflectionsDelay; // in milliseconds, range 0 to 65
164 uint32_t reverbDelay; // in milliseconds, range 0 to 65
/hardware/interfaces/audio/effect/5.0/
DIAcousticEchoCancelerEffect.hal24 * Sets echo delay value in milliseconds.
29 * Gets echo delay value in milliseconds.
DIEnvironmentalReverbEffect.hal159 uint32_t decayTime; // in milliseconds, range 100 to 20000
162 uint32_t reflectionsDelay; // in milliseconds, range 0 to 65
164 uint32_t reverbDelay; // in milliseconds, range 0 to 65
/hardware/interfaces/audio/effect/6.0/
DIAcousticEchoCancelerEffect.hal24 * Sets echo delay value in milliseconds.
29 * Gets echo delay value in milliseconds.
DIEnvironmentalReverbEffect.hal159 uint32_t decayTime; // in milliseconds, range 100 to 20000
162 uint32_t reflectionsDelay; // in milliseconds, range 0 to 65
164 uint32_t reverbDelay; // in milliseconds, range 0 to 65
/hardware/interfaces/audio/effect/4.0/
DIAcousticEchoCancelerEffect.hal24 * Sets echo delay value in milliseconds.
29 * Gets echo delay value in milliseconds.
/hardware/google/av/media/eco/tests/
DEcoSessionTest.cpp250 std::this_thread::sleep_for(std::chrono::milliseconds(kServiceWaitTimeMs)); in TEST_F()
287 std::this_thread::sleep_for(std::chrono::milliseconds(kServiceWaitTimeMs)); in TEST_F()
322 std::this_thread::sleep_for(std::chrono::milliseconds(kServiceWaitTimeMs)); in TEST_F()
333 std::this_thread::sleep_for(std::chrono::milliseconds(kServiceWaitTimeMs)); in TEST_F()
358 std::this_thread::sleep_for(std::chrono::milliseconds(kServiceWaitTimeMs)); in TEST_F()
369 std::this_thread::sleep_for(std::chrono::milliseconds(kServiceWaitTimeMs)); in TEST_F()
393 std::this_thread::sleep_for(std::chrono::milliseconds(kServiceWaitTimeMs)); in TEST_F()
535 std::this_thread::sleep_for(std::chrono::milliseconds(kServiceWaitTimeMs)); in TEST_F()
543 std::this_thread::sleep_for(std::chrono::milliseconds(kServiceWaitTimeMs)); in TEST_F()
574 std::this_thread::sleep_for(std::chrono::milliseconds(kServiceWaitTimeMs)); in TEST_F()
/hardware/interfaces/keymaster/4.0/vts/functional/
DVerificationTokenTest.cpp54 int sleep_ms(uint32_t milliseconds) { in sleep_ms() argument
55 struct timespec sleep_time = {static_cast<time_t>(milliseconds / 1000), in sleep_ms()
56 static_cast<long>(milliseconds % 1000) * 1000000}; in sleep_ms()
/hardware/interfaces/camera/device/3.5/default/
DExternalCameraDeviceSession.cpp119 std::chrono::milliseconds timeout = std::chrono::milliseconds(kReqProcTimeoutMs); in waitForBufferRequestDone()
140 std::chrono::milliseconds timeout = std::chrono::milliseconds(kReqWaitTimeoutMs); in waitForNextRequest()
/hardware/interfaces/broadcastradio/common/vts/utils/include/broadcastradio-vts-utils/
Dcall-barrier.h46 bool waitForCall(std::chrono::milliseconds timeout);
Dpointer-utils.h36 static void clearAndWait(sp<T>& ptr, std::chrono::milliseconds timeout) { in clearAndWait()
/hardware/interfaces/vibrator/aidl/vts/
DVtsHalVibratorTargetTest.cpp100 std::chrono::milliseconds timeout{durationMs * 2}; in TEST_P()
166 std::chrono::milliseconds timeout{lengthMs * 2}; in TEST_P()
385 constexpr std::chrono::milliseconds allowedLatency{10}; in TEST_P()
404 std::chrono::milliseconds duration; in TEST_P()
406 std::chrono::milliseconds elapsed; in TEST_P()
416 duration = std::chrono::milliseconds(durationMs); in TEST_P()
427 elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(end - start); in TEST_P()
/hardware/interfaces/broadcastradio/1.1/default/
DTuner.cpp47 using std::chrono::milliseconds;
55 milliseconds config = 50ms;
56 milliseconds scan = 200ms;
57 milliseconds step = 100ms;
58 milliseconds tune = 150ms;
/hardware/interfaces/broadcastradio/common/vts/utils/
Dcall-barrier.cpp33 bool CallBarrier::waitForCall(std::chrono::milliseconds timeout) { in waitForCall()
/hardware/interfaces/bluetooth/1.0/default/test/
Dh4_protocol_unittest.cc138 std::chrono::steady_clock::now() + std::chrono::milliseconds(100); in WriteAndExpectInboundAclData()
163 std::chrono::steady_clock::now() + std::chrono::milliseconds(100); in WriteAndExpectInboundScoData()
209 std::chrono::steady_clock::now() + std::chrono::milliseconds(100); in WriteAndExpectInboundIsoData()
/hardware/interfaces/broadcastradio/common/utils/include/broadcastradio-utils/
DWorkerThread.h30 void schedule(std::function<void()> task, std::chrono::milliseconds delay);
/hardware/interfaces/gnss/1.0/
DIGnssGeofencing.hal47 * with ENTERED, the callback must be called 1000 milliseconds within entering
48 * the geofence. This parameter is defined in milliseconds.
54 * must be triggered. This parameter is defined in milliseconds.

1234