HomeSort by relevance Sort by last modified time
    Searched refs:isAnomalyDetectorEnabled (Results 1 - 4 of 4) sorted by null

  /packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/anomaly/
AnomalyDetectionPolicyTest.java 100 assertThat(policy.isAnomalyDetectorEnabled(Anomaly.AnomalyType.WAKE_LOCK)).isFalse();
101 assertThat(policy.isAnomalyDetectorEnabled(Anomaly.AnomalyType.WAKEUP_ALARM)).isTrue();
102 assertThat(policy.isAnomalyDetectorEnabled(Anomaly.AnomalyType.BLUETOOTH_SCAN)).isTrue();
116 assertThat(policy.isAnomalyDetectorEnabled(Anomaly.AnomalyType.WAKE_LOCK)).isFalse();
117 assertThat(policy.isAnomalyDetectorEnabled(Anomaly.AnomalyType.WAKEUP_ALARM)).isFalse();
118 assertThat(policy.isAnomalyDetectorEnabled(Anomaly.AnomalyType.BLUETOOTH_SCAN)).isFalse();
AnomalyLoaderTest.java 81 doReturn(true).when(mAnomalyDetectionPolicy).isAnomalyDetectorEnabled(anyInt());
  /packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/
AnomalyDetectionPolicy.java 152 public boolean isAnomalyDetectorEnabled(@Anomaly.AnomalyType int type) {
AnomalyUtils.java 127 if (policy.isAnomalyDetectorEnabled(type)) {

Completed in 383 milliseconds