Home
last modified time | relevance | path

Searched refs:getPolicyType (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPackagePolicyTest.java69 assertEquals(policyType, packagePolicy.getPolicyType()); in testParceling()
78 assertEquals(PACKAGE_POLICY_BLOCKLIST, policy.getPolicyType()); in testEmptyBlocklistCreation()
86 assertEquals(PACKAGE_POLICY_ALLOWLIST, policy.getPolicyType()); in testEmptyAllowlistCreation()
94 assertEquals(PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM, policy.getPolicyType()); in testEmptyAllowlistAndSystemCreation()
104 assertEquals(PACKAGE_POLICY_BLOCKLIST, policy.getPolicyType()); in testSuppliedBlocklistCreation()
115 assertEquals(PACKAGE_POLICY_ALLOWLIST, policy.getPolicyType()); in testSuppliedAllowlistCreation()
126 assertEquals(PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM, policy.getPolicyType()); in testSuppliedAllowlistAndSystemCreation()
/frameworks/base/core/java/android/app/admin/
DWifiSsidPolicy.java112 public @WifiSsidPolicyType int getPolicyType() { in getPolicyType() method in WifiSsidPolicy
DManagedSubscriptionsPolicy.java99 public int getPolicyType() { in getPolicyType() method in ManagedSubscriptionsPolicy
DPackagePolicy.java125 public @PackagePolicyType int getPolicyType() { in getPolicyType() method in PackagePolicy
DSystemUpdatePolicy.java382 public int getPolicyType() { in getPolicyType() method in SystemUpdatePolicy
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOwnersTest.java97 assertThat(owners.getSystemUpdatePolicy().getPolicyType()).isEqualTo(TYPE_INSTALL_WINDOWED); in loadDeviceOwner()
DDevicePolicyManagerTest.java8420 assertThat(dpm.getWifiSsidPolicy().getPolicyType()).isEqualTo( in testSetSsidAllowlist_asDeviceOwner()
8440 assertThat(dpm.getWifiSsidPolicy().getPolicyType()).isEqualTo( in testSetSsidAllowlist_asPoOfOrgOwnedDevice()
8472 assertThat(dpm.getWifiSsidPolicy().getPolicyType()).isEqualTo( in testSetSsidDenylist_asDeviceOwner()
8492 assertThat(dpm.getWifiSsidPolicy().getPolicyType()).isEqualTo( in testSetSsidDenylist_asPoOfOrgOwnedDevice()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DActiveAdmin.java664 if (mWifiSsidPolicy.getPolicyType() == WIFI_SSID_POLICY_TYPE_ALLOWLIST) { in writeToXml()
666 } else if (mWifiSsidPolicy.getPolicyType() == WIFI_SSID_POLICY_TYPE_DENYLIST) { in writeToXml()
705 out.attributeInt(null, ATTR_PACKAGE_POLICY_MODE, packagePolicy.getPolicyType()); in writePackagePolicy()
1215 pw.println(policy.getPolicyType()); in dumpPackagePolicy()
1458 if (mWifiSsidPolicy.getPolicyType() == WIFI_SSID_POLICY_TYPE_ALLOWLIST) { in dump()
DDevicePolicyManagerService.java3496 int policyType = getManagedSubscriptionsPolicy().getPolicyType();
3685 && getManagedSubscriptionsPolicy().getPolicyType()
11557 && getManagedSubscriptionsPolicy().getPolicyType()
14325 if (admin.mManagedProfileCallerIdAccess.getPolicyType() in getCrossProfileCallerIdDisabled()
14330 return admin.mManagedProfileCallerIdAccess.getPolicyType() in getCrossProfileCallerIdDisabled()
14352 return admin.mManagedProfileCallerIdAccess.getPolicyType() in getCrossProfileCallerIdDisabledForUser()
14505 return admin.mManagedProfileContactsAccess.getPolicyType() in getCrossProfileContactsSearchDisabled()
14526 if (admin.mManagedProfileContactsAccess.getPolicyType() in getCrossProfileContactsSearchDisabledForUser()
14530 return admin.mManagedProfileContactsAccess.getPolicyType() in getCrossProfileContactsSearchDisabledForUser()
16472 .setInt(policy != null ? policy.getPolicyType() : 0) in setSystemUpdatePolicy()
[all …]
/frameworks/base/core/java/android/service/credentials/
DCredentialProviderInfoFactory.java571 return mPp.getPolicyType() == PackagePolicy.PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM; in isPackageAllowed()
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java282 && devicePolicyManager.getManagedSubscriptionsPolicy().getPolicyType() in maybeShowUserConsentMiniResolver()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DStandardWifiEntry.java1011 int policyType = policy.getPolicyType(); in updateAdminRestrictions()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt8509 method public int getPolicyType();
8529 method public int getPolicyType();
8670 method public int getPolicyType();
8709 method public int getPolicyType();