Home
last modified time | relevance | path

Searched refs:fileStat (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/aapt/
DFileFinder.cpp25 struct stat fileStat; in isDirectory() local
26 if (stat(filename, &fileStat) == -1) { in isDirectory()
29 return(S_ISDIR(fileStat.st_mode)); in isDirectory()
35 struct stat fileStat; in isFile() local
36 if (stat(filename, &fileStat) == -1) { in isFile()
39 return(S_ISREG(fileStat.st_mode)); in isFile()
/frameworks/native/libs/binder/
DRecordedTransaction.cpp183 struct stat fileStat; in fromFile() local
184 if (fstat(fd.get(), &fileStat) != 0) { in fromFile()
195 if (fileStat.st_size < (fdCurrentPosition + (off_t)sizeof(ChunkDescriptor))) { in fromFile()
222 if (chunkPayloadSize > (size_t)(fileStat.st_size - fdCurrentPosition)) { in fromFile()
/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp138 struct stat fileStat; in loadAudioPolicyEngineConfig() local
139 return stat(path, &fileStat) == 0 && S_ISREG(fileStat.st_mode); in loadAudioPolicyEngineConfig()
/frameworks/base/cmds/incidentd/src/
DSection.cpp754 struct stat fileStat; in BlockingCall() local
755 if (stat(link_name, &fileStat) != OK) { in BlockingCall()
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp48 struct stat fileStat; in fileExists() local
49 return stat(path.c_str(), &fileStat) == 0 && S_ISREG(fileStat.st_mode); in fileExists()