Searched refs:mBatteryHistoryKeys (Results 1 – 2 of 2) sorted by relevance
93 @VisibleForTesting long[] mBatteryHistoryKeys; field in BatteryChartPreferenceController263 mBatteryHistoryKeys = null; in setBatteryHistoryMap()268 mBatteryHistoryKeys = getBatteryHistoryKeys(batteryHistoryMap); in setBatteryHistoryMap()271 final long timestamp = mBatteryHistoryKeys[index * 2]; in setBatteryHistoryMap()291 mBatteryHistoryKeys[mBatteryHistoryKeys.length - 1]), in setBatteryHistoryMap()504 mBatteryHistoryKeys[mTrapezoidIndex * 2], mIs24HourFormat); in getSlotInformation()506 mBatteryHistoryKeys[(mTrapezoidIndex + 1) * 2], mIs24HourFormat); in getSlotInformation()571 if (mBatteryChartView == null || mBatteryHistoryKeys == null) { in setTimestampLabel()575 mBatteryHistoryKeys[mBatteryHistoryKeys.length - 1]; in setTimestampLabel()659 this.mBatteryHistoryKeysCache = mBatteryHistoryKeys; in LoadAllItemsInfoTask()
204 assertThat(mBatteryChartPreferenceController.mBatteryHistoryKeys[index]) in testSetBatteryHistoryMap_createExpectedKeysAndLevels()224 assertThat(mBatteryChartPreferenceController.mBatteryHistoryKeys[index]) in testSetBatteryHistoryMap_largeSize_createExpectedKeysAndLevels()620 mBatteryChartPreferenceController.mBatteryHistoryKeys = null; in testSetTimestampLabel_nullBatteryHistoryKeys_ignore()647 mBatteryChartPreferenceController.mBatteryHistoryKeys = new long[] {0L}; in testSetTimestampLabel_withoutValidTimestamp_setExpectedTimestampData()721 mBatteryChartPreferenceController.mBatteryHistoryKeys = in setUpBatteryHistoryKeys()