Searched refs:file_desc (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/aapt2/link/ |
D | TableMerger.cpp | 342 bool TableMerger::MergeFile(const ResourceFile& file_desc, bool overlay, io::IFile* file) { in MergeFile() argument 344 std::string path = ResourceUtils::BuildResourceFileName(file_desc); in MergeFile() 347 file_ref->SetSource(file_desc.source); in MergeFile() 348 file_ref->type = file_desc.type; in MergeFile() 351 ResourceTablePackage* pkg = table.FindOrCreatePackage(file_desc.name.package); in MergeFile() 352 pkg->FindOrCreateType(file_desc.name.type) in MergeFile() 353 ->FindOrCreateEntry(file_desc.name.entry) in MergeFile() 354 ->FindOrCreateValue(file_desc.config, {}) in MergeFile()
|
D | TableMerger_test.cpp | 94 ResourceFile file_desc; in TEST_F() local 95 file_desc.config = test::ParseConfigOrDie("hdpi-v4"); in TEST_F() 96 file_desc.name = test::ParseNameOrDie("layout/main"); in TEST_F() 97 file_desc.source = Source("res/layout-hdpi/main.xml"); in TEST_F() 100 ASSERT_TRUE(merger.MergeFile(file_desc, false /*overlay*/, &test_file)); in TEST_F() 114 ResourceFile file_desc; in TEST_F() local 115 file_desc.name = test::ParseNameOrDie("xml/foo"); in TEST_F() 119 ASSERT_TRUE(merger.MergeFile(file_desc, false /*overlay*/, &file_a)); in TEST_F() 120 ASSERT_TRUE(merger.MergeFile(file_desc, true /*overlay*/, &file_b)); in TEST_F()
|
/frameworks/rs/tests/lldb/tests/harness/ |
D | test_base.py | 298 file_desc, name = tempfile.mkstemp() 299 os.close(file_desc)
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 247 jobject file_desc = jniCreateFileDescriptor(env, fd); in ReturnParcelFileDescriptor() local 248 if (file_desc == nullptr) { in ReturnParcelFileDescriptor() 252 return newParcelFileDescriptor(env, file_desc); in ReturnParcelFileDescriptor()
|