Searched refs:encodeBool (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 1210 mContext.getContentResolver(), settingName, encodeBool(defaultValue))); in handleAlwaysOnNetworkRequest() 3666 encodeBool(accept), encodeBool(always), network)); in setAcceptUnvalidated() 3673 encodeBool(accept), encodeBool(always), network)); in setAcceptPartialConnectivity() 3713 NetworkAgent.CMD_SAVE_ACCEPT_UNVALIDATED, encodeBool(accept)); in handleSetAcceptUnvalidated() 3750 NetworkAgent.CMD_SAVE_ACCEPT_UNVALIDATED, encodeBool(accept)); in handleSetAcceptPartialConnectivity() 4317 final int connectivityInfo = encodeBool(hasConnectivity); in reportNetworkConnectivity() 5080 Settings.Global.putInt(cr, Settings.Global.AIRPLANE_MODE_ON, encodeBool(enable)); in setAirplaneMode() 7293 encodeBool(newBlocked)); in maybeNotifyNetworkBlocked() 7320 final int arg = encodeBool(newBlocked); in maybeNotifyNetworkBlockedForNewUidRules() 7613 private static int encodeBool(boolean b) { in encodeBool() method in ConnectivityService
|