Searched refs:getDefaultPackageName (Results 1 – 7 of 7) sorted by relevance
83 when(mMockBatteryEntry.getDefaultPackageName()) in convertBatteryEntryToContentValues_appEntry_returnsExpectedContentValues()150 when(mMockBatteryEntry.getDefaultPackageName()).thenReturn(null); in convertBatteryEntryToContentValues_systemEntry_returnsExpectedContentValues()303 when(mMockBatteryEntry.getDefaultPackageName()).thenReturn("com.android.settings.battery"); in convertToBatteryHistEntry_returnsExpectedResult()
57 when(mMockBatteryEntry.getDefaultPackageName()) in testConstructor_contentValues_returnsExpectedResult()
134 assertThat(entry.getDefaultPackageName()).isEqualTo(APP_DEFAULT_PACKAGE_NAME); in batteryEntryForApp_shouldSetDefaultPackageNameAndLabel()
140 + entry.getDefaultPackageName() in handlePreferenceTreeClick()
169 launchArgs.mPackageName = entry.getDefaultPackageName(); in startBatteryDetailPage()
432 public String getDefaultPackageName() { in getDefaultPackageName() method in BatteryEntry
114 final String packageName = entry.getDefaultPackageName(); in convertBatteryEntryToContentValues()