Searched refs:getDeviceOwnerComponentOnAnyUser (Results 1 – 14 of 14) sorted by relevance
107 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in testHasDeviceOwner()110 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(OWNER); in testHasDeviceOwner()116 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(OWNER); in testIsInCompMode()134 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in testGetDeviceOwnerDisclosure()142 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(OWNER); in testGetDeviceOwnerDisclosure()364 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in workPolicyInfo_unmanagedDevice_shouldDoNothing()375 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(OWNER); in workPolicyInfo_deviceOwner_shouldResolveIntent()388 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in workPolicyInfo_profileOwner_shouldResolveIntent()408 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(OWNER); in workPolicyInfo_comp_shouldUseDeviceOwnerIntent()
157 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(componentName); in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()215 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(componentName); in withUserRestriction_shouldDisableLocationAccuracy()
60 protected ComponentName getDeviceOwnerComponentOnAnyUser() { in getDeviceOwnerComponentOnAnyUser() method in ShadowDevicePolicyManager
93 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown()
67 return mDpm.getDeviceOwnerComponentOnAnyUser() != null; in hasDeviceOwner()
89 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown()
130 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown()
134 ComponentName deviceOwner = mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in addDeviceOwnerTasks()
253 return mDpm.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwnerComponent()
266 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(admin); in setDeviceOwner()
451 final ComponentName currentDeviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in maybeLogManagedProfileOnFullyManagedDevice()
444 .getDeviceOwnerComponentOnAnyUser(); in initialize_switchUserDisallowed_shouldSetAdminDisabledOnSwitchPreference()
862 return dpm.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwnerComponent()
847 return dpm.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwnerComponent()