Searched refs:isSystemUser (Results 1 – 12 of 12) sorted by relevance
269 if (isSystemUser()) { in initializeSharedPreference()432 public boolean isSystemUser() { in isSystemUser() method in CellBroadcastReceiver433 return isSystemUser(mContext); in isSystemUser()449 private static boolean isSystemUser(Context context) { in isSystemUser() method in CellBroadcastReceiver451 return userManager.isSystemUser(); in isSystemUser()459 if (isSystemUser(context)) { in startConfigService()
48 boolean isSystemUser = UserManager.get(context).isSystemUser(); in onReceive()49 if (isSystemUser) { in onReceive()
43 mBinder = isSystemUser() ? new PinServiceImpl(this) : null; in onCreate()56 private boolean isSystemUser() { in isSystemUser() method in RestrictedProfilePinService
23 static bool isSystemUser() { in isSystemUser() function61 if (isSystemUser()) { in onTransact()
41 if (!userManager.isSystemUser()) { in onReceive()
200 doReturn(true).when(mCellBroadcastReceiver).isSystemUser(); in testInitializeSharedPreference_ifSystemUser()213 doReturn(false).when(mCellBroadcastReceiver).isSystemUser(); in testInitializeSharedPreference_ifNotSystemUser()
239 if (userManager.isSystemUser()) { in handlePinEntry()
212 if (!(mUserManager.isAdminUser() || mUserManager.isSystemUser())) { in createNewAdminUser()
327 return getSystemService(UserManager.class).isSystemUser(); in isPrimaryUser()
675 if (userManager.isSystemUser()) { in syncEntries()
496 when(mMockedUserManager.isSystemUser()).thenReturn(true); in testCreateAdminDriver_IfCurrentUserIsAdminUser()509 when(mMockedUserManager.isSystemUser()).thenReturn(false); in testCreateAdminDriver_IfCurrentUserIsNotSystemUser()
416 if (!(mUserManager.isAdminUser() || mUserManager.isSystemUser())) { in createDriver()