Home
last modified time | relevance | path

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

/system/bt/gd/dumpsys/bundler/
Dtest.cc24 bool LoadBinarySchema(const char* filename, std::string* binary_schema);
40 TEST_F(BundlerTest, LoadBinarySchema) { in TEST_F() argument
42 ASSERT_FALSE(LoadBinarySchema(nullptr, &string_schema)); in TEST_F()
43 ASSERT_DEATH(LoadBinarySchema("test.bfbs", nullptr), ""); in TEST_F()
44 ASSERT_TRUE(LoadBinarySchema("test.bfbs", &string_schema)); in TEST_F()
45 ASSERT_FALSE(LoadBinarySchema("does_not_exist.bfbs", &string_schema)); in TEST_F()
50 ASSERT_TRUE(LoadBinarySchema("test.bfbs", &string_schema)); in TEST_F()
Dbundler.cc43 bool LoadBinarySchema(const char* filename, std::string* binary_schema) { in LoadBinarySchema() function
88 if (!LoadBinarySchema(filename.c_str(), &string_schema)) { in CreateBinarySchemaBundle()