Home
last modified time | relevance | path

Searched refs:ACTION_CHARGING (Results 1 – 14 of 14) sorted by relevance

/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DBatteryController.java148 filter.addAction(BatteryManager.ACTION_CHARGING); in startTracking()
221 } else if (BatteryManager.ACTION_CHARGING.equals(action)) { in onReceiveInternal()
H A DConnectivityController.java1027 filter.addAction(BatteryManager.ACTION_CHARGING); in startTracking()
1045 if (BatteryManager.ACTION_CHARGING.equals(action)) { in onReceive()
H A DQuotaController.java1850 filter.addAction(BatteryManager.ACTION_CHARGING);
1869 if (BatteryManager.ACTION_CHARGING.equals(action)) {
/aosp12/frameworks/base/core/java/android/os/
H A DBatteryManager.java204 public static final String ACTION_CHARGING = "android.os.action.CHARGING"; field in BatteryManager
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDeviceStateMonitor.java233 case BatteryManager.ACTION_CHARGING:
291 filter.addAction(BatteryManager.ACTION_CHARGING); in DeviceStateMonitor()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DConnectivityControllerTest.java163 filter.hasAction(BatteryManager.ACTION_CHARGING) in testUsable()
192 chargingReceiver.onReceive(mContext, new Intent(BatteryManager.ACTION_CHARGING)); in testUsable()
226 chargingReceiver.onReceive(mContext, new Intent(BatteryManager.ACTION_CHARGING)); in testUsable()
H A DQuotaControllerTest.java241 filter.hasAction(BatteryManager.ACTION_CHARGING) in setUp()
283 Intent intent = new Intent(BatteryManager.ACTION_CHARGING); in setCharging()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DDeviceStateMonitorTest.java278 Intent intent = new Intent(BatteryManager.ACTION_CHARGING); in testCharging()
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
H A DAppStandbyController.java453 IntentFilter deviceStates = new IntentFilter(BatteryManager.ACTION_CHARGING); in AppStandbyController()
2312 case BatteryManager.ACTION_CHARGING: in onReceive()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
H A DAlarmManagerServiceTest.java459 argThat((filter) -> filter.hasAction(BatteryManager.ACTION_CHARGING) in setUp()
1055 new Intent(parole ? BatteryManager.ACTION_CHARGING in assertAndHandleParoleChanged()
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
H A DAlarmManagerService.java4424 filter.addAction(BatteryManager.ACTION_CHARGING); in ChargingReceiver()
4433 if (BatteryManager.ACTION_CHARGING.equals(action)) { in onReceive()
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java446 action = mCharging ? BatteryManager.ACTION_CHARGING in handleMessage()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt30687 field public static final String ACTION_CHARGING = "android.os.action.CHARGING";