/frameworks/native/cmds/dumpstate/ |
D | DumpstateUtil.cpp | 46 static bool waitpid_with_timeout(pid_t pid, int timeout_ms, int* status) { in waitpid_with_timeout() argument 72 ts.tv_sec = MSEC_TO_SEC(timeout_ms); in waitpid_with_timeout() 73 ts.tv_nsec = (timeout_ms % 1000) * 1000000; in waitpid_with_timeout() 110 …andOptions::CommandOptionsBuilder::CommandOptionsBuilder(int64_t timeout_ms) : values(timeout_ms) { in CommandOptionsBuilder() argument 158 CommandOptions::CommandOptionsValues::CommandOptionsValues(int64_t timeout_ms) in CommandOptionsValues() argument 159 : timeout_ms_(timeout_ms), in CommandOptionsValues() 202 CommandOptions::CommandOptionsBuilder CommandOptions::WithTimeoutInMs(int64_t timeout_ms) { in WithTimeoutInMs() argument 203 return CommandOptions::CommandOptionsBuilder(timeout_ms); in WithTimeoutInMs()
|
D | DumpstateUtil.h | 80 explicit CommandOptionsValues(int64_t timeout_ms); 131 explicit CommandOptionsBuilder(int64_t timeout_ms); 155 static CommandOptionsBuilder WithTimeoutInMs(int64_t timeout_ms);
|
D | dumpstate.cpp | 764 unsigned long timeout_ms = 0; in logcat_timeout() local 769 timeout_ms += 10 * (readable_size + worst_write_perf) / worst_write_perf; in logcat_timeout() 772 return timeout_ms > MINIMUM_LOGCAT_TIMEOUT_MS ? timeout_ms : MINIMUM_LOGCAT_TIMEOUT_MS; in logcat_timeout() 1032 unsigned long timeout_ms = logcat_timeout({"kernel"}); in DoKernelLogcat() local 1036 CommandOptions::WithTimeoutInMs(timeout_ms).Build()); in DoKernelLogcat() 1043 unsigned long timeout_ms = logcat_timeout({"main", "system", "crash"}); in DoSystemLogcat() local 1047 CommandOptions::WithTimeoutInMs(timeout_ms).Build()); in DoSystemLogcat() 1051 unsigned long timeout_ms = logcat_timeout({"radio"}); in DoRadioLogcat() local 1055 CommandOptions::WithTimeoutInMs(timeout_ms).Build(), true /* verbose_duration */); in DoRadioLogcat() 1059 unsigned long timeout_ms; in DoLogcat() local [all …]
|
/frameworks/base/cmds/incidentd/src/ |
D | incidentd_util.cpp | 182 static bool waitpid_with_timeout(pid_t pid, int timeout_ms, int* status) { in waitpid_with_timeout() argument 208 ts.tv_sec = timeout_ms / 1000; in waitpid_with_timeout() 209 ts.tv_nsec = (timeout_ms % 1000) * 1000000; in waitpid_with_timeout() 249 status_t wait_child(pid_t pid, int timeout_ms) { in wait_child() argument 251 if (waitpid_with_timeout(pid, timeout_ms, &status)) { in wait_child()
|
D | incidentd_util.h | 114 status_t wait_child(pid_t pid, int timeout_ms = 1000);
|
/frameworks/base/services/core/jni/ |
D | com_android_server_am_Freezer.cpp | 39 jint freezeBinder(JNIEnv* env, jobject, jint pid, jboolean freeze, jint timeout_ms) { in freezeBinder() argument 40 jint retVal = IPCThreadState::freeze(pid, freeze, timeout_ms); in freezeBinder()
|
/frameworks/native/libs/tracing_perfetto/tests/ |
D | utils.cpp | 127 bool TracingSession::FlushBlocking(uint32_t timeout_ms) { in FlushBlocking() argument 135 session_, timeout_ms, in FlushBlocking()
|
/frameworks/native/libs/tracing_perfetto/ |
D | tracing_sdk.cpp | 272 bool Session::FlushBlocking(uint32_t timeout_ms) { in FlushBlocking() argument 273 return PerfettoTracingSessionFlushBlocking(session_, timeout_ms); in FlushBlocking()
|
/frameworks/native/libs/tracing_perfetto/tests/include/ |
D | utils.h | 109 bool FlushBlocking(uint32_t timeout_ms);
|
/frameworks/native/include/binder/ |
D | IPCThreadState.h | 55 LIBBINDER_EXPORTED static status_t freeze(pid_t pid, bool enabled, uint32_t timeout_ms);
|
/frameworks/native/libs/binder/include/binder/ |
D | IPCThreadState.h | 55 LIBBINDER_EXPORTED static status_t freeze(pid_t pid, bool enabled, uint32_t timeout_ms);
|
/frameworks/native/cmds/installd/ |
D | utils.h | 169 int wait_child_with_timeout(pid_t pid, int timeout_ms);
|
D | utils.cpp | 1187 int wait_child_with_timeout(pid_t pid, int timeout_ms) { in wait_child_with_timeout() argument 1198 int poll_ret = TEMP_FAILURE_RETRY(poll(&pfd, /*nfds=*/1, timeout_ms)); in wait_child_with_timeout() 1208 LOG(WARNING) << "Child process " << pid << " timed out after " << timeout_ms in wait_child_with_timeout()
|
/frameworks/native/libs/binder/tests/ |
D | binderDriverInterfaceTest.cpp | 138 void binderWaitForReadData(int timeout_ms) { in binderWaitForReadData() argument 144 ret = poll(&pfd, 1, timeout_ms); in binderWaitForReadData()
|
D | binderLibTest.cpp | 337 void waitForReadData(int fd, int timeout_ms) { in waitForReadData() argument 343 ret = poll(&pfd, 1, timeout_ms); in waitForReadData()
|
/frameworks/native/libs/tracing_perfetto/include/ |
D | tracing_sdk.h | 436 bool FlushBlocking(uint32_t timeout_ms);
|
/frameworks/native/libs/binder/ |
D | IPCThreadState.cpp | 1658 status_t IPCThreadState::freeze(pid_t pid, bool enable, uint32_t timeout_ms) { in freeze() argument 1664 info.timeout_ms = timeout_ms; in freeze()
|
/frameworks/base/core/proto/android/providers/settings/ |
D | global.proto | 738 optional SettingProto timeout_ms = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; field
|