Home
last modified time | relevance | path

Searched refs:latency (Results 1 – 25 of 85) sorted by relevance

1234

/system/chre/core/
Dsensor_request.cc45 Nanoseconds latency) in SensorRequest() argument
46 : SensorRequest(kInvalidInstanceId, mode, interval, latency) {} in SensorRequest()
49 Nanoseconds interval, Nanoseconds latency) in SensorRequest() argument
51 mLatency(latency), in SensorRequest()
59 if (latency != Nanoseconds(CHRE_SENSOR_LATENCY_DEFAULT)) { in SensorRequest()
60 mLatency = std::min(latency, Nanoseconds(kMaxIntervalLatencyNs)); in SensorRequest()
91 Nanoseconds latency = request.mLatency; in mergeWith() local
92 if (latency < mLatency) { in mergeWith()
93 mLatency = latency; in mergeWith()
97 Nanoseconds latency = (batchInterval - mInterval); in mergeWith() local
[all …]
/system/chre/apps/sensor_world/
Dsensor_world.cc59 uint64_t latency; // nsec member
71 .latency = Seconds(4).toRawNanoseconds(),
81 .latency = CHRE_SENSOR_LATENCY_DEFAULT,
91 .latency = CHRE_SENSOR_LATENCY_DEFAULT,
101 .latency = Seconds(4).toRawNanoseconds(),
111 .latency = Seconds(4).toRawNanoseconds(),
121 .latency = Seconds(4).toRawNanoseconds(),
131 .latency = 0,
141 .latency = 0,
151 .latency = CHRE_SENSOR_LATENCY_ASAP,
[all …]
/system/chre/chre_api/legacy/v1_2/chre/
Dsensor.h459 uint64_t latency; member
630 uint64_t interval, uint64_t latency);
686 uint64_t latency; in chreSensorConfigureWithBatchInterval() local
688 latency = CHRE_SENSOR_LATENCY_DEFAULT; in chreSensorConfigureWithBatchInterval()
690 latency = batchInterval - sampleInterval; in chreSensorConfigureWithBatchInterval()
692 latency = CHRE_SENSOR_LATENCY_ASAP; in chreSensorConfigureWithBatchInterval()
695 latency); in chreSensorConfigureWithBatchInterval()
/system/extras/boottime_tools/io_analysis/
Dcheck_io_trace.py39 self.latency = 0
40 def set_latency(self, latency): argument
41 self.latency = latency
121 latency = end_time - event.start_time
122 if latency > 20000:
123 print "very bad latency:", latency, l
125 event.set_latency(latency)
127 self.total_latency += latency
146 total_read_time = self.reads[-1][0] + self.reads[-1][1].latency - self.reads[0][0]
166 latency_sum[1] += event.latency
/system/chre/chre_api/legacy/v1_4/chre/
Dsensor.h607 uint64_t latency; member
820 uint64_t interval, uint64_t latency);
876 uint64_t latency; in chreSensorConfigureWithBatchInterval() local
878 latency = CHRE_SENSOR_LATENCY_DEFAULT; in chreSensorConfigureWithBatchInterval()
880 latency = batchInterval - sampleInterval; in chreSensorConfigureWithBatchInterval()
882 latency = CHRE_SENSOR_LATENCY_ASAP; in chreSensorConfigureWithBatchInterval()
885 latency); in chreSensorConfigureWithBatchInterval()
/system/chre/chre_api/legacy/v1_3/chre/
Dsensor.h592 uint64_t latency; member
800 uint64_t interval, uint64_t latency);
856 uint64_t latency; in chreSensorConfigureWithBatchInterval() local
858 latency = CHRE_SENSOR_LATENCY_DEFAULT; in chreSensorConfigureWithBatchInterval()
860 latency = batchInterval - sampleInterval; in chreSensorConfigureWithBatchInterval()
862 latency = CHRE_SENSOR_LATENCY_ASAP; in chreSensorConfigureWithBatchInterval()
865 latency); in chreSensorConfigureWithBatchInterval()
/system/chre/core/include/chre/core/
Dsensor_request.h54 SensorRequest(SensorMode mode, Nanoseconds interval, Nanoseconds latency);
68 Nanoseconds latency);
108 void setLatency(Nanoseconds latency) { in setLatency() argument
109 mLatency = latency; in setLatency()
/system/chre/chre_api/include/chre_api/chre/
Dsensor.h662 uint64_t latency; member
907 uint64_t interval, uint64_t latency);
963 uint64_t latency; in chreSensorConfigureWithBatchInterval() local
965 latency = CHRE_SENSOR_LATENCY_DEFAULT; in chreSensorConfigureWithBatchInterval()
967 latency = batchInterval - sampleInterval; in chreSensorConfigureWithBatchInterval()
969 latency = CHRE_SENSOR_LATENCY_ASAP; in chreSensorConfigureWithBatchInterval()
972 latency); in chreSensorConfigureWithBatchInterval()
/system/chre/chre_api/legacy/v1_1/chre/
Dsensor.h771 uint64_t latency; member
942 uint64_t interval, uint64_t latency);
998 uint64_t latency; in chreSensorConfigureWithBatchInterval() local
1000 latency = CHRE_SENSOR_LATENCY_DEFAULT; in chreSensorConfigureWithBatchInterval()
1002 latency = batchInterval - sampleInterval; in chreSensorConfigureWithBatchInterval()
1004 latency = CHRE_SENSOR_LATENCY_ASAP; in chreSensorConfigureWithBatchInterval()
1007 latency); in chreSensorConfigureWithBatchInterval()
/system/bt/test/mock/
Dmock_stack_l2cap_ble.h59 uint16_t max_int, uint16_t latency, uint16_t timeout,
62 uint16_t latency, uint16_t timeout, uint16_t min_ce_len,
65 uint16_t latency, uint16_t timeout, uint16_t min_ce_len, in operator()
67 return body(rem_bda, min_int, max_int, latency, timeout, min_ce_len, in operator()
144 uint16_t latency, uint16_t timeout)>
146 uint16_t latency, uint16_t timeout) {}};
148 uint16_t latency, uint16_t timeout) { in operator()
149 body(handle, status, interval, latency, timeout); in operator()
195 uint16_t latency, uint16_t timeout)>
197 uint16_t latency, uint16_t timeout) {}};
[all …]
Dmock_stack_l2cap_ble.cc82 uint16_t max_int, uint16_t latency, in L2CA_UpdateBleConnParams() argument
87 rem_bda, min_int, max_int, latency, timeout, min_ce_len, max_ce_len); in L2CA_UpdateBleConnParams()
118 uint16_t interval, uint16_t latency, in l2cble_process_conn_update_evt() argument
122 handle, status, interval, latency, timeout); in l2cble_process_conn_update_evt()
141 uint16_t int_max, uint16_t latency, in l2cble_process_rc_param_request_evt() argument
145 handle, int_min, int_max, latency, timeout); in l2cble_process_rc_param_request_evt()
Dmock_stack_acl_ble.cc70 uint16_t latency, uint16_t timeout,
73 uint16_t interval, uint16_t latency, in acl_ble_update_event_received() argument
Dmock_stack_hidd_api.cc87 uint32_t peak_bandwidth, uint32_t latency, in HID_DevSetIncomingQos() argument
94 uint32_t peak_bandwidth, uint32_t latency, in HID_DevSetOutgoingQos() argument
/system/netd/include/
DFwmarkCommand.h36 FwmarkConnectInfo(const int connectErrno, const unsigned latency, const sockaddr* saddr) { in FwmarkConnectInfo()
38 latencyMs = latency; in FwmarkConnectInfo()
/system/bt/stack/include/
Dl2cap_hci_link_interface.h40 uint16_t interval, uint16_t latency,
55 uint16_t latency,
Dhidd_api.h218 uint32_t peak_bandwidth, uint32_t latency, uint32_t delay_variation);
231 uint32_t peak_bandwidth, uint32_t latency, uint32_t delay_variation);
Dble_acl_interface.h40 uint16_t interval, uint16_t latency,
/system/bt/stack/acl/
Dble_acl.cc160 uint16_t latency, uint16_t timeout,
163 uint16_t interval, uint16_t latency, in acl_ble_update_event_received() argument
165 l2cble_process_conn_update_evt(handle, status, interval, latency, timeout); in acl_ble_update_event_received()
171 gatt_notify_conn_update(p_dev_rec->ble.pseudo_addr, interval, latency, in acl_ble_update_event_received()
/system/chre/platform/shared/
Dchre_api_sensor.cc93 uint64_t interval, uint64_t latency) { in chreSensorConfigure() argument
98 Nanoseconds(interval), Nanoseconds(latency)); in chreSensorConfigure()
106 UNUSED_VAR(latency); in chreSensorConfigure()
/system/chre/apps/test/chqts/src/general_test/
Dbasic_sensor_test_base.cc248 mNewStatus.latency)) { in startTest()
274 mNewStatus.latency)) { in startTest()
315 if (status.latency != mOriginalStatus.latency) { in finishTest()
465 (mNewStatus.latency != eventData->status.latency)) { in handleSamplingChangeEvent()
/system/bt/stack/l2cap/
Dl2c_ble.cc57 uint16_t latency, uint16_t timeout,
72 uint16_t max_int, uint16_t latency, in L2CA_UpdateBleConnParams() argument
76 bluetooth::shim::L2CA_LeConnectionUpdate(rem_bda, min_int, max_int, latency, in L2CA_UpdateBleConnParams()
103 p_lcb->latency = latency; in L2CA_UpdateBleConnParams()
258 p_lcb->latency = conn_latency; in l2cble_conn_comp()
354 p_lcb->max_interval, p_lcb->latency, in l2cble_start_conn_update()
360 p_lcb->max_interval, p_lcb->latency, in l2cble_start_conn_update()
381 uint16_t interval, uint16_t latency, in l2cble_process_conn_update_evt() argument
418 uint16_t min_interval, max_interval, latency, timeout; in l2cble_process_sig_cmd() local
467 STREAM_TO_UINT16(latency, p); /* 0x0000 - 0x03E8 */ in l2cble_process_sig_cmd()
[all …]
/system/bt/stack/hid/
Dhidd_api.cc553 uint32_t peak_bandwidth, uint32_t latency, in HID_DevSetIncomingQos() argument
563 hd_cb.in_qos.latency = latency; in HID_DevSetIncomingQos()
580 uint32_t peak_bandwidth, uint32_t latency, in HID_DevSetOutgoingQos() argument
590 hd_cb.l2cap_intr_cfg.qos.latency = latency; in HID_DevSetOutgoingQos()
/system/chre/chre_api/legacy/v1_0/chre/
Dsensor.h624 uint64_t latency; member
796 uint64_t interval, uint64_t latency);
/system/bt/stack/gap/
Dgap_ble.cc160 UINT16_TO_STREAM(p, attr_value.conn_param.latency); /* latency */ in read_attr_value()
322 uint16_t min, max, latency, tout; in client_cmpl_cback() local
347 STREAM_TO_UINT16(latency, pp); in client_cmpl_cback()
350 BTM_BleSetPrefConnParams(p_clcb->bda, min, max, latency, tout); in client_cmpl_cback()
472 gatt_attr[3].attr_value.conn_param.latency = GAP_PREFER_CONN_LATENCY; /* 0 */ in gap_attr_db_init()
/system/logging/logd/
DREADME.replay.md32 3. `latency BUFFER_TYPE` - this prints statistics of the latency of the Log() function for the given
34 percentiles; and the maximum latency.

1234