Searched refs:fileExists (Results 1 – 8 of 8) sorted by relevance
69 `when`(persistenceWrapper.fileExists).thenReturn(true) in any()84 `when`(persistenceWrapper.fileExists).thenReturn(false) in testInitialize_fileDoesNotExist()122 `when`(persistenceWrapper.fileExists).thenReturn(false) in testFileRemoved()
76 favorites = if (persistenceWrapper.fileExists) { in initialize()92 if (!persistenceWrapper.fileExists) { in getCachedFavoritesAndRemoveFor()
77 val fileExists: Boolean in <lambda>() constant in com.android.systemui.controls.controller.ControlsFavoritePersistenceWrapper
333 bool fileExists(const std::string& path) { in fileExists() function348 if (fileExists(lockAgentJarPath)) { in findLockAgentJar()358 if (fileExists(sysFrameworkPath)) { in findLockAgentJar()363 if (fileExists(relPath)) { in findLockAgentJar()
245 String fileExists = executeShellCommandViaTmpFile( in waitForFileExistence()247 Log.i(TAG, fileName + " existence is " + fileExists); in waitForFileExistence()248 return fileExists.trim().equals("0"); in waitForFileExistence()
334 static bool fileExists(const char* filename) { in fileExists() function470 if (!fileExists(path)) { in isCategorySupportedForRoot()476 ok |= fileExists(path); in isCategorySupportedForRoot()528 if (fileExists(k_traceCmdlineSizePath)) {567 if (fileExists(k_printTgidPath)) { in setPrintTgidEnableIfPresent()570 if (fileExists(k_recordTgidPath)) { in setPrintTgidEnableIfPresent()
738 boolean fileExists = mFile.exists(); in writeToFile()748 if (fileExists) { in writeToFile()
44 bool fileExists(const std::string &path) { in fileExists() function72 if (fileExists(path)) { in findFileInDirs()440 if (!fileExists(path)) { in parseXmlPath()