Home
last modified time | relevance | path

Searched refs:createFile (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/content/
DOverlayConfigTest.java65 private File createFile(String fileName) throws IOException { in createFile() method in OverlayConfigTest
66 return createFile(fileName, ""); in createFile()
69 private File createFile(String fileName, String content) throws IOException { in createFile() method in OverlayConfigTest
92 createFile("/product/overlay/config/config.xml", in testImmutableAfterNonImmutableFails()
98 mScannerRule.addOverlay(createFile("/product/overlay/one.apk"), "one"); in testImmutableAfterNonImmutableFails()
99 mScannerRule.addOverlay(createFile("/product/overlay/two.apk"), "two"); in testImmutableAfterNonImmutableFails()
108 createFile("/product/overlay/config/config.xml", in testConfigureAbsentPackageFails()
121 createFile("/product/overlay/config/config.xml", in testConfigurePackageTwiceFails()
127 mScannerRule.addOverlay(createFile("/product/overlay/one.apk"), "one"); in testConfigurePackageTwiceFails()
136 createFile("/vendor/overlay/config/config.xml", in testConfigureOverlayAcrossPartitionsFails()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
DAppMetadataBackupWriterTest.java115 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withoutApkOrSignatures_writesCorrectData()
150 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withApk_writesApk()
186 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withSignatures_writesCorrectSignatures()
216 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withoutInstallerPackage_writesEmptyInstaller()
232 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_whenRunPreviouslyWithSameData_producesSameBytesOnSecondRun()
261 File metadataFile = createFile(BACKUP_METADATA_FILENAME); in testBackupWidget_writesCorrectData()
287 File metadataFile = createFile(BACKUP_METADATA_FILENAME); in testBackupWidget_withNullWidgetData_throwsNullPointerException()
303 File metadataFile = createFile(BACKUP_METADATA_FILENAME); in testBackupWidget_withEmptyWidgetData_throwsIllegalArgumentException()
319 File metadataFile = createFile(BACKUP_METADATA_FILENAME); in testBackupWidget_whenRunPreviouslyWithSameData_producesSameBytesOnSecondRun()
419 private File createFile(String fileName) throws IOException { in createFile() method in AppMetadataBackupWriterTest
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexMetadataHelperTest.java154 Files.createFile(invalidDmFile.toPath()); in testParsePackageWithDmFileInvalid()
171 Files.createFile(invalidDmFile.toPath()); in testParsePackageSplitsWithDmFileInvalid()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java225 private void createFile(File file) throws IOException { in createFile() method in BackupManagerService
255 createFile(getSuppressFileForSystemUser()); in deactivateBackupForUserLocked()
272 createFile(getActivatedFileForNonSystemUser(userId)); in activateBackupForUserLocked()
452 createFile(rememberFile); in setBackupServiceActive()
/frameworks/compile/libbcc/lib/
DRSAddDebugInfoPass.cpp123 sourceFileName = DebugInfo.createFile(DEBUG_GENERATED_FILE, DEBUG_SOURCE_PATH); in initializeDebugInfo()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java305 private static @Nullable StoreFile createFile(@NonNull File storeDir, in createFile() method in WifiConfigStore
326 createFile(storeDir, fileId, userHandle, shouldEncryptCredentials); in createFiles()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/services/
Dart-profile10724 HPLcom/android/server/backup/BackupManagerService;->createFile(Ljava/io/File;)V
/frameworks/base/api/
Dcurrent.txt67566 …method public static java.nio.file.Path createFile(java.nio.file.Path, java.nio.file.attribute.Fil…