Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/companion/virtual/
DVirtualDeviceParams.java276 @NonNull private final SparseIntArray mDevicePolicies; field in VirtualDeviceParams
309 mDevicePolicies = Objects.requireNonNull(devicePolicies); in VirtualDeviceParams()
327 mDevicePolicies = parcel.readSparseIntArray(); in VirtualDeviceParams()
499 return mDevicePolicies.get(policyType, DEVICE_POLICY_DEFAULT); in getDevicePolicy()
507 return mDevicePolicies; in getDevicePolicies()
561 dest.writeSparseIntArray(mDevicePolicies); in writeToParcel()
580 final int devicePoliciesCount = mDevicePolicies.size(); in equals()
581 if (devicePoliciesCount != that.mDevicePolicies.size()) { in equals()
585 if (mDevicePolicies.keyAt(i) != that.mDevicePolicies.keyAt(i)) { in equals()
588 if (mDevicePolicies.valueAt(i) != that.mDevicePolicies.valueAt(i)) { in equals()
[all …]
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceImpl.java183 private final SparseIntArray mDevicePolicies; field in VirtualDeviceImpl
314 mDevicePolicies = params.getDevicePolicies();
426 return mDevicePolicies.get(policyType, DEVICE_POLICY_DEFAULT);
666 mDevicePolicies.put(policyType, devicePolicy);
675 mDevicePolicies.put(policyType, devicePolicy);
686 mDevicePolicies.put(policyType, devicePolicy);
1117 fout.println(" mDevicePolicies: " + mDevicePolicies);