Searched refs:mBatteryHistEntry (Results 1 – 7 of 7) sorted by relevance
53 public final BatteryHistEntry mBatteryHistEntry; field in BatteryDiffEntry77 mBatteryHistEntry = batteryHistEntry; in BatteryDiffEntry()100 this.mBatteryHistEntry /*same instance*/); in clone()108 ? mBatteryHistEntry.mAppLabel in getAppLabel()127 ? mDefaultPackageName : mBatteryHistEntry.mPackageName; in getPackageName()146 switch (mBatteryHistEntry.mConsumerType) { in isSystemEntry()151 return isSystemUid((int) mBatteryHistEntry.mUid) in isSystemEntry()152 || mBatteryHistEntry.mIsHidden; in isSystemEntry()183 switch (mBatteryHistEntry.mConsumerType) { in loadLabelAndIcon()187 mContext, (int) mBatteryHistEntry.mUserId); in loadLabelAndIcon()[all …]
218 final BatteryHistEntry histEntry = diffEntry.mBatteryHistEntry; in handlePreferenceTreeClick()410 final String prefKey = entry.mBatteryHistEntry.getKey(); in addPreferenceToScreen()462 final String prefKey = entry.mBatteryHistEntry.getKey(); in refreshExpandUi()
304 final String key = entry.mBatteryHistEntry.getKey(); in insert24HoursData()
140 final BatteryHistEntry histEntry = diffEntry.mBatteryHistEntry; in startBatteryDetailPage()
124 + mBatteryDiffEntry.mBatteryHistEntry.mUid in handlePreferenceTreeClick()188 .filter(entry -> entry.mBatteryHistEntry.mConsumerType in loadBatteryDiffEntries()190 .filter(entry -> entry.mBatteryHistEntry.mUserId == mUserId) in loadBatteryDiffEntries()194 + entry.mBatteryHistEntry.mPackageName in loadBatteryDiffEntries()195 + " | uid: " + entry.mBatteryHistEntry.mUid in loadBatteryDiffEntries()196 + " | userId: " + entry.mBatteryHistEntry.mUserId); in loadBatteryDiffEntries()
82 @Mock private BatteryHistEntry mBatteryHistEntry; field in BatteryChartPreferenceControllerTest118 mBatteryHistEntry); in setUp()318 doReturn(PREF_KEY).when(mBatteryHistEntry).getKey(); in testAddPreferenceToScreen_addPreferenceIntoScreen()347 doReturn(PREF_KEY).when(mBatteryHistEntry).getKey(); in testAddPreferenceToScreen_alreadyInScreen_notAddPreferenceAgain()369 doReturn(false).when(mBatteryHistEntry).isAppEntry(); in testHandlePreferenceTreeClick_forAppEntry_returnTrue()388 doReturn(true).when(mBatteryHistEntry).isAppEntry(); in testHandlePreferenceTreeClick_forSystemEntry_returnTrue()513 doReturn(PREF_KEY).when(mBatteryHistEntry).getKey(); in testOnExpand_expandedIsTrue_addSystemEntriesToPreferenceGroup()530 doReturn(PREF_KEY).when(mBatteryHistEntry).getKey(); in testOnExpand_expandedIsFalse_removeSystemEntriesFromPreferenceGroup()717 /*consumePower=*/ 0, mBatteryHistEntry); in createBatteryDiffEntry()
61 @Mock private BatteryHistEntry mBatteryHistEntry; field in BatteryDiffEntryTest106 entryList.add(createBatteryDiffEntry(30, mBatteryHistEntry)); in testComparator_sortCollectionsInDescOrder()107 entryList.add(createBatteryDiffEntry(20, mBatteryHistEntry)); in testComparator_sortCollectionsInDescOrder()108 entryList.add(createBatteryDiffEntry(10, mBatteryHistEntry)); in testComparator_sortCollectionsInDescOrder()