Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DEntitlementManager.java512 handleStartProvisioningIfNeeded(msg.arg1, toBool(msg.arg2)); in handleMessage()
518 handleNotifyUpstream(toBool(msg.arg1)); in handleMessage()
526 toBool(msg.arg2)); in handleMessage()
535 private static boolean toBool(int encodedBoolean) { in toBool() method in EntitlementManager
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1103 final boolean enable = toBool(Settings.Global.getInt( in handleAlwaysOnNetworkRequest()
2687 final boolean visible = toBool(msg.arg1); in maybeHandleNetworkMonitorMessage()
3800 handleSetAcceptUnvalidated(network, toBool(msg.arg1), toBool(msg.arg2)); in handleMessage()
3805 handleSetAcceptPartialConnectivity(network, toBool(msg.arg1), in handleMessage()
3806 toBool(msg.arg2)); in handleMessage()
3839 handleReportNetworkConnectivity((Network) msg.obj, msg.arg1, toBool(msg.arg2)); in handleMessage()
3853 handleRestrictBackgroundChanged(toBool(msg.arg1)); in handleMessage()
3975 boolean tetherSupported = toBool(Settings.Global.getInt(mContext.getContentResolver(), in isTetheringSupported()
7010 private static boolean toBool(int encodedBoolean) { in toBool() method in ConnectivityService