Searched refs:getDeviceOwnerComponentOnCallingUser (Results 1 – 14 of 14) sorted by relevance
93 public ComponentName getDeviceOwnerComponentOnCallingUser() { in getDeviceOwnerComponentOnCallingUser() method in DevicePolicyManagerCompat94 return this.mManager.getDeviceOwnerComponentOnCallingUser(); in getDeviceOwnerComponentOnCallingUser()
47 if (isProfileOwner || admin.equals(mDpm.getDeviceOwnerComponentOnCallingUser())) { in updateState()
75 || admin.equals(mDpm.getDeviceOwnerComponentOnCallingUser()); in isProfileOrDeviceOwner()
161 when(mDpm.getDeviceOwnerComponentOnCallingUser()).thenReturn(mDefaultAdmin); in mockDeviceOwner()166 when(mDpm.getDeviceOwnerComponentOnCallingUser()).thenReturn(null); in mockNoDeviceOwner()
89 ComponentName owner = mDpm.getDeviceOwnerComponentOnCallingUser(); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
95 } else if (dpm.getDeviceOwnerComponentOnCallingUser() != null) { in onCreate()
236 when(mDevicePolicyManager.getDeviceOwnerComponentOnCallingUser()).thenReturn(null); in testGetMaximumFailedPasswordsForWipeInCurrentUser()245 when(mDevicePolicyManager.getDeviceOwnerComponentOnCallingUser()).thenReturn(mOwner); in testGetMaximumFailedPasswordsForWipeInCurrentUser()
155 ComponentName owner = mDpm.getDeviceOwnerComponentOnCallingUser(); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
723 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnCallingUser(); in isPackageDeviceOwner()811 : dpm.getDeviceOwnerComponentOnCallingUser(); in getCurrentDeviceOwnerComponentName()
146 ComponentName owner = mDpm.getDeviceOwnerComponentOnCallingUser(); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
149 ComponentName owner = mDpm.getDeviceOwnerComponentOnCallingUser(); in getMaximumFailedPasswordsBeforeWipeInCurrentUser()
430 when(mDpm.getDeviceOwnerComponentOnCallingUser()).thenReturn(TEST_COMPONENT_NAME); in testParse_managedProfileIntent_CompProvisioning()466 when(mDpm.getDeviceOwnerComponentOnCallingUser()).thenReturn(TEST_COMPONENT_NAME_2); in testParse_managedProfileIntent_DeviceOwnerWithByodProvisioning()
492 mDPM.getDeviceOwnerComponentOnCallingUser())) { in updateInterface()
691 mDPM.getDeviceOwnerComponentOnCallingUser())) { in updateInterface()