Searched refs:mPowerFeatureProvider (Results 1 – 3 of 3) sorted by relevance
54 private PowerUsageFeatureProviderImpl mPowerFeatureProvider; field in PowerUsageFeatureProviderImplTest61 mPowerFeatureProvider = new PowerUsageFeatureProviderImpl(mContext); in setUp()65 mPowerFeatureProvider.mPackageManager = mPackageManager; in setUp()74 assertThat(mPowerFeatureProvider.isTypeSystem(mBatterySipper)).isTrue(); in testIsTypeSystem_uidRoot_returnTrue()82 assertThat(mPowerFeatureProvider.isTypeSystem(mBatterySipper)).isTrue(); in testIsTypeSystem_uidSystem_returnTrue()90 assertThat(mPowerFeatureProvider.isTypeSystem(mBatterySipper)).isTrue(); in testIsTypeSystem_uidMedia_returnTrue()98 assertThat(mPowerFeatureProvider.isTypeSystem(mBatterySipper)).isTrue(); in testIsTypeSystem_appCalendar_returnTrue()106 assertThat(mPowerFeatureProvider.isTypeSystem(mBatterySipper)).isTrue(); in testIsTypeSystem_appMedia_returnTrue()114 assertThat(mPowerFeatureProvider.isTypeSystem(mBatterySipper)).isTrue(); in testIsTypeSystem_appSystemUi_returnTrue()122 assertThat(mPowerFeatureProvider.isTypeSystem(mBatterySipper)).isFalse(); in testIsTypeSystem_uidOther_returnFalse()[all …]
88 PowerUsageFeatureProvider mPowerFeatureProvider; field in PowerUsageSummary158 summary1.setText(mPowerFeatureProvider.getOldEstimateDebugString( in updateViews()163 summary2.setText(mPowerFeatureProvider.getEnhancedEstimateDebugString( in updateViews()335 || !mPowerFeatureProvider.isEnhancedBatteryPredictionEnabled(context)) { in showBothEstimates()345 mPowerFeatureProvider = FeatureFactory.getFactory(context) in initFeatureProvider()353 if (mPowerFeatureProvider.isEstimateDebugEnabled()) { in restartBatteryInfoLoader()
93 PowerUsageFeatureProvider mPowerFeatureProvider; field in PowerUsageSummary170 final String OldEstimateString = mPowerFeatureProvider.getOldEstimateDebugString( in updateViews()173 final String NewEstimateString = mPowerFeatureProvider.getEnhancedEstimateDebugString( in updateViews()361 || !mPowerFeatureProvider.isEnhancedBatteryPredictionEnabled(context)) { in showBothEstimates()371 mPowerFeatureProvider = FeatureFactory.getFactory(context) in initFeatureProvider()382 if (mPowerFeatureProvider.isEstimateDebugEnabled()) { in restartBatteryInfoLoader()