Searched refs:getLocationCacheFile (Results 1 – 2 of 2) sorted by relevance
238 assertThat(getLocationCacheFile().exists()).isFalse(); in testDoesNotLoadLocationWhenNoFileExists()387 assertFalse(getLocationCacheFile().exists()); in testDoesNotStoreNullLocation()405 assertTrue(getLocationCacheFile().exists()); in testDeletesCacheFileWhenLocationIsDisabled()411 assertFalse(getLocationCacheFile().exists()); in testDeletesCacheFileWhenLocationIsDisabled()426 assertTrue(getLocationCacheFile().exists()); in testDeletesCacheFileUponSuspendExitWhileMoving()432 assertFalse(getLocationCacheFile().exists()); in testDeletesCacheFileUponSuspendExitWhileMoving()469 assertTrue(getLocationCacheFile().exists()); in testDeletesCacheFileWhenDrivingStateBecomesMoving()477 assertFalse(getLocationCacheFile().exists()); in testDeletesCacheFileWhenDrivingStateBecomesMoving()481 FileOutputStream fos = new FileOutputStream(getLocationCacheFile()); in writeCacheFile()487 FileInputStream fis = new FileInputStream(getLocationCacheFile()); in readCacheFile()[all …]
315 AtomicFile atomicFile = new AtomicFile(getLocationCacheFile()); in storeLocation()387 File file = getLocationCacheFile(); in readLocationFromCacheFile()448 File file = getLocationCacheFile(); in deleteCacheFile()487 private File getLocationCacheFile() { in getLocationCacheFile() method in CarLocationService