Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
H A DAuxiliaryPersistenceWrapperTest.kt69 `when`(persistenceWrapper.fileExists).thenReturn(true)
84 `when`(persistenceWrapper.fileExists).thenReturn(false)
122 `when`(persistenceWrapper.fileExists).thenReturn(false)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
H A DAuxiliaryPersistenceWrapper.kt77 if (persistenceWrapper.fileExists) {
94 if (!persistenceWrapper.fileExists) {
H A DControlsFavoritePersistenceWrapper.kt77 val fileExists: Boolean
/aosp14/frameworks/base/tools/lock_agent/
H A 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()
/aosp14/frameworks/base/core/java/android/app/
H A DSharedPreferencesImpl.java746 boolean fileExists = mFile.exists(); in writeToFile()
756 if (fileExists) { in writeToFile()