Home
last modified time | relevance | path

Searched refs:getDefaultPackageName (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryAppListPreferenceControllerTest.java125 when(mBatteryEntry.getDefaultPackageName()) in testSetUsageSummary_timeMoreThanOneMinute_GoogleApp_shouldNotSetScreenSummary()
DBatteryHistEntryTest.java55 when(mockBatteryEntry.getDefaultPackageName()) in testConstructor_contentValues_returnsExpectedResult()
DAdvancedPowerUsageDetailTest.java641 when(mBatteryEntry.getDefaultPackageName()).thenReturn(PACKAGE_NAME[0]); in testStartBatteryDetailPage_NormalApp()
652 when(mBatteryEntry.getDefaultPackageName()).thenReturn(null); in testStartBatteryDetailPage_SystemApp()
DBatteryEntryTest.java123 assertThat(entry.getDefaultPackageName()).isEqualTo(APP_DEFAULT_PACKAGE_NAME); in batteryEntryForApp_shouldSetDefaultPackageNameAndLabel()
DConvertUtilsTest.java72 when(mockBatteryEntry.getDefaultPackageName()) in testConvert_returnsExpectedContentValues()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppBatteryPreferenceController.java144 + entry.getDefaultPackageName() in handlePreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DConvertUtils.java109 entry.getDefaultPackageName()); in convert()
DBatteryAppListPreferenceController.java445 final String target = entry.getDefaultPackageName(); in shouldShowSummary()
DBatteryEntry.java487 public String getDefaultPackageName() { in getDefaultPackageName() method in BatteryEntry
DAdvancedPowerUsageDetail.java165 launchArgs.mPackageName = entry.getDefaultPackageName(); in startBatteryDetailPage()