Searched refs:newPolicy (Results 1 – 4 of 4) sorted by relevance
329 final NetworkPolicy policy = newPolicy(ssid); in setMeteredWifiNetwork()366 final NetworkPolicy policy = newPolicy(ssid); in getWifiPolicies()372 private NetworkPolicy newPolicy(String ssid) { in newPolicy() method in NetworkPolicyManagerShellCommand
1955 final int newPolicy = policy | POLICY_ALLOW_METERED_BACKGROUND; in readPolicyAL() local1957 Log.v(TAG, "new policy for " + uid + ": " + uidPoliciesToString(newPolicy)); in readPolicyAL()1958 setUidPolicyUncheckedUL(uid, newPolicy, false); in readPolicyAL()
697 const int32_t newPolicy = threadState->getStrictModePolicy(); in android_os_Parcel_enforceInterface() local698 if (oldPolicy != newPolicy) { in android_os_Parcel_enforceInterface()706 set_dalvik_blockguard_policy(env, newPolicy); in android_os_Parcel_enforceInterface()
1251 int newPolicy = oldPolicy | DETECT_NETWORK | PENALTY_DEATH_ON_NETWORK; in enableDeathOnNetwork() local1252 setThreadPolicyMask(newPolicy); in enableDeathOnNetwork()2163 private static void onBinderStrictModePolicyChange(int newPolicy) { in onBinderStrictModePolicyChange() argument2164 setBlockGuardPolicy(newPolicy); in onBinderStrictModePolicyChange()