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.java116 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withoutApkOrSignatures_writesCorrectData() local
118 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ false); in testBackupManifest_withoutApkOrSignatures_writesCorrectData()
130 manifestFile.delete(); in testBackupManifest_withoutApkOrSignatures_writesCorrectData()
151 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withApk_writesApk() local
153 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ true); in testBackupManifest_withApk_writesApk()
159 manifestFile.delete(); in testBackupManifest_withApk_writesApk()
187 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withSignatures_writesCorrectSignatures() local
189 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ false); in testBackupManifest_withSignatures_writesCorrectSignatures()
197 manifestFile.delete(); in testBackupManifest_withSignatures_writesCorrectSignatures()
217 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withoutInstallerPackage_writesEmptyInstaller() local
[all …]
/frameworks/base/tools/aapt/
DCommand.cpp787 const String8 manifestFile("AndroidManifest.xml"); in doDump() local
889 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
897 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
908 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
914 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
924 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
930 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
941 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
947 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1264 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
[all …]
DResource.cpp1752 const sp<AaptFile> manifestFile(androidManifestFile->getFiles().valueAt(0)); in buildResources() local
1753 String8 manifestPath(manifestFile->getPrintableSource()); in buildResources()
1756 manifestFile->clearData(); in buildResources()
1757 sp<XMLNode> manifestTree = XMLNode::parse(manifestFile); in buildResources()
1765 err = compileXmlFile(bundle, assets, String16(), manifestTree, manifestFile, &table); in buildResources()
1917 sp<AaptFile> outManifestFile = new AaptFile(manifestFile->getSourceFile(), in buildResources()
1918 manifestFile->getGroupEntry(), in buildResources()
1919 manifestFile->getResourceType()); in buildResources()
1920 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.java118 File manifestFile = new File(mFilesDir, BACKUP_MANIFEST_FILENAME); in run() local
120 mPackage, manifestFile, mFilesDir, writeApk); in run()
121 manifestFile.delete(); in run()