Home
last modified time | relevance | path

Searched refs:AdvancedPowerUsageDetail (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java121 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 …]
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppBatteryPreference.kt37 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()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailActivity.java19 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()
DAdvancedPowerUsageDetail.java69 public class AdvancedPowerUsageDetail extends DashboardFragment class
208 .setDestination(AdvancedPowerUsageDetail.class.getName()) in startBatteryDetailPage()
233 .setDestination(AdvancedPowerUsageDetail.class.getName()) in startBatteryDetailPage()
/packages/apps/Settings/src/com/android/settings/spa/app/battery/
DBatteryOptimizationModeAppListPageProvider.kt29 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail
143 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()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppBatteryPreferenceController.java39 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail;
122 AdvancedPowerUsageDetail.startBatteryDetailPage( in handlePreferenceTreeClick()
144 AdvancedPowerUsageDetail.startBatteryDetailPage( in handlePreferenceTreeClick()
148 AdvancedPowerUsageDetail.startBatteryDetailPage(mParent.getActivity(), mParent, in handlePreferenceTreeClick()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppBatteryPreferenceTest.kt37 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail
74 .mockStatic(AdvancedPowerUsageDetail::class.java) in setUp()
165 AdvancedPowerUsageDetail.startBatteryDetailPage( in whenClick_openDetailsPage()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/battery/
DBatteryOptimizationModeAppListPageProviderTest.kt34 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail
142 .isEqualTo(AdvancedPowerUsageDetail::class.java.name) in item_onClick_navigate()
144 assertThat(arguments.getString(AdvancedPowerUsageDetail.EXTRA_PACKAGE_NAME)) in item_onClick_navigate()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DUnrestrictAppTip.java24 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail;
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryUsageBreakdownController.java43 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail;
188 AdvancedPowerUsageDetail.startBatteryDetailPage( in handlePreferenceTreeClick()
/packages/apps/Settings/tests/robotests/assets/
Dexempt_not_implementing_index_provider46 com.android.settings.fuelgauge.AdvancedPowerUsageDetail
/packages/apps/Settings/src/com/android/settings/core/gateway/
DSettingsGateway.java116 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail;
325 AdvancedPowerUsageDetail.class.getName(),
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java149 import com.android.settings.fuelgauge.AdvancedPowerUsageDetail;
732 AdvancedPowerUsageDetail.startBatteryDetailPage( in startApplicationDetailsActivity()