Home
last modified time | relevance | path

Searched refs:isDefaultActiveApp (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/
DPowerWhitelistBackendTest.java123 assertThat(mPowerWhitelistBackend.isDefaultActiveApp(testSms)).isTrue(); in isWhitelisted_shouldWhitelistDefaultSms()
134 assertThat(mPowerWhitelistBackend.isDefaultActiveApp(testDialer)).isTrue(); in isWhitelisted_shouldWhitelistDefaultDialer()
142 assertThat(mPowerWhitelistBackend.isDefaultActiveApp(PACKAGE_ONE)).isTrue(); in isWhitelisted_shouldWhitelistActiveDeviceAdminApp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DPowerWhitelistBackend.java79 if (isDefaultActiveApp(pkg)) { in isWhitelisted()
89 public boolean isDefaultActiveApp(String pkg) { in isDefaultActiveApp() method in PowerWhitelistBackend