/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 17 package android.app.admin; 28 import android.app.admin.SecurityLog.SecurityEvent; 1055 public boolean isAdminActive(@NonNull ComponentName admin) { in isAdminActive() argument 1056 return isAdminActiveAsUser(admin, myUserId()); in isAdminActive() 1063 public boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser() argument 1066 return mService.isAdminActive(admin, userId); in isAdminActiveAsUser() 1078 public boolean isRemovingAdmin(@NonNull ComponentName admin, int userId) { in isRemovingAdmin() argument 1081 return mService.isRemovingAdmin(admin, userId); in isRemovingAdmin() 1152 public void removeActiveAdmin(@NonNull ComponentName admin) { in removeActiveAdmin() argument 1156 mService.removeActiveAdmin(admin, myUserId()); in removeActiveAdmin() [all …]
|
D | IDevicePolicyManager.aidl | 18 package android.app.admin; 20 import android.app.admin.SystemUpdatePolicy; 76 void setMaximumFailedPasswordsForWipe(in ComponentName admin, int num, boolean parent); in setMaximumFailedPasswordsForWipe() argument 77 int getMaximumFailedPasswordsForWipe(in ComponentName admin, int userHandle, boolean parent); in getMaximumFailedPasswordsForWipe() argument 89 ComponentName setGlobalProxy(in ComponentName admin, String proxySpec, String exclusionList); in setGlobalProxy() argument 91 void setRecommendedGlobalProxy(in ComponentName admin, in ProxyInfo proxyInfo); in setRecommendedGlobalProxy() argument 143 …String[] setPackagesSuspended(in ComponentName admin, in String[] packageNames, boolean suspended); in setPackagesSuspended() argument 144 boolean isPackageSuspended(in ComponentName admin, String packageName); in isPackageSuspended() argument 146 boolean installCaCert(in ComponentName admin, in byte[] certBuffer); in installCaCert() argument 147 void uninstallCaCerts(in ComponentName admin, in String[] aliases); in uninstallCaCerts() argument [all …]
|
D | SystemUpdatePolicy.aidl | 18 package android.app.admin;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 20 import android.app.admin.DevicePolicyManager; 134 for (ComponentName admin : admins) { in checkIfKeyguardFeaturesDisabled() 135 if ((dpm.getKeyguardDisabledFeatures(admin, userId) & keyguardFeatures) != 0) { in checkIfKeyguardFeaturesDisabled() 137 enforcedAdmin = new EnforcedAdmin(admin, userId); in checkIfKeyguardFeaturesDisabled() 153 for (ComponentName admin : admins) { in checkIfKeyguardFeaturesDisabled() 155 if ((dpm.getKeyguardDisabledFeatures(admin, userInfo.id) in checkIfKeyguardFeaturesDisabled() 158 enforcedAdmin = new EnforcedAdmin(admin, userInfo.id); in checkIfKeyguardFeaturesDisabled() 173 if ((parentDpm.getKeyguardDisabledFeatures(admin, userInfo.id) in checkIfKeyguardFeaturesDisabled() 176 enforcedAdmin = new EnforcedAdmin(admin, userInfo.id); in checkIfKeyguardFeaturesDisabled() 237 EnforcedAdmin admin = getProfileOrDeviceOwner(context, userId); in checkIfInputMethodDisallowed() local [all …]
|
D | RestrictedPreferenceHelper.java | 134 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkRestrictionAndSetDisabled() local 136 setDisabledByAdmin(admin); in checkRestrictionAndSetDisabled() 146 public boolean setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() argument 147 final boolean disabled = (admin != null ? true : false); in setDisabledByAdmin() 148 mEnforcedAdmin = admin; in setDisabledByAdmin()
|
D | RestrictedPreference.java | 102 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin() argument 103 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 87 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid) in setUpPackageManagerForAdmin() argument 89 setUpPackageManagerForAdmin(admin, packageUid, in setUpPackageManagerForAdmin() 93 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForAdmin() argument 95 setUpPackageManagerForAdmin(admin, packageUid, enabledSetting, /* appTargetSdk = */ null); in setUpPackageManagerForAdmin() 98 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForAdmin() argument 100 setUpPackageManagerForFakeAdmin(admin, packageUid, enabledSetting, appTargetSdk, in setUpPackageManagerForAdmin() 101 admin); in setUpPackageManagerForAdmin() 111 protected void setUpPackageManagerForFakeAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForFakeAdmin() argument 129 ai.packageName = admin.getPackageName(); in setUpPackageManagerForFakeAdmin() 130 ai.name = admin.getClassName(); in setUpPackageManagerForFakeAdmin() [all …]
|
D | DummyDeviceAdmins.java | 18 import android.app.admin.DeviceAdminReceiver;
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 20 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_COMPLEX; 21 import static android.app.admin.DevicePolicyManager.WIPE_EXTERNAL_STORAGE; 22 import static android.app.admin.DevicePolicyManager.WIPE_RESET_PROTECTION_DATA; 47 import android.app.admin.DeviceAdminInfo; 48 import android.app.admin.DeviceAdminReceiver; 49 import android.app.admin.DevicePolicyManager; 50 import android.app.admin.DevicePolicyManagerInternal; 51 import android.app.admin.IDevicePolicyManager; 52 import android.app.admin.SecurityLog; 53 import android.app.admin.SecurityLog.SecurityEvent; [all …]
|
D | Owners.java | 20 import android.app.admin.SystemUpdatePolicy; 189 return Pair.create(mDeviceOwnerUserId, mDeviceOwner.admin); in getDeviceOwnerUserIdAndComponent() 202 return mDeviceOwner != null ? mDeviceOwner.admin : null; in getDeviceOwnerComponent() 218 void setDeviceOwner(ComponentName admin, String ownerName, int userId) { in setDeviceOwner() argument 225 setDeviceOwnerWithRestrictionsMigrated(admin, ownerName, userId, in setDeviceOwner() 232 void setDeviceOwnerWithRestrictionsMigrated(ComponentName admin, String ownerName, int userId, in setDeviceOwnerWithRestrictionsMigrated() argument 235 mDeviceOwner = new OwnerInfo(ownerName, admin, userRestrictionsMigrated, in setDeviceOwnerWithRestrictionsMigrated() 254 void setProfileOwner(ComponentName admin, String ownerName, int userId) { in setProfileOwner() argument 257 mProfileOwners.put(userId, new OwnerInfo(ownerName, admin, in setProfileOwner() 276 return profileOwner != null ? profileOwner.admin : null; in getProfileOwnerComponent() [all …]
|
D | SecurityLogMonitor.java | 19 import android.app.admin.DeviceAdminReceiver; 20 import android.app.admin.SecurityLog; 21 import android.app.admin.SecurityLog.SecurityEvent;
|
/frameworks/base/docs/html/guide/topics/admin/ |
D | device-admin.jd | 27 <li>{@link android.app.admin.DeviceAdminReceiver}</li> 28 <li>{@link android.app.admin.DevicePolicyManager}</li> 29 <li>{@link android.app.admin.DeviceAdminInfo}</li> 68 <p>You use the Device Administration API to write device admin applications that users 69 install on their devices. The device admin application enforces the desired 71 <li>A system administrator writes a device admin application that enforces 87 <li>The system prompts the user to enable the device admin application. How 89 <li>Once users enable the device admin application, they are subject to 93 <p>If users do not enable the device admin app, it remains on the device, but in an inactive state.… 104 <p>If a device contains multiple enabled admin applications, the strictest policy is [all …]
|
/frameworks/base/docs/html-intl/intl/zh-cn/preview/features/ |
D | afw.jd | 114 android.app.admin.DevicePolicyManager#ACTION_SET_NEW_PASSWORD} Intent,系统会提示用户设置一项安全性挑战。 124 个人资料所有者使用常见的 {@link android.app.admin.DevicePolicyManager} 方法来设置挑战策略,如 {@link 125 android.app.admin.DevicePolicyManager#setPasswordQuality 127 android.app.admin.DevicePolicyManager#setPasswordMinimumLength 130 …ePolicyManager.getParentProfileInstance()</code> 方法返回的 {@link android.app.admin.DevicePolicyManage… 133 此外,个人资料所有者可以使用 {@link android.app.admin.DevicePolicyManager} 类的新 <code>setOrganizationColor()</code… 289 新类 <code>android.app.admin.SecurityLog</code> 和它的方法 360 …<code>DevicePolicyManager.removeKeyPair()</code> 来移除通过 {@link android.app.admin.DevicePolicyManage… 389 除了“Settings”中一贯的“Action not allowed”消息之外,IT 管理员可以通过以下新 {@link android.app.admin.DevicePolicyManager… 418 android.app.admin.DevicePolicyManager#setApplicationRestrictions [all …]
|
/frameworks/base/docs/html-intl/intl/ja/preview/features/ |
D | afw.jd | 110 …android.app.admin.DevicePolicyManager#ACTION_SET_NEW_PASSWORD} インテントを送信すると、ユーザーはセキュリティ確認をセットアップするよ… 121 android.app.admin.DevicePolicyManager#setPasswordQuality 123 android.app.admin.DevicePolicyManager#setPasswordMinimumLength 124 setPasswordMinimumLength()} など、{@link android.app.admin.DevicePolicyManager} メソッドを使用して設定します。 126 また、新しい <code>DevicePolicyManager.getParentProfileInstance()</code> メソッドが返す {@link android.app.admin… 129 さらに、{@link android.app.admin.DevicePolicyManager} クラスの新しい <code>setOrganizationColor()</code> メソッドお… 285 新しいクラス <code>android.app.admin.SecurityLog</code> とそのメソッド 356 プロファイル オーナーとデバイス オーナーは、{@link android.app.admin.DevicePolicyManager#installKeyPair 385 …」という通常のメッセージに加え、端末設定に組織固有のサポート メッセージを設定できます。これには以下の新しい {@link android.app.admin.DevicePolicyManage… 414 android.app.admin.DevicePolicyManager#setApplicationRestrictions [all …]
|
/frameworks/base/docs/html-intl/intl/ko/preview/features/ |
D | afw.jd | 110 android.app.admin.DevicePolicyManager#ACTION_SET_NEW_PASSWORD} 인텐트를 보내면 121 android.app.admin.DevicePolicyManager#setPasswordQuality 123 android.app.admin.DevicePolicyManager#setPasswordMinimumLength 125 일반적인 {@link android.app.admin.DevicePolicyManager} 127 메서드에 의해 반환되는 {@link android.app.admin.DevicePolicyManager} 인스턴스를 129 설정할 수도 있습니다. 그 밖에도, 프로필 소유자는 {@link android.app.admin.DevicePolicyManager} 285 새로운 클래스 <code>android.app.admin.SecurityLog</code>와 이 클래스의 357 메서드를 호출하여, {@link android.app.admin.DevicePolicyManager#installKeyPair 387 다음과 같은 새로운 {@link android.app.admin.DevicePolicyManager} 메서드를 사용하여 기기 설정에서 조직별 지원 메시지를 414 android.app.admin.DevicePolicyManager#setApplicationRestrictions [all …]
|
/frameworks/base/docs/html-intl/intl/in/preview/features/ |
D | afw.jd | 110 android.app.admin.DevicePolicyManager#ACTION_SET_NEW_PASSWORD} , sistem 121 menggunakan metode{@link android.app.admin.DevicePolicyManager} 123 android.app.admin.DevicePolicyManager#setPasswordQuality 125 android.app.admin.DevicePolicyManager#setPasswordMinimumLength 127 …dengan menggunakan instance {@link android.app.admin.DevicePolicyManager} yang dikembalikan secara… 130 pertanyaan kerja menggunakan kelas {@link android.app.admin.DevicePolicyManager} 285 Kelas <code>android.app.admin.SecurityLog</code> baru dan 357 {@link android.app.admin.DevicePolicyManager#installKeyPair 388 {@link android.app.admin.DevicePolicyManager} baru berikut: 414 android.app.admin.DevicePolicyManager#setApplicationRestrictions [all …]
|
/frameworks/base/docs/html/preview/features/ |
D | afw.jd | 110 android.app.admin.DevicePolicyManager#ACTION_SET_NEW_PASSWORD} intent, the 121 policies using the usual {@link android.app.admin.DevicePolicyManager} 123 android.app.admin.DevicePolicyManager#setPasswordQuality 125 android.app.admin.DevicePolicyManager#setPasswordMinimumLength 127 by using the {@link android.app.admin.DevicePolicyManager} instance returned 130 the work challenge by using the {@link android.app.admin.DevicePolicyManager} 288 The new class <code>android.app.admin.SecurityLog</code> and its 360 installed through {@link android.app.admin.DevicePolicyManager#installKeyPair 391 new {@link android.app.admin.DevicePolicyManager} methods: 417 android.app.admin.DevicePolicyManager#setApplicationRestrictions [all …]
|
/frameworks/base/docs/html/work/ |
D | device-management-policy.jd | 21 <li><a href="{@docRoot}guide/topics/admin/device-admin.html">Device Administration</a></li> 55 android.app.admin.DevicePolicyManager} (defining minimum password length and minimum number of 66 <device-admin xmlns:android="http://schemas.android.com/apk/res/android"> 70 </device-admin> 120 {@link android.app.admin.DevicePolicyManager#EXTRA_ADD_EXPLANATION} extra in the intent.</p> 123 <img src="/images/training/device-mgmt-activate-device-admin.png" />
|
D | cosu.jd | 182 {@link android.app.admin.DevicePolicyManager#setLockTaskPackages setLockTaskPackages}</li> 191 You can call {@link android.app.admin.DevicePolicyManager#isLockTaskPermitted isLockTaskPermitted} 193 {@link android.app.admin.DevicePolicyManager#setLockTaskPackages setLockTaskPackages}. 227 android.app.admin.DevicePolicyManager#setLockTaskPackages setLockTaskPackages}, 260 {@link android.app.admin.DevicePolicyManager#setLockTaskPackages setLockTaskPackages}, 332 {@link android.app.admin.DevicePolicyManager#setKeyguardDisabled setKeyguardDisabled()} 337 {@link android.app.admin.DevicePolicyManager#setStatusBarDisabled setStatusBarDisabled()} 347 {@link android.app.admin.DevicePolicyManager#addUserRestriction addUserRestriction()} 352 {@link android.app.admin.DevicePolicyManager#setSystemUpdatePolicy setSystemUpdatePolicy()}
|
/frameworks/base/docs/html/about/versions/marshmallow/ |
D | android-6.0-changes.jd | 331 {@link android.app.admin.DevicePolicyManager#setCrossProfileCallerIdDisabled(android.content.Compon… 334 you set {@link android.app.admin.DevicePolicyManager#setBluetoothContactSharingDisabled(android.con… 354 <li><strong>Changes to specific {@link android.app.admin.DevicePolicyManager} API behaviors:</stron… 357 {@link android.app.admin.DevicePolicyManager#setCameraDisabled(android.content.ComponentName,boolea… 361 {@link android.app.admin.DevicePolicyManager#setKeyguardDisabledFeatures(android.content.ComponentN… 365 <li>{@link android.app.admin.DevicePolicyManager#KEYGUARD_DISABLE_TRUST_AGENTS} and 366 {@link android.app.admin.DevicePolicyManager#KEYGUARD_DISABLE_FINGERPRINT}, which affect the 368 … <li>{@link android.app.admin.DevicePolicyManager#KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS}, which 373 …<li>The {@link android.app.admin.DevicePolicyManager#setScreenCaptureDisabled(android.content.Comp… 375 <li>{@link android.app.admin.DevicePolicyManager#EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM} [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 27 import android.app.admin.DeviceAdminInfo; 28 import android.app.admin.DevicePolicyManagerInternal;
|
/frameworks/base/docs/html-intl/intl/pt-br/preview/features/ |
D | afw.jd | 110 android.app.admin.DevicePolicyManager#ACTION_SET_NEW_PASSWORD}, o 121 políticas do desafio por meio dos métodos {@link android.app.admin.DevicePolicyManager} 123 android.app.admin.DevicePolicyManager#setPasswordQuality 125 android.app.admin.DevicePolicyManager#setPasswordMinimumLength 127 usando a instância de {@link android.app.admin.DevicePolicyManager} retornada 131 <code>setOrganizationName()</code> da classe {@link android.app.admin.DevicePolicyManager} 285 A nova classe <code>android.app.admin.SecurityLog</code> e seus 357 instalados por meio do {@link android.app.admin.DevicePolicyManager#installKeyPair 388 novos métodos {@link android.app.admin.DevicePolicyManager}: 414 android.app.admin.DevicePolicyManager#setApplicationRestrictions [all …]
|
/frameworks/base/docs/html/samples/ |
D | admin.jd | 5 <div id="samples" class="admin">
|
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/ |
D | Dpm.java | 21 import android.app.admin.DevicePolicyManager; 22 import android.app.admin.IDevicePolicyManager;
|
/frameworks/base/docs/html/sdk/api_diff/21/ |
D | missingSinces.txt | 251 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method addCrossProfileIntentFilter(android.cont… 252 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method addCrossProfileWidgetProvider(android.co… 258 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method addPersistentPreferredActivity(android.c… 267 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method addUserRestriction(android.content.Compo… 292 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method clearCrossProfileIntentFilters(android.c… 293 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method clearDeviceOwnerApp(java.lang.String) 294 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method clearPackagePersistentPreferredActivitie… 295 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method clearUserRestriction(android.content.Com… 310 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method createAndInitializeUser(android.content.… 319 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method createUser(android.content.ComponentName… [all …]
|