Home
last modified time | relevance | path

Searched refs:latency (Results 1 – 25 of 54) 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/bt/vendor_libs/test_vendor_lib/packets/hci/
Dle_meta_event_builder.cc37 uint16_t latency, uint16_t supervision_timeout) { in CreateLeConnectionCompleteEvent() argument
47 CHECK(evt_ptr->AddOctets2(latency)); in CreateLeConnectionCompleteEvent()
56 …s& local_private_address, const Address& peer_private_address, uint16_t interval, uint16_t latency, in CreateLeEnhancedConnectionCompleteEvent() argument
69 CHECK(evt_ptr->AddOctets2(latency)); in CreateLeEnhancedConnectionCompleteEvent()
77 …Status status, uint16_t handle, uint16_t interval, uint16_t latency, uint16_t supervision_timeout)… in CreateLeConnectionUpdateCompleteEvent() argument
84 CHECK(evt_ptr->AddOctets2(latency)); in CreateLeConnectionUpdateCompleteEvent()
Dle_meta_event_builder.h49 uint16_t latency,
63 … uint16_t interval, uint16_t latency,
75 …s& local_private_address, const Address& peer_private_address, uint16_t interval, uint16_t latency,
Devent_packet_builder.h239 uint16_t latency,
253 … uint16_t interval, uint16_t latency,
265 …s& local_private_address, const Address& peer_private_address, uint16_t interval, uint16_t latency,
/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.cc94 uint16_t max_int, uint16_t latency, in L2CA_UpdateBleConnParams() argument
120 p_lcb->latency = latency; in L2CA_UpdateBleConnParams()
132 uint16_t max_int, uint16_t latency, in L2CA_UpdateBleConnParams() argument
134 return L2CA_UpdateBleConnParams(rem_bda, min_int, max_int, latency, timeout, in L2CA_UpdateBleConnParams()
310 p_lcb->latency = conn_latency; in l2cble_conn_comp()
409 p_lcb->max_interval, p_lcb->latency, in l2cble_start_conn_update()
415 p_lcb->max_interval, p_lcb->latency, in l2cble_start_conn_update()
436 uint16_t interval, uint16_t latency, in l2cble_process_conn_update_evt() argument
473 uint16_t min_interval, max_interval, latency, timeout; in l2cble_process_sig_cmd() local
520 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/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/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/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.cc291 newStatus.latency = update.status.latency; in updateSamplingStatus()
296 || newStatus.latency != prevStatus.latency))) { in updateSamplingStatus()
778 status.latency = req.batchPeriodUs * kOneMicrosecondInNanoseconds; in applyRequest()
883 mSamplingStatus.latency = CHRE_SENSOR_LATENCY_DEFAULT; in initBase()
/system/netd/tests/benchmarks/
DREADME.md45 latency in this field for comparison against the mean latency
/system/bt/include/hardware/
Dbt_gatt_client.h181 uint16_t latency, uint16_t timeout,
291 int latency, int timeout,
/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()

123