Home
last modified time | relevance | path

Searched refs:userType (Results 1 – 24 of 24) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmDeviceCredentialBaseFragment.java250 final int userType = getUserTypeForWipe(); in updateErrorMessage() local
255 final int messageId = getLastTryErrorMessage(userType); in updateErrorMessage()
260 final int messageId = getWipeMessage(userType); in updateErrorMessage()
278 protected abstract int getLastTryErrorMessage(int userType); in getLastTryErrorMessage() argument
280 private int getWipeMessage(int userType) { in getWipeMessage() argument
281 switch (userType) { in getWipeMessage()
289 throw new IllegalArgumentException("Unrecognized user type:" + userType); in getWipeMessage()
DConfirmLockPassword.java221 protected int getLastTryErrorMessage(int userType) { in getLastTryErrorMessage() argument
222 switch (userType) { in getLastTryErrorMessage()
233 throw new IllegalArgumentException("Unrecognized user type:" + userType); in getLastTryErrorMessage()
DConfirmLockPattern.java519 protected int getLastTryErrorMessage(int userType) { in getLastTryErrorMessage() argument
520 switch (userType) { in getLastTryErrorMessage()
528 throw new IllegalArgumentException("Unrecognized user type:" + userType); in getLastTryErrorMessage()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseFragment.java250 final int userType = getUserTypeForWipe(); in updateErrorMessage() local
255 final int messageId = getLastTryErrorMessage(userType); in updateErrorMessage()
260 final int messageId = getWipeMessage(userType); in updateErrorMessage()
278 protected abstract int getLastTryErrorMessage(int userType); in getLastTryErrorMessage() argument
280 private int getWipeMessage(int userType) { in getWipeMessage() argument
281 switch (userType) { in getWipeMessage()
289 throw new IllegalArgumentException("Unrecognized user type:" + userType); in getWipeMessage()
DConfirmLockPassword.java221 protected int getLastTryErrorMessage(int userType) { in getLastTryErrorMessage() argument
222 switch (userType) { in getLastTryErrorMessage()
233 throw new IllegalArgumentException("Unrecognized user type:" + userType); in getLastTryErrorMessage()
DConfirmLockPattern.java519 protected int getLastTryErrorMessage(int userType) { in getLastTryErrorMessage() argument
520 switch (userType) { in getLastTryErrorMessage()
528 throw new IllegalArgumentException("Unrecognized user type:" + userType); in getLastTryErrorMessage()
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DContactInfo.java61 public @UserType long userType; field in ContactInfo
129 if (userType != other.userType) { in equals()
174 + userType in toString()
DContactInfoHelper.java101 Context context, String lookupKey, @UserType long userType, @Nullable Long directoryId) { in lookUpDisplayNameAlternative() argument
103 if (lookupKey == null || userType == ContactsUtils.USER_TYPE_WORK) { in lookUpDisplayNameAlternative()
369 info.userType = in createPhoneLookupContactInfo()
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfo.java105 public @UserType long userType; field in CallerInfo
156 userType = ContactsUtils.USER_TYPE_CURRENT; in CallerInfo()
184 info.userType = ContactsUtils.USER_TYPE_CURRENT; in getCallerInfo()
304 info.userType = ContactsUtils.determineUserType(directoryId, contactId); in getCallerInfo()
308 context, info.lookupKeyOrNull, info.userType, directoryId); in getCallerInfo()
542 .append("\nuserType: " + userType) in toString()
DCallerInfoUtils.java136 info.userType = ci.userType; in buildCachedContactInfo()
DContactInfoCache.java269 cce.userType = info.userType; in populateCacheEntry()
716 public long userType = ContactsUtils.USER_TYPE_CURRENT; field in ContactInfoCache.ContactCacheEntry
760 + userType in toString()
DStatusBarNotifier.java285 final CharSequence content = getContentString(call, contactInfo.userType); in buildAndSendNotification()
582 if (contactInfo.lookupUri != null && contactInfo.userType != ContactsUtils.USER_TYPE_WORK) { in addPersonReference()
675 private CharSequence getContentString(DialerCall call, @UserType long userType) { in getContentString() argument
726 if (userType == ContactsUtils.USER_TYPE_WORK || isWorkCall) { in getContentString()
DCallCardPresenter.java449 && primaryContactInfo.userType == ContactsUtils.USER_TYPE_WORK); in updatePrimaryCallState()
709 boolean isWorkContact = (primaryContactInfo.userType == ContactsUtils.USER_TYPE_WORK); in updatePrimaryDisplayInfo()
DExternalCallNotifier.java382 if (contactInfo.lookupUri != null && contactInfo.userType != ContactsUtils.USER_TYPE_WORK) { in getPersonReference()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java441 private void onAddUserClicked(int userType) { in onAddUserClicked() argument
444 switch (userType) { in onAddUserClicked()
574 final int userType = dialogId == DIALOG_ADD_USER in onCreateDialog() local
582 addUserNow(userType); in onCreateDialog()
746 private void addUserNow(final int userType) { in addUserNow() argument
749 mAddingUserName = userType == USER_TYPE_USER ? getString(R.string.user_new_user_name) in addUserNow()
756 if (userType == USER_TYPE_USER) { in addUserNow()
766 if (userType == USER_TYPE_USER) { in addUserNow()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserSettings.java437 private void onAddUserClicked(int userType) { in onAddUserClicked() argument
440 switch (userType) { in onAddUserClicked()
570 final int userType = dialogId == DIALOG_ADD_USER in onCreateDialog() local
578 addUserNow(userType); in onCreateDialog()
742 private void addUserNow(final int userType) { in addUserNow() argument
745 mAddingUserName = userType == USER_TYPE_USER ? getString(R.string.user_new_user_name) in addUserNow()
752 if (userType == USER_TYPE_USER) { in addUserNow()
762 if (userType == USER_TYPE_USER) { in addUserNow()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUserDetailsBaseFragment.java42 String userType = arguments.getString(UsersDialogProvider.KEY_USER_TYPE);
43 if (userType.equals(UsersDialogProvider.LAST_ADMIN)) {
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DDumpTargetWrapper.java131 + "), pageIdx=" + t.pageId + " user=" + t.userType; in getItemStr()
148 … node.userType = (info.user.equals(Process.myUserHandle()))? UserType.DEFAULT : UserType.WORK; in writeToDumpTarget()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DMissedCallNotifier.java172 contactInfo.userType == ContactsUtils.USER_TYPE_WORK in updateMissedCallNotification()
332 contactInfo.userType == ContactsUtils.USER_TYPE_WORK in getNotificationForCall()
DCallLogAdapter.java1089 details.contactUserType = info.userType; in loadData()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListAdapter.java624 final long userType = ContactsUtils.determineUserType(directoryId, null); in bindWorkProfileIcon() local
625 view.setWorkProfileIconEnabled(userType == ContactsUtils.USER_TYPE_WORK); in bindWorkProfileIcon()
DPhoneNumberListAdapter.java525 final long userType = ContactsUtils.determineUserType(directoryId, null); in bindWorkProfileIcon() local
530 !isExtendedDirectory(directoryId) && userType == ContactsUtils.USER_TYPE_WORK); in bindWorkProfileIcon()
/packages/services/Telecomm/src/com/android/server/telecom/
DRingtoneFactory.java158 (contactCallerInfo.userType == CallerInfo.USER_TYPE_WORK); in isWorkContact()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java294 if (ci != null && ci.userType == CallerInfo.USER_TYPE_WORK) { in showMissedCallNotification()