Home
last modified time | relevance | path

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

12

/system/chre/core/
Dsensor_request.cc46 Nanoseconds latency) in SensorRequest() argument
47 : SensorRequest(nullptr /* nanoapp */, mode, interval, latency) {} in SensorRequest()
50 Nanoseconds interval, Nanoseconds latency) in SensorRequest() argument
51 : mNanoapp(nanoapp), mInterval(interval), mLatency(latency), mMode(mode) { in SensorRequest()
57 if (latency != Nanoseconds(CHRE_SENSOR_LATENCY_DEFAULT)) { in SensorRequest()
58 mLatency = std::min(latency, Nanoseconds(kMaxIntervalLatencyNs)); in SensorRequest()
83 Nanoseconds latency = request.mLatency; in mergeWith() local
84 if (latency < mLatency) { in mergeWith()
85 mLatency = latency; in mergeWith()
89 Nanoseconds latency = (batchInterval - mInterval); in mergeWith() local
[all …]
/system/chre/apps/sensor_world/
Dsensor_world.cc60 uint64_t latency; // nsec member
70 .latency = Seconds(4).toRawNanoseconds(),
78 .latency = CHRE_SENSOR_LATENCY_DEFAULT,
86 .latency = CHRE_SENSOR_LATENCY_DEFAULT,
94 .latency = Seconds(4).toRawNanoseconds(),
102 .latency = Seconds(4).toRawNanoseconds(),
110 .latency = Seconds(4).toRawNanoseconds(),
118 .latency = 0,
126 .latency = 0,
134 .latency = 0,
[all …]
/system/chre/chre_api/include/chre_api/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_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/netd/include/
DFwmarkCommand.h36 FwmarkConnectInfo(const int connectErrno, const unsigned latency, const sockaddr* saddr) { in FwmarkConnectInfo()
38 latencyMs = latency; in FwmarkConnectInfo()
/system/chre/core/include/chre/core/
Dsensor_request.h54 SensorRequest(SensorMode mode, Nanoseconds interval, Nanoseconds latency);
68 Nanoseconds latency);
/system/chre/apps/chqts/src/general_test/
Dbasic_sensor_test_base.cc199 mNewStatus.interval, mNewStatus.latency)) { in startTest()
224 mSensorHandle, mode, mNewStatus.interval, mNewStatus.latency)) { in startTest()
261 if (status.latency != mOriginalStatus.latency) { in finishTest()
370 (mNewStatus.latency != eventData->status.latency)) { in handleSamplingChangeEvent()
/system/bt/stack/l2cap/
Dl2c_ble.cc102 uint16_t max_int, uint16_t latency, in L2CA_UpdateBleConnParams() argument
128 p_lcb->latency = latency; in L2CA_UpdateBleConnParams()
140 uint16_t max_int, uint16_t latency, in L2CA_UpdateBleConnParams() argument
142 return L2CA_UpdateBleConnParams(rem_bda, min_int, max_int, latency, timeout, in L2CA_UpdateBleConnParams()
328 p_lcb->latency = conn_latency; in l2cble_scanner_conn_comp()
398 p_lcb->latency = conn_latency; in l2cble_advertiser_conn_comp()
525 p_lcb->max_interval, p_lcb->latency, in l2cble_start_conn_update()
531 p_lcb->max_interval, p_lcb->latency, in l2cble_start_conn_update()
552 uint16_t interval, uint16_t latency, in l2cble_process_conn_update_evt() argument
589 uint16_t min_interval, max_interval, latency, timeout; in l2cble_process_sig_cmd() local
[all …]
Dl2c_int.h444 uint16_t latency; member
646 uint16_t max_int, uint16_t latency,
795 uint16_t interval, uint16_t latency,
812 uint16_t latency,
/system/chre/platform/shared/
Dchre_api_sensor.cc68 uint64_t interval, uint64_t latency) { in chreSensorConfigure() argument
72 Nanoseconds(latency)); in chreSensorConfigure()
/system/bt/stack/include/
Dhidd_api.h229 uint32_t peak_bandwidth, uint32_t latency, uint32_t delay_variation);
242 uint32_t peak_bandwidth, uint32_t latency, uint32_t delay_variation);
/system/bt/stack/hid/
Dhidd_api.cc601 uint32_t peak_bandwidth, uint32_t latency, in HID_DevSetIncomingQos() argument
611 hd_cb.in_qos.latency = latency; in HID_DevSetIncomingQos()
628 uint32_t peak_bandwidth, uint32_t latency, in HID_DevSetOutgoingQos() argument
638 hd_cb.l2cap_intr_cfg.qos.latency = latency; in HID_DevSetOutgoingQos()
/system/chre/platform/slpi/see/
Dplatform_sensor.cc178 newStatus.latency = update.status.latency; in updateSamplingStatus()
183 || newStatus.latency != prevStatus.latency) { in updateSamplingStatus()
519 status.latency = req.batchPeriodUs * kOneMicrosecondInNanoseconds; in applyRequest()
587 mSamplingStatus.latency = CHRE_SENSOR_LATENCY_DEFAULT; in initBase()
/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.cc155 UINT16_TO_STREAM(p, attr_value.conn_param.latency); /* latency */ in read_attr_value()
311 uint16_t min, max, latency, tout; in client_cmpl_cback() local
336 STREAM_TO_UINT16(latency, pp); in client_cmpl_cback()
339 BTM_BleSetPrefConnParams(p_clcb->bda, min, max, latency, tout); in client_cmpl_cback()
458 gatt_attr[3].attr_value.conn_param.latency = GAP_PREFER_CONN_LATENCY; /* 0 */ in gap_attr_db_init()
/system/bt/btif/src/
Dbtif_gatt_client.cc190 p_data->conn_update.latency, p_data->conn_update.timeout, in btif_gattc_upstreams_evt()
539 int max_interval, int latency, in btif_gattc_conn_parameter_update_impl() argument
543 BTA_DmBleUpdateConnectionParams(addr, min_interval, max_interval, latency, in btif_gattc_conn_parameter_update_impl()
546 BTA_DmSetBlePrefConnParams(addr, min_interval, max_interval, latency, in btif_gattc_conn_parameter_update_impl()
552 int latency, int timeout, in btif_gattc_conn_parameter_update() argument
558 min_interval, max_interval, latency, timeout, min_ce_len, max_ce_len)); in btif_gattc_conn_parameter_update()
/system/bt/stack/btu/
Dbtu_hcif.cc865 STREAM_TO_UINT32(flow.latency, p); in btu_hcif_qos_setup_comp_evt()
1764 uint16_t latency, uint16_t timeout,
1774 uint16_t latency; in btu_ble_ll_conn_param_upd_evt() local
1780 STREAM_TO_UINT16(latency, p); in btu_ble_ll_conn_param_upd_evt()
1783 l2cble_process_conn_update_evt(handle, status, interval, latency, timeout); in btu_ble_ll_conn_param_upd_evt()
1785 gatt_notify_conn_update(handle & 0x0FFF, interval, latency, timeout, status); in btu_ble_ll_conn_param_upd_evt()
1827 uint16_t int_min, int_max, latency, timeout; in btu_ble_rc_param_req_evt() local
1832 STREAM_TO_UINT16(latency, p); in btu_ble_rc_param_req_evt()
1835 l2cble_process_rc_param_request_evt(handle, int_min, int_max, latency, in btu_ble_rc_param_req_evt()
/system/bt/include/hardware/
Dbt_gatt_client.h181 uint16_t latency, uint16_t timeout,
291 int latency, int timeout,
Dbt_gatt_server.h117 uint16_t latency, uint16_t timeout,
/system/netd/tests/benchmarks/
DREADME.md45 latency in this field for comparison against the mean latency
/system/bt/binder/android/bluetooth/
DIBluetoothGattCallback.aidl40 void onConnectionUpdated(in String address, in int interval, in int latency, in onConnectionUpdated() argument
DIBluetoothGattServerCallback.aidl45 void onConnectionUpdated(in String address, in int interval, in int latency, in onConnectionUpdated() argument
/system/bt/bta/gatt/
Dbta_gatts_act.cc59 uint16_t interval, uint16_t latency,
643 uint16_t interval, uint16_t latency, in bta_gatts_conn_update_cback() argument
655 cb_data.conn_update.latency = latency; in bta_gatts_conn_update_cback()
/system/libhwbinder/vts/performance/
DAndroid.bp67 // build for latency benchmark test for hwbinder.

12