Home
last modified time | relevance | path

Searched refs:getFile (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/core/java/android/content/pm/
DPackagePartitions.java135 this.mFolder = new DeferredCanonicalFile(original.mFolder.getFile()); in SystemPartition()
153 return mFolder.getFile(); in getFolder()
159 return mAppFolder == null ? null : mAppFolder.getFile(); in getAppFolder()
165 return mPrivAppFolder == null ? null : mPrivAppFolder.getFile(); in getPrivAppFolder()
171 return mOverlayFolder == null ? null : mOverlayFolder.getFile(); in getOverlayFolder()
181 return FileUtils.contains(mFolder.getFile(), canonicalize(file)); in containsFile()
187 && FileUtils.contains(mPrivAppFolder.getFile(), canonicalize(scanFile)); in containsPrivApp()
193 && FileUtils.contains(mAppFolder.getFile(), canonicalize(scanFile)); in containsApp()
199 && FileUtils.contains(mOverlayFolder.getFile(), canonicalize(scanFile)); in containsOverlay()
223 private File getFile() { in getFile() method in PackagePartitions.DeferredCanonicalFile
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java166 mActiveFile = getFile(fileNumber); in setActiveFile()
177 private AtomicFile getFile(int num) { in getFile() method in BatteryStatsHistory
200 getFile(oldest).delete(); in startNextFile()
207 getFile(oldest).delete(); in startNextFile()
217 getFile(i).delete(); in resetAllFiles()
285 AtomicFile file = getFile(mFileNumbers.get(mCurrentFileIndex++)); in getNextParcel()
378 AtomicFile file = getFile(mFileNumbers.get(i)); in writeToParcel()
439 ret += getFile(mFileNumbers.get(i)).getBaseFile().length(); in getHistoryUsedSize()
/frameworks/layoutlib/bridge/tests/src/com/android/ide/common/resources/deprecated/
DSingleResourceFile.java119 String name = getFile().getName(); in getResourceName()
136 if (!isFramework() && SdkUtils.endsWith(getFile().getName(), DOT_XML)) { in validateAttributes()
139 IAbstractFile file = getFile(); in validateAttributes()
DResourceFolder.java69 ResourceFile resFile = getFile(file, context); in processFile()
133 private ResourceFile getFile(IAbstractFile file, ScanningContext context) { in getFile() method in ResourceFolder
DIdGeneratingResourceFile.java130 IAbstractFile file = getFile(); in parseFileForIds()
199 String name = getFile().getName(); in getFileName()
DResourceFile.java51 public final IAbstractFile getFile() { in getFile() method in ResourceFile
DMultiResourceFile.java146 … parser.parse(getFile().getContents(), new ValueResourceParser(this, isFramework(), null)); in parseFile()
DFrameworkResources.java81 IAbstractFile publicXmlFile = valueFolder.getFile("public.xml"); //$NON-NLS-1$ in loadPublicResources()
/frameworks/base/apex/permission/service/java/com/android/role/persistence/
DRolesPersistenceImpl.java69 File file = getFile(user); in readForUser()
150 File file = getFile(user); in writeForUser()
209 getFile(user).delete(); in deleteForUser()
213 private static File getFile(@NonNull UserHandle user) { in getFile() method in RolesPersistenceImpl
/frameworks/base/services/people/java/com/android/server/people/data/
DAbstractProtoDiskReadWriter.java90 final File file = getFile(fileName); in delete()
101 final File file = getFile(fileName); in writeTo()
244 private File getFile(String fileName) { in getFile() method in AbstractProtoDiskReadWriter
/frameworks/base/apex/permission/service/java/com/android/permission/persistence/
DRuntimePermissionsPersistenceImpl.java71 File file = getFile(user); in readForUser()
177 File file = getFile(user); in writeForUser()
256 getFile(user).delete(); in deleteForUser()
260 private static File getFile(@NonNull UserHandle user) { in getFile() method in RuntimePermissionsPersistenceImpl
/frameworks/base/services/core/java/com/android/server/slice/
DSlicePermissionManager.java309 AtomicFile file = getFile(fileName); in getParser()
317 private AtomicFile getFile(String fileName) { in getFile() method in SlicePermissionManager
328 AtomicFile file = getFile(persistable.getFileName()); in handlePersist()
361 getFile(SliceClientPermissions.getFileName(pkgUser)).delete(); in handleRemove()
362 getFile(SliceProviderPermissions.getFileName(pkgUser)).delete(); in handleRemove()
/frameworks/compile/mclinker/lib/Support/
DMemoryArea.cpp24 llvm::MemoryBuffer::getFile(pFilename, in MemoryArea()
/frameworks/base/tools/aapt/
DOutputSet.h33 inline const android::sp<const AaptFile>& getFile() const { in getFile() function
DResource.cpp92 inline const sp<AaptFile>& getFile() const { return mFile; } in getFile() function in ResourceDirIterator
308 it.getBaseName().string(), it.getFile()->getPrintableSource().string()); in makeFileResources()
335 assets->addResource(it.getLeafName(), resPath, it.getFile(), type8); in makeFileResources()
374 bundle, assets, it.getFile(), &hasErrors); in preProcessImages()
1470 const sp<AaptFile>& file = it.getFile(); in buildResources()
1518 String8 src = it.getFile()->getPrintableSource(); in buildResources()
1520 it.getFile(), &table, xmlFlags); in buildResources()
1522 if (err == NO_ERROR && it.getFile()->hasData()) { in buildResources()
1524 block.setTo(it.getFile()->getData(), it.getFile()->getSize(), true); in buildResources()
1541 it.getFile(), &table, xmlFlags); in buildResources()
[all …]
DPackage.cpp225 if (entry.getFile() == NULL) { in processAssets()
230 if (!processFile(bundle, zip, storagePath, entry.getFile())) { in processAssets()
DApkBuilder.cpp122 …fprintf(stderr, " %s (%s)\n", iter->getPath().string(), iter->getFile()->getSourceFile().string()… in print()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageUsage.java57 AtomicFile file = getFile(); in writeInternal()
96 AtomicFile file = getFile(); in readInternal()
DCompilerStats.java262 AtomicFile file = getFile(); in writeInternal()
285 AtomicFile file = getFile(); in readInternal()
DAbstractStatsBase.java56 protected AtomicFile getFile() { in getFile() method in AbstractStatsBase
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java521 final File file = entry.getFile(mDropBoxDir); in getNextEntry()
619 final File file = entry.getFile(mDropBoxDir); in dump()
719 final File file = entry.getFile(mDropBoxDir); in dumpProtoLocked()
815 final File file = this.getFile(dir); in EntryFile()
835 new FileOutputStream(getFile(dir)).close(); in EntryFile()
942 public File getFile(File dir) { in getFile() method in DropBoxManagerService.EntryFile
951 getFile(dir).delete(); in deleteFile()
1044 enrollEntry(new EntryFile(late.getFile(mDropBoxDir), mDropBoxDir, in createEntry()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DWebAsset.java143 String path = url.getFile(); // This is url.getPath() + url.getQuery(). in create()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java457 final AtomicFile writeTo = mInjector.getFile(EVENTS_FILE); in writeEvents()
482 final AtomicFile writeTo = mInjector.getFile(AMBIENT_BRIGHTNESS_STATS_FILE); in writeAmbientBrightnessStats()
502 final AtomicFile readFrom = mInjector.getFile(EVENTS_FILE); in readEvents()
520 final AtomicFile readFrom = mInjector.getFile(AMBIENT_BRIGHTNESS_STATS_FILE); in readAmbientBrightnessStats()
1079 public AtomicFile getFile(String filename) { in getFile() method in BrightnessTracker.Injector
/frameworks/base/services/core/java/com/android/server/role/
DRoleUserState.java392 File file = getFile(mUserId); in readLegacyFileLocked()
554 private static File getFile(@UserIdInt int userId) { in getFile() method in RoleUserState
/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDynamicCodeLoading.java256 AtomicFile file = getFile(); in writeInternal()
346 AtomicFile file = getFile(); in readInternal()

12