/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaVisualizerTest.java | 255 int energy = computeEnergy(data, true); in test2_0PollingCapture() local 257 0, energy); in test2_0PollingCapture() 259 energy = computeEnergy(data, false); in test2_0PollingCapture() 261 0, energy); in test2_0PollingCapture() 267 energy = computeEnergy(data, true); in test2_0PollingCapture() 269 energy > 0); in test2_0PollingCapture() 271 energy = computeEnergy(data, false); in test2_0PollingCapture() 273 energy > 0); in test2_0PollingCapture() 354 int energy = computeEnergy(mWaveform, true); in test2_1ListenerCapture() local 356 0, energy); in test2_1ListenerCapture() [all …]
|
/frameworks/base/core/proto/android/server/ |
D | powerstatsservice.proto | 55 * represents modeled energy consumption estimates and is provided per 58 * the raw energy meter data. 67 * represents measurements taken directly from on-device energy meters. 68 * This raw energy meter data will be logged to incident reports. 170 * A list of default subsystems for which energy consumption estimates 195 /** Android ID / Linux UID, the accumulated energy should be attributed to. */ 198 /** Accumulated energy since boot in microwatt-seconds (uWs) for this AID. */ 204 * An estimate of energy consumption since boot for the subsystem identified 208 /** Unique index identifying the energy consumer. */ 214 /** Accumulated energy since device boot in microwatt-seconds (uWs) */ [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | EnergyProbe.java | 57 int energy = 0; in capture() local 70 energy += (int)mFft[0] * (int)mFft[0]; in capture() 83 energy += tmp/j; in capture() 97 return energy/count; in capture()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | PowerStatsCollectorTest.java | 120 long[] energy = retriever.getConsumedEnergyUws(energyConsumerIds); in consumedEnergyRetriever() local 121 assertThat(energy).isEqualTo(new long[]{1000, 2000}); in consumedEnergyRetriever() 122 energy = retriever.getConsumedEnergyUws(energyConsumerIds); in consumedEnergyRetriever() 123 assertThat(energy).isEqualTo(new long[]{1500, 2700}); in consumedEnergyRetriever()
|
D | WifiPowerCalculatorTest.java | 389 long energy = calculateEnergyMicroJoules(txDuration, rxDuration, idleDuration); in buildWifiActivityEnergyInfo() local 390 when(info.getControllerEnergyUsedMicroJoules()).thenReturn(energy); in buildWifiActivityEnergyInfo()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | AnyMotionDetector.java | 469 float energy; field in AnyMotionDetector.RunningSignalStats 480 energy = 0; in reset() 499 energy += incrementalEnergy; in accumulate() 503 ", energy = " + energy); in accumulate() 516 return energy; in getEnergy() 533 msg += ", energy = " + energy; in toString()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | PowerStatsCollector.java | 293 long[] energy = new long[energyConsumerIds.length]; in getConsumedEnergyUws() local 298 energy[i] = result.energyUWs; in getConsumedEnergyUws() 303 return energy; in getConsumedEnergyUws()
|
D | PowerStatsLayout.java | 176 public void setConsumedEnergy(long[] stats, int index, long energy) { in setConsumedEnergy() argument 177 stats[mDeviceEnergyConsumerPosition + index] = energy; in setConsumedEnergy()
|
D | BatteryStatsImpl.java | 13189 long energy; field in BatteryStatsImpl.BluetoothActivityInfoCache 13198 energy = info.getControllerEnergyUsed(); in set() 13211 energy = 0; in reset() 13250 || info.getControllerEnergyUsed() < mLastBluetoothActivityInfo.energy) { in updateBluetoothStateLocked() 13447 controllerMaMs = (info.getControllerEnergyUsed() - mLastBluetoothActivityInfo.energy) in updateBluetoothStateLocked()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | AutoFixFilter.java | 282 int energy = (data[index] & 0xFF) + ((data[index] >> 8) & 0xFF) + in createHistogramFrame() local 284 histArray[energy] ++; in createHistogramFrame()
|
/frameworks/base/services/core/java/com/android/server/powerstats/ |
D | PowerStatsService.java | 697 long[] energy = new long[powerMonitorStates.length]; in getPowerMonitorReadingsImpl() local 703 energy[i] = mIntervalRandomNoiseGenerator.addNoise( in getPowerMonitorReadingsImpl() 715 ? (state.energyUws - energy[i]) * 100.0 in getPowerMonitorReadingsImpl() 718 energy[i])); in getPowerMonitorReadingsImpl() 721 energy[i] = state.energyUws; in getPowerMonitorReadingsImpl() 727 result.putLongArray(IPowerStatsService.KEY_ENERGY, energy); in getPowerMonitorReadingsImpl()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_am_BatteryStatsService.cpp | 286 if (!(data.timestamp > LLONG_MAX || data.energy > LLONG_MAX)) { in getPowerStatsHalRailEnergyDataLocked() 295 data.energy); in getPowerStatsHalRailEnergyDataLocked()
|
D | com_android_server_powerstats_PowerStatsService.cpp | 327 energyData[i].energy); in nativeReadEnergyMeters()
|
/frameworks/av/media/libaaudio/scripts/ |
D | synthmark_tests.txt | 1 # Measure energy consumption with synthmark.
|
/frameworks/proto_logging/stats/enums/bluetooth/hci/ |
D | enums.proto | 417 // Bluetooth low energy related meta event codes
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 3518 // Bluetooth low energy commands: 3533 // Bluetooth low energy meta events: 8159 // Time (in ms since boot) at which the rail energy value was measured. 8163 // Accumulated energy used via the rail since device boot in uWs. 16469 // Total GNSS energy consumption in micro-joules (or micro Watt-seconds). 16472 // Total energy consumption in micro-joules (or micro Watt-seconds) for which the GNSS engine is 16476 // Total energy consumption in micro-joules (or micro Watt-seconds) for which the GNSS engine is 16480 // Total energy consumption in micro-joules (or micro Watt-seconds) for which the GNSS engine is 16484 // Total energy consumption in micro-joules (or micro Watt-seconds) for which the GNSS engine is 16488 // Total energy consumption in micro-joules (microWatt-seconds) for which the GNSS engine is [all …]
|
/frameworks/opt/telephony/proto/src/ |
D | telephony.proto | 2742 // Actual monitored rail energy consumed by modem (mAh)
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 72778 Lcom/android/internal/os/BatteryStatsImpl$BluetoothActivityInfoCache;->energy:J
|