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/opt/net/wifi/service/java/com/android/server/wifi/
WifiController.java
279
private boolean shouldWifiStayAwake(int
pluggedType
) {
284
(
pluggedType
!= 0)) {
289
return shouldDeviceStayAwake(
pluggedType
);
294
* Determine whether the bit value corresponding to {@code
pluggedType
} is set in
298
* @param
pluggedType
the type of plug (USB, AC, or none) for which the check is
300
* @return {@code true} if {@code
pluggedType
} indicates that the device is
303
private boolean shouldDeviceStayAwake(int
pluggedType
) {
304
return (mStayAwakeConditions &
pluggedType
) != 0;
357
int
pluggedType
= msg.arg1;
358
if (DBG) Slog.d(TAG, "battery changed
pluggedType
: " + pluggedType)
[
all
...]
WifiServiceImpl.java
[
all
...]
Completed in 477 milliseconds