Home
last modified time | relevance | path

Searched refs:mPolicies (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DDevicePolicyState.java37 private final Map<UserHandle, Map<PolicyKey, PolicyState<?>>> mPolicies; field in DevicePolicyState
43 mPolicies = Objects.requireNonNull(policies); in DevicePolicyState()
47 mPolicies = new HashMap<>(); in DevicePolicyState()
51 mPolicies.put(userHandle, new HashMap<>()); in DevicePolicyState()
58 mPolicies.get(userHandle).put(policyKey, policyState); in DevicePolicyState()
72 return mPolicies; in getPoliciesForAllUsers()
81 return mPolicies.containsKey(user) ? mPolicies.get(user) : new HashMap<>(); in getPoliciesForUser()
86 return "DevicePolicyState { mPolicies= " + mPolicies + " }"; in toString()
96 dest.writeInt(mPolicies.size()); in writeToParcel()
97 for (UserHandle user : mPolicies.keySet()) { in writeToParcel()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DCpuScalingPolicies.java34 private final int[] mPolicies; field in CpuScalingPolicies
42 mPolicies = new int[cpusByPolicy.size()]; in CpuScalingPolicies()
43 for (int i = 0; i < mPolicies.length; i++) { in CpuScalingPolicies()
44 mPolicies[i] = cpusByPolicy.keyAt(i); in CpuScalingPolicies()
47 Arrays.sort(mPolicies); in CpuScalingPolicies()
61 return mPolicies; in getPolicies()
91 for (int policy : mPolicies) { in toString()
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/filters/
DSubclassFilter.kt31 private val mPolicies: MutableMap<String, FilterPolicyWithReason> = mutableMapOf() in <lambda>() constant
37 mPolicies[superClassName.toJvmClassName()] = policy in <lambda>()
54 mPolicies[cn.superName]?.let { policy -> in <lambda>()
58 mPolicies[iface]?.let { policy -> in <lambda>()
DInMemoryOutputFilter.kt30 private val mPolicies: MutableMap<String, FilterPolicyWithReason> = mutableMapOf() constant
48 return mPolicies[getClassKey(className)] ?: super.getPolicyForClass(className) in getPolicyForClass()
75 mPolicies[getClassKey(className)] = policy in setPolicyForClass()
79 return mPolicies[getFieldKey(className, fieldName)] in getPolicyForField()
85 mPolicies[getFieldKey(className, fieldName)] = policy in setPolicyForField()
93 return mPolicies[getMethodKey(className, methodName, descriptor)] in getPolicyForMethod()
104 mPolicies[getMethodKey(className, methodName, descriptor)] = policy in setPolicyForMethod()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DNetworkPolicyEditor.java52 private ArrayList<NetworkPolicy> mPolicies = Lists.newArrayList(); field in NetworkPolicyEditor
62 mPolicies.clear(); in read()
74 mPolicies.add(policy); in read()
83 final NetworkPolicy[] policies = mPolicies.toArray(new NetworkPolicy[mPolicies.size()]); in writeAsync()
106 mPolicies.add(policy); in getOrCreatePolicy()
112 for (NetworkPolicy policy : mPolicies) { in getPolicy()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSession2Record.java55 private int mPolicies; field in MediaSession2Record
77 mPolicies = policies; in MediaSession2Record()
185 return mPolicies; in getSessionPolicies()
192 mPolicies = policies; in setSessionPolicies()
DMediaSessionRecord.java232 private int mPolicies; field in MediaSessionRecord
312 mPolicies = policies; in MediaSessionRecord()
719 return mPolicies; in getSessionPolicies()
726 mPolicies = policies; in setSessionPolicies()
1229 if ((mPolicies & MediaSessionPolicyProvider.SESSION_POLICY_IGNORE_BUTTON_RECEIVER)
1269 if ((mPolicies & MediaSessionPolicyProvider.SESSION_POLICY_IGNORE_BUTTON_RECEIVER)