Searched refs:getLocationCacheFile (Results 1 – 2 of 2) sorted by relevance
241 assertThat(getLocationCacheFile().exists()).isFalse(); in testDoesNotLoadLocationWhenNoFileExists()395 assertFalse(getLocationCacheFile().exists()); in testDoesNotStoreNullLocation()413 assertTrue(getLocationCacheFile().exists()); in testDeletesCacheFileWhenLocationIsDisabled()419 assertFalse(getLocationCacheFile().exists()); in testDeletesCacheFileWhenLocationIsDisabled()434 assertTrue(getLocationCacheFile().exists()); in testDeletesCacheFileUponSuspendExitWhileMoving()440 assertFalse(getLocationCacheFile().exists()); in testDeletesCacheFileUponSuspendExitWhileMoving()477 assertTrue(getLocationCacheFile().exists()); in testDeletesCacheFileWhenDrivingStateBecomesMoving()485 assertFalse(getLocationCacheFile().exists()); in testDeletesCacheFileWhenDrivingStateBecomesMoving()489 try (FileOutputStream fos = new FileOutputStream(getLocationCacheFile())) { in writeCacheFile()495 FileInputStream fis = new FileInputStream(getLocationCacheFile()); in readCacheFile()[all …]
453 AtomicFile atomicFile = new AtomicFile(getLocationCacheFile()); in storeLocation()525 File file = getLocationCacheFile(); in readLocationFromCacheFile()586 File file = getLocationCacheFile(); in deleteCacheFile()625 private File getLocationCacheFile() { in getLocationCacheFile() method in CarLocationService