Home
last modified time | relevance | path

Searched refs:detect (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/
DLowBatteryDetectorTest.java77 assertThat(mLowBatteryDetector.detect().isVisible()).isFalse(); in detect_disabledByPolicy_tipInvisible()
84 assertThat(mLowBatteryDetector.detect().getState()).isEqualTo(BatteryTip.StateType.NEW); in detect_enabledByTest_tipNew()
92 assertThat(mLowBatteryDetector.detect().getState()).isEqualTo(BatteryTip.StateType.NEW); in detect_lowBattery_tipNew()
100 assertThat(mLowBatteryDetector.detect().getState()) in detect_batterySaverOn_tipInvisible()
108 assertThat(mLowBatteryDetector.detect().isVisible()).isFalse(); in detect_charging_tipInvisible()
116 assertThat(mLowBatteryDetector.detect().isVisible()).isFalse(); in detect_lowTimeEstimation_tipInvisible()
124 assertThat(mLowBatteryDetector.detect().isVisible()).isFalse(); in detect_noEarlyWarning_tipInvisible()
DSmartBatteryDetectorTest.java73 assertThat(mSmartBatteryDetector.detect().getState()).isEqualTo(BatteryTip.StateType.NEW); in testDetect_testFeatureOn_tipNew()
82 assertThat(mSmartBatteryDetector.detect().isVisible()).isTrue(); in testDetect_smartBatteryOff_tipVisible()
98 assertThat(mSmartBatteryDetector.detect().isVisible()).isFalse(); in testDetect_batterySaverOn_tipInvisible()
114 assertThat(mSmartBatteryDetector.detect().isVisible()).isFalse(); in testDetect_unexpectedBatteryLevel_tipInvisible()
123 assertThat(mSmartBatteryDetector.detect().isVisible()).isFalse(); in testDetect_smartBatteryOn_tipInvisible()
DBatteryDefenderDetectorTest.java59 assertThat(mBatteryDefenderDetector.detect().isVisible()).isFalse(); in detect_notBatteryDefend_tipInvisible()
67 assertThat(mBatteryDefenderDetector.detect().getState()) in detect_isBatteryDefend_tipNew()
69 assertThat(mBatteryDefenderDetector.detect().isVisible()).isTrue(); in detect_isBatteryDefend_tipNew()
DHighUsageDetectorTest.java128 assertThat(mHighUsageDetector.detect().isVisible()).isFalse(); in testDetect_disabledByPolicy_tipInvisible()
137 assertThat(mHighUsageDetector.detect().isVisible()).isFalse(); in testDetect_deviceCharging_tipInvisible()
145 assertThat(mHighUsageDetector.detect().getState()).isEqualTo(BatteryTip.StateType.NEW); in testDetect_testFeatureOn_tipNew()
152 final HighUsageTip highUsageTip = (HighUsageTip) mHighUsageDetector.detect(); in testDetect_containsHighUsageApp_tipVisibleAndSorted()
DIncompatibleChargerDetectorTest.java61 BatteryTip batteryTip = mIncompatibleChargerDetector.detect(); in detect_withoutIncompatibleCharger_shouldNotShowTip()
71 BatteryTip batteryTip = mIncompatibleChargerDetector.detect(); in detect_withIncompatibleCharger_showTip()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipLoader.java63 .detect()); in loadInBackground()
64 tips.add(new BatteryDefenderDetector(batteryInfo, context).detect()); in loadInBackground()
65 tips.add(new IncompatibleChargerDetector(context).detect()); in loadInBackground()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DSpecialFormatDetector.java78 public static int detect(File file) throws Exception { in detect() method in SpecialFormatDetector
81 return detect(exif, file); in detect()
88 public static int detect(ExifInterface exif, File file) throws Exception { in detect() method in SpecialFormatDetector
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/
DBatteryTipDetector.java27 BatteryTip detect(); in detect() method
DIncompatibleChargerDetector.java36 public BatteryTip detect() { in detect() method in IncompatibleChargerDetector
DBatteryDefenderDetector.java37 public BatteryTip detect() { in detect() method in BatteryDefenderDetector
DLowBatteryDetector.java45 public BatteryTip detect() { in detect() method in LowBatteryDetector
DSmartBatteryDetector.java50 public BatteryTip detect() { in detect() method in SmartBatteryDetector
DHighUsageDetector.java72 public BatteryTip detect() { in detect() method in HighUsageDetector
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/test/
Daggregatable_two_contributions_null_reports_debug_key.json7 // never be reached. This will detect bugs if agg reports excluding source registration time are
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/aggregatable/
Daggregatable_two_contributions_null_reports_debug_key.json7 // never be reached. This will detect bugs if agg reports excluding source registration time are
Daggregatable_no_matching_source_exclude_source_registration_time.json8 // never be reached. This will detect bugs if agg reports including source registration time are
Daggregatable_no_matching_source_exclude_source_registration_time_debug_key.json8 // never be reached. This will detect bugs if agg reports including source registration time are
Daggregatable_no_matching_source_exclude_source_registration_time_set_context_id.json8 // never be reached. This will detect bugs if agg reports including source registration time are
Daggregatable_no_matching_source_include_source_registration_time.json8 // never be reached. This will detect bugs if agg reports excluding source registration time are
Daggregatable_no_matching_source_exclude_source_registration_time_set_context_id_debug_key.json8 // never be reached. This will detect bugs if agg reports including source registration time are
Daggregatable_two_contributions_null_reports.json7 // never be reached. This will detect bugs if agg reports excluding source registration time are
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatterySettingsFeatureProviderImpl.java54 batteryTips.add(new LowBatteryDetector(context, batteryTipPolicy, batteryInfo).detect()); in addBatteryTipDetector()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/
Dgradle.properties15 org.gradle.java.installations.auto-detect=false
/packages/modules/Connectivity/service/
DAndroid.bp168 // available. The linter will detect any unprotected calls through an API
/packages/apps/ManagedProvisioning/studio-dev/development/studio/
Didea.properties106 # IDEA file chooser peeks inside directories to detect whether they contain a valid project

12