Home
last modified time | relevance | path

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

123

/system/chre/core/
Dsensor_request.cc46 Nanoseconds latency) in SensorRequest() argument
47 : SensorRequest(kInvalidInstanceId, mode, interval, latency) {} in SensorRequest()
50 Nanoseconds interval, Nanoseconds latency) in SensorRequest() argument
51 : mInstanceId(instanceId), mInterval(interval), mLatency(latency), in SensorRequest()
58 if (latency != Nanoseconds(CHRE_SENSOR_LATENCY_DEFAULT)) { in SensorRequest()
59 mLatency = std::min(latency, Nanoseconds(kMaxIntervalLatencyNs)); in SensorRequest()
84 Nanoseconds latency = request.mLatency; in mergeWith() local
85 if (latency < mLatency) { in mergeWith()
86 mLatency = latency; in mergeWith()
90 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/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/include/chre_api/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/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/chre/core/include/chre/core/
Dsensor_request.h54 SensorRequest(SensorMode mode, Nanoseconds interval, Nanoseconds latency);
68 Nanoseconds latency);
/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/l2cap/
Dl2c_ble.cc95 uint16_t max_int, uint16_t latency, in L2CA_UpdateBleConnParams() argument
121 p_lcb->latency = latency; in L2CA_UpdateBleConnParams()
133 uint16_t max_int, uint16_t latency, in L2CA_UpdateBleConnParams() argument
135 return L2CA_UpdateBleConnParams(rem_bda, min_int, max_int, latency, timeout, in L2CA_UpdateBleConnParams()
313 p_lcb->latency = conn_latency; in l2cble_conn_comp()
412 p_lcb->max_interval, p_lcb->latency, in l2cble_start_conn_update()
418 p_lcb->max_interval, p_lcb->latency, in l2cble_start_conn_update()
439 uint16_t interval, uint16_t latency, in l2cble_process_conn_update_evt() argument
476 uint16_t min_interval, max_interval, latency, timeout; in l2cble_process_sig_cmd() local
523 STREAM_TO_UINT16(latency, p); /* 0x0000 - 0x03E8 */ in l2cble_process_sig_cmd()
[all …]
/system/chre/apps/chqts/src/general_test/
Dbasic_sensor_test_base.cc194 mNewStatus.interval, mNewStatus.latency)) { in startTest()
219 mSensorHandle, mode, mNewStatus.interval, mNewStatus.latency)) { in startTest()
260 if (status.latency != mOriginalStatus.latency) { in finishTest()
380 (mNewStatus.latency != eventData->status.latency)) { in handleSamplingChangeEvent()
/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.cc596 uint32_t peak_bandwidth, uint32_t latency, in HID_DevSetIncomingQos() argument
606 hd_cb.in_qos.latency = latency; in HID_DevSetIncomingQos()
623 uint32_t peak_bandwidth, uint32_t latency, in HID_DevSetOutgoingQos() argument
633 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/chre/platform/shared/
Dchre_api_sensor.cc152 uint64_t interval, uint64_t latency) { in chreSensorConfigure() argument
156 Nanoseconds(interval), Nanoseconds(latency)); in chreSensorConfigure()
/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()
461 gatt_attr[3].attr_value.conn_param.latency = GAP_PREFER_CONN_LATENCY; /* 0 */ in gap_attr_db_init()
/system/core/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.
/system/bt/main/shim/
Dl2c_api.h568 uint16_t max_int, uint16_t latency,
571 uint16_t max_int, uint16_t latency,
/system/bt/btif/src/
Dbtif_gatt_client.cc193 p_data->conn_update.latency, p_data->conn_update.timeout, in btif_gattc_upstreams_evt()
541 int max_interval, int latency, in btif_gattc_conn_parameter_update_impl() argument
545 BTA_DmBleUpdateConnectionParams(addr, min_interval, max_interval, latency, in btif_gattc_conn_parameter_update_impl()
548 BTA_DmSetBlePrefConnParams(addr, min_interval, max_interval, latency, in btif_gattc_conn_parameter_update_impl()
554 int latency, int timeout, in btif_gattc_conn_parameter_update() argument
560 min_interval, max_interval, latency, timeout, min_ce_len, max_ce_len)); in btif_gattc_conn_parameter_update()
/system/chre/platform/slpi/see/
Dplatform_sensor.cc287 newStatus.latency = update.status.latency; in updateSamplingStatus()
329 sameStatus &= status1.status.latency == status2.status.latency; in isSameStatusUpdate()
876 status.latency = req.batchPeriodUs * kOneMicrosecondInNanoseconds; in applyRequest()
981 mSamplingStatus.latency = CHRE_SENSOR_LATENCY_DEFAULT; in initBase()
/system/bt/include/hardware/
Dbt_gatt_client.h181 uint16_t latency, uint16_t timeout,
291 int latency, int timeout,
/system/netd/tests/benchmarks/
DREADME.md45 latency in this field for comparison against the mean latency
/system/bt/gd/hci/acl_manager/
Dconnection_management_callbacks.h43 uint32_t latency, uint32_t delay_variation) = 0;
Dclassic_acl_connection.h49 … QosSetup(ServiceType service_type, uint32_t token_rate, uint32_t peak_bandwidth, uint32_t 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

123