Home
last modified time | relevance | path

Searched refs:currentOptimizeMode (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerBackgroundUsageDetail.java119 final int currentOptimizeMode = mBatteryOptimizeUtils.getAppOptimizationMode(); in onPause() local
120 mLogStringBuilder.append(", onPause mode = ").append(currentOptimizeMode); in onPause()
121 logMetricCategory(currentOptimizeMode); in onPause()
125 if (currentOptimizeMode != mOptimizationMode) { in onPause()
136 Log.d(TAG, "Leave with mode: " + currentOptimizeMode); in onPause()
294 private void logMetricCategory(int currentOptimizeMode) { in logMetricCategory() argument
295 if (currentOptimizeMode == mOptimizationMode) { in logMetricCategory()
299 switch (currentOptimizeMode) { in logMetricCategory()
DAdvancedPowerUsageDetail.java280 final int currentOptimizeMode = mBatteryOptimizeUtils.getAppOptimizationMode(); in onPause() local
281 mLogStringBuilder.append(", onPause mode = ").append(currentOptimizeMode); in onPause()
282 logMetricCategory(currentOptimizeMode); in onPause()
285 if (currentOptimizeMode != mOptimizationMode) { in onPause()
296 Log.d(TAG, "Leave with mode: " + currentOptimizeMode); in onPause()
451 private void logMetricCategory(int currentOptimizeMode) { in logMetricCategory() argument
452 if (currentOptimizeMode == mOptimizationMode) { in logMetricCategory()
456 switch (currentOptimizeMode) { in logMetricCategory()