OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:plugType
(Results
1 - 12
of
12
) sorted by null
/frameworks/base/core/java/android/os/
BatteryManager.java
346
* Return true if the
plugType
given is wired
347
* @param
plugType
{@link #BATTERY_PLUGGED_AC}, {@link #BATTERY_PLUGGED_USB},
350
* @return true if
plugType
is wired
353
public static boolean isPlugWired(int
plugType
) {
354
return
plugType
== BATTERY_PLUGGED_USB ||
plugType
== BATTERY_PLUGGED_AC;
/frameworks/base/services/core/java/com/android/server/power/
WirelessChargerDetector.java
212
* @param
plugType
The current plug type.
216
public boolean update(boolean isPowered, int
plugType
) {
220
if (isPowered &&
plugType
== BatteryManager.BATTERY_PLUGGED_WIRELESS) {
231
if (
plugType
!= 0 &&
plugType
!= BatteryManager.BATTERY_PLUGGED_WIRELESS) {
/frameworks/base/core/java/com/android/internal/app/
IBatteryStats.aidl
132
void setBatteryState(int status, int health, int
plugType
, int level, int temp, int volt,
/frameworks/base/services/core/java/com/android/server/am/
BatteryStatsService.java
[
all
...]
/frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java
[
all
...]
/external/robolectric/v3/runtime/
android-all-5.0.0_r2-robolectric-1.jar
android-all-5.1.1_r9-robolectric-1.jar
android-all-4.4_r1-robolectric-1.jar
/prebuilts/misc/common/robolectric/android-all/
android-all-5.0.0_r2-robolectric-1.jar
android-all-5.1.1_r9-robolectric-1.jar
android-all-6.0.0_r1-robolectric-0.jar
android-all-4.4_r1-robolectric-1.jar
Completed in 135 milliseconds