/frameworks/base/core/java/android/content/pm/ |
D | PackagePartitions.java | 135 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/ |
D | BatteryStatsHistory.java | 166 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/ |
D | SingleResourceFile.java | 119 String name = getFile().getName(); in getResourceName() 136 if (!isFramework() && SdkUtils.endsWith(getFile().getName(), DOT_XML)) { in validateAttributes() 139 IAbstractFile file = getFile(); in validateAttributes()
|
D | ResourceFolder.java | 69 ResourceFile resFile = getFile(file, context); in processFile() 133 private ResourceFile getFile(IAbstractFile file, ScanningContext context) { in getFile() method in ResourceFolder
|
D | IdGeneratingResourceFile.java | 130 IAbstractFile file = getFile(); in parseFileForIds() 199 String name = getFile().getName(); in getFileName()
|
D | ResourceFile.java | 51 public final IAbstractFile getFile() { in getFile() method in ResourceFile
|
D | MultiResourceFile.java | 146 … parser.parse(getFile().getContents(), new ValueResourceParser(this, isFramework(), null)); in parseFile()
|
D | FrameworkResources.java | 81 IAbstractFile publicXmlFile = valueFolder.getFile("public.xml"); //$NON-NLS-1$ in loadPublicResources()
|
/frameworks/base/apex/permission/service/java/com/android/role/persistence/ |
D | RolesPersistenceImpl.java | 69 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/ |
D | AbstractProtoDiskReadWriter.java | 90 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/ |
D | RuntimePermissionsPersistenceImpl.java | 71 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/ |
D | SlicePermissionManager.java | 309 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/ |
D | MemoryArea.cpp | 24 llvm::MemoryBuffer::getFile(pFilename, in MemoryArea()
|
/frameworks/base/tools/aapt/ |
D | OutputSet.h | 33 inline const android::sp<const AaptFile>& getFile() const { in getFile() function
|
D | Resource.cpp | 92 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 …]
|
D | Package.cpp | 225 if (entry.getFile() == NULL) { in processAssets() 230 if (!processFile(bundle, zip, storagePath, entry.getFile())) { in processAssets()
|
D | ApkBuilder.cpp | 122 …fprintf(stderr, " %s (%s)\n", iter->getPath().string(), iter->getFile()->getSourceFile().string()… in print()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageUsage.java | 57 AtomicFile file = getFile(); in writeInternal() 96 AtomicFile file = getFile(); in readInternal()
|
D | CompilerStats.java | 262 AtomicFile file = getFile(); in writeInternal() 285 AtomicFile file = getFile(); in readInternal()
|
D | AbstractStatsBase.java | 56 protected AtomicFile getFile() { in getFile() method in AbstractStatsBase
|
/frameworks/base/services/core/java/com/android/server/ |
D | DropBoxManagerService.java | 521 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/ |
D | WebAsset.java | 143 String path = url.getFile(); // This is url.getPath() + url.getQuery(). in create()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 457 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/ |
D | RoleUserState.java | 392 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/ |
D | PackageDynamicCodeLoading.java | 256 AtomicFile file = getFile(); in writeInternal() 346 AtomicFile file = getFile(); in readInternal()
|