Home
last modified time | relevance | path

Searched refs:DevicePolicyManager (Results 1 – 25 of 100) sorted by relevance

1234

/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 个人资料所有者还能通过使用由新的 <code>DevicePolicyManager.getParentProfileInstance()</code> 方法返回的 {@link android.a…
133 此外,个人资料所有者可以使用 {@link android.app.admin.DevicePolicyManager} 类的新 <code>setOrganizationColor()</code…
140 …Root}preview/setup-sdk.html#docs-dl">N Preview SDK 参考</a> 中的 <code>DevicePolicyManager</code> 参考页面。
147 设备所有者和个人资料所有者可以通过调用新 <code>DevicePolicyManager.setPackagesSuspended()</code> 方法来临时暂停软件包访问。
163 启动器可以通过调用新 <code>DevicePolicyManager.getPackageSuspended()</code> 方法来确定应用是否被暂停。
188 所有者可以通过调用新 <code>DevicePolicyManager.setAlwaysOnVpnPackage()</code> 方法来要求使用 VPN。
[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> メソッドお…
136 …oot}preview/setup-sdk.html#docs-dl">N Preview SDK リファレンス</a>の<code>DevicePolicyManager</code> リファレ…
143 …デバイス オーナーとプロファイル オーナーは、新しい <code>DevicePolicyManager.setPackagesSuspended()</code> メソッドを呼び出して、パッケー…
159 ランチャーは、新しい <code>DevicePolicyManager.getPackageSuspended()</code> メソッドを呼び出してアプリが停止されているかどうかを確認できます。
184 オーナーは、新しい <code>DevicePolicyManager.setAlwaysOnVpnPackage()</code> メソッドを呼び出して VPN を使用することを要求できます。
[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}
126 메서드를 사용하여 보안 질문 정책을 설정합니다. 프로필 소유자는 새 <code>DevicePolicyManager.getParentProfileInstance()</code>
127 메서드에 의해 반환되는 {@link android.app.admin.DevicePolicyManager} 인스턴스를
129 설정할 수도 있습니다. 그 밖에도, 프로필 소유자는 {@link android.app.admin.DevicePolicyManager}
137 …<a href="{@docRoot}preview/setup-sdk.html#docs-dl">N Preview SDK 참조</a>의 <code>DevicePolicyManager
143 기기 소유자 및 프로필 소유자는 새 <code>DevicePolicyManager.setPackagesSuspended()</code>
160 확인하기 위해 새 <code>DevicePolicyManager.getPackageSuspended()</code> 메서드를 호출할 수 있습니다.
[all …]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSecurityModel.java18 import android.app.admin.DevicePolicyManager;
73 case DevicePolicyManager.PASSWORD_QUALITY_NUMERIC: in getSecurityMode()
74 case DevicePolicyManager.PASSWORD_QUALITY_NUMERIC_COMPLEX: in getSecurityMode()
77 case DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC: in getSecurityMode()
78 case DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC: in getSecurityMode()
79 case DevicePolicyManager.PASSWORD_QUALITY_COMPLEX: in getSecurityMode()
80 case DevicePolicyManager.PASSWORD_QUALITY_MANAGED: in getSecurityMode()
83 case DevicePolicyManager.PASSWORD_QUALITY_SOMETHING: in getSecurityMode()
85 case DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED: in getSecurityMode()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java20 import android.app.admin.DevicePolicyManager;
71 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfRestrictionEnforced()
121 final DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfKeyguardFeaturesDisabled()
172 DevicePolicyManager parentDpm = dpm.getParentProfileInstance(userInfo); in checkIfKeyguardFeaturesDisabled()
232 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfInputMethodDisallowed()
266 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfRemoteContactSearchDisallowed()
285 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfAccessibilityServiceDisallowed()
340 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfAccountManagementDisabled()
367 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfAutoTimeRequired()
386 final DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfPasswordQualityIsSet()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DRemoteBugreportUtils.java22 import android.app.admin.DevicePolicyManager;
44 DevicePolicyManager.NOTIFICATION_BUGREPORT_STARTED,
45 DevicePolicyManager.NOTIFICATION_BUGREPORT_ACCEPTED_NOT_FINISHED,
46 DevicePolicyManager.NOTIFICATION_BUGREPORT_FINISHED_NOT_ACCEPTED
61 dialogIntent.putExtra(DevicePolicyManager.EXTRA_BUGREPORT_NOTIFICATION_TYPE, type); in buildNotification()
74 if (type == DevicePolicyManager.NOTIFICATION_BUGREPORT_ACCEPTED_NOT_FINISHED) { in buildNotification()
78 } else if (type == DevicePolicyManager.NOTIFICATION_BUGREPORT_STARTED) { in buildNotification()
82 } else if (type == DevicePolicyManager.NOTIFICATION_BUGREPORT_FINISHED_NOT_ACCEPTED) { in buildNotification()
84 new Intent(DevicePolicyManager.ACTION_BUGREPORT_SHARING_ACCEPTED), in buildNotification()
88 DevicePolicyManager.ACTION_BUGREPORT_SHARING_DECLINED), in buildNotification()
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;
49 import android.app.admin.DevicePolicyManager;
278 DevicePolicyManager.KEYGUARD_DISABLE_TRUST_AGENTS
279 | DevicePolicyManager.KEYGUARD_DISABLE_FINGERPRINT;
286 DevicePolicyManager.KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS;
355 if (DevicePolicyManager.ACTION_REMOTE_BUGREPORT_DISPATCH.equals(intent.getAction())
369 if (DevicePolicyManager.ACTION_BUGREPORT_SHARING_ACCEPTED.equals(action)) {
371 } else if (DevicePolicyManager.ACTION_BUGREPORT_SHARING_DECLINED.equals(action)) {
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java21 import android.app.admin.DevicePolicyManager;
87 public DevicePolicyManager dpm;
232 DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED), in testSetActiveAdmin()
506 DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED), in testRemoveActiveAdmin_sameUserNoMANAGE_DEVICE_ADMINS()
539 DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED), in testRemoveActiveAdmin_sameUserNoMANAGE_DEVICE_ADMINS()
614 MockUtils.checkIntentAction(DevicePolicyManager.ACTION_DEVICE_OWNER_CHANGED), in setDeviceOwner()
620 private void checkGetDeviceOwnerInfoApi(DevicePolicyManager dpm, boolean hasDeviceOwner) { in checkGetDeviceOwnerInfoApi()
1719 assertEquals(DevicePolicyManager.STATE_USER_UNMANAGED, dpm.getUserProvisioningState()); in testGetUserProvisioningState_defaultResult()
1727 DevicePolicyManager.STATE_USER_SETUP_FINALIZED); in testSetUserProvisioningState_permission()
1733 dpm.setUserProvisioningState(DevicePolicyManager.STATE_USER_SETUP_FINALIZED, in testSetUserProvisioningState_unprivileged()
[all …]
DDevicePolicyManagerTestable.java18 import android.app.admin.DevicePolicyManager;
24 public class DevicePolicyManagerTestable extends DevicePolicyManager {
/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…
128 oleh metode <code>DevicePolicyManager.getParentProfileInstance()</code>
130 pertanyaan kerja menggunakan kelas {@link android.app.admin.DevicePolicyManager}
137 …<code>DevicePolicyManager</code> di <a href="{@docRoot}preview/setup-sdk.html#docs-dl">Referensi N…
144 dengan memanggil metode <code>DevicePolicyManager.setPackagesSuspended()</code>
160 <code>DevicePolicyManager.getPackageSuspended()</code> baru.
[all …]
/frameworks/base/docs/html/guide/topics/admin/
Ddevice-admin.jd28 <li>{@link android.app.admin.DevicePolicyManager}</li>
187 {@link android.app.admin.DevicePolicyManager#setPasswordExpirationTimeout(android.content.Component…
387 <dt>{@link android.app.admin.DevicePolicyManager}</dt>
390 has currently enabled. The {@link android.app.admin.DevicePolicyManager} manages policies for
399 {@link android.app.admin.DevicePolicyManager} APIs to write a device admin application.</p>
446 action that triggers the {@link android.app.admin.DevicePolicyManager#ACTION_ADD_DEVICE_ADMIN}
473 Intent intent = new Intent(DevicePolicyManager.ACTION_ADD_DEVICE_ADMIN);
474 intent.putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN, mDeviceAdminSample);
475 intent.putExtra(DevicePolicyManager.EXTRA_ADD_EXPLANATION,
495 <code>intent.putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN,
[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
128 by the new <code>DevicePolicyManager.getParentProfileInstance()</code>
130 the work challenge by using the {@link android.app.admin.DevicePolicyManager}
137 <code>DevicePolicyManager</code> reference page in the <a
145 by calling the new <code>DevicePolicyManager.setPackagesSuspended()</code>
163 <code>DevicePolicyManager.getPackageSuspended()</code> method.
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java20 import android.app.admin.DevicePolicyManager;
149 private DevicePolicyManager mDevicePolicyManager;
202 public DevicePolicyManager getDevicePolicyManager() { in getDevicePolicyManager()
205 (DevicePolicyManager)mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in getDevicePolicyManager()
534 return DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED; in getActivePasswordQuality()
553 setLong(PASSWORD_TYPE_KEY, DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED, userHandle); in clearLock()
569 DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED, 0, 0, 0, 0, 0, 0, 0, userHandle); in clearLock()
618 DevicePolicyManager dpm = getDevicePolicyManager(); in saveLockPattern()
633 setLong(PASSWORD_TYPE_KEY, DevicePolicyManager.PASSWORD_QUALITY_SOMETHING, userId); in saveLockPattern()
634 dpm.setActivePasswordState(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING, in saveLockPattern()
[all …]
/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
128 pelo novo método <code>DevicePolicyManager.getParentProfileInstance()</code>
131 <code>setOrganizationName()</code> da classe {@link android.app.admin.DevicePolicyManager}
137 página de referência <code>DevicePolicyManager</code> na <a href="{@docRoot}preview/setup-sdk.html#…
144 chamando o novo método <code>DevicePolicyManager.setPackagesSuspended()</code>
160 <code>DevicePolicyManager.getPackageSuspended()</code>.
[all …]
/frameworks/base/packages/Shell/src/com/android/shell/
DRemoteBugreportReceiver.java27 import android.app.admin.DevicePolicyManager;
59 DevicePolicyManager.EXTRA_REMOTE_BUGREPORT_HASH); in onReceive()
61 final Intent newIntent = new Intent(DevicePolicyManager.ACTION_REMOTE_BUGREPORT_DISPATCH); in onReceive()
63 newIntent.putExtra(DevicePolicyManager.EXTRA_REMOTE_BUGREPORT_HASH, bugreportHash); in onReceive()
/frameworks/base/docs/html-intl/intl/es/preview/features/
Dafw.jd110 android.app.admin.DevicePolicyManager#ACTION_SET_NEW_PASSWORD}, el
121 comprobación mediante los métodos {@link android.app.admin.DevicePolicyManager}
123 android.app.admin.DevicePolicyManager#setPasswordQuality
125 android.app.admin.DevicePolicyManager#setPasswordMinimumLength
127 la utilización de la instancia de{@link android.app.admin.DevicePolicyManager} devuelta
128 por el nuevo método <code>DevicePolicyManager.getParentProfileInstance()</code>
130 …iante la utilización de los nuevos métodos de la clase{@link android.app.admin.DevicePolicyManager}
137 …<code>DevicePolicyManager</code> en la <a href="{@docRoot}preview/setup-sdk.html#docs-dl">Referenc…
144 mediante una llamada al nuevo método <code>DevicePolicyManager.setPackagesSuspended()</code>
160 <code>DevicePolicyManager.getPackageSuspended()</code>.
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardDisableHandler.java23 import android.app.admin.DevicePolicyManager;
99 DevicePolicyManager dpm = (DevicePolicyManager) mContext.getSystemService( in updateAllowState()
105 == DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED ? in updateAllowState()
/frameworks/base/services/core/java/com/android/server/
DHardwarePropertiesManagerService.java19 import android.app.admin.DevicePolicyManager;
101 final DevicePolicyManager dpm = mContext.getSystemService(DevicePolicyManager.class); in enforceHardwarePropertiesRetrievalAllowed()
/frameworks/base/core/java/android/provider/
DContactsInternal.java18 import android.app.admin.DevicePolicyManager;
120 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in maybeStartManagedQuickContact()
/frameworks/base/packages/Keyguard/test/src/com/android/keyguard/test/
DKeyguardTestActivity.java25 import android.app.admin.DevicePolicyManager;
182 mSecurityModeMock = DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED; in setMode()
185 mSecurityModeMock = DevicePolicyManager.PASSWORD_QUALITY_NUMERIC; in setMode()
189 mSecurityModeMock = DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC; in setMode()
193 mSecurityModeMock = DevicePolicyManager.PASSWORD_QUALITY_SOMETHING; in setMode()
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java21 import android.app.admin.DevicePolicyManager;
159 DevicePolicyManager.STATE_USER_SETUP_FINALIZED, mUserId); in runSetDeviceOwner()
187 DevicePolicyManager.STATE_USER_SETUP_FINALIZED, mUserId); in runSetProfileOwner()
/frameworks/base/docs/html/work/
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()}
371 private DevicePolicyManager mDevicePolicyManager;
[all …]
Ddevice-management-policy.jd55 android.app.admin.DevicePolicyManager} (defining minimum password length and minimum number of
120 {@link android.app.admin.DevicePolicyManager#EXTRA_ADD_EXPLANATION} extra in the intent.</p>
132 new Intent(DevicePolicyManager.ACTION_ADD_DEVICE_ADMIN);
135 DevicePolicyManager.EXTRA_DEVICE_ADMIN,
143 DevicePolicyManager.EXTRA_ADD_EXPLANATION,
171 DevicePolicyManager mDPM = (DevicePolicyManager)
194 new Intent(DevicePolicyManager.ACTION_SET_NEW_PASSWORD);
/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
372 …<li>The {@code DevicePolicyManager.createAndInitializeUser()} and {@code DevicePolicyManager.creat…
373 …<li>The {@link android.app.admin.DevicePolicyManager#setScreenCaptureDisabled(android.content.Comp…
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java19 import android.app.admin.DevicePolicyManager;
60 private final DevicePolicyManager mDevicePolicyManager;
72 mDevicePolicyManager = (DevicePolicyManager) in SecurityControllerImpl()

1234