/system/media/audio_route/ |
D | audio_route.c | 878 struct mixer_state * ms = &ar->mixer_state[ctl_index]; in audio_route_update_path() local 880 type = mixer_ctl_get_type(ms->ctl); in audio_route_update_path() 885 if (reverse && ms->active_count > 0) { in audio_route_update_path() 887 ms->active_count = 0; in audio_route_update_path() 889 ms->active_count--; in audio_route_update_path() 891 ms->active_count++; in audio_route_update_path() 896 for (j = 0; j < ms->num_values; j++) { in audio_route_update_path() 898 if (ms->old_value.bytes[j] != ms->new_value.bytes[j]) { in audio_route_update_path() 899 if (reverse && ms->active_count > 0) { in audio_route_update_path() 902 mixer_ctl_get_name(ms->ctl), name); in audio_route_update_path() [all …]
|
/system/memory/libmemunreachable/tests/ |
D | DisableMalloc_test.cpp | 50 alarm(100ms); in TEST_F() 70 alarm(100ms); in TEST_F() 90 alarm(100ms); in TEST_F() 106 alarm(250ms); in TEST_F() 120 alarm(100ms); in TEST_F() 131 alarm(100ms); in TEST_F()
|
D | AtomicState_test.cpp | 91 ASSERT_FALSE(state_.wait_for_either_of(B, C, 10ms)); in TEST_F() 129 ASSERT_FALSE(state_.wait_for_either_of(A, B, 100ms)); in TEST_F()
|
/system/core/fs_mgr/tests/ |
D | file_wait_test.cpp | 46 ASSERT_TRUE(WaitForFile(test_file_, 500ms)); in TEST_F() 47 ASSERT_FALSE(WaitForFileDeleted(test_file_, 500ms)); in TEST_F() 51 ASSERT_FALSE(WaitForFile(test_file_, 500ms)); in TEST_F() 52 ASSERT_TRUE(WaitForFileDeleted(test_file_, 500ms)); in TEST_F() 89 ASSERT_FALSE(WaitForFile("/this/path/does/not/exist", 5ms)); in TEST_F()
|
/system/libbase/ |
D | properties_test.cpp | 161 std::this_thread::sleep_for(100ms); in TEST() 180 200ms)); in TEST() 183 ASSERT_GE(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 200ms); in TEST() 185 ASSERT_LT(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 600ms); in TEST() 197 std::this_thread::sleep_for(500ms); in TEST() 217 std::this_thread::sleep_for(500ms); in TEST() 224 ASSERT_FALSE(android::base::WaitForProperty("debug.libbase.WaitForProperty_test", "b", -100ms)); in TEST() 234 std::this_thread::sleep_for(100ms); in TEST() 250 "debug.libbase.WaitForPropertyCreation_timeout_test", 200ms)); in TEST() 253 ASSERT_GE(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 200ms); in TEST() [all …]
|
D | chrono_utils_test.cpp | 59 std::this_thread::sleep_for(50ms); in TEST() 69 std::this_thread::sleep_for(50ms); in TEST()
|
/system/extras/tests/workloads/ |
D | feedly-chrome.sh | 47 echo Feedly start time = ${t}ms 52 echo Chrome start time = ${t}ms 72 echo feedly started in ${t}ms 109 echo Avg start times: feedly: ${feedlyAve}ms
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot_stats.h | 32 virtual void set_boot_complete_time_ms(uint32_t ms) = 0; 33 virtual void set_boot_complete_to_merge_start_time_ms(uint32_t ms) = 0; 74 void set_boot_complete_time_ms(uint32_t ms) override; 76 void set_boot_complete_to_merge_start_time_ms(uint32_t ms) override;
|
/system/chre/host/hal_generic/aidl/ |
D | event_logger.cc | 34 std::string formatLocalTime(int64_t ms) { in formatLocalTime() argument 35 const std::chrono::milliseconds duration(ms); in formatLocalTime() 41 return std::string(buffer) + std::to_string(1000 + ms % 1000).substr(1); in formatLocalTime() 150 for (const int64_t &ms : mContextHubRestarts) { in dump() local 151 if (snprintf(buffer, kBufferSize, " %s\n", formatLocalTime(ms).c_str()) > in dump()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_stats.cpp | 103 void SnapshotMergeStats::set_boot_complete_time_ms(uint32_t ms) { in set_boot_complete_time_ms() argument 104 report_.set_boot_complete_time_ms(ms); in set_boot_complete_time_ms() 111 void SnapshotMergeStats::set_boot_complete_to_merge_start_time_ms(uint32_t ms) { in set_boot_complete_to_merge_start_time_ms() argument 112 report_.set_boot_complete_to_merge_start_time_ms(ms); in set_boot_complete_to_merge_start_time_ms()
|
/system/chre/chpp/platform/linux/include/chpp/platform/ |
D | platform_log.h | 43 uint64_t ms = chppGetCurrentTimeNs() / 1000000; \ 45 printf("\e[" color "m[%" PRIu64 "] %s %s:%d\t (%s) " fmt "\e[0m\n", ms, \
|
/system/chre/chpp/test/ |
D | fake_link.h | 28 using ::std::literals::chrono_literals::operator""ms; 45 static constexpr auto kDefaultTimeout = 10 * (kTransportTimeout + 5ms);
|
/system/core/llkd/ |
D | libllkd.cpp | 319 count(0ms), in proc() 321 count_stack(0ms), in proc() 387 count_stack = 0ms; in reset() 406 if (llkTimeoutMs == 0ms) { in llkValidate() 410 if (llkCheckMs == 0ms) { in llkValidate() 416 if (llkStateTimeoutMs[state] == 0ms) { in llkValidate() 425 if (llkCycle == 0ms) { in llkValidate() 608 std::string llkFormat(milliseconds ms) { in llkFormat() argument 609 auto sec = duration_cast<seconds>(ms); in llkFormat() 614 s << std::right << (ms - sec).count(); in llkFormat() [all …]
|
/system/memory/libmemunreachable/ |
D | AtomicState.h | 81 bool wait_for_either_of(T state1, T state2, std::chrono::milliseconds ms) { in wait_for_either_of() argument 83 bool success = cv_.wait_for(lock, ms, [&] { return state_ == state1 || state_ == state2; }); in wait_for_either_of()
|
/system/netd/tests/ |
D | sock_diag_test.cpp | 192 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in TEST_F() typedef 212 std::chrono::duration_cast<ms>(std::chrono::steady_clock::now() - start).count()); in TEST_F() 221 std::chrono::duration_cast<ms>(std::chrono::steady_clock::now() - start).count()); in TEST_F() 245 std::chrono::duration_cast<ms>(std::chrono::steady_clock::now() - start).count()); in TEST_F() 255 std::chrono::duration_cast<ms>(std::chrono::steady_clock::now() - start).count()); in TEST_F()
|
/system/libprocinfo/ |
D | process_test.cpp | 110 std::this_thread::sleep_for(100ms); in TEST() 119 std::this_thread::sleep_for(100ms); in TEST() 140 std::this_thread::sleep_for(1000ms); in TEST() 152 std::this_thread::sleep_for(1000ms); in TEST()
|
/system/core/fs_mgr/libfs_avb/tests/ |
D | util_test.cpp | 171 EXPECT_FALSE(WaitForFile(wait_path.value(), 200ms)); in TEST() 182 auto wait_file = std::async(WaitForFile, wait_path.value(), 500ms, FileWaitMode::Exists); in TEST() 185 std::this_thread::sleep_for(100ms); in TEST() 203 auto wait_file = std::async(WaitForFile, wait_path.value(), 50ms, FileWaitMode::Exists); in TEST() 206 std::this_thread::sleep_for(100ms); in TEST()
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | SystemSuspendUnitTest.cpp | 202 std::this_thread::sleep_for(100ms); in TearDown() 218 std::this_thread::sleep_for(100ms); in isSystemSuspendBlocked() 286 .baseSleepTime = 100ms, 287 .maxSleepTime = 400ms, 290 .shortSuspendThreshold = 100ms, 508 suspendFor(10000ms, 1); in TEST_F() 514 suspendFor(10000ms, 1); in TEST_F() 520 suspendFor(10ms, kSleepTimeConfig.backoffThreshold); in TEST_F() 522 suspendFor(10ms, 1); in TEST_F() 526 suspendFor(10000ms, 1); in TEST_F() [all …]
|
/system/core/init/ |
D | reboot.cpp | 306 if (!entry.Umount(timeout == 0ms)) unmount_done = false; in UmountPartitions() 314 std::this_thread::sleep_for(100ms); in UmountPartitions() 453 UmountStat st = UmountPartitions(0ms); in TryUmountAndFsck() 565 if (timeout > 0ms) { in StopServices() 620 auto shutdown_timeout = 0ms; in DoReboot() 734 if (shutdown_timeout > 0ms) { in DoReboot() 738 StopServicesAndLogViolations(stop_first, 0ms, false /* SIGKILL */); in DoReboot() 755 StopServices(kDebuggingServices, 0ms, false /* SIGKILL */); in DoReboot() 780 if (!is_thermal_shutdown) std::this_thread::sleep_for(100ms); in DoReboot()
|
/system/chre/host/test/hal_generic/aidl/ |
D | event_logger_test.cc | 33 void setNowMs(int64_t ms) { in setNowMs() argument 34 mNowMs = ms; in setNowMs()
|
/system/libsysprop/srcs/android/sysprop/ |
D | CarProperties.sysprop | 63 # Timeout (in ms) waiting for Vehicle HAL responses for user management requests. 72 # Timeout (in ms) waiting for Device Policy Manager responses for user management requests.
|
/system/core/healthd/ |
D | charger_test.cpp | 56 bool waitFor(long ms, const T& expectVal) { in waitFor() argument 58 return mChanged.wait_for(lock, std::chrono::milliseconds(ms), in waitFor()
|
/system/netd/server/ |
D | SockDiagTest.cpp | 471 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; in TEST_P() typedef 493 std::chrono::duration_cast<ms>(std::chrono::steady_clock::now() - start).count()); in TEST_P() 498 std::chrono::duration_cast<ms>(std::chrono::steady_clock::now() - start).count()); in TEST_P() 507 std::chrono::duration_cast<ms>(std::chrono::steady_clock::now() - start).count(), in TEST_P() 519 std::chrono::duration_cast<ms>(std::chrono::steady_clock::now() - start).count()); in TEST_P()
|
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
D | snapuserd_test.cpp | 700 std::this_thread::sleep_for(500ms); in SimulateDaemonRestart() 739 std::this_thread::sleep_for(250ms); in MergeInterrupt() 743 std::this_thread::sleep_for(250ms); in MergeInterrupt() 747 std::this_thread::sleep_for(150ms); in MergeInterrupt() 751 std::this_thread::sleep_for(100ms); in MergeInterrupt() 755 std::this_thread::sleep_for(800ms); in MergeInterrupt() 759 std::this_thread::sleep_for(600ms); in MergeInterrupt()
|
/system/core/fs_mgr/libdm/ |
D | utility.cpp | 37 std::this_thread::sleep_for(20ms); in WaitForCondition()
|