Home
last modified time | relevance | path

Searched refs:filePath (Results 1 – 8 of 8) sorted by relevance

/system/apex/tests/src/com/android/tests/apex/host/
DApexCompressionTests.java287 String filePath = Paths.get(DECOMPRESSED_DIR_PATH, in testUnusedDecompressedApexIsCleanedUp_HigherVersion() local
289 mHostUtils.waitForFileDeleted(filePath, Duration.ofSeconds(15)); in testUnusedDecompressedApexIsCleanedUp_HigherVersion()
306 String filePath = Paths.get(DECOMPRESSED_DIR_PATH, in testUnusedDecompressedApexIsCleanedUp_SameVersion() local
308 mHostUtils.waitForFileDeleted(filePath, Duration.ofSeconds(15)); in testUnusedDecompressedApexIsCleanedUp_SameVersion()
388 String filePath = Paths.get(DECOMPRESSED_DIR_PATH, in testCapexToApexSwitch() local
390 mHostUtils.waitForFileDeleted(filePath, Duration.ofSeconds(15)); in testCapexToApexSwitch()
442 String filePath = Paths.get(DECOMPRESSED_DIR_PATH, in testOrphanedDecompressedApexInActiveDirIsIgnored() local
444 mHostUtils.waitForFileDeleted(filePath, Duration.ofSeconds(15)); in testOrphanedDecompressedApexInActiveDirIsIgnored()
/system/media/audio/include/system/
Daudio_config.h46 static inline bool audio_is_readable_configuration_file(const char* filePath) { in audio_is_readable_configuration_file() argument
47 return (access(filePath, R_OK) == 0); in audio_is_readable_configuration_file()
/system/core/fs_mgr/libsnapshot/snapuserd/
Dsnapuserd_client.cpp351 std::string filePath = GetDaemonAliveIndicatorPath(); in RemoveTransitionedDaemonIndicator() local
352 if (!android::base::RemoveFileIfExists(filePath, &error)) { in RemoveTransitionedDaemonIndicator()
357 if (!android::fs_mgr::WaitForFileDeleted(filePath, 5s)) { in RemoveTransitionedDaemonIndicator()
358 LOG(ERROR) << "Timed out waiting for " << filePath << " to unlink"; in RemoveTransitionedDaemonIndicator()
/system/tools/xsdc/src/main/java/com/android/xsdc/
DMain.java223 String filePath = Paths.get(xsdFile).resolveSibling(file).toString(); in parse() local
224 included.add(filePath); in parse()
225 XmlSchema temp = parse(filePath, included); in parse()
/system/tools/aidl/analyzer/
DanalyzerMain.cpp59 auto filePath = getRecordingPath(serviceName); in startRecording() local
67 unique_fd fd(open(filePath.c_str(), openFlags, 0666)); in startRecording()
167 auto filePath = getRecordingPath(serviceName); in listenToFile() local
168 unique_fd listenFd(open(filePath.c_str(), O_RDONLY)); in listenToFile()
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DTzLookupGeneratorTest.java1224 Path filePath = Paths.get(fileName); in checkFileExists() local
1225 assertTrue("File " + filePath + " unexpectedly missing", Files.exists(filePath)); in checkFileExists()
1226 return filePath; in checkFileExists()
1230 Path filePath = Paths.get(fileName); in assertFileMissing() local
1231 assertFalse("File " + filePath + " unexpectedly exists", Files.exists(filePath)); in assertFileMissing()
/system/hardware/interfaces/suspend/1.0/default/
DSystemSuspend.cpp294 string filePath = android::base::StringPrintf("/proc/self/fd/%d", fd); in reopenFileUsingFd() local
296 unique_fd tempFd{TEMP_FAILURE_RETRY(open(filePath.c_str(), permission))}; in reopenFileUsingFd()
298 PLOG(ERROR) << "SystemSuspend: Error opening file, using path: " << filePath; in reopenFileUsingFd()
/system/chre/host/hal_generic/common/
Dhal_client_manager.cc35 bool getClientMappingsFromFile(const std::string &filePath, in getClientMappingsFromFile() argument
37 std::fstream file(filePath); in getClientMappingsFromFile()