Home
last modified time | relevance | path

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

/platform_testing/libraries/device-collectors/src/main/java/android/device/loggers/
DTestLogData.java111 public final File mLogFile; field in TestLogData.LogHolder
115 mLogFile = logFile; in LogHolder()
127 return Objects.equals(mDataName, o.mDataName) && Objects.equals(mLogFile, o.mLogFile); in equals()
132 return Objects.hash(mDataName, mLogFile); in hashCode()
DLogFileLogger.java40 getInstrumentation(), log.mDataName, log.mLogFile); in onTestEnd()
/platform_testing/libraries/collectors-helper/power/src/com/android/helpers/
DPwrStatsUtilHelper.java44 @VisibleForTesting protected File mLogFile; field in PwrStatsUtilHelper
51 mLogFile = File.createTempFile("pwrstats_output", ".txt"); in startCollecting()
56 mLogFile.delete(); in startCollecting()
63 output = executeShellCommand("pwrstats_util -d " + mLogFile.getAbsolutePath()); in startCollecting()
118 br = new BufferedReader(new FileReader(mLogFile)); in processMetricsFromLogFile()
129 mLogFile.delete(); in processMetricsFromLogFile()
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DBatteryStatsListenerTest.java54 private File mLogFile; field in BatteryStatsListenerTest
67 mLogFile = new File("unique_log_file.log"); in setUp()
74 if (mLogFile != null) { in tearDown()
75 mLogFile.delete(); in tearDown()
87 doReturn(mLogFile).when(listener).dumpBatteryStats(anyString()); in initListener()
122 if (key.contains(mLogFile.getName())) protoFileCount++; in testTestRunCollector()
226 if (key.contains(mLogFile.getName())) protoFileCount++; in testTestCaseCollector()
/platform_testing/libraries/collectors-helper/power/test/src/com/android/helpers/
DPwrStatsUtilHelperTest.java65 assertNotNull(mHelper.mLogFile); in successfulRun()