/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | UserSwitchListenerService.java | 48 boolean isSystemUser = UserManager.get(context).isSystemUser(); in onReceive() 49 if (isSystemUser) { in onReceive()
|
D | RestrictedProfilePinService.java | 43 mBinder = isSystemUser() ? new PinServiceImpl(this) : null; in onCreate() 56 private boolean isSystemUser() { in isSystemUser() method in RestrictedProfilePinService
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiver.java | 370 if (isSystemUser()) { in initializeSharedPreference() 545 private boolean isSystemUser() { in isSystemUser() method in CellBroadcastReceiver 546 return isSystemUser(mContext); in isSystemUser() 562 private static boolean isSystemUser(Context context) { in isSystemUser() method in CellBroadcastReceiver 564 return userManager.isSystemUser(); in isSystemUser() 572 if (isSystemUser(context)) { in startConfigService()
|
D | CellBroadcastContentProvider.java | 452 if (!userManager.isSystemUser()) { in writeMessageToSmsInbox()
|
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/ |
D | ImsEntitlementReceiverTest.java | 119 when(mMockUserManager.isSystemUser()).thenReturn(true); in setUp() 170 when(mMockUserManager.isSystemUser()).thenReturn(true); in onReceive_isSystemUser_jobScheduled() 180 when(mMockUserManager.isSystemUser()).thenReturn(false); in onReceive_notSystemUser_noJobScheduled()
|
/packages/services/Car/procfs-inspector/server/ |
D | server.cpp | 23 static bool isSystemUser() { in isSystemUser() function 61 if (isSystemUser()) { in onTransact()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastReceiverTest.java | 127 doReturn(false).when(mUserManager).isSystemUser(); in setUp() 214 doReturn(true).when(mUserManager).isSystemUser(); in testInitializeSharedPreference_ifSystemUser_invalidSub() 234 doReturn(true).when(mUserManager).isSystemUser(); in testInitializeSharedPreference_ifSystemUser_firstSub() 267 doReturn(true).when(mUserManager).isSystemUser(); in testInitializeSharedPreference_ifSystemUser_carrierChange() 291 doReturn(false).when(mUserManager).isSystemUser(); in testInitializeSharedPreference_ifNotSystemUser()
|
D | CellBroadcastContentProviderTest.java | 203 doReturn(true).when(mUserManager).isSystemUser(); in testWriteSmsInboxBeforeUserUnlock() 219 doReturn(false).when(mUserManager).isSystemUser(); in testWriteSmsInboxNonSystemUser()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/ |
D | CarSystemUIFactory.java | 69 boolean isSystemUser = UserHandle.myUserId() == UserHandle.USER_SYSTEM; in prepareSysUIComponentBuilder() 71 isSystemUser ? Optional.of(carWm.getRootTaskDisplayAreaOrganizer()) in prepareSysUIComponentBuilder()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | StartUpBootReceiver.java | 44 if (!userManager.isSystemUser()) { in onReceive()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MapUtils.java | 36 static boolean isSystemUser() { in isSystemUser() method in MapUtils
|
D | MapClientService.java | 465 if (!(MapUtils.isSystemUser() || Utils.checkCallerIsSystemOrActiveUser(TAG)) in getService()
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/ |
D | ImsEntitlementReceiver.java | 70 if (!dependencies.userManager.isSystemUser() in onReceive()
|
/packages/services/Telephony/src/com/android/phone/ |
D | SpecialCharSequenceMgr.java | 239 if (userManager.isSystemUser()) { in handlePinEntry()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppBatteryPreferenceController.java | 263 return userManager.isManagedProfile() && !userManager.isSystemUser();
|
/packages/apps/Dialer/java/com/android/dialer/app/settings/ |
D | DialerSettingsActivity.java | 327 return getSystemService(UserManager.class).isSystemUser(); in isPrimaryUser()
|
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | ProfileHelper.java | 293 if (!(mUserManager.isAdminUser() || mUserManager.isSystemUser())) { in createNewAdminProfile()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | CallLogProvider.java | 959 if (userManager.isSystemUser()) { in syncEntries()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserServiceTest.java | 662 when(mMockedUserManager.isSystemUser()).thenReturn(true); in testCreateAdminDriver_IfCurrentUserIsAdminUser() 676 when(mMockedUserManager.isSystemUser()).thenReturn(false); in testCreateAdminDriver_IfCurrentUserIsNotSystemUser()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserService.java | 500 if (!(mUserManager.isAdminUser() || mUserManager.isSystemUser())) { in createDriver()
|