Searched refs:file_desc (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/aapt2/link/ |
D | TableMerger_test.cpp | 95 ResourceFile file_desc; in TEST_F() local 96 file_desc.config = test::ParseConfigOrDie("hdpi-v4"); in TEST_F() 97 file_desc.name = test::ParseNameOrDie("layout/main"); in TEST_F() 98 file_desc.source = Source("res/layout-hdpi/main.xml"); in TEST_F() 101 ASSERT_TRUE(merger.MergeFile(file_desc, false /*overlay*/, &test_file)); in TEST_F() 115 ResourceFile file_desc; in TEST_F() local 116 file_desc.name = test::ParseNameOrDie("xml/foo"); in TEST_F() 120 ASSERT_TRUE(merger.MergeFile(file_desc, false /*overlay*/, &file_a)); in TEST_F() 121 ASSERT_TRUE(merger.MergeFile(file_desc, true /*overlay*/, &file_b)); in TEST_F()
|
D | TableMerger.cpp | 300 bool TableMerger::MergeFile(const ResourceFile& file_desc, bool overlay, io::IFile* file) { in MergeFile() argument 302 std::string path = ResourceUtils::BuildResourceFileName(file_desc); in MergeFile() 305 file_ref->SetSource(file_desc.source); in MergeFile() 306 file_ref->type = file_desc.type; in MergeFile() 309 ResourceTablePackage* pkg = table.CreatePackage(file_desc.name.package, 0x0); in MergeFile() 310 pkg->FindOrCreateType(file_desc.name.type) in MergeFile() 311 ->FindOrCreateEntry(file_desc.name.entry) in MergeFile() 312 ->FindOrCreateValue(file_desc.config, {}) in MergeFile()
|
/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 | 270 jobject file_desc = jniCreateFileDescriptor(env, fd); in ReturnParcelFileDescriptor() local 271 if (file_desc == nullptr) { in ReturnParcelFileDescriptor() 275 return newParcelFileDescriptor(env, file_desc); in ReturnParcelFileDescriptor()
|