Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/content/res/
DOverlayConfigTest.java74 private File createFile(String fileName) throws IOException { in createFile() method in OverlayConfigTest
75 return createFile(fileName, ""); in createFile()
78 private File createFile(String fileName, String content) throws IOException { in createFile() method in OverlayConfigTest
131 createFile("/product/overlay/config/config.xml", in testImmutableAfterNonImmutableFails()
137 mScannerRule.addOverlay(createFile("/product/overlay/one.apk"), "one"); in testImmutableAfterNonImmutableFails()
138 mScannerRule.addOverlay(createFile("/product/overlay/two.apk"), "two"); in testImmutableAfterNonImmutableFails()
147 createFile("/product/overlay/config/config.xml", in testConfigureAbsentPackageFails()
160 createFile("/product/overlay/config/config.xml", in testConfigurePackageTwiceFails()
166 mScannerRule.addOverlay(createFile("/product/overlay/one.apk"), "one"); in testConfigurePackageTwiceFails()
175 createFile("/vendor/overlay/config/config.xml", in testConfigureOverlayAcrossPartitionsFails()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
DAppMetadataBackupWriterTest.java116 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withoutApkOrSignatures_writesCorrectData()
151 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withApk_writesApk()
187 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withSignatures_writesCorrectSignatures()
217 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_withoutInstallerPackage_writesEmptyInstaller()
233 File manifestFile = createFile(BACKUP_MANIFEST_FILENAME); in testBackupManifest_whenRunPreviouslyWithSameData_producesSameBytesOnSecondRun()
262 File metadataFile = createFile(BACKUP_METADATA_FILENAME); in testBackupWidget_writesCorrectData()
288 File metadataFile = createFile(BACKUP_METADATA_FILENAME); in testBackupWidget_withNullWidgetData_throwsNullPointerException()
304 File metadataFile = createFile(BACKUP_METADATA_FILENAME); in testBackupWidget_withEmptyWidgetData_throwsIllegalArgumentException()
320 File metadataFile = createFile(BACKUP_METADATA_FILENAME); in testBackupWidget_whenRunPreviouslyWithSameData_producesSameBytesOnSecondRun()
420 private File createFile(String fileName) throws IOException { in createFile() method in AppMetadataBackupWriterTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/backup/
DBackupHelper.kt113 val file = UserFileManagerImpl.createFile( in addControlsHelper()
179 val file = UserFileManagerImpl.createFile( in getPPControlsFile()
184 val dest = UserFileManagerImpl.createFile( in getPPControlsFile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserFileManagerImpl.kt61 fun createFile(fileName: String, userId: Int): File { in <lambda>() method
115 val file = File(context.filesDir, createFile(fileName, userId).path) in <lambda>()
129 val file = createFile(fileName, userId) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/backup/
DCommunalPrefsBackupHelper.kt32 UserFileManagerImpl.createFile(
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/backup/
DKeyguardQuickAffordanceBackupHelper.kt35 UserFileManagerImpl.createFile(
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DHapticFeedbackCustomizationTest.java427 File file = createFile(xml); in setupCustomizationFile()
448 private static File createFile(String contents) throws Exception { in createFile() method in HapticFeedbackCustomizationTest
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DArtStatsLogUtilsTest.java77 DEX = Files.createFile(TEST_DIR.resolve("classes.dex")); in setUpAll()
78 NON_DEX = Files.createFile(TEST_DIR.resolve("test.dex")); in setUpAll()
DDexMetadataHelperTest.java227 Files.createFile(invalidDmFile.toPath()); in testParsePackageWithDmFileInvalid()
252 Files.createFile(invalidDmFile.toPath()); in testParsePackageSplitsWithDmFileInvalid()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DAuxiliaryPersistenceWrapper.kt135 UserFileManagerImpl.createFile( in onStartJob()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java247 private void createFile(File file) throws IOException { in createFile() method in BackupManagerService
284 createFile(getSuppressFileForUser(userId)); in deactivateBackupForUserLocked()
303 createFile(getActivatedFileForUser(userId)); in activateBackupForUserLocked()
495 createFile(rememberFile); in setBackupServiceActive()
/frameworks/compile/libbcc/lib/
DRSAddDebugInfoPass.cpp123 sourceFileName = DebugInfo.createFile(DEBUG_GENERATED_FILE, DEBUG_SOURCE_PATH); in initializeDebugInfo()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java1748 Files.createFile(path);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...