Home
last modified time | relevance | path

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

123

/system/update_engine/update_manager/
Dnext_update_check_policy_impl.cc99 int interval = *server_dictated_poll_interval; in NextUpdateCheckTime() local
105 if (interval == 0) { in NextUpdateCheckTime()
110 interval = constants.timeout_periodic_interval; in NextUpdateCheckTime()
112 while (interval < constants.timeout_max_backoff_interval && num_failures) { in NextUpdateCheckTime()
113 interval *= 2; in NextUpdateCheckTime()
119 if (interval > constants.timeout_max_backoff_interval) in NextUpdateCheckTime()
120 interval = constants.timeout_max_backoff_interval; in NextUpdateCheckTime()
124 if (interval <= constants.timeout_periodic_interval) { in NextUpdateCheckTime()
125 interval = constants.timeout_periodic_interval; in NextUpdateCheckTime()
131 fuzz = interval; in NextUpdateCheckTime()
[all …]
Dreal_device_policy_provider.cc193 for (const auto& interval : parsed_intervals) { in ConvertDisallowedTimeIntervals() local
195 WeeklyTime(interval.start_day_of_week, interval.start_time), in ConvertDisallowedTimeIntervals()
196 WeeklyTime(interval.end_day_of_week, interval.end_time)); in ConvertDisallowedTimeIntervals()
Dupdate_time_restrictions_policy_impl.cc64 for (const auto& interval : *intervals) { in UpdateCanBeApplied()
65 if (interval.InRange(now)) { in UpdateCanBeApplied()
Dnext_update_check_policy_impl.h83 static base::TimeDelta FuzzedInterval(PRNG* prng, int interval, int fuzz);
/system/core/watchdogd/
Dwatchdogd.cpp31 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/chre/platform/slpi/smgr/
Dplatform_sensor_util.cc30 uint16_t intervalToSmgrSamplingRate(Nanoseconds interval) { in intervalToSmgrSamplingRate() argument
34 Milliseconds millis = Milliseconds(interval); in intervalToSmgrSamplingRate()
41 } else if (interval != Nanoseconds(0)) { in intervalToSmgrSamplingRate()
45 (Seconds(1).toRawNanoseconds() / interval.toRawNanoseconds()); in intervalToSmgrSamplingRate()
52 uint32_t intervalToSmgrQ16ReportRate(Nanoseconds interval) { in intervalToSmgrQ16ReportRate() argument
58 if (interval != Nanoseconds(0)) { in intervalToSmgrQ16ReportRate()
59 freq = (Seconds(1).toRawNanoseconds() << 16) / interval.toRawNanoseconds(); in intervalToSmgrQ16ReportRate()
/system/core/storaged/
DREADME.properties1 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/
Dsensor_world.cc59 uint64_t interval; // nsec member
69 .interval = Milliseconds(80).toRawNanoseconds(),
77 .interval = CHRE_SENSOR_INTERVAL_DEFAULT,
85 .interval = CHRE_SENSOR_INTERVAL_DEFAULT,
93 .interval = Milliseconds(80).toRawNanoseconds(),
101 .interval = Milliseconds(80).toRawNanoseconds(),
109 .interval = Milliseconds(200).toRawNanoseconds(),
117 .interval = Milliseconds(200).toRawNanoseconds(),
125 .interval = Milliseconds(200).toRawNanoseconds(),
133 .interval = Seconds(2).toRawNanoseconds(),
[all …]
/system/chre/core/
Dsensor_request.cc45 SensorRequest::SensorRequest(SensorMode mode, Nanoseconds interval, 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()
55 if (interval != Nanoseconds(CHRE_SENSOR_INTERVAL_DEFAULT)) { in SensorRequest()
56 mInterval = std::min(interval, Nanoseconds(kMaxIntervalLatencyNs)); in SensorRequest()
/system/chre/apps/gnss_world/
Dgnss_world.cc67 uint32_t interval = kReportIntervals[gLocationTimerCount++]; in makeLocationRequest() local
68 LOGI("Modifying location update interval to %" PRIu32 " sec", interval); in makeLocationRequest()
70 if (interval > 0) { in makeLocationRequest()
72 interval * 1000, in makeLocationRequest()
95 uint32_t interval = kReportIntervals[gMeasurementTimerCount++]; in makeMeasurementRequest() local
96 LOGI("Modifying measurement update interval to %" PRIu32 " sec", interval); in makeMeasurementRequest()
98 if (interval > 0) { in makeMeasurementRequest()
100 interval * 1000, &kMeasurementSessionCookie)) { in makeMeasurementRequest()
/system/chre/platform/slpi/include/chre/platform/slpi/smgr/
Dplatform_sensor_util.h35 uint16_t intervalToSmgrSamplingRate(Nanoseconds interval);
44 uint32_t intervalToSmgrQ16ReportRate(Nanoseconds interval);
/system/bt/vendor_libs/test_vendor_lib/packets/hci/
Dle_meta_event_builder.cc36 …, uint16_t handle, uint8_t role, uint8_t peer_address_type, const Address& peer, uint16_t interval, in CreateLeConnectionCompleteEvent() argument
46 CHECK(evt_ptr->AddOctets2(interval)); in CreateLeConnectionCompleteEvent()
56 …const Address& local_private_address, const Address& peer_private_address, uint16_t interval, uint… in CreateLeEnhancedConnectionCompleteEvent() argument
68 CHECK(evt_ptr->AddOctets2(interval)); in CreateLeEnhancedConnectionCompleteEvent()
77 …Status status, uint16_t handle, uint16_t interval, uint16_t latency, uint16_t supervision_timeout)… in CreateLeConnectionUpdateCompleteEvent() argument
83 CHECK(evt_ptr->AddOctets2(interval)); in CreateLeConnectionUpdateCompleteEvent()
Dle_meta_event_builder.h48 … const Address& peer, uint16_t interval,
63 … uint16_t interval, uint16_t latency,
75 …const Address& local_private_address, const Address& peer_private_address, uint16_t interval, uint…
/system/chre/core/include/chre/core/
Dsensor_request.h54 SensorRequest(SensorMode mode, Nanoseconds interval, Nanoseconds latency);
67 SensorRequest(uint32_t instanceId, SensorMode mode, Nanoseconds interval,
/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()
257 if (status.interval != mOriginalStatus.interval) { in finishTest()
379 if ((mNewStatus.interval != eventData->status.interval) || in handleSamplingChangeEvent()
/system/bt/packet/avrcp/
Dregister_notification_packet.h138 Event event, uint32_t interval);
148 RegisterNotificationRequestBuilder(Event event, uint32_t interval) in RegisterNotificationRequestBuilder() argument
152 interval_(interval){}; in RegisterNotificationRequestBuilder()
/system/core/storaged/include/
Dstoraged.h128 void update_uid_io_interval(int interval) { in update_uid_io_interval() argument
129 if (interval >= DEFAULT_PERIODIC_CHORES_INTERVAL_UID_IO_LIMIT) { in update_uid_io_interval()
130 mConfig.periodic_chores_interval_uid_io = interval; in update_uid_io_interval()
/system/bt/stack/btm/
Dbtm_pm.cc191 ((p_mode->mode & BTM_PM_MD_FORCE) && (p_mode->max >= p_cb->interval) && in BTM_SetPowerMode()
192 (p_mode->min <= p_cb->interval)) || in BTM_SetPowerMode()
194 (p_mode->max >= p_cb->interval))) { in BTM_SetPowerMode()
196 << std::to_string(p_mode->mode) << ", interval " << p_cb->interval in BTM_SetPowerMode()
578 ((md_res.max >= p_cb->interval) && (md_res.min <= p_cb->interval))) in btm_pm_snd_md_req()
751 uint8_t mode, uint16_t interval) { in btm_pm_proc_mode_change() argument
768 p_cb->interval = interval; in btm_pm_proc_mode_change()
813 (*btm_cb.pm_reg_db[yy].cback)(p->remote_addr, mode, interval, hci_status); in btm_pm_proc_mode_change()
855 if (p_cb->interval == max_rx_lat) { in btm_pm_proc_ssr_evt()
Dbtm_inq.cc144 uint16_t interval) { in BTM_SetDiscoverability() argument
173 if (!interval) interval = BTM_DEFAULT_DISC_INTERVAL; in BTM_SetDiscoverability()
178 inq_mode, window, interval); in BTM_SetDiscoverability()
186 interval < HCI_MIN_INQUIRYSCAN_INTERVAL || in BTM_SetDiscoverability()
187 interval > HCI_MAX_INQUIRYSCAN_INTERVAL || window > interval) { in BTM_SetDiscoverability()
209 (interval != btm_cb.btm_inq_vars.inq_scan_period)) { in BTM_SetDiscoverability()
210 btsnd_hcic_write_inqscan_cfg(interval, window); in BTM_SetDiscoverability()
212 btm_cb.btm_inq_vars.inq_scan_period = interval; in BTM_SetDiscoverability()
536 uint16_t interval) { in BTM_SetConnectability() argument
561 if (!interval) interval = BTM_DEFAULT_CONN_INTERVAL; in BTM_SetConnectability()
[all …]
/system/chre/chre_api/legacy/v1_2/chre/
Dsensor.h446 uint64_t interval; member
630 uint64_t interval, uint64_t latency);
/system/chre/chre_api/legacy/v1_0/chre/
Dsensor.h614 uint64_t interval; member
796 uint64_t interval, uint64_t latency);
/system/chre/chre_api/include/chre_api/chre/
Dsensor.h579 uint64_t interval; member
800 uint64_t interval, uint64_t latency);
/system/tools/hidl/c2hal/test/
Dsimple.h48 int interval);
/system/chre/chre_api/legacy/v1_1/chre/
Dsensor.h758 uint64_t interval; member
942 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()

123