Home
last modified time | relevance | path

Searched refs:manifestFile (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
H A DAppMetadataBackupWriterTest.java115 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withoutApkOrSignatures_writesCorrectData() local
129 manifestFile.delete(); in testBackupManifest_withoutApkOrSignatures_writesCorrectData()
150 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withApk_writesApk() local
158 manifestFile.delete(); in testBackupManifest_withApk_writesApk()
186 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withSignatures_writesCorrectSignatures() local
196 manifestFile.delete(); in testBackupManifest_withSignatures_writesCorrectSignatures()
216 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withoutInstallerPackage_writesEmptyInstaller() local
224 manifestFile.delete(); in testBackupManifest_withoutInstallerPackage_writesEmptyInstaller()
232 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_whenRunPreviouslyWithSameData_producesSameBytesOnSecondRun() local
237 modifyFileMetadata(manifestFile); in testBackupManifest_whenRunPreviouslyWithSameData_producesSameBytesOnSecondRun()
[all …]
/aosp14/frameworks/base/tools/aapt/
H A DCommand.cpp786 const String8 manifestFile("AndroidManifest.xml"); in doDump() local
888 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
896 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
907 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
913 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1263 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1271 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1281 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1294 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1337 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
[all …]
H A DResource.cpp1749 const sp<AaptFile> manifestFile(androidManifestFile->getFiles().valueAt(0)); in buildResources() local
1750 String8 manifestPath(manifestFile->getPrintableSource()); in buildResources()
1753 manifestFile->clearData(); in buildResources()
1754 sp<XMLNode> manifestTree = XMLNode::parse(manifestFile); in buildResources()
1762 err = compileXmlFile(bundle, assets, String16(), manifestTree, manifestFile, &table); in buildResources()
1914 sp<AaptFile> outManifestFile = new AaptFile(manifestFile->getSourceFile(), in buildResources()
1915 manifestFile->getGroupEntry(), in buildResources()
1916 manifestFile->getResourceType()); in buildResources()
1917 err = compileXmlFile(bundle, assets, String16(), manifestFile, in buildResources()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
H A DAppMetadataBackupWriter.java59 PackageInfo packageInfo, File manifestFile, File filesDir, boolean withApk) in backupManifest() argument
63 manifestFile, in backupManifest()
84 File manifestFile, in backupManifest() argument
91 FileOutputStream outputStream = new FileOutputStream(manifestFile); in backupManifest()
99 manifestFile.setLastModified(0); in backupManifest()
106 manifestFile.getAbsolutePath(), in backupManifest()
H A DFullBackupEngine.java118 File manifestFile = new File(mFilesDir, BACKUP_MANIFEST_FILENAME); in run() local
120 mPackage, manifestFile, mFilesDir, writeApk); in run()
121 manifestFile.delete(); in run()