Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java269 if (isSystemUser()) { in initializeSharedPreference()
432 public boolean isSystemUser() { in isSystemUser() method in CellBroadcastReceiver
433 return isSystemUser(mContext); in isSystemUser()
449 private static boolean isSystemUser(Context context) { in isSystemUser() method in CellBroadcastReceiver
451 return userManager.isSystemUser(); in isSystemUser()
459 if (isSystemUser(context)) { in startConfigService()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DUserSwitchListenerService.java48 boolean isSystemUser = UserManager.get(context).isSystemUser(); in onReceive()
49 if (isSystemUser) { in onReceive()
DRestrictedProfilePinService.java43 mBinder = isSystemUser() ? new PinServiceImpl(this) : null; in onCreate()
56 private boolean isSystemUser() { in isSystemUser() method in RestrictedProfilePinService
/packages/services/Car/procfs-inspector/server/
Dserver.cpp23 static bool isSystemUser() { in isSystemUser() function
61 if (isSystemUser()) { in onTransact()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DStartUpBootReceiver.java41 if (!userManager.isSystemUser()) { in onReceive()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastReceiverTest.java200 doReturn(true).when(mCellBroadcastReceiver).isSystemUser(); in testInitializeSharedPreference_ifSystemUser()
213 doReturn(false).when(mCellBroadcastReceiver).isSystemUser(); in testInitializeSharedPreference_ifNotSystemUser()
/packages/services/Telephony/src/com/android/phone/
DSpecialCharSequenceMgr.java239 if (userManager.isSystemUser()) { in handlePinEntry()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUserHelper.java212 if (!(mUserManager.isAdminUser() || mUserManager.isSystemUser())) { in createNewAdminUser()
/packages/apps/Dialer/java/com/android/dialer/app/settings/
DDialerSettingsActivity.java327 return getSystemService(UserManager.class).isSystemUser(); in isPrimaryUser()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogProvider.java675 if (userManager.isSystemUser()) { in syncEntries()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java496 when(mMockedUserManager.isSystemUser()).thenReturn(true); in testCreateAdminDriver_IfCurrentUserIsAdminUser()
509 when(mMockedUserManager.isSystemUser()).thenReturn(false); in testCreateAdminDriver_IfCurrentUserIsNotSystemUser()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java416 if (!(mUserManager.isAdminUser() || mUserManager.isSystemUser())) { in createDriver()