Searched refs:mDevicePolicyManager (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/ |
D | Dpm.java | 45 private IDevicePolicyManager mDevicePolicyManager; field in Dpm 69 mDevicePolicyManager = IDevicePolicyManager.Stub.asInterface( in onRun() 71 if (mDevicePolicyManager == null) { in onRun() 103 mDevicePolicyManager.setActiveAdmin(mComponent, true /*refreshing*/, mUserId); in runSetActiveAdmin() 110 mDevicePolicyManager.setActiveAdmin(component, true /*refreshing*/, UserHandle.USER_OWNER); in runSetDeviceOwner() 114 if (!mDevicePolicyManager.setDeviceOwner(packageName, null /*ownerName*/)) { in runSetDeviceOwner() 120 mDevicePolicyManager.removeActiveAdmin(component, UserHandle.USER_OWNER); in runSetDeviceOwner() 131 mDevicePolicyManager.setActiveAdmin(component, true /*refreshing*/, userId); in runSetProfileOwner() 134 if (!mDevicePolicyManager.setProfileOwner(component, "" /*ownerName*/, userId)) { in runSetProfileOwner() 140 mDevicePolicyManager.removeActiveAdmin(component, userId); in runSetProfileOwner()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 55 private final DevicePolicyManager mDevicePolicyManager; field in SecurityControllerImpl 66 mDevicePolicyManager = (DevicePolicyManager) in SecurityControllerImpl() 85 return !TextUtils.isEmpty(mDevicePolicyManager.getDeviceOwner()); in hasDeviceOwner() 90 return !TextUtils.isEmpty(mDevicePolicyManager.getProfileOwnerNameAsUser(mCurrentUserId)); in hasProfileOwner() 95 return mDevicePolicyManager.getDeviceOwnerName(); in getDeviceOwnerName() 100 return mDevicePolicyManager.getProfileOwnerNameAsUser(mCurrentUserId); in getProfileOwnerName()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 165 private DevicePolicyManager mDevicePolicyManager; field in LockPatternUtils 174 if (mDevicePolicyManager == null) { in getDevicePolicyManager() 175 mDevicePolicyManager = in getDevicePolicyManager() 177 if (mDevicePolicyManager == null) { in getDevicePolicyManager() 182 return mDevicePolicyManager; in getDevicePolicyManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | BaseStatusBar.java | 192 protected DevicePolicyManager mDevicePolicyManager; field in BaseStatusBar 499 mDevicePolicyManager = (DevicePolicyManager)mContext.getSystemService( in start() 1195 final int dpmFlags = mDevicePolicyManager.getKeyguardDisabledFeatures(null /* admin */, 1808 final int dpmFlags = mDevicePolicyManager.getKeyguardDisabledFeatures(
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStackSupervisor.java | 161 private IDevicePolicyManager mDevicePolicyManager; field in ActivityStackSupervisor 335 if (mDevicePolicyManager == null) { in getDevicePolicyManager() 336 mDevicePolicyManager = IDevicePolicyManager.Stub.asInterface( in getDevicePolicyManager() 338 if (mDevicePolicyManager == null) { in getDevicePolicyManager() 342 return mDevicePolicyManager; in getDevicePolicyManager()
|