/frameworks/base/tools/aapt/ |
D | CrunchCache.cpp | 40 String8 relativePath; in crunch() local 52 relativePath = String8(rPathPtr + offset); in crunch() 54 if (forceOverwrite || needsUpdating(relativePath)) { in crunch() 55 cu->processImage(mSourcePath.appendPathCopy(relativePath), in crunch() 56 mDestPath.appendPathCopy(relativePath)); in crunch() 63 mDestFiles.removeItem(mDestPath.appendPathCopy(relativePath)); in crunch() 97 bool CrunchCache::needsUpdating(const String8& relativePath) const in needsUpdating() 102 time_t sourceDate = mSourceFiles.valueFor(mSourcePath.appendPathCopy(relativePath)); in needsUpdating() 103 time_t destDate = mDestFiles.valueFor(mDestPath.appendPathCopy(relativePath)); in needsUpdating()
|
D | CrunchCache.h | 84 bool needsUpdating(const String8& relativePath) const;
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | ImageUtils.java | 61 public static void requireSimilar(@NonNull String relativePath, @NonNull BufferedImage image) in requireSimilar() argument 67 InputStream is = ImageUtils.class.getClassLoader().getResourceAsStream(relativePath); in requireSimilar() 69 String message = "Unable to load golden thumbnail: " + relativePath + "\n"; in requireSimilar() 70 message = saveImageAndAppendMessage(thumbnail, message, relativePath); in requireSimilar() 80 assertImageSimilar(relativePath, goldenImage, thumbnail, MAX_PERCENT_DIFFERENCE); in requireSimilar() 87 public static void assertImageSimilar(String relativePath, BufferedImage goldenImage, in assertImageSimilar() argument 153 String imageName = getName(relativePath); in assertImageSimilar() 186 error = saveImageAndAppendMessage(image, error, relativePath); in assertImageSimilar() 325 @NonNull String initialMessage, @NonNull String relativePath) throws IOException { in saveImageAndAppendMessage() argument 326 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/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("Could not find library in effect directories: %s", relativePath); in loadLibrary() 68 libEntry->path = strdup(relativePath); in loadLibrary()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | FontFamily_Delegate.java | 265 String relativePath = path.substring(SYSTEM_FONTS.length()); in loadFont() local 266 File f = new File(sFontLocation, relativePath); in loadFont() 278 String.format("Unable to load font %1$s", relativePath), in loadFont()
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 86 void linkFile(@utf8InCpp String relativePath, @utf8InCpp String fromBase, in linkFile() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 473 public void linkFile(String relativePath, String fromBase, String toBase) in linkFile() argument 479 mInstalld.linkFile(relativePath, fromBase, toBase); in linkFile()
|
D | PackageInstallerSession.java | 1909 final String relativePath = getRelativePath(fromFile, fromDir); in linkFiles() local 1911 mPm.mInstaller.linkFile(relativePath, fromDir.getAbsolutePath(), in linkFiles() 1914 throw new IOException("failed linkOrCreateDir(" + relativePath + ", " in linkFiles()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.h | 138 binder::Status linkFile(const std::string& relativePath, const std::string& fromBase,
|
D | InstalldNativeService.cpp | 2698 binder::Status InstalldNativeService::linkFile(const std::string& relativePath, in linkFile() argument 2705 const char* relative_path = relativePath.c_str(); in linkFile()
|