Searched refs:getDeviceOwnerUserId (Results 1 – 8 of 8) sorted by relevance
53 protected int getDeviceOwnerUserId() { in getDeviceOwnerUserId() method in ShadowDevicePolicyManager
99 final int deviceOwnerUserId = dpm.getDeviceOwnerUserId(); in isNetworkLockedDown()
303 doReturn(0).when(mDpm).getDeviceOwnerUserId(); in updateUninstallButton_isNotSystemAndIsProfileOrDeviceOwner_setButtonDisable()314 doReturn(10).when(mDpm).getDeviceOwnerUserId(); in updateUninstallButton_isNotSystemAndIsNotProfileOrDeviceOwner_setButtonEnabled()
104 final int deviceOwnerUserId = mDevicePolicyManager.getDeviceOwnerUserId(); in run()
266 final int deviceOwnerUserId = dpm.getDeviceOwnerUserId(); in isNetworkLockedDown()
230 when(mDevicePolicyManager.getDeviceOwnerUserId()).thenReturn(userId); in setDeviceOwner()
153 final int deviceOwnerUserId = dpm.getDeviceOwnerUserId(); in isNetworkLockedDown()
958 if ((devicePolicyManager.getDeviceOwnerUserId() == userId) in isProfileOrDeviceOwner()