Home
last modified time | relevance | path

Searched refs:admin (Results 1 – 25 of 113) sorted by relevance

12345

/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java17 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 …]
DIDevicePolicyManager.aidl18 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 …]
DSystemUpdatePolicy.aidl18 package android.app.admin;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java20 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 …]
DRestrictedPreferenceHelper.java134 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()
DRestrictedPreference.java102 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/
DDpmTestBase.java87 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 …]
DDummyDeviceAdmins.java18 import android.app.admin.DeviceAdminReceiver;
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java20 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 …]
DOwners.java20 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 …]
DSecurityLogMonitor.java19 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/
Ddevice-admin.jd27 <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/
Dafw.jd114 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/
Dafw.jd110 …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/
Dafw.jd110 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/
Dafw.jd110 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/
Dafw.jd110 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/
Ddevice-management-policy.jd21 <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 &lt;device-admin xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&gt;
70 &lt;/device-admin&gt;
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" />
Dcosu.jd182 {@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/
Dandroid-6.0-changes.jd331 {@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/
DNetworkStatsAccess.java27 import android.app.admin.DeviceAdminInfo;
28 import android.app.admin.DevicePolicyManagerInternal;
/frameworks/base/docs/html-intl/intl/pt-br/preview/features/
Dafw.jd110 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/
Dadmin.jd5 <div id="samples" class="admin">
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java21 import android.app.admin.DevicePolicyManager;
22 import android.app.admin.IDevicePolicyManager;
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt251 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 …]

12345