Home
last modified time | relevance | path

Searched refs:hasComponents (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DPowerComponentUtilUnitTest.java69 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()
/packages/services/Car/car-lib/src/android/car/hardware/power/
DPowerComponentUtil.java110 public static boolean hasComponents(@NonNull CarPowerPolicy policy, in hasComponents() method in PowerComponentUtil
DCarPowerManager.java590 if (PowerComponentUtil.hasComponents(appliedPolicy, pair.second)) { in notifyPowerPolicyListeners()