Home
last modified time | relevance | path

Searched defs:batteryLevel (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/aosp_15_r20/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DRemoteDevicesTest.java113 int batteryLevel = 10; in testUpdateBatteryLevel_normalSequence() local
129 mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(), batteryLevel); in testUpdateBatteryLevel_normalSequence() local
146 mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(), batteryLevel); in testUpdateBatteryLevel_normalSequence() local
153 int batteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in testUpdateBatteryLevel_errorNegativeValue() local
170 int batteryLevel = 101; in testUpdateBatteryLevel_errorTooLargeValue() local
199 int batteryLevel = 10; in testResetBatteryLevel_testResetAfterUpdate() local
215 mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(), batteryLevel); in testResetBatteryLevel_testResetAfterUpdate() local
250 int batteryLevel = 10; in testResetBatteryLevelOnHeadsetStateChange() local
266 mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(), batteryLevel); in testResetBatteryLevelOnHeadsetStateChange() local
300 int batteryLevel = 10; in testOnHeadsetStateChangeWithBatteryService_NotResetBatteryLevel() local
[all …]
/aosp_15_r20/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DBluetoothDeviceLayerDrawable.java54 int batteryLevel) { in createLayerDrawable()
68 int batteryLevel, float iconScale) { in createLayerDrawable()
91 public void setConstantState(Context context, int resId, int batteryLevel, float iconScale) { in setConstantState()
109 public BatteryMeterDrawable(Context context, int frameColor, int batteryLevel) { in BatteryMeterDrawable()
141 int batteryLevel; field in BluetoothDeviceLayerDrawable.BluetoothDeviceLayerDrawableState
145 int batteryLevel, float iconScale) { in BluetoothDeviceLayerDrawableState()
/aosp_15_r20/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
H A DBatteryStatus.java202 var batteryLevel = getBatteryLevel(level, scale); in isCharged() local
273 public static boolean isLowBattery(int batteryLevel) { in isLowBattery()
285 int batteryLevel = getBatteryLevel(batteryChangedIntent); in isSevereLowBattery() local
296 public static boolean isSevereLowBattery(int batteryLevel) { in isSevereLowBattery()
318 public static boolean isExtremeLowBattery(int batteryLevel) { in isExtremeLowBattery()
/aosp_15_r20/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DDeviceDescriptor.java57 String batteryLevel) { in DeviceDescriptor()
64 String batteryLevel, String deviceClass, String macAddress, String simState, in DeviceDescriptor()
97 String batteryLevel, in DeviceDescriptor()
135 String batteryLevel, in DeviceDescriptor()
176 String batteryLevel, in DeviceDescriptor()
/aosp_15_r20/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/stubs/com/android/systemui/power/
DBatteryStateSnapshot.java9 private final int batteryLevel = 0; field in BatteryStateSnapshot
28 …public BatteryStateSnapshot(int batteryLevel, boolean isPowerSaver, boolean plugged, int bucket, i… in BatteryStateSnapshot()
91 …public BatteryStateSnapshot(int batteryLevel, boolean isPowerSaver, boolean plugged, int bucket, i… in BatteryStateSnapshot()
148 …public final com.android.systemui.power.BatteryStateSnapshot copy(int batteryLevel, boolean isPowe… in copy()
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/
DBatteryEventEntity.java44 public final int batteryLevel; field in BatteryEventEntity
47 final long timestamp, final int batteryEventType, final int batteryLevel) { in BatteryEventEntity()
122 public Builder setBatteryLevel(final int batteryLevel) { in setBatteryLevel()
/aosp_15_r20/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DRemoteDevices.java692 void setBatteryLevelFromHfp(int batteryLevel) { in setBatteryLevelFromHfp()
701 void setBatteryLevelFromBatteryService(int batteryLevel) { in setBatteryLevelFromBatteryService()
849 void updateBatteryLevel(BluetoothDevice device, int batteryLevel, boolean isBas) { in updateBatteryLevel()
914 private void sendBatteryLevelChangedBroadcast(BluetoothDevice device, int batteryLevel) { in sendBatteryLevelChangedBroadcast()
1804 int batteryLevel = (Integer) args[1]; in getBatteryLevelFromXEventVsc() local
1843 public void handleAgBatteryLevelChanged(BluetoothDevice device, int batteryLevel) { in handleAgBatteryLevelChanged()
1848 void onAgBatteryLevelChanged(BluetoothDevice device, int batteryLevel) { in onAgBatteryLevelChanged()
/aosp_15_r20/packages/apps/Car/SystemUI/src/com/android/systemui/car/bluetooth/
DCarBatteryController.java122 int batteryLevel = intent.getIntExtra(BluetoothDevice.EXTRA_BATTERY_LEVEL, in onReceive() local
154 private void updateBatteryLevel(int batteryLevel) { in updateBatteryLevel()
190 int batteryLevel = device.getBatteryLevel(); in updateBatteryIcon() local
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
H A DWirelessChargingAnimation.java62 int transmittingBatteryLevel, int batteryLevel, Callback callback, boolean isDozing, in WirelessChargingAnimation()
76 @Nullable Looper looper, int transmittingBatteryLevel, int batteryLevel, in makeWirelessChargingAnimation()
130 int transmittingBatteryLevel, int batteryLevel, Callback callback, in WirelessChargingView()
H A DWirelessChargingLayout.java55 WirelessChargingLayout(Context context, int transmittingBatteryLevel, int batteryLevel, in WirelessChargingLayout()
76 int batteryLevel, boolean isDozing, RippleShape rippleShape) { in init()
/aosp_15_r20/frameworks/base/core/java/android/hardware/display/
H A DBrightnessChangeEvent.java62 public final float batteryLevel; field in BrightnessChangeEvent
129 float batteryLevel, float powerBrightnessFactor, boolean nightMode, in BrightnessChangeEvent()
327 public Builder setBatteryLevel(float batteryLevel) { in setBatteryLevel()
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHeaderPreferenceController.java106 final int batteryLevel = Utils.getBatteryLevel(batteryBroadcast); in quickUpdateHeaderPreference() local
113 private CharSequence formatBatteryPercentageText(int batteryLevel) { in formatBatteryPercentageText()
DBatterySettingsFeatureProvider.java69 int batteryLevel, in getChargingOptimizationRemainingLabel()
78 int batteryLevel, in getChargingOptimizationChargeLabel()
DBatterySettingsFeatureProviderImpl.java87 int batteryLevel, in getChargingOptimizationRemainingLabel()
98 int batteryLevel, in getChargingOptimizationChargeLabel()
/aosp_15_r20/tools/loganalysis/src/com/android/loganalysis/item/
H A DBatteryDischargeItem.java58 public BatteryDischargeInfoItem(Calendar clockTime, long elapsedTime, int batteryLevel) { in BatteryDischargeInfoItem()
95 public void addBatteryDischargeInfo(Calendar clockTime, long elapsedTime, int batteryLevel) { in addBatteryDischargeInfo()
/aosp_15_r20/tools/loganalysis/src/com/android/loganalysis/parser/
H A DBatteryStatsSummaryInfoParser.java88 final int batteryLevel = Integer.parseInt(dischargeMatcher.group(6)); in parse() local
103 (elapsedTime - previousDischargeElapsedTime), batteryLevel); in parse() local
/aosp_15_r20/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDeviceBatteryLevelChecker.java175 Integer batteryLevel = checkBatteryLevel(mTestDevice); in runTest() local
244 Integer batteryLevel = checkBatteryLevel(mTestDevice); in runBatteryCharging() local
/aosp_15_r20/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/
DDefaultProxy.java105 BatteryResult batteryLevel = new BatteryResult(battery); in getLastKnownBatteryLevel() local
260 BatteryResult batteryLevel = new BatteryResult(battery); in onNotification() local
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DConvertUtils.java103 final int batteryLevel, in convertBatteryEntryToContentValues()
313 long timestamp, BatteryEventType type, int batteryLevel) { in convertToBatteryEvent()
631 final int batteryLevel, in constructBatteryInformation()
DBatteryHistEntry.java143 int batteryLevel) { in BatteryHistEntry()
360 final double batteryLevel = in interpolate() local
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/bluetooth/
DAdvancedBluetoothDetailsHeaderController.java379 Supplier<Integer> batteryLevel = in updateSubLayout() local
454 final int batteryLevel = preloadedBatteryLevel.get(); in updateSubLayoutUi() local
529 int batteryLevel) { in showBatteryPredictionIfNecessary()
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/
H A DBatteryFillDrawable.kt71 var batteryLevel = 0 in <lambda>() variable in com.android.systemui.battery.unified.BatteryFillDrawable
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntryTest.java347 int batteryLevel) { in assertBatteryHistEntry()
387 int batteryLevel) { in createBatteryHistEntry()
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryInfoTest.java938 ChargingType chargingType, ChargingSpeed chargingSpeed, int batteryLevel) { in createIntentForGetBatteryInfoTest()
950 int batteryLevel, in createIntentForGetBatteryInfoTest()
1034 private BatteryStats.HistoryItem makeHistoryIterm(long time, int batteryLevel) { in makeHistoryIterm()
/aosp_15_r20/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDevice.java768 final int batteryLevel = getMinBatteryLevelWithMemberDevices(); in getValidMinBatteryLevelWithMemberDevices() local
1633 private boolean isBatteryLow(int batteryLevel, int metadataKey) { in isBatteryLow()
1777 final int batteryLevel = getMinBatteryLevelWithMemberDevices(); in getCarConnectionSummary() local

12345678910>>...13