Home
last modified time | relevance | path

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

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java624 final Intent batteryIntent = mContext.registerReceiver(null, BATTERY_CHANGED_FILTER); in isDevicePluggedIn() local
625 return batteryIntent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1) > 0; in isDevicePluggedIn()