/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 | 194 for (const auto& interval : parsed_intervals) { in ConvertDisallowedTimeIntervals() local 196 WeeklyTime(interval.start_day_of_week, interval.start_time), in ConvertDisallowedTimeIntervals() 197 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/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/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_DEBUG("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 | 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/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 | 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/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/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()
|
D | le_advertiser.h | 41 std::chrono::steady_clock::duration interval); 47 std::chrono::steady_clock::duration interval);
|
/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 | 185 ((p_mode->mode & BTM_PM_MD_FORCE) && (p_mode->max >= p_cb->interval) && in BTM_SetPowerMode() 186 (p_mode->min <= p_cb->interval)) || in BTM_SetPowerMode() 188 (p_mode->max >= p_cb->interval))) { in BTM_SetPowerMode() 190 << std::to_string(p_mode->mode) << ", interval " << p_cb->interval in BTM_SetPowerMode() 572 ((md_res.max >= p_cb->interval) && (md_res.min <= p_cb->interval))) in btm_pm_snd_md_req() 745 uint8_t mode, uint16_t interval) { in btm_pm_proc_mode_change() argument 762 p_cb->interval = interval; in btm_pm_proc_mode_change() 807 (*btm_cb.pm_reg_db[yy].cback)(p->remote_addr, mode, interval, hci_status); in btm_pm_proc_mode_change() 849 if (p_cb->interval == max_rx_lat) { in btm_pm_proc_ssr_evt()
|
D | btm_inq.cc | 155 uint16_t interval) { in BTM_SetDiscoverability() argument 157 return bluetooth::shim::BTM_SetDiscoverability(inq_mode, window, interval); in BTM_SetDiscoverability() 188 if (!interval) interval = BTM_DEFAULT_DISC_INTERVAL; in BTM_SetDiscoverability() 193 inq_mode, window, interval); in BTM_SetDiscoverability() 201 interval < HCI_MIN_INQUIRYSCAN_INTERVAL || in BTM_SetDiscoverability() 202 interval > HCI_MAX_INQUIRYSCAN_INTERVAL || window > interval) { in BTM_SetDiscoverability() 224 (interval != btm_cb.btm_inq_vars.inq_scan_period)) { in BTM_SetDiscoverability() 225 btsnd_hcic_write_inqscan_cfg(interval, window); in BTM_SetDiscoverability() 227 btm_cb.btm_inq_vars.inq_scan_period = interval; in BTM_SetDiscoverability() 456 uint16_t interval) { in BTM_SetConnectability() argument [all …]
|
/system/bt/main/shim/ |
D | btm.cc | 498 .interval = 0, 502 void Btm::SetClassicGeneralDiscoverability(uint16_t window, uint16_t interval) { in SetClassicGeneralDiscoverability() argument 504 params_.interval = interval; in SetClassicGeneralDiscoverability() 510 void Btm::SetClassicLimitedDiscoverability(uint16_t window, uint16_t interval) { in SetClassicLimitedDiscoverability() argument 512 params_.interval = interval; in SetClassicLimitedDiscoverability() 523 .interval = params_.interval, in GetClassicDiscoverabilityState() 547 .interval = 0, in GetLeDiscoverabilityState() 566 ConnectabilityState state{.interval = params_.interval, in GetClassicConnectabilityState() 588 .interval = 0, in GetLeConnectabilityState()
|
/system/bt/gd/cert/ |
D | performance_test_logger.py | 60 interval = self.end_interval_points[label][i] - self.start_interval_points[label][i] 61 intervals.append(interval)
|
/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);
|