Home
last modified time | relevance | path

Searched refs:parentFile (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/com/android/internal/content/
DF2fsUtils.java168 File parentFile = new File(childPath).getCanonicalFile(); in isChild() local
169 while (parentFile != null) { in isChild()
170 if (base.equals(parentFile)) { in isChild()
173 parentFile = parentFile.getParentFile(); in isChild()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DTransferOwnershipMetadataManagerTest.java119 File parentFile = canonicalFile.getParentFile(); in testLoad() local
121 Log.d(TAG, "testLoad: getCanonicalFile.getParentFile " + parentFile); in testLoad()
122 Log.d(TAG, "testLoad: parent mkdirs? " + parentFile.mkdirs()); in testLoad()
123 Log.d(TAG, "testLoad: parent exists? " + parentFile.exists()); in testLoad()
/frameworks/base/core/java/android/gesture/
DGestureLibraries.java93 final File parentFile = file.getParentFile(); in save() local
94 if (!parentFile.exists()) { in save()
95 if (!parentFile.mkdirs()) { in save()
/frameworks/base/services/permission/java/com/android/server/permission/access/util/
DAtomicFileExtensions.kt37 val reserveFile = File(baseFile.parentFile, baseFile.name + ".reservecopy") in <lambda>()
51 val reserveFile = File(baseFile.parentFile, baseFile.name + ".reservecopy") in writeWithReserveCopy()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DMockSystem.kt326 wheneverStatic { Environment.getDataDirectory() }.thenReturn(dataAppDirectory.parentFile) in stageNominalSystemState()
328 .thenReturn(File(dataAppDirectory.parentFile, "system")) in stageNominalSystemState()
429 val parentFile = apkPath.parentFile constant
430 val settingBuilder = withSetting(createBasicSettingBuilder(parentFile, pkg))
447 val pkg = PackageImpl.forTesting(packageName, apkPath.parentFile.path) as PackageImpl in createBasicAndroidPackage()
478 fun createBasicSettingBuilder(parentFile: File, pkg: AndroidPackage): PackageSettingBuilder { in createBasicSettingBuilder()
479 return createBasicSettingBuilder(parentFile, pkg.packageName, pkg.longVersionCode, in createBasicSettingBuilder()
489 parentFile: File, in createBasicSettingBuilder()
495 .setCodePath(parentFile.path) in createBasicSettingBuilder()
537 val basePath = path.parentFile in stageParse()
[all …]
DSharedLibrariesImplTest.kt329 .createBasicSettingBuilder(pair.first.parentFile, parsedPackage.hideAsFinal()) in <lambda>()
/frameworks/opt/setupwizard/tools/gradle/
Ddist-unit-tests.gradle30 destinationDir = junitReport.destination.parentFile
95 destinationDir = jacocoTask.reports.html.destination.parentFile
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DPackageUtil.kt338 val files = sourceFile.parentFile?.listFiles() in processAppInfoForFile()
399 val dir = sourceFile.parentFile in getPackageInfo()
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/
DBackupRestoreFileArchiver.kt74 file.parentFile?.mkdirs() // ensure parent folders are created in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserFileManagerImpl.kt161 val priorParent = dir.parentFile in <lambda>()
/frameworks/base/tools/processors/staledataclass/src/android/processor/staledataclass/
DStaleDataclassProcessor.kt160 repoRoot = generateSequence(WORKING_DIR) { it.parentFile } in <lambda>()