Home
last modified time | relevance | path

Searched refs:test_string (Results 1 – 8 of 8) sorted by relevance

/system/bt/gd/dumpsys/internal/test_data/
Dstring_generated.h16 const flatbuffers::String* test_string() const { in test_string() function
21 verifier.VerifyString(test_string()) && verifier.EndTable(); in Verify()
29 void add_test_string(flatbuffers::Offset<flatbuffers::String> test_string) { in add_test_string()
30 fbb_.AddOffset(TestTableString::VT_TEST_STRING, test_string); in add_test_string()
44 … flatbuffers::FlatBufferBuilder& _fbb, flatbuffers::Offset<flatbuffers::String> test_string = 0) {
46 builder_.add_test_string(test_string);
51 flatbuffers::FlatBufferBuilder& _fbb, const char* test_string = nullptr) {
52 auto test_string__ = test_string ? _fbb.CreateString(test_string) : 0;
Dstring.fbs4 test_string:string;
/system/bt/gd/dumpsys/internal/
Dfilter_internal_test.cc94 auto test_string = fb_builder_.CreateString(string); in CreateString() local
96 builder.add_test_string(test_string); in CreateString()
247 ASSERT_STREQ("This is a string", test_table->test_string()->c_str()); in TEST_F()
257 ASSERT_STREQ("This is a string", test_table->test_string()->c_str()); in TEST_F()
262 ASSERT_STREQ("This is a string", test_table->test_string()->c_str()); in TEST_F()
273 ASSERT_NE("This is a string", test_table->test_string()->c_str()); in TEST_F()
278 ASSERT_STREQ("A", test_table->test_string()->c_str()); in TEST_F()
289 ASSERT_NE("A", test_table->test_string()->c_str()); in TEST_F()
294 …ASSERT_STREQ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", test_table->test_string()->c_… in TEST_F()
305 …ASSERT_NE("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", test_table->test_string()->c_str… in TEST_F()
[all …]
/system/tools/sysprop/tests/
DCppGenTest.cpp47 api_name: "test_string"
DCppGenIntegrationTest.cpp66 TEST_API(test_string, "test.string", "hello world", "hello world"); in TEST()
DJavaGenTest.cpp47 api_name: "test_string"
DTestProperties.sysprop77 api_name: "test_string"
/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp530 std::string test_string = "This is a test string."; in TEST_F() local
531 test_string.resize(writer->options().block_size); in TEST_F()
532 ASSERT_TRUE(writer->AddRawBlocks(0, test_string.data(), test_string.size())); in TEST_F()
565 std::string buffer(test_string.size(), '\0'); in TEST_F()
567 ASSERT_EQ(test_string, buffer); in TEST_F()