Searched refs:hasComponents (Results 1 – 3 of 3) sorted by relevance
69 assertThat(PowerComponentUtil.hasComponents(policy, filterAudio)).isTrue(); in testHasComponents()70 assertThat(PowerComponentUtil.hasComponents(policy, filterWifi)).isTrue(); in testHasComponents()71 assertThat(PowerComponentUtil.hasComponents(policy, filterLocationNfc)).isTrue(); in testHasComponents()72 assertThat(PowerComponentUtil.hasComponents(policy, filterMedia)).isFalse(); in testHasComponents()
110 public static boolean hasComponents(@NonNull CarPowerPolicy policy, in hasComponents() method in PowerComponentUtil
590 if (PowerComponentUtil.hasComponents(appliedPolicy, pair.second)) { in notifyPowerPolicyListeners()