Searched refs:mDynamicSettingsFile (Results 1 – 2 of 2) sorted by relevance
127 private RegisteredServicesCache.SettingsFile mDynamicSettingsFile; field in RegisteredServicesCacheTest265 Assert.assertEquals(mRegisteredServicesCache.mDynamicSettingsFile.getBaseFile() in testConstructor()267 Assert.assertEquals(mRegisteredServicesCache.mDynamicSettingsFile.getBaseFile() in testConstructor()284 when(mDynamicSettingsFile.openRead()).thenReturn(dynamicSettingsIs); in testInitialize_filesExist()286 when(mDynamicSettingsFile.exists()).thenReturn(true); in testInitialize_filesExist()289 mDynamicSettingsFile, mOtherSettingsFile, mServiceParser, mRoutingOptionManager); in testInitialize_filesExist()294 verify(mDynamicSettingsFile).exists(); in testInitialize_filesExist()296 verify(mDynamicSettingsFile).openRead(); in testInitialize_filesExist()298 verifyNoMoreInteractions(mDynamicSettingsFile); in testInitialize_filesExist()377 when(mDynamicSettingsFile.exists()).thenReturn(false); in testInitialize_filesDontExist()[all …]
105 final SettingsFile mDynamicSettingsFile; field in RegisteredServicesCache311 mDynamicSettingsFile = dynamicSettings; in RegisteredServicesCache()741 = readDynamicSettingsFromFile(mDynamicSettingsFile); in readDynamicSettingsLocked()861 fos = mDynamicSettingsFile.startWrite(); in writeDynamicSettingsLocked()889 mDynamicSettingsFile.finishWrite(fos); in writeDynamicSettingsLocked()894 mDynamicSettingsFile.failWrite(fos); in writeDynamicSettingsLocked()