Home
last modified time | relevance | path

Searched refs:energy (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaVisualizerTest.java255 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/
Dpowerstatsservice.proto55 * 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/
DEnergyProbe.java57 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/
DPowerStatsCollectorTest.java120 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()
DWifiPowerCalculatorTest.java389 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/
DAnyMotionDetector.java469 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/
DPowerStatsCollector.java293 long[] energy = new long[energyConsumerIds.length]; in getConsumedEnergyUws() local
298 energy[i] = result.energyUWs; in getConsumedEnergyUws()
303 return energy; in getConsumedEnergyUws()
DPowerStatsLayout.java176 public void setConsumedEnergy(long[] stats, int index, long energy) { in setConsumedEnergy() argument
177 stats[mDeviceEnergyConsumerPosition + index] = energy; in setConsumedEnergy()
DBatteryStatsImpl.java13189 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/
DAutoFixFilter.java282 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/
DPowerStatsService.java697 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/
Dcom_android_server_am_BatteryStatsService.cpp286 if (!(data.timestamp > LLONG_MAX || data.energy > LLONG_MAX)) { in getPowerStatsHalRailEnergyDataLocked()
295 data.energy); in getPowerStatsHalRailEnergyDataLocked()
Dcom_android_server_powerstats_PowerStatsService.cpp327 energyData[i].energy); in nativeReadEnergyMeters()
/frameworks/av/media/libaaudio/scripts/
Dsynthmark_tests.txt1 # Measure energy consumption with synthmark.
/frameworks/proto_logging/stats/enums/bluetooth/hci/
Denums.proto417 // Bluetooth low energy related meta event codes
/frameworks/proto_logging/stats/
Datoms.proto3518 // 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/
Dtelephony.proto2742 // Actual monitored rail energy consumed by modem (mAh)
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt72778 Lcom/android/internal/os/BatteryStatsImpl$BluetoothActivityInfoCache;->energy:J