/frameworks/base/core/jni/ |
D | com_android_internal_os_LongArrayMultiStateCounter.cpp | 31 battery::LongArrayMultiStateCounter *counter = in native_init() 32 new battery::LongArrayMultiStateCounter(stateCount, std::vector<uint64_t>(arrayLength)); in native_init() 37 battery::LongArrayMultiStateCounter *counter = in native_dispose() 38 reinterpret_cast<battery::LongArrayMultiStateCounter *>(nativePtr); in native_dispose() 47 battery::LongArrayMultiStateCounter *counter = in native_setEnabled() 48 reinterpret_cast<battery::LongArrayMultiStateCounter *>(nativePtr); in native_setEnabled() 53 battery::LongArrayMultiStateCounter *counter = in native_setState() 54 reinterpret_cast<battery::LongArrayMultiStateCounter *>(nativePtr); in native_setState() 59 battery::LongArrayMultiStateCounter *counterTarget = in native_copyStatesFrom() 60 reinterpret_cast<battery::LongArrayMultiStateCounter *>(nativePtrTarget); in native_copyStatesFrom() [all …]
|
D | com_android_internal_os_LongMultiStateCounter.cpp | 29 namespace battery { namespace 31 typedef battery::MultiStateCounter<int64_t> LongMultiStateCounter; 58 static inline battery::LongMultiStateCounter *asLongMultiStateCounter(const jlong nativePtr) { in asLongMultiStateCounter() 59 return reinterpret_cast<battery::LongMultiStateCounter *>(nativePtr); in asLongMultiStateCounter() 63 battery::LongMultiStateCounter *counter = new battery::LongMultiStateCounter(stateCount, 0); in native_init() 68 delete reinterpret_cast<battery::LongMultiStateCounter *>(nativePtr); in native_dispose() 123 battery::LongMultiStateCounter *counter = asLongMultiStateCounter(nativePtr); in native_writeToParcel() 129 for (battery::state_t state = 0; state < stateCount; state++) { in native_writeToParcel() 160 auto counter = std::make_unique<battery::LongMultiStateCounter>(stateCount, 0); in native_initFromParcel() 162 for (battery::state_t state = 0; state < stateCount; state++) { in native_initFromParcel()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/ |
D | AccessorizedBatteryDrawableTest.kt | 17 package com.android.systemui.battery 21 import com.android.systemui.battery.BatterySpecs.BATTERY_HEIGHT 22 import com.android.systemui.battery.BatterySpecs.BATTERY_HEIGHT_WITH_SHIELD 23 import com.android.systemui.battery.BatterySpecs.BATTERY_WIDTH 24 import com.android.systemui.battery.BatterySpecs.BATTERY_WIDTH_WITH_SHIELD
|
D | BatterySpecsTest.kt | 17 package com.android.systemui.battery 21 import com.android.systemui.battery.BatterySpecs.BATTERY_HEIGHT 22 import com.android.systemui.battery.BatterySpecs.BATTERY_HEIGHT_WITH_SHIELD 23 import com.android.systemui.battery.BatterySpecs.BATTERY_WIDTH 24 import com.android.systemui.battery.BatterySpecs.BATTERY_WIDTH_WITH_SHIELD
|
/frameworks/proto_logging/stats/express/catalog/ |
D | battery.cfg | 2 id: "battery.value_app_background_restricted" 4 description: "Number of times an app is put under background battery restriction" 12 id: "battery.value_app_added_to_power_allowlist" 22 id: "battery.value_app_removed_from_power_allowlist"
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/ |
D | AccessorizedBatteryDrawable.kt | 15 package com.android.systemui.battery in <lambda>() 32 import com.android.systemui.battery.BatterySpecs.BATTERY_HEIGHT in <lambda>() 33 import com.android.systemui.battery.BatterySpecs.BATTERY_HEIGHT_WITH_SHIELD in <lambda>() 34 import com.android.systemui.battery.BatterySpecs.BATTERY_WIDTH in <lambda>() 35 import com.android.systemui.battery.BatterySpecs.BATTERY_WIDTH_WITH_SHIELD in <lambda>() 36 import com.android.systemui.battery.BatterySpecs.SHIELD_LEFT_OFFSET in <lambda>() 37 import com.android.systemui.battery.BatterySpecs.SHIELD_STROKE in <lambda>() 38 import com.android.systemui.battery.BatterySpecs.SHIELD_TOP_OFFSET in <lambda>()
|
D | BatterySaverModule.kt | 1 package com.android.systemui.battery 9 import com.android.systemui.qs.tiles.impl.battery.domain.interactor.BatterySaverTileDataInteractor 10 import com.android.systemui.qs.tiles.impl.battery.domain.interactor.BatterySaverTileUserActionInter… 11 import com.android.systemui.qs.tiles.impl.battery.domain.model.BatterySaverTileModel 12 import com.android.systemui.qs.tiles.impl.battery.ui.BatterySaverTileMapper
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | flags.aconfig | 15 description: "Feature flag for streamlined battery stats" 30 description: "Feature flag for streamlined connectivity battery stats" 37 description: "Feature flag for streamlined misc (excluding CPU, Cell, Wifi, BT) battery stats"
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/impl/battery/ |
D | BatterySaverTileKosmos.kt | 17 package com.android.systemui.qs.tiles.impl.battery 19 import com.android.systemui.battery.BatterySaverModule
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/battery/doman/interactor/ |
D | BatterySaverTileUserActionInteractorTest.kt | 17 package com.android.systemui.qs.tiles.impl.battery.doman.interactor 28 import com.android.systemui.qs.tiles.impl.battery.domain.interactor.BatterySaverTileUserActionInter… 29 import com.android.systemui.qs.tiles.impl.battery.domain.model.BatterySaverTileModel
|
/frameworks/hardware/interfaces/stats/1.0/ |
D | IStats.hal | 52 * Report bucketed battery charge cycles. 54 * @param chargeCycles A struct with battery charge cycle buckets. 59 * Report battery health snapshot, aggregated. 77 * Report a shutdown event caused by low battery. 80 * the last recorded battery voltage prior to shutdown.
|
D | types.hal | 93 * Represents bucketed battery charge cycles. 96 * the battery has charged past equal-sized fractions of full capacity. 97 * For example, given the vector [12, 11, 10, 9, 8, 7, 6, 5], the battery 119 MIN_BATT_LEVEL, // Snapshot at min battery level (SoC) over 24hrs. 120 MAX_BATT_LEVEL, // Snapshot at max battery level (SoC) over 24hrs. 121 AVG_RESISTANCE, // Snapshot at average battery resistance over 24hrs. 164 /* The last recorded battery voltage prior to shutdown. */
|
/frameworks/base/core/proto/android/os/ |
D | batterystats.proto | 83 // Realtime duration on battery. 93 // Total time the screen was dozing while the device was running on battery. 97 // The estimated real battery capacity, which may be less than the declared 98 // battery capacity (for example, because of battery aging). This field is 102 // The minimum learned battery capacity in uAh. 104 // The maximum learned battery capacity in uAh. 107 optional Battery battery = 1; field 112 // Discharged battery percentage points since the stats were last reset 124 // Total amount of battery discharged in mAh. This will only be non-zero for 125 // devices that report battery discharge via a coulomb counter. [all …]
|
D | appbackgroundrestrictioninfo.proto | 76 // total battery usage within last 24h (1/10000th) 78 // background battery usage (1/10000th) 80 // FGS battery usage (1/10000th) 82 // Foreground battery usage (1/10000th) 84 // Cached battery usage (1/10000th)
|
/frameworks/base/core/proto/android/server/ |
D | powermanagerservice.proto | 87 // The current battery level percentage. 89 // The battery level percentage at the time the dream started. 124 // True if the battery level is currently considered low. 180 // The time (in the elapsed realtime timebase) at which the battery level will reach 0%. This 184 // Timestamp (in the elapsed realtime timebase) of last update to enhanced battery estimate 192 // The battery level drained by the dream. 276 // Minimum battery level to allow dreaming when powered. 279 // Minimum battery level to allow dreaming when not powered. 282 // If the battery level drops by this percentage and the user activity 309 // A set of battery conditions under which to make the screen stay on. [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/dagger/ |
D | KeyguardStatusBarViewModule.java | 20 import com.android.systemui.battery.BatteryMeterView; 42 return view.findViewById(R.id.battery); in getBatteryMeterView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/domain/interactor/ |
D | BatterySaverTileUserActionInteractor.kt | 17 package com.android.systemui.qs.tiles.impl.battery.domain.interactor 24 import com.android.systemui.qs.tiles.impl.battery.domain.model.BatterySaverTileModel
|
D | BatterySaverTileDataInteractor.kt | 17 package com.android.systemui.qs.tiles.impl.battery.domain.interactor in <lambda>() 23 import com.android.systemui.qs.tiles.impl.battery.domain.model.BatterySaverTileModel in <lambda>()
|
/frameworks/base/core/proto/android/service/ |
D | battery.proto | 18 package android.service.battery; 45 // True if the battery is present 55 // The type of battery installed, e.g. "Li-ion"
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/ |
D | BatteryPercentTextOnlyDrawable.kt | 17 package com.android.systemui.battery.unified in <lambda>() 27 import com.android.systemui.battery.unified.BatteryLayersDrawable.Companion.Metrics in <lambda>()
|
D | BatterySpaceSharingPercentTextDrawable.kt | 17 package com.android.systemui.battery.unified in <lambda>() 27 import com.android.systemui.battery.unified.BatteryLayersDrawable.Companion.Metrics in <lambda>()
|
/frameworks/base/packages/SystemUI/docs/ |
D | demo_mode.md | 29 | ```battery``` | | | Control the battery display 30 | | ```level``` | | Sets the battery level (0 … 113 Empty battery, and not charging (red exclamation point) 116 adb shell am broadcast -a com.android.systemui.demo -e command battery -e level 170 $ADB shell am broadcast -a com.android.systemui.demo -e command battery -e 172 $ADB shell am broadcast -a com.android.systemui.demo -e command battery -e
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/ui/ |
D | BatterySaverTileMapper.kt | 17 package com.android.systemui.qs.tiles.impl.battery.ui 23 import com.android.systemui.qs.tiles.impl.battery.domain.model.BatterySaverTileModel
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | BatteryStatusChip.kt | 26 import com.android.systemui.battery.BatteryMeterView 27 import com.android.systemui.battery.unified.BatteryColors
|
/frameworks/native/libs/battery/ |
D | LongArrayMultiStateCounter.h | 24 namespace battery {
|