OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pluggedType
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/services/java/com/android/server/wifi/
WifiController.java
270
private boolean shouldWifiStayAwake(int
pluggedType
) {
275
(
pluggedType
!= 0)) {
280
return shouldDeviceStayAwake(
pluggedType
);
285
* Determine whether the bit value corresponding to {@code
pluggedType
} is set in
289
* @param
pluggedType
the type of plug (USB, AC, or none) for which the check is
291
* @return {@code true} if {@code
pluggedType
} indicates that the device is
294
private boolean shouldDeviceStayAwake(int
pluggedType
) {
295
return (mStayAwakeConditions &
pluggedType
) != 0;
348
int
pluggedType
= msg.arg1;
349
if (DBG) Slog.d(TAG, "battery changed
pluggedType
: " + pluggedType)
[
all
...]
WifiService.java
[
all
...]
Completed in 1465 milliseconds