Home
last modified time | relevance | path

Searched refs:fullPath (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp140 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(fullPathPtr); in updateFullPathPropertiesAndStrokeStyles() local
141 fullPath->mutateStagingProperties()->updateProperties(strokeWidth, strokeColor, strokeAlpha, in updateFullPathPropertiesAndStrokeStyles()
160 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(fullPathPtr); in getFullPathProperties() local
162 bool success = fullPath->stagingProperties()->copyProperties(pathProperties, length); in getFullPathProperties()
278 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(fullPathPtr); in getStrokeWidth() local
279 return fullPath->stagingProperties()->getStrokeWidth(); in getStrokeWidth()
283 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(fullPathPtr); in setStrokeWidth() local
284 fullPath->mutateStagingProperties()->setStrokeWidth(strokeWidth); in setStrokeWidth()
288 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(fullPathPtr); in getStrokeColor() local
289 return fullPath->stagingProperties()->getStrokeColor(); in getStrokeColor()
[all …]
Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp127 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(nativePtr); in createPathColorPropertyHolder() local
128 FullPathColorPropertyValuesHolder* newHolder = new FullPathColorPropertyValuesHolder(fullPath, in createPathColorPropertyHolder()
135 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(nativePtr); in createPathPropertyHolder() local
136 FullPathPropertyValuesHolder* newHolder = new FullPathPropertyValuesHolder(fullPath, in createPathPropertyHolder()
/frameworks/native/cmds/rawbu/
Dbackup.cpp259 char* fullPath = nullptr; in backup_dir() local
286 if (fullPath != nullptr) { in backup_dir()
287 free(fullPath); in backup_dir()
289 fullPath = (char*)malloc(srcLen + strlen(de->d_name) + 2); in backup_dir()
290 strcpy(fullPath, srcPath); in backup_dir()
291 fullPath[srcLen] = '/'; in backup_dir()
292 strcpy(fullPath+srcLen+1, de->d_name); in backup_dir()
297 if (strcmp(SKIP_PATHS[i].path, fullPath) == 0) { in backup_dir()
306 int ret = lstat(fullPath, &statBuffer); in backup_dir()
310 fullPath, strerror(errno)); in backup_dir()
[all …]
/frameworks/native/cmds/installd/tests/
Dinstalld_cache_test.cpp70 const std::string fullPath = StringPrintf("/data/local/tmp/user/0/%s", path); in mkdir() local
71 ::mkdir(fullPath.c_str(), 0755); in mkdir()
75 const std::string fullPath = StringPrintf("/data/local/tmp/user/0/%s", path); in touch() local
76 int fd = ::open(fullPath.c_str(), O_RDWR | O_CREAT, 0644); in touch()
81 ::utime(fullPath.c_str(), &times); in touch()
85 const std::string fullPath = StringPrintf("/data/local/tmp/user/0/%s", path); in exists() local
86 return ::access(fullPath.c_str(), F_OK); in exists()
90 const std::string fullPath = StringPrintf("/data/local/tmp/user/0/%s", path); in size() local
92 if (!stat(fullPath.c_str(), &buf)) { in size()
110 const std::string fullPath = StringPrintf("/data/local/tmp/user/0/%s", path); in setxattr() local
[all …]
Dinstalld_service_test.cpp73 const std::string fullPath = get_full_path(path); in mkdir() local
74 EXPECT_EQ(::mkdir(fullPath.c_str(), mode), 0); in mkdir()
75 EXPECT_EQ(::chown(fullPath.c_str(), owner, group), 0); in mkdir()
76 EXPECT_EQ(::chmod(fullPath.c_str(), mode), 0); in mkdir()
/frameworks/base/tools/aapt/
DFileFinder.cpp60 String8 fullPath = basePath.appendPathCopy(entryName); in findFiles() local
62 if (isDirectory(fullPath.string()) ) { in findFiles()
64 findFiles(fullPath, extensions, fileStore,copy); in findFiles()
69 if (isFile(fullPath.string()) ) { in findFiles()
70 checkAndAddFile(fullPath,dw->entryStats(),extensions,fileStore); in findFiles()
DDirectoryWalker.h80 String8 fullPath = mBasePath.appendPathCopy(mEntry.d_name); in nextEntry() local
81 stat(fullPath.string(),&mStats); in nextEntry()
DAaptAssets.cpp98 String8 fullPath(root); in isHidden() local
99 fullPath.appendPath(path); in isHidden()
100 FileType type = getFileType(fullPath); in isHidden()
/frameworks/native/cmds/cmd/
Dcmd.cpp74 String8 fullPath(cwd); in openFile() local
75 fullPath.appendPath(path8); in openFile()
77 mErrorLog << "Open attempt after active for: " << fullPath << endl; in openFile()
81 ALOGD("openFile: %s, full=%s", path8.string(), fullPath.string()); in openFile()
102 int fd = open(fullPath.string(), flags, S_IRWXU|S_IRWXG); in openFile()
112 getfilecon(fullPath.string(), &tmp); in openFile()
122 …no access to write file context " << context.get() << " (from path " << fullPath.string() << ", co… in openFile()
134 … no access to read file context " << context.get() << " (from path " << fullPath.string() << ", co… in openFile()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java1153 VFullPath_Delegate fullPath = (VFullPath_Delegate) VPath; in drawPath() local
1154 if (fullPath.mTrimPathStart != 0.0f || fullPath.mTrimPathEnd != 1.0f) { in drawPath()
1155 float start = (fullPath.mTrimPathStart + fullPath.mTrimPathOffset) % 1.0f; in drawPath()
1156 float end = (fullPath.mTrimPathEnd + fullPath.mTrimPathOffset) % 1.0f; in drawPath()
1177 if (fullPath.mFillColor != Color.TRANSPARENT) { in drawPath()
1185 fillPaint.setColor(applyAlpha(applyAlpha(fullPath.mFillColor, fullPath in drawPath()
1194 Shader_Delegate.getDelegate(fullPath.mFillGradient); in drawPath()
1199 shaderDelegate.setAlpha(fullPath.mFillAlpha); in drawPath()
1202 fillPaintDelegate.setShader(fullPath.mFillGradient); in drawPath()
1203 Path_Delegate.nSetFillType(mRenderPath.mNativePath, fullPath.mFillType); in drawPath()
[all …]
/frameworks/base/graphics/java/android/graphics/fonts/
DSystemFonts.java102 private static @Nullable ByteBuffer mmap(@NonNull String fullPath) { in mmap() argument
103 try (FileInputStream file = new FileInputStream(fullPath)) { in mmap()
108 Log.e(TAG, "Error mapping font file " + fullPath); in mmap()
178 final String fullPath = fontConfig.getFontName(); in createFontFamily() local
179 ByteBuffer buffer = cache.get(fullPath); in createFontFamily()
181 if (cache.containsKey(fullPath)) { in createFontFamily()
184 buffer = mmap(fullPath); in createFontFamily()
185 cache.put(fullPath, buffer); in createFontFamily()
193 font = new Font.Builder(buffer, new File(fullPath), languageTags) in createFontFamily()
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFont_Builder_Delegate.java73 String fullPath = sAssetManager.getDelegate(nativeAsset); in nGetAssetBuffer() local
74 if (fullPath == null) { in nGetAssetBuffer()
78 byte[] byteArray = Files.readAllBytes(new File(fullPath).toPath()); in nGetAssetBuffer()
82 "Error mapping font file " + fullPath, null, null, null); in nGetAssetBuffer()
/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp297 std::string fullPath = path1; in JoinPath() local
298 if (fullPath[fullPath.length() - 1] != OS_PATH_SEPARATOR) { in JoinPath()
299 fullPath += OS_PATH_SEPARATOR; in JoinPath()
302 fullPath += path2.substr(1, string::npos); in JoinPath()
304 fullPath += path2; in JoinPath()
306 return fullPath; in JoinPath()
/frameworks/rs/cpu_ref/
DrsCpuExecutable.cpp128 std::string *fullPath) { in createSharedLibrary() argument
130 if (fullPath) { in createSharedLibrary()
131 *fullPath = sharedLibName; in createSharedLibrary()
180 void* SharedLibraryUtils::loadAndDeleteSharedLibrary(const char *fullPath) { in loadAndDeleteSharedLibrary() argument
181 void *loaded = dlopen(fullPath, RTLD_NOW | RTLD_LOCAL); in loadAndDeleteSharedLibrary()
183 ALOGE("Unable to open shared library (%s): %s", fullPath, dlerror()); in loadAndDeleteSharedLibrary()
187 int r = unlink(fullPath); in loadAndDeleteSharedLibrary()
189 ALOGE("Could not unlink copy %s", fullPath); in loadAndDeleteSharedLibrary()
DrsCpuExecutable.h61 static void* loadAndDeleteSharedLibrary(const char *fullPath);
/frameworks/rs/
DrsFont.cpp755 char fullPath[1024]; in renderText() local
758 strlcpy(fullPath, root, sizeof(fullPath)); in renderText()
759 strlcat(fullPath, "/fonts/Roboto-Regular.ttf", sizeof(fullPath)); in renderText()
760 fullPath[sizeof(fullPath)-1] = '\0'; in renderText()
761 mDefault.set(Font::create(mRSC, fullPath, 8, mRSC->getDPI())); in renderText()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java597 StringBuilder fullPath = new StringBuilder(sdPath); in createFileOnSD() local
599 fullPath.append(File.separatorChar).append(subdirectory); in createFileOnSD()
604 file = File.createTempFile("DMTEST_", null, new File(fullPath.toString())); in createFileOnSD()
607 fullPath.append(File.separatorChar).append(filename); in createFileOnSD()
608 file = new File(fullPath.toString()); in createFileOnSD()
/frameworks/base/native/android/
Dsystem_fonts.cpp173 std::string fullPath = filePath; in isFontFileAvailable() local
175 if (stat(fullPath.c_str(), &st) != 0) { in isFontFileAvailable()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageAbiHelperImpl.java71 String fullPath = codePath.getAbsolutePath(); in calculateBundledApkRoot() local
72 String[] parts = fullPath.split(File.separator); in calculateBundledApkRoot()
/frameworks/base/media/java/android/media/
DMediaScanner.java1723 boolean fullPath = (ch1 == '/' ||
1726 if (!fullPath)