summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-07-28 02:13:07 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-07-28 02:13:07 +0000
commitf8844c97ee7b3b1054230c42bc11fab1df9bf002 (patch)
treecfcf49bb5d70a4688137424774bb33b22f63b6dc
parentdd2ded17b9dbaf7aa61f96259577b661928b4020 (diff)
parent8064fa7025f1d25813cc47ebfb6aa211a23db46d (diff)
downloadnative-f8844c97ee7b3b1054230c42bc11fab1df9bf002.tar.gz
Merge "Fix <android/trace.h> doxygen formatting."
-rw-r--r--include/android/trace.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/android/trace.h b/include/android/trace.h
index ca0935f975..99b3f82fcf 100644
--- a/include/android/trace.h
+++ b/include/android/trace.h
@@ -42,7 +42,7 @@ extern "C" {
#if __ANDROID_API__ >= 23
/**
- * Returns true if tracing is enabled. Use this signal to avoid expensive computation only necessary
+ * Returns true if tracing is enabled. Use this to avoid expensive computation only necessary
* when tracing is enabled.
*
* Available since API level 23.
@@ -51,10 +51,10 @@ bool ATrace_isEnabled();
/**
* Writes a tracing message to indicate that the given section of code has begun. This call must be
- * followed by a corresponding call to endSection() on the same thread.
+ * followed by a corresponding call to {@link ATrace_endSection} on the same thread.
*
- * Note: At this time the vertical bar character '|' and newline character '\n' are used internally
- * by the tracing mechanism. If sectionName contains these characters they will be replaced with a
+ * Note: At this time the vertical bar character '|' and newline character '\\n' are used internally
+ * by the tracing mechanism. If \p sectionName contains these characters they will be replaced with a
* space character in the trace.
*
* Available since API level 23.
@@ -63,9 +63,9 @@ void ATrace_beginSection(const char* sectionName);
/**
* Writes a tracing message to indicate that a given section of code has ended. This call must be
- * preceeded by a corresponding call to beginSection(char*) on the same thread. Calling this method
+ * preceeded by a corresponding call to {@link ATrace_beginSection} on the same thread. Calling this method
* will mark the end of the most recently begun section of code, so care must be taken to ensure
- * that beginSection / endSection pairs are properly nested and called from the same thread.
+ * that {@link ATrace_beginSection}/{@link ATrace_endSection} pairs are properly nested and called from the same thread.
*
* Available since API level 23.
*/