Searched refs:iactivityManager (Results 1 – 3 of 3) sorted by relevance
104 public final IActivityManager iactivityManager; field in MockSystemServices152 iactivityManager = mock(IActivityManager.class); in MockSystemServices()
191 return services.iactivityManager; in getIActivityManager()
1099 verify(getServices().iactivityManager, times(1)).updateDeviceOwner( in setDeviceOwner()1121 when(getServices().iactivityManager.getCurrentUser()).thenReturn( in setDeviceOwner_headlessSystemUser()1163 verify(getServices().iactivityManager).updateDeviceOwner( in setDeviceOwner_headlessSystemUser()1351 verify(getServices().iactivityManager, times(1)).updateDeviceOwner( in testClearDeviceOwner()1456 verify(getServices().iactivityManager, times(1)).updateDeviceOwner( in testClearDeviceOwner_fromDifferentUser()4551 verify(getServices().iactivityManager).updateLockTaskPackages(userId, packages); in verifyLockTaskState()4786 when(getServices().iactivityManager.getCurrentUser()) in testWipeDataManagedProfile()4803 when(getServices().iactivityManager.getCurrentUser()) in testWipeDataManagedProfileOnOrganizationOwnedDevice()4866 when(getServices().iactivityManager.getCurrentUser()) in testWipeDataManagedProfileDisallowed()4935 when(getServices().iactivityManager.getCurrentUser()) in testMaximumFailedPasswordAttemptsReachedManagedProfile()[all …]