/system/update_engine/update_manager/ |
D | next_update_check_policy_impl.cc | 112 int interval = *server_dictated_poll_interval; in NextUpdateCheckTime() local 118 if (interval == 0) { in NextUpdateCheckTime() 123 interval = constants.timeout_periodic_interval; in NextUpdateCheckTime() 125 while (interval < constants.timeout_max_backoff_interval && num_failures) { in NextUpdateCheckTime() 126 interval *= 2; in NextUpdateCheckTime() 132 if (interval > constants.timeout_max_backoff_interval) in NextUpdateCheckTime() 133 interval = constants.timeout_max_backoff_interval; in NextUpdateCheckTime() 137 if (interval <= constants.timeout_periodic_interval) { in NextUpdateCheckTime() 138 interval = constants.timeout_periodic_interval; in NextUpdateCheckTime() 144 fuzz = interval; in NextUpdateCheckTime() [all …]
|
D | update_time_restrictions_monitor.cc | 38 for (const auto& interval : intervals) { in FindNextNearestInterval() local 39 if (interval.InRange(now)) { in FindNextNearestInterval() 40 return &interval; in FindNextNearestInterval() 42 const TimeDelta current_duration = now.GetDurationTo(interval.start()); in FindNextNearestInterval() 44 result_interval = &interval; in FindNextNearestInterval()
|
D | real_device_policy_provider.cc | 195 for (const auto& interval : parsed_intervals) { in ConvertDisallowedTimeIntervals() local 197 WeeklyTime(interval.start_day_of_week, interval.start_time), in ConvertDisallowedTimeIntervals() 198 WeeklyTime(interval.end_day_of_week, interval.end_time)); in ConvertDisallowedTimeIntervals()
|
D | update_time_restrictions_policy_impl.cc | 64 for (const auto& interval : *intervals) { in UpdateCanBeApplied() 65 if (interval.InRange(now)) { in UpdateCanBeApplied()
|
/system/core/watchdogd/ |
D | watchdogd.cpp | 31 int interval = 10; in main() local 32 if (argc >= 2) interval = atoi(argv[1]); in main() 37 LOG(INFO) << "watchdogd started (interval " << interval << ", margin " << margin << ")!"; in main() 45 int timeout = interval + margin; in main() 54 interval = timeout - margin; in main() 56 interval = 1; in main() 59 << "timeout " << timeout << ", interval " << interval << ", margin " in main() 66 sleep(interval); in main()
|
/system/core/storaged/ |
D | README.properties | 1 ro.storaged.event.interval # interval storaged scans for IO stats, in seconds 3 ro.storaged.disk_stats_pub # interval storaged publish disk stats, in seconds 4 ro.storaged.uid_io.interval # interval storaged checks Per UID IO usage, in seconds
|
/system/chre/apps/sensor_world/ |
D | sensor_world.cc | 58 uint64_t interval; // nsec member 70 .interval = Milliseconds(80).toRawNanoseconds(), 80 .interval = CHRE_SENSOR_INTERVAL_DEFAULT, 90 .interval = CHRE_SENSOR_INTERVAL_DEFAULT, 100 .interval = Milliseconds(80).toRawNanoseconds(), 110 .interval = Milliseconds(80).toRawNanoseconds(), 120 .interval = Milliseconds(200).toRawNanoseconds(), 130 .interval = Milliseconds(200).toRawNanoseconds(), 140 .interval = Milliseconds(200).toRawNanoseconds(), 150 .interval = CHRE_SENSOR_INTERVAL_DEFAULT, [all …]
|
/system/bt/gd/neighbor/ |
D | scan_parameters.h | 28 inline double ScanIntervalTimeMs(ScanInterval interval) { in ScanIntervalTimeMs() argument 29 return kTimeTickMs * interval; in ScanIntervalTimeMs() 37 ScanInterval interval; member
|
D | page.cc | 75 scan_parameters_.interval = packet.GetPageScanInterval(); in OnCommandComplete() 126 LOG_INFO("Page scan interval:%hd window:%hd", scan_parameters_.interval, scan_parameters_.window); in Stop() 132 hci::WritePageScanActivityBuilder::Create(params.interval, params.window), in SetScanActivity() 139 params.interval, in SetScanActivity() 140 ScanIntervalTimeMs(params.interval), in SetScanActivity()
|
/system/chre/core/ |
D | sensor_request.cc | 44 SensorRequest::SensorRequest(SensorMode mode, Nanoseconds interval, in SensorRequest() argument 46 : SensorRequest(kInvalidInstanceId, mode, interval, latency) {} in SensorRequest() 49 Nanoseconds interval, Nanoseconds latency) in SensorRequest() argument 50 : mInterval(interval), in SensorRequest() 56 if (interval != Nanoseconds(CHRE_SENSOR_INTERVAL_DEFAULT)) { in SensorRequest() 57 mInterval = std::min(interval, Nanoseconds(kMaxIntervalLatencyNs)); in SensorRequest()
|
/system/bt/osi/test/fuzzers/alarm/ |
D | fuzz_alarm.cc | 64 bool fuzz_set_alarm(alarm_t* alarm, uint64_t interval, alarm_callback_t cb, in fuzz_set_alarm() argument 83 alarm_set_on_mloop(alarm, interval, cb, data_buffer); in fuzz_set_alarm() 85 alarm_set(alarm, interval, cb, data_buffer); in fuzz_set_alarm() 123 uint64_t interval = in LLVMFuzzerTestOneInput() local 125 if (fuzz_set_alarm(alarm, interval, cb, &dataProvider)) { in LLVMFuzzerTestOneInput()
|
/system/chre/apps/gnss_world/ |
D | gnss_world.cc | 62 uint32_t interval = kReportIntervals[gLocationTimerCount++]; in makeLocationRequest() local 63 LOGI("Modifying location update interval to %" PRIu32 " sec", interval); in makeLocationRequest() 65 if (interval > 0) { in makeLocationRequest() 67 interval * 1000, kLocationMinTimeToNextFix.getMilliseconds(), in makeLocationRequest() 88 uint32_t interval = kReportIntervals[gMeasurementTimerCount++]; in makeMeasurementRequest() local 89 LOGI("Modifying measurement update interval to %" PRIu32 " sec", interval); in makeMeasurementRequest() 91 if (interval > 0) { in makeMeasurementRequest() 92 if (chreGnssMeasurementSessionStartAsync(interval * 1000, in makeMeasurementRequest()
|
/system/bt/gd/rust/common/src/ |
D | time.rs | 50 pub fn interval(period: Duration) -> Interval { in interval() function 83 use super::interval; 126 interval(Duration::from_millis(10)); in interval_schedule_and_then_drop() 135 let mut interval = interval(Duration::from_millis(10)); in interval_simple_case() localVariable 138 interval.tick().await; in interval_simple_case()
|
/system/bt/main/shim/ |
D | btm.cc | 355 .interval = 0, 359 void Btm::SetClassicGeneralDiscoverability(uint16_t window, uint16_t interval) { in SetClassicGeneralDiscoverability() argument 361 params_.interval = interval; in SetClassicGeneralDiscoverability() 367 void Btm::SetClassicLimitedDiscoverability(uint16_t window, uint16_t interval) { in SetClassicLimitedDiscoverability() argument 369 params_.interval = interval; in SetClassicLimitedDiscoverability() 380 .interval = params_.interval, in GetClassicDiscoverabilityState() 404 .interval = 0, in GetLeDiscoverabilityState() 423 ConnectabilityState state{.interval = params_.interval, in GetClassicConnectabilityState() 445 .interval = 0, in GetLeConnectabilityState()
|
/system/chre/core/include/chre/core/ |
D | sensor_request.h | 54 SensorRequest(SensorMode mode, Nanoseconds interval, Nanoseconds latency); 67 SensorRequest(uint32_t instanceId, SensorMode mode, Nanoseconds interval,
|
/system/bt/stack/acl/ |
D | btm_pm.cc | 236 ((p_mode->mode & BTM_PM_MD_FORCE) && (p_mode->max >= p_cb->interval) && in BTM_SetPowerMode() 237 (p_mode->min <= p_cb->interval)) || in BTM_SetPowerMode() 239 (p_mode->max >= p_cb->interval))) { in BTM_SetPowerMode() 243 p_mode->mode, p_cb->interval, p_mode->max, p_mode->min); in BTM_SetPowerMode() 546 ((md_res.max >= p_cb->interval) && (md_res.min <= p_cb->interval))) { in btm_pm_snd_md_req() 716 tHCI_MODE hci_mode, uint16_t interval) { in btm_pm_proc_mode_change() argument 729 p_cb->interval = interval; in btm_pm_proc_mode_change() 758 (*pm_reg_db.cback)(p_cb->bda_, mode, interval, hci_status); in btm_pm_proc_mode_change() 787 if (p_cb->interval == max_rx_lat) { in process_ssr_event() 911 tHCI_MODE current_mode, uint16_t interval) { in btm_pm_on_mode_change() argument [all …]
|
D | ble_acl.cc | 159 void gatt_notify_conn_update(const RawAddress& remote, uint16_t interval, 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/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | le_advertiser.cc | 28 std::chrono::steady_clock::duration interval) { in Initialize() argument 35 interval_ = interval; in Initialize() 42 std::chrono::steady_clock::duration interval) { in InitializeExtended() argument 47 interval_ = interval; in InitializeExtended()
|
/system/bt/test/mock/ |
D | mock_main_shim_link_policy.h | 149 uint16_t interval)> 151 uint16_t interval) {}}; 153 uint16_t interval) { in operator() 154 body(status, handle, hci_mode, interval); in operator()
|
D | mock_stack_acl_ble.cc | 69 void gatt_notify_conn_update(const RawAddress& remote, uint16_t interval, 73 uint16_t interval, uint16_t latency, in acl_ble_update_event_received() argument
|
/system/bt/packet/avrcp/ |
D | register_notification_packet.h | 138 Event event, uint32_t interval); 148 RegisterNotificationRequestBuilder(Event event, uint32_t interval) in RegisterNotificationRequestBuilder() argument 152 interval_(interval){}; in RegisterNotificationRequestBuilder()
|
/system/chre/apps/power_test/common/idl/ |
D | chre_power_test.fbs | 43 /// the given interval 76 /// the scan interval to use if scanning is being started 86 /// sampling at the requested interval 94 /// modem for the latest cell scan results on the given interval 101 /// data buffered at given interval. Note: If there is more than one audio 105 /// The buffer duration is also used as the interval for how often 155 /// sampling at the requested interval
|
/system/chre/platform/shared/ |
D | chre_api_sensor.cc | 93 uint64_t interval, uint64_t latency) { in chreSensorConfigure() argument 98 Nanoseconds(interval), Nanoseconds(latency)); in chreSensorConfigure() 105 UNUSED_VAR(interval); in chreSensorConfigure()
|
/system/core/storaged/include/ |
D | storaged.h | 129 void update_uid_io_interval(int interval) { in update_uid_io_interval() argument 130 if (interval >= DEFAULT_PERIODIC_CHORES_INTERVAL_UID_IO_LIMIT) { in update_uid_io_interval() 131 mConfig.periodic_chores_interval_uid_io = interval; in update_uid_io_interval()
|
/system/chre/apps/test/chqts/src/general_test/ |
D | basic_sensor_test_base.cc | 247 if (!chreSensorConfigure(mSensorHandle, mode, mNewStatus.interval, in startTest() 273 !chreSensorConfigure(mSensorHandle, mode, mNewStatus.interval, in startTest() 312 if (status.interval != mOriginalStatus.interval) { in finishTest() 464 if ((mNewStatus.interval != eventData->status.interval) || in handleSamplingChangeEvent()
|