Searched defs:ms (Results 1 - 8 of 8) sorted by relevance

/system/core/adb/sysdeps/
H A Dchrono.h37 constexpr std::chrono::milliseconds operator"" ms(unsigned long long ms) { argument
38 return std::chrono::milliseconds(ms);
41 constexpr std::chrono::duration<long double, std::milli> operator"" ms(long double ms) { argument
42 return std::chrono::duration<long double, std::milli>(ms);
/system/core/libmemunreachable/
H A DSemaphore.h30 void Wait(std::chrono::milliseconds ms) { argument
32 cv_.wait_for(lk, ms, [&]{
/system/bt/osi/test/
H A Dalarm_test.cc35 static void msleep(uint64_t ms) { usleep(ms * 1000); } argument
429 // Sleep for 500ms and test again that the cb_counter hasn't been modified
/system/bt/btif/src/
H A Dbtif_debug_conn.cc41 const uint64_t ms = ts / 1000; local
42 const time_t secs = ms / 1000;
47 snprintf(buffer, len, "%s.%03u", tempbuff, (uint16_t)(ms % 1000));
/system/bt/service/
H A Dlow_energy_advertiser.cc47 int ms; local
51 ms = kAdvertisingIntervalMediumMs;
54 ms = kAdvertisingIntervalLowMs;
59 ms = kAdvertisingIntervalHighMs;
64 return (ms * 1000) / 625;
/system/core/libprocessgroup/
H A Dprocessgroup.cpp291 std::this_thread::sleep_for(5ms);
302 auto ms = std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count(); local
304 << static_cast<int>(ms) << "ms, " << processes << " procs remain";
/system/media/audio_route/
H A Daudio_route.c799 struct mixer_state * ms = &ar->mixer_state[ctl_index]; local
801 type = mixer_ctl_get_type(ms->ctl);
808 for (j = 0; j < ms->num_values; j++) {
810 if (ms->old_value.bytes[j] != ms->new_value.bytes[j]) {
811 mixer_ctl_set_array(ms->ctl, ms->new_value.bytes, ms->num_values);
812 memcpy(ms->old_value.bytes, ms
[all...]
/system/core/toolbox/
H A Dnewfs_msdos.c853 off_t ms, hs = 0; local
864 if (ioctl(fd, DIOCGMEDIASIZE, &ms) == -1) {
870 ms = st.st_size;
874 dlp.d_secperunit = ms / dlp.d_secsize;
880 dlp.d_secperunit = ms / dlp.d_secsize;
892 dlp.d_secperunit = ms / dlp.d_secsize;
909 hs = (ms / dlp.d_secsize) - dlp.d_secperunit;

Completed in 355 milliseconds