Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java54 public final class DeviceAdminInfo implements Parcelable { class
279 public DeviceAdminInfo(Context context, ResolveInfo resolveInfo) in DeviceAdminInfo() method in DeviceAdminInfo
292 public DeviceAdminInfo(Context context, ActivityInfo activityInfo) in DeviceAdminInfo() method in DeviceAdminInfo
368 DeviceAdminInfo(Parcel source) { in DeviceAdminInfo() method in DeviceAdminInfo
528 public static final @android.annotation.NonNull Parcelable.Creator<DeviceAdminInfo> CREATOR =
529 new Parcelable.Creator<DeviceAdminInfo>() {
530 public DeviceAdminInfo createFromParcel(Parcel source) {
531 return new DeviceAdminInfo(source);
534 public DeviceAdminInfo[] newArray(int size) {
535 return new DeviceAdminInfo[size];
/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/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java122 import android.app.admin.DeviceAdminInfo;
458 DA_DISALLOWED_POLICIES.add(DeviceAdminInfo.USES_POLICY_DISABLE_CAMERA);
459 DA_DISALLOWED_POLICIES.add(DeviceAdminInfo.USES_POLICY_DISABLE_KEYGUARD_FEATURES);
460 DA_DISALLOWED_POLICIES.add(DeviceAdminInfo.USES_POLICY_EXPIRE_PASSWORD);
461 DA_DISALLOWED_POLICIES.add(DeviceAdminInfo.USES_POLICY_LIMIT_PASSWORD);
963 DeviceAdminInfo info;
1087 ActiveAdmin(DeviceAdminInfo _info, boolean parent) { in ActiveAdmin()
1666 public void transfer(DeviceAdminInfo deviceAdminInfo) { in transfer()
1678 ArrayList<DeviceAdminInfo.PolicyInfo> pols = info.getUsedPolicies(); in dump()
2742 if (reqPolicy == DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) { in getActiveAdminOrCheckPermissionForCallerLocked()
[all …]
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java25 import android.app.admin.DeviceAdminInfo;
170 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in setIsDeviceOwner()
175 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER)) in setIsProfileOwner()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java21 import android.app.admin.DeviceAdminInfo;
882 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork()
901 config.creatorUid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork()
3340 DeviceAdminInfo.USES_POLICY_PROFILE_OWNER); in canModifyProxySettings()
3342 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyProxySettings()
DWifiServiceImpl.java47 import android.app.admin.DeviceAdminInfo;
776 return dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) in isDeviceOrProfileOwner()
777 || dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER); in isDeviceOrProfileOwner()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java77 import android.app.admin.DeviceAdminInfo;
619 Process.myUid(), DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in testSetWifiEnabledSuccessForDOAppsTargetingQSDK()
883 Process.myUid(), DeviceAdminInfo.USES_POLICY_PROFILE_OWNER)) in testSetWifiDisabledSuccessForPOAppsTargetingQSDK()
3833 Process.myUid(), DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in testAddOrUpdateNetworkIsAllowedForDOApp()
3854 Process.myUid(), DeviceAdminInfo.USES_POLICY_PROFILE_OWNER)) in testAddOrUpdateNetworkIsAllowedForPOApp()
DWifiConfigManagerTest.java23 import android.app.admin.DeviceAdminInfo;
857 eq(DeviceAdminInfo.USES_POLICY_PROFILE_OWNER))).thenReturn(true); in testUpdateIpConfiguration()
992 eq(DeviceAdminInfo.USES_POLICY_PROFILE_OWNER))).thenReturn(true); in testAddUpdateRemoveMultipleNetworks()
4638 eq(DeviceAdminInfo.USES_POLICY_PROFILE_OWNER))) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
4641 eq(DeviceAdminInfo.USES_POLICY_DEVICE_OWNER))) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java33 import android.app.admin.DeviceAdminInfo;
942 DeviceAdminInfo.USES_POLICY_PROFILE_OWNER))) { in hasObserverPermission()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java45 import android.app.admin.DeviceAdminInfo;
5729 && dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER);
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java124 import android.app.admin.DeviceAdminInfo;
3738 DeviceAdminInfo.USES_POLICY_PROFILE_OWNER));
/frameworks/base/config/
Dpreloaded-classes495 android.app.admin.DeviceAdminInfo$1
496 android.app.admin.DeviceAdminInfo$PolicyInfo
497 android.app.admin.DeviceAdminInfo
Dboot-image-profile.txt2511 HSPLandroid/app/admin/DeviceAdminInfo$1;-><init>()V
2512 HSPLandroid/app/admin/DeviceAdminInfo$PolicyInfo;-><init>(ILjava/lang/String;II)V
2513 HSPLandroid/app/admin/DeviceAdminInfo$PolicyInfo;-><init>(ILjava/lang/String;IIII)V
2514 HSPLandroid/app/admin/DeviceAdminInfo;-><init>(Landroid/content/Context;Landroid/content/pm/Activit…
2515 HSPLandroid/app/admin/DeviceAdminInfo;->getComponent()Landroid/content/ComponentName;
2516 HSPLandroid/app/admin/DeviceAdminInfo;->getPackageName()Ljava/lang/String;
2517 HSPLandroid/app/admin/DeviceAdminInfo;->readPoliciesFromXml(Lorg/xmlpull/v1/XmlPullParser;)V
2518 HSPLandroid/app/admin/DeviceAdminInfo;->writePoliciesToXml(Lorg/xmlpull/v1/XmlSerializer;)V
32554 Landroid/app/admin/DeviceAdminInfo$1;
32555 Landroid/app/admin/DeviceAdminInfo$PolicyInfo;
[all …]
Dhiddenapi-greylist-max-o.txt2404 Landroid/app/admin/DeviceAdminInfo$PolicyInfo;-><init>(ILjava/lang/String;II)V
2405 Landroid/app/admin/DeviceAdminInfo$PolicyInfo;-><init>(ILjava/lang/String;IIII)V
2406 Landroid/app/admin/DeviceAdminInfo$PolicyInfo;->description:I
2407 Landroid/app/admin/DeviceAdminInfo$PolicyInfo;->descriptionForSecondaryUsers:I
2408 Landroid/app/admin/DeviceAdminInfo$PolicyInfo;->ident:I
2409 Landroid/app/admin/DeviceAdminInfo$PolicyInfo;->label:I
2410 Landroid/app/admin/DeviceAdminInfo$PolicyInfo;->labelForSecondaryUsers:I
2411 Landroid/app/admin/DeviceAdminInfo;-><init>(Landroid/content/Context;Landroid/content/pm/ActivityIn…
2412 Landroid/app/admin/DeviceAdminInfo;-><init>(Landroid/os/Parcel;)V
2413 Landroid/app/admin/DeviceAdminInfo;->mActivityInfo:Landroid/content/pm/ActivityInfo;
[all …]
/frameworks/base/services/
Dart-profile6131 …devicepolicy/DevicePolicyManagerService$ActiveAdmin;-><init>(Landroid/app/admin/DeviceAdminInfo;Z)V
6239 …icyManagerService;->findAdmin(Landroid/content/ComponentName;IZ)Landroid/app/admin/DeviceAdminInfo;
/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/non-updatable-api/
Dcurrent.txt6537 public final class DeviceAdminInfo implements android.os.Parcelable {
6538 …ctor public DeviceAdminInfo(android.content.Context, android.content.pm.ResolveInfo) throws java.i…
6553 …nNull public static final android.os.Parcelable.Creator<android.app.admin.DeviceAdminInfo> CREATOR;
/frameworks/base/api/
Dcurrent.txt6537 public final class DeviceAdminInfo implements android.os.Parcelable {
6538 …ctor public DeviceAdminInfo(android.content.Context, android.content.pm.ResolveInfo) throws java.i…
6553 …nNull public static final android.os.Parcelable.Creator<android.app.admin.DeviceAdminInfo> CREATOR;