Home
last modified time | relevance | path

Searched refs:DeviceAdminInfo (Results 1 – 14 of 14) 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.java121 import android.app.admin.DeviceAdminInfo;
454 DA_DISALLOWED_POLICIES.add(DeviceAdminInfo.USES_POLICY_DISABLE_CAMERA);
455 DA_DISALLOWED_POLICIES.add(DeviceAdminInfo.USES_POLICY_DISABLE_KEYGUARD_FEATURES);
456 DA_DISALLOWED_POLICIES.add(DeviceAdminInfo.USES_POLICY_EXPIRE_PASSWORD);
457 DA_DISALLOWED_POLICIES.add(DeviceAdminInfo.USES_POLICY_LIMIT_PASSWORD);
959 DeviceAdminInfo info;
1083 ActiveAdmin(DeviceAdminInfo _info, boolean parent) { in ActiveAdmin()
1662 public void transfer(DeviceAdminInfo deviceAdminInfo) { in transfer()
1674 ArrayList<DeviceAdminInfo.PolicyInfo> pols = info.getUsedPolicies(); in dump()
2734 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;
796 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork()
815 config.creatorUid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyNetwork()
3259 DeviceAdminInfo.USES_POLICY_PROFILE_OWNER); in canModifyProxySettings()
3261 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); in canModifyProxySettings()
DWifiServiceImpl.java47 import android.app.admin.DeviceAdminInfo;
778 return dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) in isDeviceOrProfileOwner()
779 || dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER); in isDeviceOrProfileOwner()
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java23 import android.app.admin.DeviceAdminInfo;
800 eq(DeviceAdminInfo.USES_POLICY_PROFILE_OWNER))).thenReturn(true); in testUpdateIpConfiguration()
935 eq(DeviceAdminInfo.USES_POLICY_PROFILE_OWNER))).thenReturn(true); in testAddUpdateRemoveMultipleNetworks()
4543 eq(DeviceAdminInfo.USES_POLICY_PROFILE_OWNER))) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
4546 eq(DeviceAdminInfo.USES_POLICY_DEVICE_OWNER))) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
DWifiServiceImplTest.java77 import android.app.admin.DeviceAdminInfo;
3677 Process.myUid(), DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in testAddOrUpdateNetworkIsAllowedForDOApp()
3698 Process.myUid(), DeviceAdminInfo.USES_POLICY_PROFILE_OWNER)) in testAddOrUpdateNetworkIsAllowedForPOApp()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java45 import android.app.admin.DeviceAdminInfo;
5705 && dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER);
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java123 import android.app.admin.DeviceAdminInfo;
3649 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
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/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;