/frameworks/base/libs/hwui/jni/ |
D | android_graphics_drawable_VectorDrawable.cpp | 138 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(fullPathPtr); in updateFullPathPropertiesAndStrokeStyles() local 139 fullPath->mutateStagingProperties()->updateProperties(strokeWidth, strokeColor, strokeAlpha, in updateFullPathPropertiesAndStrokeStyles() 158 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(fullPathPtr); in getFullPathProperties() local 160 bool success = fullPath->stagingProperties()->copyProperties(pathProperties, length); in getFullPathProperties() 276 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(fullPathPtr); in getStrokeWidth() local 277 return fullPath->stagingProperties()->getStrokeWidth(); in getStrokeWidth() 281 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(fullPathPtr); in setStrokeWidth() local 282 fullPath->mutateStagingProperties()->setStrokeWidth(strokeWidth); in setStrokeWidth() 286 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(fullPathPtr); in getStrokeColor() local 287 return fullPath->stagingProperties()->getStrokeColor(); in getStrokeColor() [all …]
|
D | android_graphics_drawable_AnimatedVectorDrawable.cpp | 124 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(nativePtr); in createPathColorPropertyHolder() local 125 FullPathColorPropertyValuesHolder* newHolder = new FullPathColorPropertyValuesHolder(fullPath, in createPathColorPropertyHolder() 132 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(nativePtr); in createPathPropertyHolder() local 133 FullPathPropertyValuesHolder* newHolder = new FullPathPropertyValuesHolder(fullPath, in createPathPropertyHolder()
|
/frameworks/native/cmds/rawbu/ |
D | backup.cpp | 259 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/base/tools/aapt/ |
D | FileFinder.cpp | 60 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()
|
D | DirectoryWalker.h | 80 String8 fullPath = mBasePath.appendPathCopy(mEntry.d_name); in nextEntry() local 81 stat(fullPath.string(),&mStats); in nextEntry()
|
D | AaptAssets.cpp | 98 String8 fullPath(root); in isHidden() local 99 fullPath.appendPath(path); in isHidden() 100 FileType type = getFileType(fullPath); in isHidden()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_cache_test.cpp | 70 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(), ×); 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 …]
|
D | installd_service_test.cpp | 73 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/native/cmds/cmd/ |
D | cmd.cpp | 74 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/ |
D | VectorDrawable_Delegate.java | 1153 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/ |
D | SystemFonts.java | 84 private static @Nullable ByteBuffer mmap(@NonNull String fullPath) { in mmap() argument 85 try (FileInputStream file = new FileInputStream(fullPath)) { in mmap() 160 final String fullPath = fontConfig.getFile().getAbsolutePath(); in createFontFamily() local 161 ByteBuffer buffer = cache.get(fullPath); in createFontFamily() 163 if (cache.containsKey(fullPath)) { in createFontFamily() 166 buffer = mmap(fullPath); in createFontFamily() 167 cache.put(fullPath, buffer); in createFontFamily() 175 font = new Font.Builder(buffer, new File(fullPath), languageTags) in createFontFamily()
|
/frameworks/compile/slang/ |
D | slang_rs_reflect_utils.cpp | 297 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/ |
D | rsCpuExecutable.cpp | 128 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()
|
D | rsCpuExecutable.h | 61 static void* loadAndDeleteSharedLibrary(const char *fullPath);
|
/frameworks/rs/ |
D | rsFont.cpp | 755 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/ |
D | DownloadManagerBaseTest.java | 597 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/packages/SettingsLib/src/com/android/settingslib/users/ |
D | EditUserPhotoController.java | 407 final File fullPath = new File(mImagesDir, fileName); in createTempImageUri() local 409 fullPath.delete(); in createTempImageUri() 411 return FileProvider.getUriForFile(context, mFileAuthority, fullPath); in createTempImageUri()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageAbiHelperImpl.java | 73 String fullPath = codePath.getAbsolutePath(); in calculateBundledApkRoot() local 74 String[] parts = fullPath.split(File.separator); in calculateBundledApkRoot()
|
/frameworks/base/native/android/ |
D | system_fonts.cpp | 211 std::string fullPath = filePath; in isFontFileAvailable() local 213 if (stat(fullPath.c_str(), &st) != 0) { in isFontFileAvailable()
|
/frameworks/base/services/incremental/ |
D | IncrementalService.cpp | 309 auto fullPath = base::StringPrintf("%s/%s", path, entry->d_name); in rmDirContent() local 311 if (const auto err = rmDirContent(fullPath.c_str()); err != 0) { in rmDirContent() 312 PLOG(WARNING) << "Failed to delete " << fullPath << " content"; in rmDirContent() 315 if (const auto err = ::rmdir(fullPath.c_str()); err != 0) { in rmDirContent() 316 PLOG(WARNING) << "Failed to rmdir " << fullPath; in rmDirContent() 320 if (const auto err = ::unlink(fullPath.c_str()); err != 0) { in rmDirContent() 321 PLOG(WARNING) << "Failed to delete " << fullPath; in rmDirContent()
|