Searched refs:getDeviceOwnerComponentOnAnyUser (Results 1 – 23 of 23) sorted by relevance
116 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in testHasDeviceOwner()119 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(mOwner); in testHasDeviceOwner()125 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(mOwner); in testIsInCompMode()143 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in testGetDeviceOwnerDisclosure()148 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(mOwner); in testGetDeviceOwnerDisclosure()355 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in workPolicyInfo_unmanagedDevice_shouldDoNothing()366 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(mOwner); in workPolicyInfo_deviceOwner_shouldResolveIntent()379 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in workPolicyInfo_profileOwner_shouldResolveIntent()399 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(mOwner); in workPolicyInfo_comp_shouldUseDeviceOwnerIntent()
69 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in setUp()
72 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in setUp()
872 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByPackageName()881 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByPackageName()889 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByPackageName()897 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByPackageName()922 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByUid()931 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByUid()938 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByUid()947 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByUid()955 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByUid()
131 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(componentName); in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()187 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(componentName); in withUserRestriction_shouldDisableLocationAccuracy()
52 dpm.getDeviceOwnerComponentOnAnyUser()) == DEVICE_OWNER_TYPE_FINANCED; in isFinancedDevice()
67 mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in isFinancedDevice()
279 return mDpm.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwnerComponent()
76 .getDeviceOwnerComponentOnAnyUser()) in isFinancedDevice()
63 protected ComponentName getDeviceOwnerComponentOnAnyUser() { in getDeviceOwnerComponentOnAnyUser() method in ShadowDevicePolicyManager
98 when(mDpm.getDeviceOwnerComponentOnAnyUser()).thenReturn(mDefaultAdmin); in mockDeviceOwner()
97 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown()
130 ComponentName deviceOwner = mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in addDeviceOwnerTasks()
264 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown()
231 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(admin); in setDeviceOwner()
151 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown()
437 final ComponentName currentDeviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in maybeLogManagedProfileOnFullyManagedDevice()
622 deviceOwnerComponent = devicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwner()
450 .getDeviceOwnerComponentOnAnyUser(); in initialize_switchUserDisallowed_shouldSetAdminDisabledOnSwitchPreference()
767 ? dpm.getDeviceOwnerComponentOnAnyUser() in getCurrentDeviceOwnerComponentName()
802 mDPM.getDeviceOwnerComponentOnAnyUser()) == DEVICE_OWNER_TYPE_FINANCED; in isFinancedDevice()
898 return dpm.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwnerComponent()