Searched refs:powerProfile (Results 1 – 4 of 4) sorted by relevance
112 PowerProfile powerProfile = new PowerProfile(context); in calculateEnergyMicroJoules() local113 final double rxIdleCurrent = powerProfile.getAveragePower( in calculateEnergyMicroJoules()115 final double rxCurrent = powerProfile.getAveragePower( in calculateEnergyMicroJoules()117 final double txCurrent = powerProfile.getAveragePower( in calculateEnergyMicroJoules()119 final double voltage = powerProfile.getAveragePower( in calculateEnergyMicroJoules()
98 public MockBatteryStatsImpl setPowerProfile(PowerProfile powerProfile) { in setPowerProfile() argument99 mPowerProfile = powerProfile; in setPowerProfile()
377 public long[] readFreqs(@NonNull PowerProfile powerProfile) { in readFreqs() argument378 checkNotNull(powerProfile); in readFreqs()407 final int numClusters = powerProfile.getNumCpuClusters(); in readFreqs()411 if (numClusterFreqs.get(i) != powerProfile.getNumSpeedStepsInCpuCluster(i)) { in readFreqs()
706 PowerProfile powerProfile = new PowerProfile(mContext); in initializePullersState() local707 final int numClusters = powerProfile.getNumCpuClusters(); in initializePullersState()711 final int numSpeedSteps = powerProfile.getNumSpeedStepsInCpuCluster(i); in initializePullersState()714 firstCpuOfCluster += powerProfile.getNumCoresInCpuCluster(i); in initializePullersState()2687 PowerProfile powerProfile = new PowerProfile(mContext);2689 powerProfile.dumpDebug(proto);