Searched refs:DeviceAdminInfo (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminInfo.java | 52 public final class DeviceAdminInfo implements Parcelable { class 263 public DeviceAdminInfo(Context context, ResolveInfo resolveInfo) in DeviceAdminInfo() method in DeviceAdminInfo 276 public DeviceAdminInfo(Context context, ActivityInfo activityInfo) in DeviceAdminInfo() method in DeviceAdminInfo 346 DeviceAdminInfo(Parcel source) { in DeviceAdminInfo() method in DeviceAdminInfo 496 public static final Parcelable.Creator<DeviceAdminInfo> CREATOR = 497 new Parcelable.Creator<DeviceAdminInfo>() { 498 public DeviceAdminInfo createFromParcel(Parcel source) { 499 return new DeviceAdminInfo(source); 502 public DeviceAdminInfo[] newArray(int size) { 503 return new DeviceAdminInfo[size];
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 27 import android.app.admin.DeviceAdminInfo; 115 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in checkAccessLevel() 130 DeviceAdminInfo.USES_POLICY_PROFILE_OWNER); in checkAccessLevel()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 75 import android.app.admin.DeviceAdminInfo; 701 final DeviceAdminInfo info; 812 ActiveAdmin(DeviceAdminInfo _info, boolean parent) { in ActiveAdmin() 1349 ArrayList<DeviceAdminInfo.PolicyInfo> pols = info.getUsedPolicies(); in dump() 2280 if (reqPolicy == DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) { in getActiveAdminForCallerLocked() 2284 if (reqPolicy == DeviceAdminInfo.USES_POLICY_PROFILE_OWNER) { in getActiveAdminForCallerLocked() 2357 if (reqPolicy == DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) { in isActiveAdminWithPolicyForUserLocked() 2359 } else if (reqPolicy == DeviceAdminInfo.USES_POLICY_PROFILE_OWNER) { in isActiveAdminWithPolicyForUserLocked() 2454 public DeviceAdminInfo findAdmin(ComponentName adminName, int userHandle, in findAdmin() 2485 return new DeviceAdminInfo(mContext, ai); in findAdmin() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsAccessTest.java | 24 import android.app.admin.DeviceAdminInfo; 156 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in setIsDeviceOwner() 161 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER)) in setIsProfileOwner()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigManager.java | 20 import android.app.admin.DeviceAdminInfo; 671 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork() 696 config.creatorUid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork() 2815 DeviceAdminInfo.USES_POLICY_PROFILE_OWNER); in canModifyProxySettings() 2817 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyProxySettings()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 22 import android.app.admin.DeviceAdminInfo; 434 eq(DeviceAdminInfo.USES_POLICY_PROFILE_OWNER))).thenReturn(true); in testUpdateIpConfiguration() 569 eq(DeviceAdminInfo.USES_POLICY_PROFILE_OWNER))).thenReturn(true); in testAddUpdateRemoveMultipleNetworks() 3259 eq(DeviceAdminInfo.USES_POLICY_PROFILE_OWNER))) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions() 3262 eq(DeviceAdminInfo.USES_POLICY_DEVICE_OWNER))) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 45 import android.app.admin.DeviceAdminInfo; 5607 && dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER);
|
/frameworks/base/ |
D | compiled-classes-phone | 561 android.app.admin.DeviceAdminInfo 562 android.app.admin.DeviceAdminInfo$1 563 android.app.admin.DeviceAdminInfo$PolicyInfo
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 5240 public final class DeviceAdminInfo implements android.os.Parcelable { 5241 …ctor public DeviceAdminInfo(android.content.Context, android.content.pm.ResolveInfo) throws java.i… 5255 …field public static final android.os.Parcelable.Creator<android.app.admin.DeviceAdminInfo> CREATOR;
|
/frameworks/base/api/ |
D | current.txt | 6169 public final class DeviceAdminInfo implements android.os.Parcelable { 6170 …ctor public DeviceAdminInfo(android.content.Context, android.content.pm.ResolveInfo) throws java.i… 6184 …field public static final android.os.Parcelable.Creator<android.app.admin.DeviceAdminInfo> CREATOR;
|
D | system-current.txt | 6384 public final class DeviceAdminInfo implements android.os.Parcelable { 6385 …ctor public DeviceAdminInfo(android.content.Context, android.content.pm.ResolveInfo) throws java.i… 6399 …field public static final android.os.Parcelable.Creator<android.app.admin.DeviceAdminInfo> CREATOR;
|