Home
last modified time | relevance | path

Searched refs:DeviceAdminInfo (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java52 public final class DeviceAdminInfo implements Parcelable { class
283 public DeviceAdminInfo(Context context, ResolveInfo resolveInfo) in DeviceAdminInfo() method in DeviceAdminInfo
296 public DeviceAdminInfo(Context context, ActivityInfo activityInfo) in DeviceAdminInfo() method in DeviceAdminInfo
372 DeviceAdminInfo(Parcel source) { in DeviceAdminInfo() method in DeviceAdminInfo
531 public static final Parcelable.Creator<DeviceAdminInfo> CREATOR =
532 new Parcelable.Creator<DeviceAdminInfo>() {
533 public DeviceAdminInfo createFromParcel(Parcel source) {
534 return new DeviceAdminInfo(source);
537 public DeviceAdminInfo[] newArray(int size) {
538 return new DeviceAdminInfo[size];
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java103 import android.app.admin.DeviceAdminInfo;
893 DeviceAdminInfo info;
1016 ActiveAdmin(DeviceAdminInfo _info, boolean parent) { in ActiveAdmin()
1590 public void transfer(DeviceAdminInfo deviceAdminInfo) { in transfer()
1602 ArrayList<DeviceAdminInfo.PolicyInfo> pols = info.getUsedPolicies(); in dump()
2602 if (reqPolicy == DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) { in getActiveAdminForCallerLocked()
2606 if (reqPolicy == DeviceAdminInfo.USES_POLICY_PROFILE_OWNER) { in getActiveAdminForCallerLocked()
2683 if (reqPolicy == DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) { in isActiveAdminWithPolicyForUserLocked()
2685 } else if (reqPolicy == DeviceAdminInfo.USES_POLICY_PROFILE_OWNER) { in isActiveAdminWithPolicyForUserLocked()
2800 public DeviceAdminInfo findAdmin(ComponentName adminName, int userHandle, in findAdmin()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java27 import android.app.admin.DeviceAdminInfo;
115 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in checkAccessLevel()
130 DeviceAdminInfo.USES_POLICY_PROFILE_OWNER); in checkAccessLevel()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java25 import android.app.admin.DeviceAdminInfo;
169 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in setIsDeviceOwner()
174 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER)) in setIsProfileOwner()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java20 import android.app.admin.DeviceAdminInfo;
708 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork()
727 config.creatorUid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork()
2954 DeviceAdminInfo.USES_POLICY_PROFILE_OWNER); in canModifyProxySettings()
2956 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyProxySettings()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java30 import android.app.admin.DeviceAdminInfo;
727 DeviceAdminInfo.USES_POLICY_PROFILE_OWNER) in uninstall()
DPackageInstallerSession.java45 import android.app.admin.DeviceAdminInfo;
338 DeviceAdminInfo.USES_POLICY_PROFILE_OWNER) && dpmi.isUserAffiliatedWithDevice( in isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java24 import android.app.admin.DeviceAdminInfo;
694 DeviceAdminInfo.USES_POLICY_PROFILE_OWNER))) { in hasObserverPermission()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java22 import android.app.admin.DeviceAdminInfo;
454 eq(DeviceAdminInfo.USES_POLICY_PROFILE_OWNER))).thenReturn(true); in testUpdateIpConfiguration()
589 eq(DeviceAdminInfo.USES_POLICY_PROFILE_OWNER))).thenReturn(true); in testAddUpdateRemoveMultipleNetworks()
3581 eq(DeviceAdminInfo.USES_POLICY_PROFILE_OWNER))) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
3584 eq(DeviceAdminInfo.USES_POLICY_DEVICE_OWNER))) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java45 import android.app.admin.DeviceAdminInfo;
5703 && dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER);
/frameworks/base/config/
Dhiddenapi-public-dex.txt1271 Landroid/app/admin/DeviceAdminInfo;
1272 Landroid/app/admin/DeviceAdminInfo;-><init>(Landroid/content/Context;Landroid/content/pm/ResolveInf…
1273 Landroid/app/admin/DeviceAdminInfo;->CREATOR:Landroid/os/Parcelable$Creator;
1274 Landroid/app/admin/DeviceAdminInfo;->describeContents()I
1275 Landroid/app/admin/DeviceAdminInfo;->dump(Landroid/util/Printer;Ljava/lang/String;)V
1276 Landroid/app/admin/DeviceAdminInfo;->getActivityInfo()Landroid/content/pm/ActivityInfo;
1277 Landroid/app/admin/DeviceAdminInfo;->getComponent()Landroid/content/ComponentName;
1278 Landroid/app/admin/DeviceAdminInfo;->getPackageName()Ljava/lang/String;
1279 Landroid/app/admin/DeviceAdminInfo;->getReceiverName()Ljava/lang/String;
1280 Landroid/app/admin/DeviceAdminInfo;->getTagForPolicy(I)Ljava/lang/String;
[all …]
Dhiddenapi-light-greylist.txt286 Landroid/app/admin/DeviceAdminInfo$PolicyInfo;->tag:Ljava/lang/String;
287 Landroid/app/admin/DeviceAdminInfo;->getUsedPolicies()Ljava/util/ArrayList;
Dboot-image-profile.txt906 HPLandroid/app/admin/DeviceAdminInfo;->writePoliciesToXml(Lorg/xmlpull/v1/XmlSerializer;)V
15496 HSPLandroid/app/admin/DeviceAdminInfo$1;-><init>()V
15497 HSPLandroid/app/admin/DeviceAdminInfo$PolicyInfo;-><init>(ILjava/lang/String;II)V
15498 HSPLandroid/app/admin/DeviceAdminInfo$PolicyInfo;-><init>(ILjava/lang/String;IIII)V
15499 HSPLandroid/app/admin/DeviceAdminInfo;-><init>(Landroid/content/Context;Landroid/content/pm/Activit…
15500 HSPLandroid/app/admin/DeviceAdminInfo;->getComponent()Landroid/content/ComponentName;
15501 HSPLandroid/app/admin/DeviceAdminInfo;->getPackageName()Ljava/lang/String;
15502 HSPLandroid/app/admin/DeviceAdminInfo;->readPoliciesFromXml(Lorg/xmlpull/v1/XmlPullParser;)V
54102 Landroid/app/admin/DeviceAdminInfo$1;
54103 Landroid/app/admin/DeviceAdminInfo$PolicyInfo;
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5240 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/
Dcurrent.txt6339 public final class DeviceAdminInfo implements android.os.Parcelable {
6340 …ctor public DeviceAdminInfo(android.content.Context, android.content.pm.ResolveInfo) throws java.i…
6355 …field public static final android.os.Parcelable.Creator<android.app.admin.DeviceAdminInfo> CREATOR;