Home
last modified time | relevance | path

Searched refs:kOpenCreate (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tools/aapt/
DZipFile.h63 kOpenCreate = 0x04, // create if it doesn't exist enumerator
DZipFile.cpp66 flags |= kOpenCreate; // trunc implies create in open()
72 if ((flags & kOpenCreate) && !(flags & kOpenReadWrite)) in open()
79 if (!(flags & kOpenCreate) && newArchive) { in open()
DPackage.cpp101 status = zip->open(outputFile.string(), ZipFile::kOpenReadWrite | ZipFile::kOpenCreate); in writeAPK()
DCommand.cpp92 flags |= ZipFile::kOpenCreate; in openReadWrite()
/frameworks/base/tools/aapt2/
DZipFile.h66 kOpenCreate = 0x04, // create if it doesn't exist enumerator
DZipFile.cpp69 flags |= kOpenCreate; // trunc implies create in open()
75 if ((flags & kOpenCreate) && !(flags & kOpenReadWrite)) in open()
82 if (!(flags & kOpenCreate) && newArchive) { in open()
DMain.cpp728 static constexpr int kOpenFlags = ZipFile::kOpenCreate | ZipFile::kOpenTruncate |