OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DevicePolicyManager
(Results
176 - 200
of
283
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/apps/Email/provider_src/com/android/email/activity/setup/
AccountSecurity.java
25
import android.app.admin.
DevicePolicyManager
;
402
Intent intent = new Intent(
DevicePolicyManager
.ACTION_ADD_DEVICE_ADMIN);
403
intent.putExtra(
DevicePolicyManager
.EXTRA_DEVICE_ADMIN,
405
intent.putExtra(
DevicePolicyManager
.EXTRA_ADD_EXPLANATION,
415
//
DevicePolicyManager
(the current system security level).
448
Intent intent = new Intent(
DevicePolicyManager
.ACTION_SET_NEW_PASSWORD);
468
Intent intent = new Intent(
DevicePolicyManager
.ACTION_START_ENCRYPTION);
622
Intent intent = new Intent(
DevicePolicyManager
.ACTION_SET_NEW_PASSWORD);
/packages/apps/Email/provider_src/com/android/email/
SecurityPolicy.java
21
import android.app.admin.
DevicePolicyManager
;
62
private
DevicePolicyManager
mDPM;
66
// Messages used for
DevicePolicyManager
callbacks
213
/* package */ synchronized
DevicePolicyManager
getDPM() {
215
mDPM = (
DevicePolicyManager
) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE);
329
DevicePolicyManager
dpm = getDPM();
379
if (encryptionStatus !=
DevicePolicyManager
.ENCRYPTION_STATUS_ACTIVE) {
406
DevicePolicyManager
dpm = getDPM();
680
DevicePolicyManager
dpm = getDPM();
682
dpm.wipeData(
DevicePolicyManager
.WIPE_EXTERNAL_STORAGE)
[
all
...]
/packages/apps/Settings/src/com/android/settings/
ChooseLockPassword.java
21
import android.app.admin.
DevicePolicyManager
;
60
import static android.app.admin.
DevicePolicyManager
.PASSWORD_QUALITY_ALPHABETIC;
61
import static android.app.admin.
DevicePolicyManager
.PASSWORD_QUALITY_ALPHANUMERIC;
62
import static android.app.admin.
DevicePolicyManager
.PASSWORD_QUALITY_COMPLEX;
63
import static android.app.admin.
DevicePolicyManager
.PASSWORD_QUALITY_NUMERIC;
64
import static android.app.admin.
DevicePolicyManager
.PASSWORD_QUALITY_NUMERIC_COMPLEX;
190
private int mRequestedQuality =
DevicePolicyManager
.PASSWORD_QUALITY_NUMERIC;
306
mIsAlphaMode =
DevicePolicyManager
.PASSWORD_QUALITY_ALPHABETIC == mRequestedQuality
307
||
DevicePolicyManager
.PASSWORD_QUALITY_ALPHANUMERIC == mRequestedQuality
308
||
DevicePolicyManager
.PASSWORD_QUALITY_COMPLEX == mRequestedQuality
[
all
...]
ProxySelector.java
22
import android.app.admin.
DevicePolicyManager
;
78
final
DevicePolicyManager
dpm =
79
(
DevicePolicyManager
)getActivity().getSystemService(Context.DEVICE_POLICY_SERVICE);
SetupChooseLockGeneric.java
19
import android.app.admin.
DevicePolicyManager
;
155
DevicePolicyManager
.PASSWORD_QUALITY_SOMETHING);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
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;
49
import android.app.admin.
DevicePolicyManager
;
280
DevicePolicyManager
.KEYGUARD_DISABLE_TRUST_AGENTS
281
|
DevicePolicyManager
.KEYGUARD_DISABLE_FINGERPRINT;
288
DevicePolicyManager
.KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS;
357
if (
DevicePolicyManager
.ACTION_REMOTE_BUGREPORT_DISPATCH.equals(intent.getAction())
371
if (
DevicePolicyManager
.ACTION_BUGREPORT_SHARING_ACCEPTED.equals(action)) {
373
} else if (
DevicePolicyManager
.ACTION_BUGREPORT_SHARING_DECLINED.equals(action))
[
all
...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DeviceOwnerPositiveTestActivity.java
23
import android.app.admin.
DevicePolicyManager
;
79
DevicePolicyManager
dpm = (
DevicePolicyManager
) getSystemService(
PolicyTransparencyTestListActivity.java
19
import android.app.admin.
DevicePolicyManager
;
60
DevicePolicyManager
.ACTION_SET_NEW_PASSWORD,
/developers/build/prebuilts/gradle/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/
DeviceOwnerFragment.java
21
import android.app.admin.
DevicePolicyManager
;
57
private
DevicePolicyManager
mDevicePolicyManager;
143
(
DevicePolicyManager
) activity.getSystemService(Activity.DEVICE_POLICY_SERVICE);
/developers/samples/android/admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/
DeviceOwnerFragment.java
21
import android.app.admin.
DevicePolicyManager
;
57
private
DevicePolicyManager
mDevicePolicyManager;
143
(
DevicePolicyManager
) activity.getSystemService(Activity.DEVICE_POLICY_SERVICE);
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/
DeviceOwnerFragment.java
21
import android.app.admin.
DevicePolicyManager
;
57
private
DevicePolicyManager
mDevicePolicyManager;
143
(
DevicePolicyManager
) activity.getSystemService(Activity.DEVICE_POLICY_SERVICE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
SecurityControllerImpl.java
19
import android.app.admin.
DevicePolicyManager
;
64
private final
DevicePolicyManager
mDevicePolicyManager;
77
mDevicePolicyManager = (
DevicePolicyManager
)
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
ApplicationHiddenTest.java
18
import android.app.admin.
DevicePolicyManager
;
30
* Tests for {@link
DevicePolicyManager
#setApplicationHidden} and
31
* {@link
DevicePolicyManager
#isApplicationHidden} APIs.
DpcAllowedAccountManagementTest.java
24
import android.app.admin.
DevicePolicyManager
;
34
* {@link
DevicePolicyManager
#setAccountManagementDisabled} and
73
//
DevicePolicyManager
keeps track of the disabled set correctly
/frameworks/base/services/core/java/com/android/server/trust/
TrustAgentWrapper.java
21
import android.app.admin.
DevicePolicyManager
;
83
private long mMaximumTimeToLock; // from
DevicePolicyManager
125
// Enforce
DevicePolicyManager
timeout. This is here as a safeguard to
128
//
DevicePolicyManager
#KEYGUARD_DISABLE_TRUST_AGENTS.
358
DevicePolicyManager
dpm =
359
(
DevicePolicyManager
) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE);
362
&
DevicePolicyManager
.KEYGUARD_DISABLE_TRUST_AGENTS) != 0) {
/packages/apps/Settings/src/com/android/settings/accessibility/
ToggleAccessibilityServicePreferenceFragment.java
23
import android.app.admin.
DevicePolicyManager
;
352
case
DevicePolicyManager
.PASSWORD_QUALITY_SOMETHING: {
355
case
DevicePolicyManager
.PASSWORD_QUALITY_NUMERIC:
356
case
DevicePolicyManager
.PASSWORD_QUALITY_NUMERIC_COMPLEX: {
/packages/apps/Settings/src/com/android/settings/notification/
NotificationSettingsBase.java
26
import android.app.admin.
DevicePolicyManager
;
235
DevicePolicyManager
.KEYGUARD_DISABLE_SECURE_NOTIFICATIONS
236
|
DevicePolicyManager
.KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS);
244
DevicePolicyManager
.KEYGUARD_DISABLE_SECURE_NOTIFICATIONS);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
CAInstallNotificationVerifierActivity.java
20
import android.app.admin.
DevicePolicyManager
;
260
startActivity(new Intent(
DevicePolicyManager
.ACTION_SET_NEW_PASSWORD));
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
SettingsFacade.java
21
import android.app.admin.
DevicePolicyManager
;
234
DevicePolicyManager
.PASSWORD_QUALITY_NUMERIC, UserHandle.myUserId());
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
ApiHelper.java
19
import android.app.admin.
DevicePolicyManager
;
111
hasMethod(
DevicePolicyManager
.class, "getCameraDisabled", ComponentName.class);
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/model/
ProvisioningParamsTest.java
21
import android.app.admin.
DevicePolicyManager
;
39
DevicePolicyManager
.ACTION_PROVISION_MANAGED_PROFILE;
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/uiflows/
EncryptionControllerTest.java
18
import static android.app.admin.
DevicePolicyManager
.ACTION_PROVISION_MANAGED_DEVICE;
19
import static android.app.admin.
DevicePolicyManager
.ACTION_PROVISION_MANAGED_PROFILE;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
KeyguardBottomAreaView.java
25
import android.app.admin.
DevicePolicyManager
;
338
final
DevicePolicyManager
dpm =
339
(
DevicePolicyManager
) getContext().getSystemService(Context.DEVICE_POLICY_SERVICE);
345
(disabledFlags &
DevicePolicyManager
.KEYGUARD_DISABLE_SECURE_CAMERA) != 0
357
filter.addAction(
DevicePolicyManager
.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Policy.java
18
import android.app.admin.
DevicePolicyManager
;
367
* Helper to map our internal encoding to
DevicePolicyManager
password modes.
372
return
DevicePolicyManager
.PASSWORD_QUALITY_NUMERIC;
375
return
DevicePolicyManager
.PASSWORD_QUALITY_ALPHANUMERIC;
377
return
DevicePolicyManager
.PASSWORD_QUALITY_COMPLEX;
380
return
DevicePolicyManager
.PASSWORD_QUALITY_UNSPECIFIED;
385
* Helper to map expiration times to the millisecond values used by
DevicePolicyManager
.
/packages/apps/Email/tests/src/com/android/email/
SecurityPolicyTests.java
19
import android.app.admin.
DevicePolicyManager
;
454
// Policy.PASSWORD_MODE_NONE ->
DevicePolicyManager
.PASSWORD_QUALITY_UNSPECIFIED
457
assertEquals(
DevicePolicyManager
.PASSWORD_QUALITY_UNSPECIFIED,
463
assertEquals(
DevicePolicyManager
.PASSWORD_QUALITY_NUMERIC,
469
assertEquals(
DevicePolicyManager
.PASSWORD_QUALITY_ALPHANUMERIC,
475
assertEquals(
DevicePolicyManager
.PASSWORD_QUALITY_COMPLEX,
Completed in 1052 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>