Searched refs:baseFile (Results 1 – 6 of 6) sorted by relevance
/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() 53 FileInputStream(baseFile).use { inputStream -> in writeWithReserveCopy()
|
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | ShutdownCheckPointsTest.java | 274 File baseFile = new File(tempDir, "checkpoints"); in testDumpToFile() local 278 dumpToFile(baseFile); in testDumpToFile() 282 dumpToFile(baseFile); in testDumpToFile() 311 File baseFile = new File(tempDir, "checkpoints"); in testTooManyFilesDropsOlderOnes() local 315 dumpToFile(instance, baseFile); in testTooManyFilesDropsOlderOnes() 319 dumpToFile(instance, baseFile); in testTooManyFilesDropsOlderOnes() 346 private void dumpToFile(File baseFile) throws InterruptedException { in dumpToFile() argument 347 dumpToFile(mInstance, baseFile); in dumpToFile() 350 private void dumpToFile(ShutdownCheckPoints instance, File baseFile) in dumpToFile() argument 352 Thread dumpThread = instance.newDumpThreadInternal(baseFile); in dumpToFile()
|
/frameworks/base/core/java/com/android/internal/content/om/ |
D | OverlayManagerImpl.java | 156 final File baseFile = new File(selfTargetingBaseFile, baseApkFolderName.toString()); in ensureBaseDir() local 157 if (!baseFile.exists()) { in ensureBaseDir() 158 if (!baseFile.mkdirs()) { in ensureBaseDir() 159 Log.w(TAG, "Failed to create directory " + baseFile); in ensureBaseDir() 164 baseFile, in ensureBaseDir() 170 baseFile.isDirectory() in ensureBaseDir() 171 && baseFile.exists() in ensureBaseDir() 172 && baseFile.canWrite() in ensureBaseDir() 173 && baseFile.canRead() in ensureBaseDir() 174 && baseFile.canExecute(), // 'list' capability in ensureBaseDir() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ShutdownCheckPoints.java | 118 public static Thread newDumpThread(File baseFile) { in newDumpThread() argument 119 return INSTANCE.newDumpThreadInternal(baseFile); in newDumpThread() 167 Thread newDumpThreadInternal(File baseFile) { in newDumpThreadInternal() argument 168 return new FileDumperThread(this, baseFile, mInjector.maxDumpFiles()); in newDumpThreadInternal() 355 FileDumperThread(ShutdownCheckPoints instance, File baseFile, int fileCountLimit) { in FileDumperThread() argument 357 mBaseFile = baseFile; in FileDumperThread()
|
/frameworks/base/services/core/java/com/android/server/integrity/ |
D | AppIntegrityManagerServiceImpl.java | 641 File baseFile = new File(multiApkDirectory, BASE_APK_FILE); in getMultiApkInfo() local 645 baseFile.getAbsolutePath(), in getMultiApkInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerServiceUtils.java | 268 final File baseFile = new File(pkg.getBaseApkPath()); 269 long maxModifiedTime = baseFile.lastModified();
|