Home
last modified time | relevance | path

Searched refs:ms (Results 1 – 25 of 67) sorted by relevance

123

/hardware/interfaces/broadcastradio/common/tests/
DWorkerThread_test.cpp50 100ms); in TEST()
52 sleep_for(150ms); in TEST()
56 ASSERT_EQ_WITH_TOLERANCE(delta, 100ms, 50ms); in TEST()
64 thread.schedule([&]() { executed2 = true; }, 100ms); in TEST()
65 thread.schedule([&]() { executed1 = true; }, 25ms); in TEST()
67 sleep_for(50ms); in TEST()
69 sleep_for(100ms); in TEST()
85 50ms); in TEST()
92 400ms); in TEST()
99 100ms); in TEST()
[all …]
/hardware/interfaces/gnss/2.0/
DIGnssMeasurementCallback.hal94 * <td>1 ms</td>
95 * <td>1 ms</td>
96 * <td>1 ms</td>
97 * <td>1 ms</td>
98 * <td>1 ms</td>
99 * <td>1 ms</td>
102 * <td>1 ms</td>
103 * <td>1 ms</td>
109 * <td>20 ms (optional)</td>
110 * <td>10 ms</td>
[all …]
/hardware/interfaces/vibrator/1.3/example/
DVibrator.cpp111 uint32_t ms; in perform() local
123 ms = effectToMs(effect, &status); in perform()
128 status = activate(ms); in perform()
130 _hidl_cb(status, ms); in perform()
156 Status Vibrator::activate(uint32_t ms) { in activate() argument
160 if (ms > 0) { in activate()
168 ts.it_value.tv_sec = ms / MS_PER_S; in activate()
169 ts.it_value.tv_nsec = ms % MS_PER_S * NS_PER_MS; in activate()
176 if ((status != Status::OK) || !ms) { in activate()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dcam_semaphore_tests.cpp30 static inline void timespec_add_ms(timespec& ts, size_t ms) { in timespec_add_ms() argument
31 ts.tv_sec += ms / 1000; in timespec_add_ms()
32 ts.tv_nsec += (ms % 1000) * 1000000; in timespec_add_ms()
/hardware/interfaces/health/2.1/vts/functional/
DVtsHalHealthV2_1TargetTest.cpp156 first->waitInvoke(200ms); in TestCallbacks()
157 second->waitInvoke(200ms); in TestCallbacks()
169 first->waitInvoke(200ms); in TestCallbacks()
170 second->waitInvoke(200ms); in TestCallbacks()
175 TEST_AND_RETURN_FAILURE(!first->waitInvoke(200ms)); in TestCallbacks()
/hardware/qcom/display/msm8998/sdm/include/utils/
Dlocker.h142 int WaitFinite(int ms) { in WaitFinite() argument
146 ts.tv_sec = tv.tv_sec + ms/1000; in WaitFinite()
147 ts.tv_nsec = tv.tv_usec*1000 + (ms%1000)*1000000; in WaitFinite()
/hardware/qcom/display/msm8996/sdm/include/utils/
Dlocker.h142 int WaitFinite(int ms) { in WaitFinite() argument
146 ts.tv_sec = tv.tv_sec + ms/1000; in WaitFinite()
147 ts.tv_nsec = tv.tv_usec*1000 + (ms%1000)*1000000; in WaitFinite()
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/
Dlocker.h142 int WaitFinite(int ms) { in WaitFinite() argument
146 ts.tv_sec = tv.tv_sec + ms/1000; in WaitFinite()
147 ts.tv_nsec = tv.tv_usec*1000 + (ms%1000)*1000000; in WaitFinite()
/hardware/qcom/display/msm8909/sdm/include/utils/
Dlocker.h142 int WaitFinite(int ms) { in WaitFinite() argument
146 ts.tv_sec = tv.tv_sec + ms/1000; in WaitFinite()
147 ts.tv_nsec = tv.tv_usec*1000 + (ms%1000)*1000000; in WaitFinite()
/hardware/libhardware/tests/input/evdev/
DInputHub_test.cpp87 auto f = delay_async(100ms, [&]() { EXPECT_EQ(OK, mInputHub->wake()); }); in TEST_F()
110 auto f = delay_async(100ms, in TEST_F()
148 auto f = delay_async(100ms, [&]() { deviceFile.reset(); }); in TEST_F()
171 auto inputDelayMs = 100ms; in TEST_F()
229 auto f = delay_async(100ms, in TEST_F()
/hardware/google/interfaces/media/c2/1.0/
DIConfigurable.hal43 * This method must return within 1ms if \p mayBlock is DONT_BLOCK, and
44 * within 5ms otherwise.
75 * This method must return within 1ms if \p mayBlock is false, and within
76 * 5ms otherwise.
113 * This method must return within 1ms.
138 * This method must return within 1ms if \p mayBlock is false, and within
139 * 5ms otherwise.
DIComponent.hal41 * This method must return within 1ms
63 * This method must return within 5ms.
70 * the onWorkDone() callback. This must be completed within 500ms.
98 * This method must return within 1ms.
236 * This method must return within 500ms.
256 * This method must return withing 500ms.
285 * This method must return withing 500ms.
314 * This method must return withing 500ms. Upon return all references must
DIComponentStore.hal31 * This method must return within 100ms.
60 * This method must return within 100ms.
145 * This method must return within 500ms.
156 * This method must return within 100ms.
/hardware/google/pixel/perfstatsd/
Dcpu_usage.cpp221 auto ms = std::chrono::duration_cast<std::chrono::milliseconds>(now - mLast); in getOverallUsage() local
222 out->append(android::base::StringPrintf(FMT_CPU_TOTAL, ms.count() / 1000, in getOverallUsage()
223 ms.count() % 1000, mTotalRatio, in getOverallUsage()
281 auto ms = std::chrono::duration_cast<std::chrono::milliseconds>( in refresh() local
283 LOG(INFO) << "Took " << ms.count() << " ms, data bytes: " << out.length(); in refresh()
Dio_usage.cpp319 auto ms = std::chrono::duration_cast<std::chrono::milliseconds>(mNow - mLast); in dump() local
329 out << android::base::StringPrintf(FMT_STR_TOTAL_USAGE, ms.count() / 1000, ms.count() % 1000, in dump()
393 auto ms = std::chrono::duration_cast<std::chrono::milliseconds>( in dump() local
398 outAppend->append(std::to_string(ms.count())); in dump()
/hardware/qcom/sdm845/display/sdm/include/utils/
Dlocker.h146 int WaitFinite(uint32_t ms) { in WaitFinite() argument
151 uint64_t ns = (uint64_t)ts.tv_nsec + (ms * 1000000L); in WaitFinite()
/hardware/libhardware_legacy/
Dpower_test.cpp63 std::this_thread::sleep_for(100ms); in TEST()
136 std::this_thread::sleep_for(1ms); in TEST_F()
/hardware/qcom/sm8150/display/sdm/include/utils/
Dlocker.h154 int WaitFinite(uint32_t ms) { in WaitFinite() argument
159 uint64_t ns = (uint64_t)ts.tv_nsec + (ms * 1000000L); in WaitFinite()
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQCameraMjpegDecode.cpp130 static int mjpegd_cond_timedwait(pthread_cond_t *p_cond, pthread_mutex_t *p_mutex, uint32_t ms);
681 int mjpegd_cond_timedwait(pthread_cond_t *p_cond, pthread_mutex_t *p_mutex, uint32_t ms) in mjpegd_cond_timedwait() argument
687 if (ms >= 1000) { in mjpegd_cond_timedwait()
688 ts.tv_sec += (ms/1000); in mjpegd_cond_timedwait()
689 ts.tv_nsec += ((ms%1000) * 1000000); in mjpegd_cond_timedwait()
691 ts.tv_nsec += (ms * 1000000); in mjpegd_cond_timedwait()
/hardware/interfaces/broadcastradio/common/vts/utils/include/broadcastradio-vts-utils/
Dpointer-utils.h39 constexpr auto step = 10ms; in clearAndWait()
/hardware/interfaces/tests/multithread/1.0/default/
DMultithread.h36 static constexpr auto kTimeoutDuration = 100ms;
/hardware/qcom/sm8150/display/
DAndroid.mk15 ifneq ($(filter ms% msm% apq%,$(TARGET_BOARD_PLATFORM)),)
/hardware/interfaces/broadcastradio/1.1/default/
DTuner.cpp55 milliseconds config = 50ms;
56 milliseconds scan = 200ms;
57 milliseconds step = 100ms;
58 milliseconds tune = 150ms;
/hardware/interfaces/broadcastradio/2.0/default/
DTunerSession.cpp42 static constexpr auto seek = 200ms;
43 static constexpr auto step = 100ms;
44 static constexpr auto tune = 150ms;
/hardware/interfaces/health/2.0/vts/functional/
DVtsHalHealthV2_0TargetTest.cpp135 firstCallback->waitInvoke(200ms); in TEST_P()
136 secondCallback->waitInvoke(200ms); in TEST_P()
148 firstCallback->waitInvoke(200ms); in TEST_P()
149 secondCallback->waitInvoke(200ms); in TEST_P()
154 ASSERT_FALSE(firstCallback->waitInvoke(200ms)); in TEST_P()

123