Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 37) sorted by relevance

12

/device/google/contexthub/util/stm32_flash/
Dspi.c97 uint16_t timeout = 65535; in spi_read_ack() local
114 timeout --; in spi_read_ack()
115 } while (buffer[0] != CMD_ACK && buffer[0] != CMD_NACK && timeout > 0); in spi_read_ack()
117 if (buffer[0] != CMD_ACK && buffer[0] != CMD_NACK && timeout == 0) in spi_read_ack()
/device/google/dragon/sensor_hub/
Dsensors.h62 int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
73 int handle, int flags, int64_t period_ns, int64_t timeout);
Dcros_ec_sensors.h140 virtual int batch(int handle, int64_t period_ns, int64_t timeout);
Dsensors.cpp729 int handle, int flags, int64_t period_ns, int64_t timeout) in wrapper_batch() argument
732 return ctx->batch(handle, flags, period_ns, timeout); in wrapper_batch()
/device/google/accessory/arduino/USB_Host_Shield/
DUsb.cpp238 unsigned long timeout = millis() + USB_XFER_TIMEOUT; in outTransfer() local
255 while( rcode && ( timeout > millis())) { in outTransfer()
294 unsigned long timeout = millis() + USB_XFER_TIMEOUT; in dispatchPkt() local
300 while( timeout > millis() ) { in dispatchPkt()
303 while( millis() < timeout ) { //wait for transfer completion in dispatchPkt()
/device/generic/goldfish/camera/
DEmulatedCameraDevice.cpp363 EmulatedCameraDevice::WorkerThread::Select(int fd, int timeout) in Select() argument
375 if (timeout) { in Select()
376 tv.tv_sec = timeout / 1000000; in Select()
377 tv.tv_usec = timeout % 1000000; in Select()
DEmulatedCameraDevice.h433 SelectRes Select(int fd, int timeout);
DEmulatedFakeCamera2.h233 bool waitForReady(nsecs_t timeout);
/device/htc/flounder/sensor_hub/libsensors/
Dsensors.cpp595 int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
741 int sensors_poll_context_t::batch(int handle, int flags, int64_t period_ns, int64_t timeout) in batch() argument
748 int err = mSensors[index]->batch(handle, flags, period_ns, timeout); in batch()
796 int handle, int flags, int64_t period_ns, int64_t timeout) in poll__batch() argument
799 return ctx->batch(handle, flags, period_ns, timeout); in poll__batch()
DSensorBase.h71 virtual int batch(int handle, int flags, int64_t period_ns, int64_t timeout) = 0;
DCwMcuSensor.h123 virtual int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
DCwMcuSensor.cpp841 int CwMcuSensor::batch(int handle, int flags, int64_t period_ns, int64_t timeout) in batch() argument
852 handle, flags, period_ns, timeout); in batch()
856 timeout_ms = timeout/NS_PER_MS; // int64_t is being dropped to an int type in batch()
875 if (timeout > 0) { in batch()
/device/google/dragon/power/
Dtimed_qos_manager.h52 void requestTimedQos(nsecs_t timeout);
/device/generic/goldfish/camera/fake-pipeline2/
DJpegCompressor.h69 bool waitForDone(nsecs_t timeout);
DJpegCompressor.cpp216 bool JpegCompressor::waitForDone(nsecs_t timeout) { in waitForDone() argument
220 res = mDone.waitRelative(mBusyMutex, timeout); in waitForDone()
/device/lge/bullhead/location/loc_api/ds_api/
Dds_client.c155 int timeout = 0; in ds_client_qmi_ctrl_point_init() local
195 timeout += DS_CLIENT_SERVICE_TIMEOUT; in ds_client_qmi_ctrl_point_init()
198 ret, no_signal, timeout); in ds_client_qmi_ctrl_point_init()
199 } while( (timeout < DS_CLIENT_SERVICE_TIMEOUT_TOTAL) && in ds_client_qmi_ctrl_point_init()
/device/huawei/angler/location/loc_api/ds_api/
Dds_client.c155 int timeout = 0; in ds_client_qmi_ctrl_point_init() local
195 timeout += DS_CLIENT_SERVICE_TIMEOUT; in ds_client_qmi_ctrl_point_init()
198 ret, no_signal, timeout); in ds_client_qmi_ctrl_point_init()
199 } while( (timeout < DS_CLIENT_SERVICE_TIMEOUT_TOTAL) && in ds_client_qmi_ctrl_point_init()
/device/moto/shamu/location/loc_api/ds_api/
Dds_client.c159 int timeout = 0; in ds_client_qmi_ctrl_point_init() local
199 timeout += DS_CLIENT_SERVICE_TIMEOUT; in ds_client_qmi_ctrl_point_init()
202 ret, no_signal, timeout); in ds_client_qmi_ctrl_point_init()
203 } while( (timeout < DS_CLIENT_SERVICE_TIMEOUT_TOTAL) && in ds_client_qmi_ctrl_point_init()
/device/generic/goldfish/opengl/tests/gles_android_wrapper/
Degl_proc.h63 typedef EGLint (* eglClientWaitSyncKHR_t) (EGLDisplay, EGLSyncKHR, EGLint, EGLTimeKHR timeout);
Degl.cpp645 EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) in eglClientWaitSyncKHR() argument
647 return getDispatch()->eglClientWaitSyncKHR(dpy, sync, flags, timeout); in eglClientWaitSyncKHR()
/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp220 int timeout = timeout_ms > 0 ? timeout_ms : kPollNoTimeout; in ReadEvent() local
221 int ret = poll(pollfds, fd_count, timeout); in ReadEvent()
/device/linaro/hikey/bootloader/EFI/BOOT/
Dgrub.cfg2 set timeout=1
/device/linaro/hikey/installer/
Dhisi-idt.py76 self.s = serial.Serial(port=serialport, baudrate=115200, timeout=1)
/device/generic/goldfish/opengl/system/egl/
Degl.cpp1344 EGLTimeKHR timeout) in eglClientWaitSyncKHR() argument
1348 (void)timeout; in eglClientWaitSyncKHR()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera.c59 int timeout);
1785 int timeout) in mm_camera_send_native_ctrl_timeout_cmd() argument
1793 ctrl_cmd.timeout_ms = timeout; in mm_camera_send_native_ctrl_timeout_cmd()

12