Home
last modified time | relevance | path

Searched refs:timeout_ms (Results 1 – 8 of 8) sorted by relevance

/packages/apps/TV/jni/
DDvbManager.cpp118 const int frequency, const char *modulationStr, int timeout_ms) { in tune() argument
120 modulationStr, timeout_ms); in tune()
125 const char *modulationStr, int timeout_ms) { in tune() argument
127 modulationStr, timeout_ms); in tune()
132 const char *modulationStr, int timeout_ms) { in tuneInternal() argument
281 while (currentTimeMillis() - tuneClock < timeout_ms) { in tuneInternal()
478 uint8_t *tsBuffer, int tsBufferSize, int timeout_ms) { in readTsStream() argument
492 int poll_result = poll(&pollFd, NUM_POLLFDS, timeout_ms); in readTsStream()
DDvbManager.h80 const int frequency, const char *modulationStr, int timeout_ms);
83 const char *modulationStr, int timeout_ms);
86 uint8_t *tsBuffer, int tsBufferSize, int timeout_ms);
97 const char *modulationStr, int timeout_ms);
Dtunertvinput_jni.cpp57 jstring modulation, jint timeout_ms) { in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I() argument
67 env->GetStringUTFChars(modulation, 0), timeout_ms); in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I()
79 jint frequency, jstring modulation, jint timeout_ms) { in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I() argument
90 env->GetStringUTFChars(modulation, 0), timeout_ms); in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I()
/packages/apps/TV/tuner/src/com/android/tv/tuner/
DTunerHal.java153 int timeout_ms = in tuneInternal() local
162 tuneStatus = nativeTune(getDeviceId(), frequency, modulation, timeout_ms); in tuneInternal()
167 timeout_ms); in tuneInternal()
191 @ModulationType String modulation, int timeout_ms); in nativeTune() argument
195 @ModulationType String modulation, int timeout_ms); in nativeTune() argument
/packages/modules/adb/fdevent/
Dfdevent_poll.cpp139 int timeout_ms; in Loop() local
141 timeout_ms = -1; in Loop()
143 timeout_ms = timeout->count(); in Loop()
146 int ret = adb_poll(pollfds.data(), pollfds.size(), timeout_ms); in Loop()
Dfdevent_epoll.cpp122 int timeout_ms; in Loop() local
124 timeout_ms = -1; in Loop()
126 timeout_ms = timeout->count(); in Loop()
129 rc = epoll_wait(epoll_fd_.get(), epoll_events.data(), epoll_events.size(), timeout_ms); in Loop()
/packages/services/Car/cpp/evs/apps/default/
DEvsVehicleListener.h53 bool waitForEvents(int timeout_ms) { in waitForEvents() argument
55 std::cv_status result = mEventCond.wait_for(g, std::chrono::milliseconds(timeout_ms)); in waitForEvents()
/packages/modules/adb/daemon/
Dusb.cpp271 int timeout_ms = bound ? -1 : 1000; in StartMonitor() local
273 int rc = TEMP_FAILURE_RETRY(adb_poll(pfd, 2, timeout_ms)); in StartMonitor()