Home
last modified time | relevance | path

Searched refs:AppStateAppBatteryUsageBridge (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/applications/
DAppStateAppBatteryUsageBridgeTest.java51 AppStateAppBatteryUsageBridge bridge = in updateExtraInfo_updatesRestricted()
52 new AppStateAppBatteryUsageBridge(mContext, null, null); in updateExtraInfo_updatesRestricted()
60 .isEqualTo(AppStateAppBatteryUsageBridge.AppBatteryUsageDetails.class); in updateExtraInfo_updatesRestricted()
61 assertThat(AppStateAppBatteryUsageBridge.getAppBatteryUsageDetailsMode(entry)) in updateExtraInfo_updatesRestricted()
62 .isEqualTo(AppStateAppBatteryUsageBridge.MODE_RESTRICTED); in updateExtraInfo_updatesRestricted()
70 AppStateAppBatteryUsageBridge bridge = in updateExtraInfo_updatesUnrestricted()
71 new AppStateAppBatteryUsageBridge(mContext, null, null); in updateExtraInfo_updatesUnrestricted()
79 .isEqualTo(AppStateAppBatteryUsageBridge.AppBatteryUsageDetails.class); in updateExtraInfo_updatesUnrestricted()
80 assertThat(AppStateAppBatteryUsageBridge.getAppBatteryUsageDetailsMode(entry)) in updateExtraInfo_updatesUnrestricted()
81 .isEqualTo(AppStateAppBatteryUsageBridge.MODE_UNRESTRICTED); in updateExtraInfo_updatesUnrestricted()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateAppBatteryUsageBridge.java37 public class AppStateAppBatteryUsageBridge extends AppStateBaseBridge { class
38 private static final String TAG = AppStateAppBatteryUsageBridge.class.getSimpleName();
69 public AppStateAppBatteryUsageBridge( in AppStateAppBatteryUsageBridge() method in AppStateAppBatteryUsageBridge
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DAppFilterRegistry.java23 import com.android.settings.applications.AppStateAppBatteryUsageBridge;
240 AppStateAppBatteryUsageBridge.FILTER_BATTERY_UNRESTRICTED_APPS, in AppFilterRegistry()
247 AppStateAppBatteryUsageBridge.FILTER_BATTERY_OPTIMIZED_APPS, in AppFilterRegistry()
254 AppStateAppBatteryUsageBridge.FILTER_BATTERY_RESTRICTED_APPS, in AppFilterRegistry()
DManageApplications.java117 import com.android.settings.applications.AppStateAppBatteryUsageBridge;
1298 mExtraInfoBridge = new AppStateAppBatteryUsageBridge(mContext, mState, this); in ApplicationsAdapter()