/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | FileHashCacheTests.java | 74 final File persistFile = getFile(PERSIST_FILE_NAME_FOR_TEST); in setUp() 77 getFile(APK_A).delete(); in setUp() 78 getFile(APK_B).delete(); in setUp() 88 final File apkA = getFile(APK_A); in testFileHashCache_generic() 89 final File apkB = getFile(APK_B); in testFileHashCache_generic() 94 assertFalse(getFile(PERSIST_FILE_NAME_FOR_TEST).exists()); in testFileHashCache_generic() 110 assertFalse(getFile(PERSIST_FILE_NAME_FOR_TEST).exists()); in testFileHashCache_generic() 115 assertTrue(getFile(PERSIST_FILE_NAME_FOR_TEST).exists()); in testFileHashCache_generic() 154 private File getFile(@NonNull String name) { in getFile() method in FileHashCacheTests
|
/frameworks/base/core/java/android/content/pm/ |
D | PackagePartitions.java | 178 this.mFolder = new DeferredCanonicalFile(original.mFolder.getFile()); in SystemPartition() 206 return mFolder.getFile(); in getFolder() 218 return mAppFolder == null ? null : mAppFolder.getFile(); in getAppFolder() 224 return mPrivAppFolder == null ? null : mPrivAppFolder.getFile(); in getPrivAppFolder() 230 return mOverlayFolder == null ? null : mOverlayFolder.getFile(); in getOverlayFolder() 240 return FileUtils.contains(mFolder.getFile(), canonicalize(file)); in containsFile() 246 && FileUtils.contains(mPrivAppFolder.getFile(), canonicalize(scanFile)); in containsPrivApp() 252 && FileUtils.contains(mAppFolder.getFile(), canonicalize(scanFile)); in containsApp() 258 && FileUtils.contains(mOverlayFolder.getFile(), canonicalize(scanFile)); in containsOverlay() 282 private File getFile() { in getFile() method in PackagePartitions.DeferredCanonicalFile
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/backup/ |
D | CommunalBackupUtils.kt | 67 val output = FileOutputStream(getFile()) in <lambda>() 81 val input = FileInputStream(getFile()) in <lambda>() 96 return getFile().delete() in <lambda>() 102 return getFile().exists() in <lambda>() 106 private fun getFile(): File { in <lambda>() method
|
/frameworks/base/tests/UpdatableSystemFontTest/EmojiRenderingTestApp/src/com/android/emojirenderingtestapp/ |
D | GetAvailableFontsTestActivity.java | 38 font.getFile(); in onCreate() 42 if ("NotoColorEmoji.ttf".equals(font.getFile().getName())) { in onCreate() 43 emojiFontPath = font.getFile().getAbsolutePath(); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextShaperTest.java | 43 String message = "psName = " + psName + ", file = " + font.getFile(); in testFontWithPath() 44 assertWithMessage(message).that(glyphs.getFont(0).getFile()) in testFontWithPath()
|
/frameworks/layoutlib/bridge/bridge_client/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(TestFileWrapper 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 | 50 public final TestFileWrapper getFile() { in getFile() method in ResourceFile
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
D | UserFileManagerImplTest.kt | 68 assertThat(userFileManager.getFile(TEST_FILE_NAME, 0).path) in testGetFile() 70 assertThat(userFileManager.getFile(TEST_FILE_NAME, 11).path) in testGetFile() 108 val file = userFileManager.getFile(fileName, userId) in testMigrateFile() 163 val file = userFileManager.getFile(TEST_FILE_NAME, 11) in testClearDeletedUserData()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperData.java | 213 return getFile(mWallpaperFiles, fileName); in getWallpaperFile() 218 return getFile(mCropFiles, fileName); in getCropFile() 221 private File getFile(SparseArray<File> map, String fileName) { in getFile() method in WallpaperData
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | AbstractProtoDiskReadWriter.java | 92 final File file = getFile(fileName); in delete() 103 final File file = getFile(fileName); in writeTo() 225 private File getFile(String fileName) { in getFile() method in AbstractProtoDiskReadWriter
|
/frameworks/base/packages/SystemUI/docs/ |
D | user-file-manager.md | 13 ### fun getFile(fileName: String, userId: Int): File 17 i.e. `fileManager.getFile("example.xml", userTracker.userId)`
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | UserFileManager.kt | 30 fun getFile(fileName: String, userId: Int): File method
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/ |
D | FakeUserFileManager.kt | 26 override fun getFile(fileName: String, userId: Int): File { in getFile() method in com.android.systemui.settings.FakeUserFileManager
|
/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/base/tools/aapt/ |
D | OutputSet.h | 33 inline const android::sp<const AaptFile>& getFile() const { in getFile() function
|
D | Resource.cpp | 95 inline const sp<AaptFile>& getFile() const { return mFile; } in getFile() function in ResourceDirIterator 311 it.getBaseName().c_str(), it.getFile()->getPrintableSource().c_str()); in makeFileResources() 338 assets->addResource(it.getLeafName(), resPath, it.getFile(), type8); in makeFileResources() 377 bundle, assets, it.getFile(), &hasErrors); in preProcessImages() 1473 const sp<AaptFile>& file = it.getFile(); in buildResources() 1521 String8 src = it.getFile()->getPrintableSource(); in buildResources() 1523 it.getFile(), &table, xmlFlags); in buildResources() 1525 if (err == NO_ERROR && it.getFile()->hasData()) { in buildResources() 1527 block.setTo(it.getFile()->getData(), it.getFile()->getSize(), true); in buildResources() 1544 it.getFile(), &table, xmlFlags); in buildResources() [all …]
|
/frameworks/compile/mclinker/lib/Support/ |
D | MemoryArea.cpp | 24 llvm::MemoryBuffer::getFile(pFilename, in MemoryArea()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | Font.java | 248 mFile = font.getFile(); in Builder() 572 public @Nullable File getFile() { in getFile() method in Font 813 && Objects.equals(getFile(), f.getFile()); in paramEquals() 856 + "path=" + getFile() in toString()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageUsage.java | 55 AtomicFile file = getFile(); in writeInternal() 95 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 | 658 final File file = entry.getFile(mDropBoxDir); in getNextEntry() 756 final File file = entry.getFile(mDropBoxDir); in dump() 845 final File file = entry.getFile(mDropBoxDir); in dumpProtoLocked() 941 final File file = this.getFile(dir); in EntryFile() 961 new FileOutputStream(getFile(dir)).close(); in EntryFile() 1068 public File getFile(File dir) { in getFile() method in DropBoxManagerService.EntryFile 1077 getFile(dir).delete(); in deleteFile() 1170 enrollEntry(new EntryFile(late.getFile(mDropBoxDir), mDropBoxDir, in createEntry()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | WebAsset.java | 145 String path = url.getFile(); // This is url.getPath() + url.getQuery(). in create()
|