Home
last modified time | relevance | path

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

/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
DAppMetadataBackupWriterTest.java115 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withoutApkOrSignatures_writesCorrectData() local
117 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ false); in testBackupManifest_withoutApkOrSignatures_writesCorrectData()
129 manifestFile.delete(); in testBackupManifest_withoutApkOrSignatures_writesCorrectData()
150 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withApk_writesApk() local
152 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ true); in testBackupManifest_withApk_writesApk()
158 manifestFile.delete(); in testBackupManifest_withApk_writesApk()
186 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withSignatures_writesCorrectSignatures() local
188 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ false); in testBackupManifest_withSignatures_writesCorrectSignatures()
196 manifestFile.delete(); in testBackupManifest_withSignatures_writesCorrectSignatures()
216 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withoutInstallerPackage_writesEmptyInstaller() local
[all …]
/frameworks/base/tools/aapt/
DCommand.cpp786 const String8 manifestFile("AndroidManifest.xml"); in doDump() local
886 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
894 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
905 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
911 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
921 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
927 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
938 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
944 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1207 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
[all …]
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()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
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()
DFullBackupEngine.java114 File manifestFile = new File(mFilesDir, BACKUP_MANIFEST_FILENAME); in run() local
116 mPackage, manifestFile, mFilesDir, writeApk); in run()
117 manifestFile.delete(); in run()