Home
last modified time | relevance | path

Searched refs:isSystemUser (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Dialer/tests/src/com/android/dialer/compat/
DFilteredNumberCompatTest.java236 when(userManager.isSystemUser()).thenReturn(false); in testCanCurrentUserOpenBlockSettings_M_SecondaryUser()
239 verify(userManager).isSystemUser(); in testCanCurrentUserOpenBlockSettings_M_SecondaryUser()
248 when(userManager.isSystemUser()).thenReturn(true); in testCanCurrentUserOpenBlockSettings_M_PrimaryUser()
251 verify(userManager).isSystemUser(); in testCanCurrentUserOpenBlockSettings_M_PrimaryUser()
260 when(userManager.isSystemUser()).thenReturn(false); in testCanAttemptBlockOperations_M_SecondaryUser()
263 verify(userManager).isSystemUser(); in testCanAttemptBlockOperations_M_SecondaryUser()
272 when(userManager.isSystemUser()).thenReturn(true); in testCanAttemptBlockOperations_M_PrimaryUser()
275 verify(userManager).isSystemUser(); in testCanAttemptBlockOperations_M_PrimaryUser()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DUserSwitchListenerService.java52 boolean isSystemUser = UserManager.get(context).isSystemUser(); in onReceive()
54 if (isSystemUser) { in onReceive()
/packages/apps/Dialer/src/com/android/dialer/compat/
DUserManagerCompat.java45 public static boolean isSystemUser(UserManager userManager) { in isSystemUser() method in UserManagerCompat
47 return userManager.isSystemUser(); in isSystemUser()
DFilteredNumberCompat.java347 return UserManagerCompat.isSystemUser(
366 return UserManagerCompat.isSystemUser(
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java68 (UserManager.get(context).isSystemUser())) { in onReceiveWithPrivilege()
78 if (UserManager.get(context).isSystemUser()) { in onReceiveWithPrivilege()
/packages/services/Car/libvehiclenetwork/native/
DIVehicleNetworkHalMock.cpp153 static bool isSystemUser() { in isSystemUser() function
172 if (!isSystemUser()) { in onTransact()
/packages/apps/Dialer/src/com/android/dialer/settings/
DDialerSettingsActivity.java174 return UserManagerCompat.isSystemUser((UserManager) getSystemService(Context.USER_SERVICE)); in isPrimaryUser()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogProvider.java517 if (userManager.isSystemUser()) { in syncEntries()