Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DAuxiliaryPersistenceWrapperTest.kt69 `when`(persistenceWrapper.fileExists).thenReturn(true) in any()
84 `when`(persistenceWrapper.fileExists).thenReturn(false) in testInitialize_fileDoesNotExist()
122 `when`(persistenceWrapper.fileExists).thenReturn(false) in testFileRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DAuxiliaryPersistenceWrapper.kt76 favorites = if (persistenceWrapper.fileExists) { in initialize()
92 if (!persistenceWrapper.fileExists) { in getCachedFavoritesAndRemoveFor()
DControlsFavoritePersistenceWrapper.kt77 val fileExists: Boolean in <lambda>() constant in com.android.systemui.controls.controller.ControlsFavoritePersistenceWrapper
/frameworks/base/tools/lock_agent/
Dagent.cpp333 bool fileExists(const std::string& path) { in fileExists() function
348 if (fileExists(lockAgentJarPath)) { in findLockAgentJar()
358 if (fileExists(sysFrameworkPath)) { in findLockAgentJar()
363 if (fileExists(relPath)) { in findLockAgentJar()
/frameworks/base/startop/iorap/functional_tests/src/com/google/android/startop/iorap/
DIorapWorkFlowTest.java245 String fileExists = executeShellCommandViaTmpFile( in waitForFileExistence()
247 Log.i(TAG, fileName + " existence is " + fileExists); in waitForFileExistence()
248 return fileExists.trim().equals("0"); in waitForFileExistence()
/frameworks/native/cmds/atrace/
Datrace.cpp334 static bool fileExists(const char* filename) { in fileExists() function
470 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()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java738 boolean fileExists = mFile.exists(); in writeToFile()
748 if (fileExists) { in writeToFile()
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp44 bool fileExists(const std::string &path) { in fileExists() function
72 if (fileExists(path)) { in findFileInDirs()
440 if (!fileExists(path)) { in parseXmlPath()