Home
last modified time | relevance | path

Searched refs:STRING_FIELD_2 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/incidentd/tests/
DPrivacyBuffer_test.cpp41 const std::string STRING_FIELD_2 = "\x12\vandroidwins"; variable
44 const std::string MESSAGE_FIELD_5 = "\x2a\x10" + VARINT_FIELD_1 + STRING_FIELD_2;
146 writeToFdBuffer(STRING_FIELD_2); in TEST_F()
177 writeToFdBuffer(STRING_FIELD_2); in TEST_F()
178 assertStripByFields(DEST_EXPLICIT, STRING_FIELD_2, 1, in TEST_F()
207 writeToFdBuffer(STRING_FIELD_0 + VARINT_FIELD_1 + STRING_FIELD_2 + FIX64_FIELD_3 + in TEST_F()
215 writeToFdBuffer(STRING_FIELD_0 + VARINT_FIELD_1 + STRING_FIELD_2 + FIX64_FIELD_3 + in TEST_F()
217 std::string expected = STRING_FIELD_0 + STRING_FIELD_2 + FIX32_FIELD_4; in TEST_F()
225 std::string expected = STRING_FIELD_0 + "\x2a\xd" + STRING_FIELD_2; in TEST_F()
232 std::string expected = STRING_FIELD_0 + "\x2a\xd" + STRING_FIELD_2; in TEST_F()
[all …]
DSection_test.cpp46 const std::string STRING_FIELD_2 = "\x12\vandroidwins"; variable
259 ASSERT_TRUE(WriteStringToFile(VARINT_FIELD_1 + STRING_FIELD_2 + FIX64_FIELD_3, tf.path)); in TEST_F()
265 EXPECT_THAT(GetCapturedStdout(), StrEq("\x02\r" + STRING_FIELD_2)); in TEST_F()
270 ASSERT_TRUE(WriteStringToFile(VARINT_FIELD_1 + STRING_FIELD_2 + FIX64_FIELD_3, tf.path)); in TEST_F()
281 EXPECT_THAT(GetCapturedStdout(), StrEq("\x02\r" + STRING_FIELD_2)); in TEST_F()
287 ASSERT_TRUE(WriteStringToFile(VARINT_FIELD_1 + STRING_FIELD_2 + FIX64_FIELD_3, tf.path)); in TEST_F()
303 ASSERT_TRUE(WriteStringToFile(VARINT_FIELD_1 + STRING_FIELD_2 + FIX64_FIELD_3, tf.path)); in TEST_F()
318 EXPECT_THAT(GetCapturedStdout(), StrEq("\x02\r" + STRING_FIELD_2)); in TEST_F()
321 expect = VARINT_FIELD_1 + STRING_FIELD_2 + FIX64_FIELD_3; in TEST_F()
326 expect = STRING_FIELD_2 + FIX64_FIELD_3; in TEST_F()
[all …]