Home
last modified time | relevance | path

Searched refs:mPolicyType (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DPackagePolicy.java88 private @PackagePolicyType int mPolicyType; field in PackagePolicy
113 mPolicyType = policyType; in PackagePolicy()
118 mPolicyType = in.readInt(); in PackagePolicy()
126 return mPolicyType; in getPolicyType()
152 if (mPolicyType == PACKAGE_POLICY_BLOCKLIST) { in isPackageAllowed()
156 || (mPolicyType == PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM in isPackageAllowed()
178 dest.writeInt(mPolicyType); in writeToParcel()
191 return mPolicyType == that.mPolicyType && mPackageNames.equals(that.mPackageNames); in equals()
196 return Objects.hash(mPolicyType, mPackageNames); in hashCode()
DManagedSubscriptionsPolicy.java65 private final int mPolicyType; field in ManagedSubscriptionsPolicy
74 mPolicyType = policyType; in ManagedSubscriptionsPolicy()
100 return mPolicyType; in getPolicyType()
105 return TextUtils.formatSimple("ManagedSubscriptionsPolicy (type: %d)", mPolicyType); in toString()
115 dest.writeInt(mPolicyType); in writeToParcel()
127 return mPolicyType == that.mPolicyType; in equals()
132 return Objects.hash(mPolicyType); in hashCode()
154 out.attributeInt(null, KEY_POLICY_TYPE, mPolicyType); in saveToXml()
DWifiSsidPolicy.java74 private @WifiSsidPolicyType int mPolicyType; field in WifiSsidPolicy
92 mPolicyType = policyType; in WifiSsidPolicy()
97 mPolicyType = in.readInt(); in WifiSsidPolicy()
113 return mPolicyType; in getPolicyType()
134 dest.writeInt(mPolicyType); in writeToParcel()
151 return mPolicyType == that.mPolicyType && Objects.equals(mSsids, that.mSsids); in equals()
159 return Objects.hash(mPolicyType, mSsids); in hashCode()
DSystemUpdatePolicy.java305 private int mPolicyType; field in SystemUpdatePolicy
313 mPolicyType = TYPE_UNKNOWN; in SystemUpdatePolicy()
325 policy.mPolicyType = TYPE_INSTALL_AUTOMATIC; in createAutomaticInstallPolicy()
355 policy.mPolicyType = TYPE_INSTALL_WINDOWED; in createWindowedInstallPolicy()
372 policy.mPolicyType = TYPE_POSTPONE; in createPostponeInstallPolicy()
383 return mPolicyType; in getPolicyType()
393 if (mPolicyType == TYPE_INSTALL_WINDOWED) { in getInstallWindowStart()
407 if (mPolicyType == TYPE_INSTALL_WINDOWED) { in getInstallWindowEnd()
437 if (mPolicyType == TYPE_INSTALL_AUTOMATIC || mPolicyType == TYPE_POSTPONE) { in validateType()
439 } else if (mPolicyType == TYPE_INSTALL_WINDOWED) { in validateType()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt3552 Landroid/app/admin/SystemUpdatePolicy;->mPolicyType:I