Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java262 if (isSystemUser()) { in initializeSharedPreference()
424 public boolean isSystemUser() { in isSystemUser() method in CellBroadcastReceiver
425 return isSystemUser(mContext); in isSystemUser()
441 private static boolean isSystemUser(Context context) { in isSystemUser() method in CellBroadcastReceiver
443 return userManager.isSystemUser(); in isSystemUser()
451 if (isSystemUser(context)) { in startConfigService()
/packages/services/Car/tests/robotests/src/com/android/car/testutils/shadow/
DShadowUserManager.java39 public boolean isSystemUser = true; field in ShadowUserManager
61 public boolean isSystemUser() { in isSystemUser() method in ShadowUserManager
62 return isSystemUser; in isSystemUser()
/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/services/Car/procfs-inspector/server/
Dserver.cpp23 static bool isSystemUser() { in isSystemUser() function
61 if (isSystemUser()) { in onTransact()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java526 public boolean isSystemUser(UserInfo userInfo) { in isSystemUser() method in CarUserManagerHelper
601 return !isSystemUser(userInfo); in canUserBeRemoved()
661 return mUserManager.isSystemUser(); in isCurrentProcessSystemUser()
876 if (isSystemUser(userInfo)) { in removeUser()
/packages/services/Car/tests/BugReportApp/src/com/google/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/Car/tests/carservice_unit_test/src/android/car/userlib/
DCarUserManagerHelperTest.java131 assertThat(mCarUserManagerHelper.isSystemUser(testInfo)).isTrue(); in checkIsSystemUser()
134 assertThat(mCarUserManagerHelper.isSystemUser(testInfo)).isFalse(); in checkIsSystemUser()
443 doReturn(true).when(mUserManager).isSystemUser(); in testSystemUserCanCreateAdmins()
/packages/services/Telephony/src/com/android/phone/
DSpecialCharSequenceMgr.java239 if (userManager.isSystemUser()) { in handlePinEntry()
/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.java671 if (userManager.isSystemUser()) { in syncEntries()