/frameworks/base/tools/aapt/ |
D | CrunchCache.cpp | 41 String8 relativePath; in crunch() local 53 relativePath = String8(rPathPtr + offset); in crunch() 55 if (forceOverwrite || needsUpdating(relativePath)) { in crunch() 56 cu->processImage(appendPathCopy(mSourcePath, relativePath), in crunch() 57 appendPathCopy(mDestPath, relativePath)); in crunch() 64 mDestFiles.removeItem(appendPathCopy(mDestPath, relativePath)); in crunch() 98 bool CrunchCache::needsUpdating(const String8& relativePath) const in needsUpdating() 103 time_t sourceDate = mSourceFiles.valueFor(appendPathCopy(mSourcePath, relativePath)); in needsUpdating() 104 time_t destDate = mDestFiles.valueFor(appendPathCopy(mDestPath, relativePath)); in needsUpdating()
|
D | CrunchCache.h | 84 bool needsUpdating(const String8& relativePath) const;
|
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/ |
D | ImageUtils.java | 56 public static void requireSimilar(@NonNull String relativePath, @NonNull BufferedImage image) in requireSimilar() argument 58 InputStream is = ImageUtils.class.getClassLoader().getResourceAsStream(relativePath); in requireSimilar() 60 String message = "Unable to load golden image: " + relativePath + "\n"; in requireSimilar() 61 message = saveImageAndAppendMessage(image, message, relativePath); in requireSimilar() 71 assertImageSimilar(relativePath, goldenImage, image, MAX_PERCENT_DIFFERENCE); in requireSimilar() 78 public static void assertImageSimilar(String relativePath, BufferedImage goldenImage, in assertImageSimilar() argument 144 String imageName = getName(relativePath); in assertImageSimilar() 177 error = saveImageAndAppendMessage(image, error, relativePath); in assertImageSimilar() 209 @NonNull String initialMessage, @NonNull String relativePath) throws IOException { in saveImageAndAppendMessage() argument 210 File output = new File(getFailureDir(), getName(relativePath)); in saveImageAndAppendMessage() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/ |
D | TestData.java | 299 static InputStream openTestFile(String relativePath) throws Exception { in openTestFile() argument 301 return context.getResources().getAssets().open(TEST_FILE_FOLDER_NAME + "/" + relativePath); in openTestFile() 304 static byte[] readTestFile(String relativePath) throws Exception { in readTestFile() argument 305 InputStream in = openTestFile(relativePath); in readTestFile()
|
/frameworks/base/core/java/android/os/incremental/ |
D | IncrementalFileStorages.java | 189 public boolean makeLink(@NonNull String relativePath, @NonNull String fromBase, in makeLink() argument 194 final File sourcePath = new File(fromBase, relativePath); in makeLink() 195 final File destPath = new File(toBase, relativePath); in makeLink()
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsXmlConfigLoader.cpp | 63 bool loadLibrary(const char* relativePath, lib_entry_t* libEntry) noexcept { in loadLibrary() argument 66 if (!resolveLibrary(relativePath, &absolutePath)) { in loadLibrary() 67 ALOGE("%s Could not find library in effect directories: %s", __func__, relativePath); in loadLibrary() 68 libEntry->path = strdup(relativePath); in loadLibrary()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | NativeLibraryHelper.java | 524 final Path relativePath = basePath.relativize(targetPath); in getRelativePath() local 525 if (relativePath.toString().isEmpty()) { in getRelativePath() 528 return relativePath.toString(); in getRelativePath()
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 95 void linkFile(@utf8InCpp String packageName, @utf8InCpp String relativePath, in linkFile() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 686 public void linkFile(String packageName, String relativePath, String fromBase, String toBase) in linkFile() argument 692 mInstalld.linkFile(packageName, relativePath, fromBase, toBase); in linkFile()
|
D | PackageInstallerSession.java | 4304 private void linkFile(String packageName, String relativePath, String fromBase, String toBase) 4309 if (incrementalFileStorages != null && incrementalFileStorages.makeLink(relativePath, 4313 mInstaller.linkFile(packageName, relativePath, fromBase, toBase); 4315 throw new IOException("failed linkOrCreateDir(" + relativePath + ", " 4323 final String relativePath = getRelativePath(fromFile, fromDir); 4327 linkFile(packageName, relativePath, fromBase, toBase);
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.h | 175 binder::Status linkFile(const std::string& packageName, const std::string& relativePath,
|
D | InstalldNativeService.cpp | 3540 const std::string& relativePath, in linkFile() argument 3549 const char* relative_path = relativePath.c_str(); in linkFile()
|