/system/chre/core/ |
H A D | sensor_request.cc | 27 // With capping in SensorRequest constructor, interval + latency < UINT64_MAX. 28 // When the return value is default, request latency (instead of batch 29 // interval) will be used to compute the merged latency. 46 Nanoseconds latency) 47 : SensorRequest(nullptr /* nanoapp */, mode, interval, latency) {} 50 Nanoseconds interval, Nanoseconds latency) 51 : mNanoapp(nanoapp), mInterval(interval), mLatency(latency), mMode(mode) { 52 // cap non-default interval/latency to ensure no overflow in CHRE internal 57 if (latency != Nanoseconds(CHRE_SENSOR_LATENCY_DEFAULT)) { 58 mLatency = std::min(latency, Nanosecond 45 SensorRequest(SensorMode mode, Nanoseconds interval, Nanoseconds latency) argument 49 SensorRequest(Nanoapp *nanoapp, SensorMode mode, Nanoseconds interval, Nanoseconds latency) argument 83 Nanoseconds latency = request.mLatency; local 89 Nanoseconds latency = (batchInterval - mInterval); local [all...] |
/system/chre/chre_api/include/chre_api/chre/ |
H A D | sensor.h | 218 * Indicates that the interval and/or the latency which this sensor is 257 * Value indicating we want the smallest possible latency for a sensor. 275 * Special value indicating non-importance of the latency. 313 * batching and latency). 449 * The latency, in nanoseconds, at which the senor is now reporting. 451 * If this is CHRE_SENSOR_LATENCY_DEFAULT, then a latency 459 uint64_t latency; member in struct:chreSensorSamplingStatus 470 * Note that only at least one of 'interval' or 'latency' must be 522 * requested a faster interval and/or lower latency. This latter scenario 540 * Configures a given sensor at a specific interval and latency an 686 uint64_t latency; local [all...] |
/system/chre/core/include/chre/core/ |
H A D | sensor_request.h | 29 //! Maximum of non-default interval and latency values in nanoseconds to ensure 41 * The sensor is disabled and the interval and latency are both set to zero. 46 * Constructs a sensor request given a mode, interval and latency. Non-default 47 * interval or latency higher than kMaxIntervalLatencyNs will be capped. 51 * @param latency The maximum amount of time to batch samples before 54 SensorRequest(SensorMode mode, Nanoseconds interval, Nanoseconds latency); 58 * latency. Non-default interval or latency higher than kMaxIntervalLatencyNs 64 * @param latency The maximum amount of time to batch samples before 68 Nanoseconds latency); [all...] |
/system/netd/include/ |
H A D | FwmarkCommand.h | 36 FwmarkConnectInfo(const int connectErrno, const unsigned latency, const sockaddr* saddr) { argument 38 latencyMs = latency;
|
/system/chre/apps/sensor_world/ |
H A D | sensor_world.cc | 60 uint64_t latency; // nsec member in struct:chre::__anon1393::__anon1394::SensorState 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 [all...] |
/system/extras/boottime_tools/io_analysis/ |
H A D | check_io_trace.py | 39 self.latency = 0 40 def set_latency(self, latency): 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 [all...] |
/system/chre/chre_api/legacy/v1_1/chre/ |
H A D | sensor.h | 360 * Indicates that the interval and/or the latency which this sensor is 399 * Value indicating we want the smallest possible latency for a sensor. 417 * Special value indicating non-importance of the latency. 455 * batching and latency). 761 * The latency, in nanoseconds, at which the senor is now reporting. 763 * If this is CHRE_SENSOR_LATENCY_DEFAULT, then a latency 771 uint64_t latency; member in struct:chreSensorSamplingStatus 782 * Note that only at least one of 'interval' or 'latency' must be 834 * requested a faster interval and/or lower latency. This latter scenario 852 * Configures a given sensor at a specific interval and latency an 998 uint64_t latency; local [all...] |
/system/bt/stack/include/ |
H A D | hidd_api.h | 229 uint32_t peak_bandwidth, uint32_t latency, uint32_t delay_variation); 242 uint32_t peak_bandwidth, uint32_t latency, uint32_t delay_variation);
|
H A D | gap_api.h | 144 uint16_t latency; member in struct:__anon1195
|
/system/chre/platform/shared/ |
H A D | chre_api_sensor.cc | 68 uint64_t interval, uint64_t latency) { 72 Nanoseconds(latency)); 66 chreSensorConfigure(uint32_t sensorHandle, enum chreSensorConfigureMode mode, uint64_t interval, uint64_t latency) argument
|
/system/chre/apps/chqts/src/general_test/ |
H A D | basic_sensor_test_base.cc | 103 // or latency should fail. 107 "different latency"); 126 "default interval and non-default latency"); 132 "non-default interval and default latency"); 138 "non-default interval and latency"); 188 // Default interval/latency must be accepted by all sensors. 191 CHRE_SENSOR_LATENCY_DEFAULT, /* latency */ 199 mNewStatus.interval, mNewStatus.latency)) { 201 " interval and latency"); 218 CHRE_SENSOR_LATENCY_ASAP, /* latency */ [all...] |
/system/bt/stack/l2cap/ |
H A D | l2c_ble.cc | 102 uint16_t max_int, uint16_t latency, 128 p_lcb->latency = latency; 140 uint16_t max_int, uint16_t latency, 142 return L2CA_UpdateBleConnParams(rem_bda, min_int, max_int, latency, timeout, 328 p_lcb->latency = conn_latency; 398 p_lcb->latency = conn_latency; 485 /* use 7.5 ms as fast connection parameter, 0 slave latency */ 525 p_lcb->max_interval, p_lcb->latency, 531 p_lcb->max_interval, p_lcb->latency, 101 L2CA_UpdateBleConnParams(const RawAddress& rem_bda, uint16_t min_int, uint16_t max_int, uint16_t latency, uint16_t timeout, uint16_t min_ce_len, uint16_t max_ce_len) argument 139 L2CA_UpdateBleConnParams(const RawAddress& rem_bda, uint16_t min_int, uint16_t max_int, uint16_t latency, uint16_t timeout) argument 551 l2cble_process_conn_update_evt(uint16_t handle, uint8_t status, uint16_t interval, uint16_t latency, uint16_t timeout) argument 589 uint16_t min_interval, max_interval, latency, timeout; local 1116 l2cble_process_rc_param_request_evt(uint16_t handle, uint16_t int_min, uint16_t int_max, uint16_t latency, uint16_t timeout) argument [all...] |
H A D | l2c_int.h | 444 uint16_t latency; 646 uint16_t max_int, uint16_t latency, 795 uint16_t interval, uint16_t latency, 812 uint16_t latency,
|
/system/chre/chre_api/legacy/v1_0/chre/ |
H A D | sensor.h | 244 * Indicates that the interval and/or the latency which this sensor is 283 * Value indicating we want the smallest possible latency for a sensor. 300 * Special value indicating non-importance of the latency. 333 * batching and latency). 617 * The latency, in nanoseconds, at which the senor is now reporting. 619 * If this is CHRE_SENSOR_LATENCY_DEFAULT, then a latency 624 uint64_t latency; member in struct:chreSensorSamplingStatus 635 * Note that only at least one of 'interval' or 'latency' must be 688 * requested a faster interval and/or lower latency. This latter scenario 706 * Configures a given sensor at a specific interval and latency an [all...] |
/system/bt/stack/hid/ |
H A D | hidd_api.cc | 590 uint32_t peak_bandwidth, uint32_t latency, 600 hd_cb.in_qos.latency = latency; 617 uint32_t peak_bandwidth, uint32_t latency, 627 hd_cb.l2cap_intr_cfg.qos.latency = latency; 588 HID_DevSetIncomingQos(uint8_t service_type, uint32_t token_rate, uint32_t token_bucket_size, uint32_t peak_bandwidth, uint32_t latency, uint32_t delay_variation) argument 615 HID_DevSetOutgoingQos(uint8_t service_type, uint32_t token_rate, uint32_t token_bucket_size, uint32_t peak_bandwidth, uint32_t latency, uint32_t delay_variation) argument
|
/system/chre/platform/slpi/see/ |
H A D | platform_sensor.cc | 178 newStatus.latency = update.status.latency; 183 || newStatus.latency != prevStatus.latency) { 508 // TODO: remove setSamplingStatus when .latency is available in status update 519 status.latency = req.batchPeriodUs * kOneMicrosecondInNanoseconds; 587 mSamplingStatus.latency = CHRE_SENSOR_LATENCY_DEFAULT;
|
/system/bt/binder/android/bluetooth/ |
H A D | IBluetoothGattCallback.aidl | 40 void onConnectionUpdated(in String address, in int interval, in int latency,
|
H A D | IBluetoothGattServerCallback.aidl | 45 void onConnectionUpdated(in String address, in int interval, in int latency,
|
/system/bt/stack/gap/ |
H A D | gap_ble.cc | 155 UINT16_TO_STREAM(p, attr_value.conn_param.latency); /* latency */ 311 uint16_t min, max, latency, tout; local 336 STREAM_TO_UINT16(latency, pp); 339 BTM_BleSetPrefConnParams(p_clcb->bda, min, max, latency, tout); 458 gatt_attr[3].attr_value.conn_param.latency = GAP_PREFER_CONN_LATENCY; /* 0 */
|
/system/bt/btif/src/ |
H A D | btif_gatt_client.cc | 190 p_data->conn_update.latency, p_data->conn_update.timeout, 539 int max_interval, int latency, 543 BTA_DmBleUpdateConnectionParams(addr, min_interval, max_interval, latency, 546 BTA_DmSetBlePrefConnParams(addr, min_interval, max_interval, latency, 552 int latency, int timeout, 558 min_interval, max_interval, latency, timeout, min_ce_len, max_ce_len));
|
/system/bt/include/hardware/ |
H A D | bt_gatt_server.h | 117 uint16_t latency, uint16_t timeout,
|
H A D | bt_gatt_client.h | 181 uint16_t latency, uint16_t timeout, 291 int latency, int timeout,
|
/system/bt/stack/btu/ |
H A D | btu_hcif.cc | 814 STREAM_TO_UINT32(flow.latency, p); 1672 uint16_t latency, uint16_t timeout, 1682 uint16_t latency; local 1688 STREAM_TO_UINT16(latency, p); 1691 l2cble_process_conn_update_evt(handle, status, interval, latency, timeout); 1693 gatt_notify_conn_update(handle & 0x0FFF, interval, latency, timeout, status); 1735 uint16_t int_min, int_max, latency, timeout; local 1740 STREAM_TO_UINT16(latency, p); 1743 l2cble_process_rc_param_request_evt(handle, int_min, int_max, latency,
|
/system/bt/bta/gatt/ |
H A D | bta_gatts_act.cc | 59 uint16_t interval, uint16_t latency, 643 uint16_t interval, uint16_t latency, 655 cb_data.conn_update.latency = latency; 642 bta_gatts_conn_update_cback(tGATT_IF gatt_if, uint16_t conn_id, uint16_t interval, uint16_t latency, uint16_t timeout, uint8_t status) argument
|
/system/bt/bta/dm/ |
H A D | bta_dm_api.cc | 538 * slave_latency - preferred slave latency 722 * latency - slave latency [0 ~ 500] 730 uint16_t latency, uint16_t timeout, 734 max_int, latency, timeout, min_ce_len, max_ce_len)); 728 BTA_DmBleUpdateConnectionParams(const RawAddress& bd_addr, uint16_t min_int, uint16_t max_int, uint16_t latency, uint16_t timeout, uint16_t min_ce_len, uint16_t max_ce_len) argument
|