Searched refs:isDefaultActiveApp (Results 1 – 2 of 2) sorted by relevance
123 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()
79 if (isDefaultActiveApp(pkg)) { in isWhitelisted()89 public boolean isDefaultActiveApp(String pkg) { in isDefaultActiveApp() method in PowerWhitelistBackend