Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java165 mActiveFile = getFile(fileNumber); in setActiveFile()
176 private AtomicFile getFile(int num) { in getFile() method in BatteryStatsHistory
199 getFile(oldest).delete(); in startNextFile()
206 getFile(oldest).delete(); in startNextFile()
216 getFile(i).delete(); in resetAllFiles()
284 AtomicFile file = getFile(mFileNumbers.get(mCurrentFileIndex++)); in getNextParcel()
377 AtomicFile file = getFile(mFileNumbers.get(i)); in writeToParcel()
438 ret += getFile(mFileNumbers.get(i)).getBaseFile().length(); in getHistoryUsedSize()
/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/base/tools/aapt/
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 …]
DOutputSet.h33 inline const android::sp<const AaptFile>& getFile() const { in getFile() function
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/compile/mclinker/lib/Support/
DMemoryArea.cpp24 llvm::MemoryBuffer::getFile(pFilename, in MemoryArea()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageUsage.java56 AtomicFile file = getFile(); in writeInternal()
94 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
DShortcutBitmapSaver.java274 file = out.getFile(); in processPendingItems()
/frameworks/base/services/core/java/com/android/server/role/
DRoleUserState.java382 AtomicFile atomicFile = new AtomicFile(getFile(mUserId), "roles-" + mUserId); in writeFile()
450 File file = getFile(mUserId); in readFile()
607 getFile(mUserId).delete(); in destroy()
620 private static File getFile(@UserIdInt int userId) { in getFile() method in RoleUserState
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java506 final File file = entry.getFile(mDropBoxDir); in getNextEntry()
599 final File file = entry.getFile(mDropBoxDir); in dump()
746 final File file = this.getFile(dir); in EntryFile()
766 new FileOutputStream(getFile(dir)).close(); in EntryFile()
873 public File getFile(File dir) { in getFile() method in DropBoxManagerService.EntryFile
882 getFile(dir).delete(); in deleteFile()
975 enrollEntry(new EntryFile(late.getFile(mDropBoxDir), mDropBoxDir, in createEntry()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java800 assertEquals(new File(toDir, "tag%3A!@12345.txt"), e.getFile(toDir));
801 assertTrue(e.getFile(toDir).exists());
818 assertEquals(new File(toDir, "tag%3A!@12345.txt.gz"), e.getFile(toDir));
819 assertTrue(e.getFile(toDir).exists());
837 assertEquals(new File(toDir, "tag%3A!@12345.dat.gz"), e.getFile(toDir));
838 assertTrue(e.getFile(toDir).exists());
852 assertEquals(new File(toDir, "tag%3A!@12345.lost"), e.getFile(toDir));
853 assertTrue(e.getFile(toDir).exists());
/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.java448 final AtomicFile writeTo = mInjector.getFile(EVENTS_FILE); in writeEvents()
473 final AtomicFile writeTo = mInjector.getFile(AMBIENT_BRIGHTNESS_STATS_FILE); in writeAmbientBrightnessStats()
493 final AtomicFile readFrom = mInjector.getFile(EVENTS_FILE); in readEvents()
511 final AtomicFile readFrom = mInjector.getFile(AMBIENT_BRIGHTNESS_STATS_FILE); in readAmbientBrightnessStats()
1057 public AtomicFile getFile(String filename) { in getFile() method in BrightnessTracker.Injector
/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDynamicCodeLoading.java256 AtomicFile file = getFile(); in writeInternal()
346 AtomicFile file = getFile(); in readInternal()
DPackageDexUsage.java230 AtomicFile file = getFile(); in writeInternal()
312 AtomicFile file = getFile(); in readInternal()
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmAnalyzerTest.java51 mockJar.add(url.getFile()); in url.getFile()
DAsmGeneratorTest.java71 mOsJarPath.add(url.getFile()); in setUp()
/frameworks/compile/libbcc/lib/
DSource.cpp142 llvm::MemoryBuffer::getFile(pPath); in CreateFromFile()
/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java459 public @Nullable File getFile() { in getFile() method in Font
/frameworks/compile/libbcc/tools/bcc/
DMain.cpp341 llvm::MemoryBuffer::getFile(OptInputFilenames[0].c_str()); in main()
/frameworks/base/core/xsd/schema/
Dcurrent.txt121 method public String getFile();
/frameworks/compile/slang/
Dslang.cpp294 const clang::FileEntry *File = mFileMgr->getFile(InputFile); in setInputSource()

12