/external/libbrillo/brillo/ |
osrelease_reader.cc | 15 Load(base::FilePath("/")); 24 void OsReleaseReader::LoadTestingOnly(const base::FilePath& root_dir) { 28 void OsReleaseReader::Load(const base::FilePath& root_dir) { 29 base::FilePath osrelease = root_dir.Append("etc").Append("os-release"); 36 base::FilePath osreleased = root_dir.Append("etc").Append("os-release.d"); 40 for (base::FilePath path = enumerator.Next(); !path.empty();
|
/frameworks/base/core/java/android/content/res/ |
ObbScanner.java | 33 * @param filePath path to the OBB file to be scanned. 38 public static ObbInfo getObbInfo(String filePath) throws IOException { 39 if (filePath == null) { 43 final File obbFile = new File(filePath); 45 throw new IllegalArgumentException("OBB file does not exist: " + filePath); 61 private native static void getObbInfo_native(String filePath, ObbInfo obbInfo)
|
/external/libchrome/base/files/ |
file_path.h | 5 // FilePath is a container for pathnames stored in a platform's native string 26 // FilePath objects are intended to be used anywhere paths are. An 27 // application may pass FilePath objects around internally, masking the 30 // OpenFile(const FilePath &) function may be made available, allowing all 39 // Several methods are available to perform common operations on a FilePath 42 // to an existing FilePath object (Append). These methods are highly 48 // instances of FilePath objects, and are therefore safe to use on const 51 // To aid in initialization of FilePath objects from string literals, a 58 // Because a FilePath object should not be instantiated at the global scope, 59 // instead, use a FilePath::CharType[] and initialize it wit [all...] |
file_util.h | 49 BASE_EXPORT FilePath MakeAbsoluteFilePath(const FilePath& input); 56 BASE_EXPORT int64_t ComputeDirectorySize(const FilePath& root_path); 70 BASE_EXPORT bool DeleteFile(const FilePath& path, bool recursive); 78 BASE_EXPORT bool DeleteFileAfterReboot(const FilePath& path); 86 BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path); 94 BASE_EXPORT bool ReplaceFile(const FilePath& from_path, 95 const FilePath& to_path, 103 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path) [all...] |
file_enumerator.cc | 14 bool FileEnumerator::ShouldSkip(const FilePath& path) { 15 FilePath::StringType basename = path.BaseName().value();
|
/external/icu/icu4c/source/tools/toolutil/ |
filetools.h | 27 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir=FALSE); 30 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar);
|
filetools.cpp | 43 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir) { 46 if (filePath == NULL || checkAgainst == NULL) { 67 isLatest = isFileModTimeLater(filePath, newpath, isDir); 72 int32_t latest = whichFileModTimeIsLater(filePath, newpath); 89 int32_t latest = whichFileModTimeIsLater(filePath, checkAgainst); 130 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar) { 131 for (int32_t i = 0, length = uprv_strlen(filePath); i < length; i++) { 132 filePath[i] = (filePath[i] == oldFileSepChar ) ? newFileSepChar : filePath[i] [all...] |
/external/libchrome/base/test/ |
test_file_util_posix.cc | 27 bool DenyFilePermission(const FilePath& path, mode_t permission) { 40 void* GetPermissionInfo(const FilePath& path, size_t* length) { 60 bool RestorePermissionInfo(const FilePath& path, void* info, size_t length) { 76 bool DieFileDie(const FilePath& file, bool recurse) { 83 bool EvictFileFromSystemCache(const FilePath& file) { 90 bool MakeFileUnreadable(const FilePath& path) { 94 bool MakeFileUnwritable(const FilePath& path) { 98 FilePermissionRestorer::FilePermissionRestorer(const FilePath& path)
|
/external/testng/src/main/java/org/testng/internal/ |
YamlParser.java | 13 public XmlSuite parse(String filePath, InputStream is, boolean loadClasses) 16 return Yaml.parse(filePath, is);
|
/frameworks/base/services/core/java/com/android/server/net/ |
DelayedDiskWrite.java | 40 public void write(final String filePath, final Writer w) { 41 write(filePath, w, true); 44 public void write(final String filePath, final Writer w, final boolean open) { 45 if (TextUtils.isEmpty(filePath)) { 61 doWrite(filePath, w, open); 66 private void doWrite(String filePath, Writer w, boolean open) { 71 new FileOutputStream(filePath))); 75 loge("Error writing data file " + filePath);
|
/build/blueprint/bootstrap/ |
cleanup.go | 22 "path/filepath" 54 targets[filepath.Clean(replacedTarget)] = true 62 for _, filePath := range filePaths { 63 isTarget := targets[filePath] 65 err = removeFileAndEmptyDirs(filePath) 76 logFilePath := filepath.Join(ninjaBuildDir, logFileName) 113 filePath := strings.Join(fields[start:end], fieldSeperator) 115 filePaths = append(filePaths, filePath) 139 path, err = filepath.Abs(path) 149 for dir := filepath.Dir(path); dir != cwd; dir = filepath.Dir(dir) [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CodecTest.java | 89 public static int getDuration(String filePath) { 90 Log.v(TAG, "getDuration - " + filePath); 93 mp.setDataSource(filePath); 105 public static boolean getCurrentPosition(String filePath){ 106 Log.v(TAG, "GetCurrentPosition - " + filePath); 112 mp.setDataSource(filePath); 130 if (filePath.equals(MediaNames.SHORTMP3)){ 140 public static boolean seekTo(String filePath){ 141 Log.v(TAG, "seekTo " + filePath); 145 mp.setDataSource(filePath); [all...] |
/development/tools/mkstubs/.idea/ |
modules.xml | 5 <module fileurl="file://$PROJECT_DIR$/mkstubs.iml" filepath="$PROJECT_DIR$/mkstubs.iml" />
|
/development/tools/rmtypedefs/.idea/ |
modules.xml | 5 <module fileurl="file://$PROJECT_DIR$/rmtypedefs.iml" filepath="$PROJECT_DIR$/rmtypedefs.iml" />
|
/external/libbrillo/policy/ |
WATCHLISTS | 8 'filepath': '.',
|
/external/skia/tools/ |
retrieve_from_googlesource.py | 18 def get(repo_url, filepath): 23 filepath: string; path of the file within the repository. 28 base64_url = '/'.join((repo_url, '+', 'master', filepath)) + '?format=TEXT' 35 print >> sys.stderr, 'Usage: %s <repo_url> <filepath>' % sys.argv[0]
|
/external/vboot_reference/ |
WATCHLISTS | 8 'filepath': '.',
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug248.go | 14 "path/filepath" 19 errchk, err := filepath.Abs("errchk") 22 err = os.Chdir(filepath.Join("fixedbugs", "bug248.dir")) 30 run(fmt.Sprintf(".%ca.out", filepath.Separator))
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug248.go | 14 "path/filepath" 19 errchk, err := filepath.Abs("errchk") 22 err = os.Chdir(filepath.Join("fixedbugs", "bug248.dir")) 30 run(fmt.Sprintf(".%ca.out", filepath.Separator))
|
/system/core/metricsd/ |
WATCHLISTS | 8 'filepath': '.',
|
/system/update_engine/ |
WATCHLISTS | 8 'filepath': '.',
|
/external/libchrome/base/mac/ |
bundle_locations.h | 20 class FilePath; 49 BASE_EXPORT FilePath MainBundlePath(); 51 BASE_EXPORT FilePath OuterBundlePath(); 53 BASE_EXPORT FilePath FrameworkBundlePath(); 60 // Same as above but accepting a FilePath argument. 61 BASE_EXPORT void SetOverrideOuterBundlePath(const FilePath& file_path); 62 BASE_EXPORT void SetOverrideFrameworkBundlePath(const FilePath& file_path);
|
/system/webservd/webservd/ |
temp_file_manager.h | 36 virtual bool DeleteFile(const base::FilePath& path) = 0; 42 TempFileManager(const base::FilePath& temp_dir_path, 50 base::FilePath CreateTempFileName(const std::string& request_id); 57 void DeleteFiles(const std::vector<base::FilePath>& files); 60 base::FilePath temp_dir_path_; 65 std::map<std::string, std::vector<base::FilePath>> request_files_; 74 bool DeleteFile(const base::FilePath& path) override;
|
/external/deqp/framework/delibs/decpp/ |
deDirectoryIterator.cpp | 37 DirectoryIterator::DirectoryIterator (const FilePath& path) 38 : m_path(FilePath::normalize(path)) 41 DE_CHECK_RUNTIME_ERR(m_path.getType() == FilePath::TYPE_DIRECTORY); 60 FilePath DirectoryIterator::getItem (void) const 63 return FilePath::join(m_path, m_fileInfo.name); 80 DirectoryIterator::DirectoryIterator (const FilePath& path) 81 : m_path (FilePath::normalize(path)) 86 DE_CHECK_RUNTIME_ERR(m_path.getType() == FilePath::TYPE_DIRECTORY); 105 FilePath DirectoryIterator::getItem (void) const 108 return FilePath::join(m_path, m_curEntry->d_name) [all...] |
/external/gtest/test/ |
gtest_premature_exit_test.cc | 54 static bool FileExists(const char* filepath) { 56 return Stat(filepath, &stat) == 0; 104 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); local 105 ASSERT_TRUE(filepath != NULL); 106 ASSERT_NE(*filepath, '\0'); 130 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); local 131 if (filepath != NULL && *filepath != '\0') { 132 if (PrematureExitTest::FileExists(filepath)) { 135 filepath); [all...] |