/system/core/init/ |
H A D | util.h | 45 double duration() { function in class:Timer
|
/system/update_engine/ |
H A D | metrics_utils_unittest.cc | 83 base::TimeDelta duration; local 96 &duration)); 101 &duration)); 102 EXPECT_EQ(duration.InSeconds(), 0); 108 &duration)); 109 EXPECT_EQ(duration.InSeconds(), 0); 112 &duration)); 113 EXPECT_EQ(duration.InSeconds(), 0); 120 &duration)); 121 EXPECT_EQ(duration 156 base::TimeDelta duration; local [all...] |
H A D | metrics.cc | 210 base::TimeDelta duration, 238 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(duration) 241 duration.InMinutes(), 206 ReportUpdateAttemptMetrics( SystemState *system_state, int attempt_number, PayloadType payload_type, base::TimeDelta duration, base::TimeDelta duration_uptime, int64_t payload_size, int64_t payload_bytes_downloaded, int64_t payload_download_speed_bps, DownloadSource download_source, AttemptResult attempt_result, ErrorCode internal_error_code, DownloadErrorCode payload_download_error_code, ConnectionType connection_type) argument
|
H A D | payload_state.cc | 575 TimeDelta duration = clock->GetBootTime() - attempt_start_time_boot_; local 626 duration, 709 TimeDelta duration = GetUpdateDuration(); local 729 duration,
|
/system/extras/zram-perf/ |
H A D | zram-perf.cpp | 92 size_t duration = chrono::duration_cast<chrono::microseconds>(end - start).count(); local 93 cout << "read: " << (double)devSize * passes / 1024.0 / 1024.0 / (duration / 1000.0 / 1000.0) << "MB/s" << endl; 114 size_t duration = chrono::duration_cast<chrono::microseconds>(end - start).count(); local 115 cout << "write: " << (double)devSize * passes / 1024.0 / 1024.0 / (duration / 1000.0 / 1000.0) << "MB/s" << endl;
|
/system/extras/tests/wifi/stress/ |
H A D | wifiLoadScanAssoc.c | 134 float duration = DEFAULT_DURATION; local 162 duration = strtod(optarg, &chptr); 163 if ((*chptr != '\0') || (duration < 0.0)) { 164 testPrintE("Invalid command-line specified duration of: %s", 253 testPrintE(" %s [-s start_pass] [-e end_pass] [-d duration]", 257 testPrintI("duration: %g", duration); 268 // Stop if duration of work has already been performed 271 if (tv2double(&delta) > duration) { break; }
|
/system/core/libpixelflinger/codeflinger/ |
H A D | ARMAssembler.cpp | 183 const int64_t duration = ggl_system_time() - mDuration; local 185 ALOGI(format, name, int(pc()-base()), base(), pc(), duration); 197 printf(format, name, int(pc()-base()), base(), pc(), duration);
|
H A D | GGLAssembler.cpp | 96 int64_t duration = ggl_system_time(); local
|
H A D | Arm64Assembler.cpp | 317 const int64_t duration = ggl_system_time() - mDuration; local 319 ALOGI(format, name, int(pc()-base()), base(), pc(), duration); 326 printf(format, name, int(pc()-base()), base(), pc(), duration);
|
H A D | MIPSAssembler.cpp | 1410 const int64_t duration = ggl_system_time() - mDuration; local 1412 ALOGI(format, name, int(pc()-base()), base(), pc(), duration);
|
/system/extras/perfprofd/ |
H A D | perfprofdcore.cc | 529 unsigned duration, 574 // sleep <duration> 576 std::string d_str = android::base::StringPrintf("%u", duration); 747 unsigned duration = config.getUnsignedValue("sample_duration"); 750 bool take_action = (hardwire && duration <= max_duration); 764 duration, 526 invoke_perf(const std::string &perf_path, unsigned sampling_period, const char *stack_profile_opt, unsigned duration, const std::string &data_file_path, const std::string &perf_stderr_path) argument
|
/system/bt/bta/dm/ |
H A D | bta_dm_api.c | 1880 extern void BTA_DmBleObserve(BOOLEAN start, UINT8 duration, argument 1890 p_msg->duration = duration;
|
H A D | bta_dm_int.h | 480 UINT16 duration; member in struct:__anon110
|
/system/bt/stack/hcic/ |
H A D | hcicmds.c | 38 BOOLEAN btsnd_hcic_inquiry(const LAP inq_lap, UINT8 duration, UINT8 response_cnt) argument 50 UINT8_TO_STREAM (pp, duration); 72 const LAP inq_lap, UINT8 duration, UINT8 response_cnt) 86 UINT8_TO_STREAM (pp, duration); 71 btsnd_hcic_per_inq_mode(UINT16 max_period, UINT16 min_period, const LAP inq_lap, UINT8 duration, UINT8 response_cnt) argument
|
/system/core/healthd/ |
H A D | healthd_mode_charger.cpp | 481 int64_t duration = now - charger->keys[code].timestamp; local 482 int64_t secs = duration / 1000; 483 int64_t msecs = duration - secs * 1000;
|
/system/bt/stack/btm/ |
H A D | btm_ble_gap.c | 353 tBTM_STATUS BTM_BleObserve(BOOLEAN start, UINT8 duration, argument 414 if (duration != 0) { 416 period_ms_t duration_ms = duration * 1000; 1841 BTM_TRACE_EVENT("start timer for limited disc mode duration=%d ms", 1951 ** If the duration is zero, the periodic inquiry mode is cancelled. 1965 tBTM_STATUS btm_ble_start_inquiry (UINT8 mode, UINT8 duration) argument 2014 if (duration != 0) { 2016 period_ms_t duration_ms = duration * 1000;
|
/system/bt/stack/include/ |
H A D | bt_types.h | 486 UINT32 duration; member in struct:__anon1015
|
H A D | btm_api.h | 574 UINT8 duration; /* duration of the inquiry (1.28 sec increments) */ member in struct:__anon1025 580 UINT8 intl_duration[4]; /*duration array storing the interleave scan's time portions*/ 2185 ** Output Params: p_window - current inquiry scan duration 2201 ** If the duration is zero, the periodic inquiry mode is cancelled. 2205 ** duration - length in 1.28 sec intervals (If '0', the inquiry is CANCELLED) 2236 ** duration - length in 1.28 sec intervals (If '0', the inquiry is CANCELLED) 2329 ** Output Params p_window - current page scan duration
|
/system/bt/bta/include/ |
H A D | bta_api.h | 283 UINT8 duration; /* Inquiry duration in 1.28 sec units. */ member in struct:__anon277 289 UINT8 intl_duration[4];/*duration array storing the interleave scan's time portions*/ 1959 ** duration : Duration of the scan. Continuous scan if 0 is passed 1965 extern void BTA_DmBleObserve(BOOLEAN start, UINT8 duration,
|