Searched refs:isPrimaryUser (Results 1 – 6 of 6) sorted by relevance
293 when(mUserManager.isPrimaryUser()).thenReturn(true); in setup()1655 when(mUserManager.isPrimaryUser()).thenReturn(false); in testShouldListenForFace_whenUserIsNotPrimary_returnsFalse()2669 when(mUserManager.isPrimaryUser()).thenReturn(true); in currentUserIsPrimary()
1217 if (!(getUserManager().isSystemUser() || getUserManager().isPrimaryUser())) { in setCredentialRequiredToDecrypt()
2238 public boolean isPrimaryUser() { in isPrimaryUser() method in UserManager
2376 mIsPrimaryUser = mUserManager.isPrimaryUser(); in KeyguardUpdateMonitor()
9820 ….permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public boolean isPrimaryUser();
40061 Landroid/os/UserManager;->isPrimaryUser()Z