/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiver.java | 262 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/ |
D | ShadowUserManager.java | 39 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/ |
D | UserSwitchListenerService.java | 52 boolean isSystemUser = UserManager.get(context).isSystemUser(); in onReceive() 54 if (isSystemUser) { in onReceive()
|
/packages/services/Car/procfs-inspector/server/ |
D | server.cpp | 23 static bool isSystemUser() { in isSystemUser() function 61 if (isSystemUser()) { in onTransact()
|
/packages/services/Car/user/car-user-lib/src/android/car/userlib/ |
D | CarUserManagerHelper.java | 526 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/ |
D | StartUpBootReceiver.java | 41 if (!userManager.isSystemUser()) { in onReceive()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastReceiverTest.java | 200 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/ |
D | CarUserManagerHelperTest.java | 131 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/ |
D | SpecialCharSequenceMgr.java | 239 if (userManager.isSystemUser()) { in handlePinEntry()
|
/packages/apps/Dialer/java/com/android/dialer/app/settings/ |
D | DialerSettingsActivity.java | 327 return getSystemService(UserManager.class).isSystemUser(); in isPrimaryUser()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | CallLogProvider.java | 671 if (userManager.isSystemUser()) { in syncEntries()
|