/system/update_engine/update_manager/ |
D | next_update_check_policy_impl.cc | 99 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 …]
|
D | real_device_policy_provider.cc | 193 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()
|
D | update_time_restrictions_policy_impl.cc | 64 for (const auto& interval : *intervals) { in UpdateCanBeApplied() 65 if (interval.InRange(now)) { in UpdateCanBeApplied()
|
D | next_update_check_policy_impl.h | 83 static base::TimeDelta FuzzedInterval(PRNG* prng, int interval, int fuzz);
|
/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/chre/platform/slpi/smgr/ |
D | platform_sensor_util.cc | 30 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/ |
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 | 59 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/ |
D | sensor_request.cc | 45 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/ |
D | gnss_world.cc | 67 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/ |
D | platform_sensor_util.h | 35 uint16_t intervalToSmgrSamplingRate(Nanoseconds interval); 44 uint32_t intervalToSmgrQ16ReportRate(Nanoseconds interval);
|
/system/bt/vendor_libs/test_vendor_lib/packets/hci/ |
D | le_meta_event_builder.cc | 36 …, 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()
|
D | le_meta_event_builder.h | 48 … 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/ |
D | sensor_request.h | 54 SensorRequest(SensorMode mode, Nanoseconds interval, Nanoseconds latency); 67 SensorRequest(uint32_t instanceId, SensorMode mode, Nanoseconds interval,
|
/system/chre/apps/chqts/src/general_test/ |
D | basic_sensor_test_base.cc | 194 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/ |
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/core/storaged/include/ |
D | storaged.h | 128 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/ |
D | btm_pm.cc | 191 ((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()
|
D | btm_inq.cc | 144 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/ |
D | sensor.h | 446 uint64_t interval; member 630 uint64_t interval, uint64_t latency);
|
/system/chre/chre_api/legacy/v1_0/chre/ |
D | sensor.h | 614 uint64_t interval; member 796 uint64_t interval, uint64_t latency);
|
/system/chre/chre_api/include/chre_api/chre/ |
D | sensor.h | 579 uint64_t interval; member 800 uint64_t interval, uint64_t latency);
|
/system/tools/hidl/c2hal/test/ |
D | simple.h | 48 int interval);
|
/system/chre/chre_api/legacy/v1_1/chre/ |
D | sensor.h | 758 uint64_t interval; member 942 uint64_t interval, uint64_t latency);
|
/system/chre/platform/shared/ |
D | chre_api_sensor.cc | 152 uint64_t interval, uint64_t latency) { in chreSensorConfigure() argument 156 Nanoseconds(interval), Nanoseconds(latency)); in chreSensorConfigure()
|