Home
last modified time | relevance | path

Searched refs:battery (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetAgIndicatorEnableState.java23 public boolean battery; field in HeadsetAgIndicatorEnableState
30 battery = newBattery; in HeadsetAgIndicatorEnableState()
42 && battery == other.battery; in equals()
51 if (battery) result += 8; in hashCode()
68 .append(battery) in buildString()
DHeadsetNativeInterface.java249 boolean service, boolean roam, boolean signal, boolean battery, byte[] address) { in onAtBia() argument
251 new HeadsetAgIndicatorEnableState(service, roam, signal, battery); in onAtBia()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbattery_manager.rs117 match self.batteries.iter_mut().find(|battery| battery.variant == new_battery.variant) { in add_or_update_battery()
118 Some(battery) => *battery = new_battery, in add_or_update_battery()
/packages/apps/Settings/src/com/android/settings/fuelgauge/protos/
Dfuelgauge_usage_state.proto7 // Stores device battery relative information.
15 // Records device battery relative information.
28 // Records the battery usage relative information.
/packages/modules/AdServices/shared/libraries/device-side/proto/
Djob_policy.proto52 // Set the battery constraint for the job.
56 // Unknown battery type.
59 // The job doesn't have any battery condition.
62 // The job requires the battery to be charged.
65 // The job requires the battery to be not low.
/packages/apps/Settings/protos/
Dfuelgauge_log.proto34 // Store history of battery usage periodic job
40 // The action to record battery usage job event
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/battery/
DBatteryOptimizationModeAppListPageProviderTest.kt35 import com.android.settings.spa.app.battery.BatteryOptimizationModeAppList
36 import com.android.settings.spa.app.battery.BatteryOptimizationModeAppListModel
37 import com.android.settings.spa.app.battery.BatteryOptimizationModeAppListPageProvider
/packages/modules/Bluetooth/system/include/hardware/
Dbluetooth_headset_callbacks.h207 virtual void AtBiaCallback(bool service, bool roam, bool signal, bool battery,
/packages/modules/Wifi/flags/
Dwifi_flags.aconfig29 …description: "Control the API that allows setting / reading the NetworkProviderInfo's battery char…
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiNetworkDetailsFragment.java457 Preference battery = getPreferenceScreen().findPreference(KEY_HOTSPOT_DEVICE_BATTERY); in updateBattery() local
458 battery.setSummary((isChanging) in updateBattery()
/packages/modules/Bluetooth/system/gd/rust/topshim/hfp/
Dhfp_shim.cc276 …void AtBiaCallback(bool service, bool roam, bool signal, bool battery, RawAddress* bd_addr) overri… in AtBiaCallback() argument
277 log::warn("AT+BIA=,,{},{},{},{},from addr {}", service, signal, roam, battery, *bd_addr); in AtBiaCallback()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DREADME.txt30 state information (screen on/off, battery state, sleep policy) go as input into
/packages/apps/Settings/src/com/android/settings/spa/
DSettingsSpaEnvironment.kt30 import com.android.settings.spa.app.battery.BatteryOptimizationModeAppListPageProvider
/packages/apps/Settings/src/com/android/settings/spa/app/battery/
DBatteryOptimizationModeAppListPageProvider.kt17 package com.android.settings.spa.app.battery
/packages/apps/SystemUIGo/src/com/android/systemui/go/
DSystemUIGoModule.java28 import com.android.systemui.battery.BatterySaverModule;
/packages/modules/Bluetooth/pandora/interfaces/pandora_experimental/
Dhfp.proto16 // Change the battery level to the one requested
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplicationsUtil.kt62 import com.android.settings.spa.app.battery.BatteryOptimizationModeAppListPageProvider
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dcallbacks.rs1642 for battery in battery_set.batteries { in on_battery_info_updated()
1643 print_info!(" {}%, variant: '{}'", battery.percentage, battery.variant); in on_battery_info_updated()
Dcommand_handler.rs729 for battery in set.batteries { in cmd_battery()
730 println!(" {}%, variant: '{}'", battery.percentage, battery.variant); in cmd_battery()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hfp.cpp402 void AtBiaCallback(bool service, bool roam, bool signal, bool battery, in AtBiaCallback() argument
412 signal, battery, addr.get()); in AtBiaCallback()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_hf.cc690 bool battery = !is_nth_bit_enabled(bia_mask_out, BTA_AG_IND_BATTCHG); in btif_hf_upstreams_evt() local
691 bt_hf_callbacks->AtBiaCallback(service, roam, signal, battery, in btif_hf_upstreams_evt()
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto2306 // Usage data for the wifi radio while device is running on battery.
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec6918 * Prefer executing in a way that minimizes battery drain.
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/classifier/
Dprecomputed_test_app_list.csv2917 ch.smalltech.battery.free 10184
/packages/modules/AdServices/adservices/apk/assets/classifier/
Dprecomputed_app_list.csv2917 ch.smalltech.battery.free 10184

12