Searched refs:isDeviceHeavilyUsed (Results 1 – 4 of 4) sorted by relevance
64 assertThat(mDataParser.isDeviceHeavilyUsed()).isTrue(); in testDataParser_thresholdLow_isHeavilyUsed()72 assertThat(mDataParser.isDeviceHeavilyUsed()).isFalse(); in testDataParser_thresholdHigh_notHeavilyUsed()81 assertThat(mDataParser.isDeviceHeavilyUsed()).isTrue(); in testDataParser_heavilyUsedInShortTime_stillReportHeavilyUsed()
134 doReturn(true).when(mDataParser).isDeviceHeavilyUsed(); in testDetect_deviceCharging_tipInvisible()142 doReturn(false).when(mDataParser).isDeviceHeavilyUsed(); in testDetect_testFeatureOn_tipNew()150 doReturn(true).when(mDataParser).isDeviceHeavilyUsed(); in testDetect_containsHighUsageApp_tipVisibleAndSorted()
70 public boolean isDeviceHeavilyUsed() { in isDeviceHeavilyUsed() method in HighUsageDataParser
78 if (mDataParser.isDeviceHeavilyUsed() || mPolicy.testHighUsageTip) { in detect()