Searched refs:getDeviceOwnerUserId (Results 1 – 12 of 12) sorted by relevance
59 public int getDeviceOwnerUserId() { in getDeviceOwnerUserId() method in DevicePolicyManagerCompat60 return this.mManager.getDeviceOwnerUserId(); in getDeviceOwnerUserId()
203 private static int getDeviceOwnerUserId(Context context) { in getDeviceOwnerUserId() method in EnterpriseUtils204 return getDevicePolicyManager(context).getDeviceOwnerUserId(); in getDeviceOwnerUserId()248 ? getDeviceOwnerUserId(context) in getActionDisabledByAdminDialog()
60 final int deviceOwnerUserId = dpm.getDeviceOwnerUserId(); in isNetworkLockedDown()
114 return enforcementAdminUserId == dpm.getDeviceOwnerUserId(); in isEnforcedByDeviceOwnerOnSystemUserMode()
88 protected int getDeviceOwnerUserId() { in getDeviceOwnerUserId() method in ShadowDevicePolicyManager
215 final int deviceOwnerUserId = dpm.getDeviceOwnerUserId(); in isNetworkLockedDown()
118 final int deviceOwnerUserId = dpm.getDeviceOwnerUserId(); in isNetworkLockedDown()
107 final int deviceOwnerUserId = mDevicePolicyManager.getDeviceOwnerUserId(); in run()
305 doReturn(0).when(mDpm).getDeviceOwnerUserId(); in updateUninstallButton_isNotSystemAndIsProfileOrDeviceOwner_setButtonDisable()316 doReturn(10).when(mDpm).getDeviceOwnerUserId(); in updateUninstallButton_isNotSystemAndIsNotProfileOrDeviceOwner_setButtonEnabled()
231 when(mDevicePolicyManager.getDeviceOwnerUserId()).thenReturn(userId); in setDeviceOwner()
191 final int deviceOwnerUserId = dpm.getDeviceOwnerUserId(); in isNetworkLockedDown()
1036 if ((devicePolicyManager.getDeviceOwnerUserId() == userId) in isProfileOrDeviceOwner()