Home
last modified time | relevance | path

Searched refs:packageHasActiveAdmins (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DPowerWhitelistBackend.java96 if (devicePolicyManager.packageHasActiveAdmins(pkg)) { in isWhitelisted()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/
DPowerWhitelistBackendTest.java133 doReturn(true).when(mDevicePolicyManager).packageHasActiveAdmins(PACKAGE_ONE); in isWhitelisted_shouldWhitelistActiveDeviceAdminApp()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java1880 public boolean packageHasActiveAdmins(String packageName) { in packageHasActiveAdmins() method in DevicePolicyManager
1881 return packageHasActiveAdmins(packageName, myUserId()); in packageHasActiveAdmins()
1889 public boolean packageHasActiveAdmins(String packageName, int userId) { in packageHasActiveAdmins() method in DevicePolicyManager
1892 return mService.packageHasActiveAdmins(packageName, userId); in packageHasActiveAdmins()
DIDevicePolicyManager.aidl125 boolean packageHasActiveAdmins(String packageName, int userHandle); in packageHasActiveAdmins() method
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java3800 public boolean packageHasActiveAdmins(String packageName, int userHandle) { in packageHasActiveAdmins() method in DevicePolicyManagerService
11816 if (!packageHasActiveAdmins(packageName, userId)) { in removePackageIfRequired()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt309 Landroid/app/admin/DevicePolicyManager;->packageHasActiveAdmins(Ljava/lang/String;I)Z
321 Landroid/app/admin/IDevicePolicyManager;->packageHasActiveAdmins(Ljava/lang/String;I)Z
Dhiddenapi-public-dex.txt1589 Landroid/app/admin/DevicePolicyManager;->packageHasActiveAdmins(Ljava/lang/String;)Z
Dboot-image-profile.txt15704 HSPLandroid/app/admin/IDevicePolicyManager;->packageHasActiveAdmins(Ljava/lang/String;I)Z
/frameworks/base/api/
Dsystem-current.txt446 method public boolean packageHasActiveAdmins(java.lang.String);
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java18107 if (dpm.packageHasActiveAdmins(packageName, users[i])) {