Searched refs:parentFile (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/java/com/android/internal/content/ |
D | F2fsUtils.java | 168 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/ |
D | TransferOwnershipMetadataManagerTest.java | 119 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/ |
D | GestureLibraries.java | 93 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/ |
D | AtomicFileExtensions.kt | 37 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/ |
D | MockSystem.kt | 326 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 …]
|
D | SharedLibrariesImplTest.kt | 329 .createBasicSettingBuilder(pair.first.parentFile, parsedPackage.hideAsFinal()) in <lambda>()
|
/frameworks/opt/setupwizard/tools/gradle/ |
D | dist-unit-tests.gradle | 30 destinationDir = junitReport.destination.parentFile 95 destinationDir = jacocoTask.reports.html.destination.parentFile
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/ |
D | PackageUtil.kt | 338 val files = sourceFile.parentFile?.listFiles() in processAppInfoForFile() 399 val dir = sourceFile.parentFile in getPackageInfo()
|
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/ |
D | BackupRestoreFileArchiver.kt | 74 file.parentFile?.mkdirs() // ensure parent folders are created in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | UserFileManagerImpl.kt | 161 val priorParent = dir.parentFile in <lambda>()
|
/frameworks/base/tools/processors/staledataclass/src/android/processor/staledataclass/ |
D | StaleDataclassProcessor.kt | 160 repoRoot = generateSequence(WORKING_DIR) { it.parentFile } in <lambda>()
|