Home
last modified time | relevance | path

Searched refs:timeout_ms (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/cmds/dumpstate/
DDumpstateUtil.cpp46 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()
DDumpstateUtil.h80 explicit CommandOptionsValues(int64_t timeout_ms);
131 explicit CommandOptionsBuilder(int64_t timeout_ms);
155 static CommandOptionsBuilder WithTimeoutInMs(int64_t timeout_ms);
Ddumpstate.cpp764 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/
Dincidentd_util.cpp182 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()
Dincidentd_util.h114 status_t wait_child(pid_t pid, int timeout_ms = 1000);
/frameworks/base/services/core/jni/
Dcom_android_server_am_Freezer.cpp39 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/
Dutils.cpp127 bool TracingSession::FlushBlocking(uint32_t timeout_ms) { in FlushBlocking() argument
135 session_, timeout_ms, in FlushBlocking()
/frameworks/native/libs/tracing_perfetto/
Dtracing_sdk.cpp272 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/
Dutils.h109 bool FlushBlocking(uint32_t timeout_ms);
/frameworks/native/include/binder/
DIPCThreadState.h55 LIBBINDER_EXPORTED static status_t freeze(pid_t pid, bool enabled, uint32_t timeout_ms);
/frameworks/native/libs/binder/include/binder/
DIPCThreadState.h55 LIBBINDER_EXPORTED static status_t freeze(pid_t pid, bool enabled, uint32_t timeout_ms);
/frameworks/native/cmds/installd/
Dutils.h169 int wait_child_with_timeout(pid_t pid, int timeout_ms);
Dutils.cpp1187 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/
DbinderDriverInterfaceTest.cpp138 void binderWaitForReadData(int timeout_ms) { in binderWaitForReadData() argument
144 ret = poll(&pfd, 1, timeout_ms); in binderWaitForReadData()
DbinderLibTest.cpp337 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/
Dtracing_sdk.h436 bool FlushBlocking(uint32_t timeout_ms);
/frameworks/native/libs/binder/
DIPCThreadState.cpp1658 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/
Dglobal.proto738 optional SettingProto timeout_ms = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; field