Home
last modified time | relevance | path

Searched refs:mConfigFile (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/statsd/
DConfigUtilTest.java54 private File mConfigFile; field in ConfigUtilTest
59 mConfigFile = Mockito.mock(File.class); in setUpMocks()
60 when(mConfigFile.getName()).thenReturn("statsdconfig.config"); in setUpMocks()
116 when(mConfigFile.exists()).thenReturn(true); in testPushBinaryDeviceConfig()
123 long configId = ConfigUtil.pushBinaryStatsConfig(mTestDevice, mConfigFile); in testPushBinaryDeviceConfig()
125 verify(mTestDevice, times(1)).pushFile(eq(mConfigFile), anyString()); in testPushBinaryDeviceConfig()
134 when(mConfigFile.exists()).thenReturn(false); in testPushBinaryDeviceConfigBinary_throwsWhenNotExists()
136 long configId = ConfigUtil.pushBinaryStatsConfig(mTestDevice, mConfigFile); in testPushBinaryDeviceConfigBinary_throwsWhenNotExists()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyBinaryHostTest.java100 private File mConfigFile; field in MoblyBinaryHostTest
186 if (mConfigFile != null) { in runSingleParFile()
281 inputStream = new FileInputStream(mConfigFile); in updateConfigFile()
285 mConfigFile = localConfigFile; in updateConfigFile()
385 if (mConfigFile != null) { in getConfigPath()
386 return mConfigFile.getAbsolutePath(); in getConfigPath()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceManager.java754 private File mConfigFile; field in GceManager.AcloudDeleteCleaner
760 mConfigFile = config; in AcloudDeleteCleaner()
770 FileUtil.deleteFile(mConfigFile); in run()