Searched refs:ATRACE_MESSAGE_LENGTH (Results 1 – 2 of 2) sorted by relevance
/system/core/libcutils/tests/ |
D | trace-dev_test.cpp | 65 std::string name = MakeName(ATRACE_MESSAGE_LENGTH - expected.length() - 1); in TEST_F() 68 ASSERT_EQ(ATRACE_MESSAGE_LENGTH - 1, lseek(atrace_marker_fd, 0, SEEK_CUR)); in TEST_F() 80 EXPECT_EQ(ATRACE_MESSAGE_LENGTH - 1, lseek(atrace_marker_fd, 0, SEEK_CUR)); in TEST_F() 88 std::string name = MakeName(2 * ATRACE_MESSAGE_LENGTH); in TEST_F() 91 ASSERT_EQ(ATRACE_MESSAGE_LENGTH - 1, lseek(atrace_marker_fd, 0, SEEK_CUR)); in TEST_F() 96 int expected_len = ATRACE_MESSAGE_LENGTH - expected.length() - 1; in TEST_F() 114 std::string name = MakeName(ATRACE_MESSAGE_LENGTH - expected.length() - 7); in TEST_F() 117 ASSERT_EQ(ATRACE_MESSAGE_LENGTH - 1, lseek(atrace_marker_fd, 0, SEEK_CUR)); in TEST_F() 129 EXPECT_EQ(ATRACE_MESSAGE_LENGTH - 1, lseek(atrace_marker_fd, 0, SEEK_CUR)); in TEST_F() 137 std::string name = MakeName(2 * ATRACE_MESSAGE_LENGTH); in TEST_F() [all …]
|
/system/core/libcutils/ |
D | trace-dev.c | 40 #define ATRACE_MESSAGE_LENGTH 1024 macro 184 char buf[ATRACE_MESSAGE_LENGTH]; in atrace_begin_body() 201 char buf[ATRACE_MESSAGE_LENGTH]; \
|