Searched refs:AdvancedPowerUsageDetail (Results 1 – 13 of 13) sorted by relevance
121 private AdvancedPowerUsageDetail mFragment;135 mFragment = spy(new AdvancedPowerUsageDetail()); in setUp()288 AdvancedPowerUsageDetail.startBatteryDetailPage( in startBatteryDetailPage_invalidToShowSummary_noFGBDData()291 assertThat(mBundle.getInt(AdvancedPowerUsageDetail.EXTRA_UID)).isEqualTo(UID); in startBatteryDetailPage_invalidToShowSummary_noFGBDData()292 assertThat(mBundle.getLong(AdvancedPowerUsageDetail.EXTRA_BACKGROUND_TIME)).isEqualTo(0); in startBatteryDetailPage_invalidToShowSummary_noFGBDData()293 assertThat(mBundle.getLong(AdvancedPowerUsageDetail.EXTRA_FOREGROUND_TIME)).isEqualTo(0); in startBatteryDetailPage_invalidToShowSummary_noFGBDData()294 assertThat(mBundle.getLong(AdvancedPowerUsageDetail.EXTRA_SCREEN_ON_TIME)).isEqualTo(0); in startBatteryDetailPage_invalidToShowSummary_noFGBDData()295 assertThat(mBundle.getString(AdvancedPowerUsageDetail.EXTRA_POWER_USAGE_PERCENT)) in startBatteryDetailPage_invalidToShowSummary_noFGBDData()303 AdvancedPowerUsageDetail.startBatteryDetailPage( in startBatteryDetailPage_showSummary_hasFGBDData()314 assertThat(mBundle.getInt(AdvancedPowerUsageDetail.EXTRA_UID)).isEqualTo(UID); in startBatteryDetailPage_showSummary_hasFGBDData()[all …]
37 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail in <lambda>()124 AdvancedPowerUsageDetail.startBatteryDetailPage( in startBatteryDetailPage()139 AdvancedPowerUsageDetail.EXTRA_PACKAGE_NAME to app.packageName, in fallbackStartBatteryDetailPage()140 AdvancedPowerUsageDetail.EXTRA_POWER_USAGE_PERCENT to Utils.formatPercentage(0), in fallbackStartBatteryDetailPage()141 AdvancedPowerUsageDetail.EXTRA_UID to app.uid, in fallbackStartBatteryDetailPage()144 .setDestination(AdvancedPowerUsageDetail::class.java.name) in fallbackStartBatteryDetailPage()
19 import static com.android.settings.fuelgauge.AdvancedPowerUsageDetail.EXTRA_PACKAGE_NAME;20 import static com.android.settings.fuelgauge.AdvancedPowerUsageDetail.EXTRA_POWER_USAGE_PERCENT;21 import static com.android.settings.fuelgauge.AdvancedPowerUsageDetail.EXTRA_UID;64 .setDestination(AdvancedPowerUsageDetail.class.getName()) in onCreate()
69 public class AdvancedPowerUsageDetail extends DashboardFragment class208 .setDestination(AdvancedPowerUsageDetail.class.getName()) in startBatteryDetailPage()233 .setDestination(AdvancedPowerUsageDetail.class.getName()) in startBatteryDetailPage()
29 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail143 AdvancedPowerUsageDetail.EXTRA_PACKAGE_NAME to record.app.packageName, in AppItem()144 AdvancedPowerUsageDetail.EXTRA_POWER_USAGE_PERCENT to Utils.formatPercentage(0), in AppItem()145 AdvancedPowerUsageDetail.EXTRA_UID to record.app.uid, in AppItem()148 .setDestination(AdvancedPowerUsageDetail::class.java.name) in AppItem()
39 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail;122 AdvancedPowerUsageDetail.startBatteryDetailPage( in handlePreferenceTreeClick()144 AdvancedPowerUsageDetail.startBatteryDetailPage( in handlePreferenceTreeClick()148 AdvancedPowerUsageDetail.startBatteryDetailPage(mParent.getActivity(), mParent, in handlePreferenceTreeClick()
37 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail74 .mockStatic(AdvancedPowerUsageDetail::class.java) in setUp()165 AdvancedPowerUsageDetail.startBatteryDetailPage( in whenClick_openDetailsPage()
34 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail142 .isEqualTo(AdvancedPowerUsageDetail::class.java.name) in item_onClick_navigate()144 assertThat(arguments.getString(AdvancedPowerUsageDetail.EXTRA_PACKAGE_NAME)) in item_onClick_navigate()
24 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail;
43 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail;188 AdvancedPowerUsageDetail.startBatteryDetailPage( in handlePreferenceTreeClick()
46 com.android.settings.fuelgauge.AdvancedPowerUsageDetail
116 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail;325 AdvancedPowerUsageDetail.class.getName(),
149 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail;732 AdvancedPowerUsageDetail.startBatteryDetailPage( in startApplicationDetailsActivity()