Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseFragment.java323 final int userType = getUserTypeForWipe(); in updateErrorMessage() local
328 final int messageId = getLastTryErrorMessage(userType); in updateErrorMessage()
333 final int messageId = getWipeMessage(userType); in updateErrorMessage()
351 protected abstract int getLastTryErrorMessage(int userType); in getLastTryErrorMessage() argument
353 private int getWipeMessage(int userType) { in getWipeMessage() argument
354 switch (userType) { in getWipeMessage()
362 throw new IllegalArgumentException("Unrecognized user type:" + userType); in getWipeMessage()
DConfirmLockPassword.java226 protected int getLastTryErrorMessage(int userType) { in getLastTryErrorMessage() argument
227 switch (userType) { in getLastTryErrorMessage()
238 throw new IllegalArgumentException("Unrecognized user type:" + userType); in getLastTryErrorMessage()
DConfirmLockPattern.java536 protected int getLastTryErrorMessage(int userType) { in getLastTryErrorMessage() argument
537 switch (userType) { in getLastTryErrorMessage()
545 throw new IllegalArgumentException("Unrecognized user type:" + userType); in getLastTryErrorMessage()
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfo.java123 public @UserType long userType; field in CallerInfo
172 userType = ContactsUtils.USER_TYPE_CURRENT; in CallerInfo()
206 info.userType = ContactsUtils.USER_TYPE_CURRENT; in getCallerInfo()
316 info.userType = ContactsUtils.determineUserType(directoryId, contactId); in getCallerInfo()
320 context, info.lookupKeyOrNull, info.userType, directoryId); in getCallerInfo()
562 .append("\nuserType: " + userType) in toString()
DContactInfoCache.java266 cce.userType = info.userType; in populateCacheEntry()
710 public long userType = ContactsUtils.USER_TYPE_CURRENT; field in ContactInfoCache.ContactCacheEntry
751 + userType in toString()
DStatusBarNotifier.java302 final String content = getContentString(call, contactInfo.userType); in buildAndSendNotification()
596 if (contactInfo.lookupUri != null && contactInfo.userType != ContactsUtils.USER_TYPE_WORK) { in addPersonReference()
683 private String getContentString(DialerCall call, @UserType long userType) { in getContentString() argument
724 if (userType == ContactsUtils.USER_TYPE_WORK || isWorkCall) { in getContentString()
DCallerInfoUtils.java141 info.userType = ci.userType; in buildCachedContactInfo()
DCallCardPresenter.java436 && mPrimaryContactInfo.userType == ContactsUtils.USER_TYPE_WORK); in updatePrimaryCallState()
729 boolean isWorkContact = (mPrimaryContactInfo.userType == ContactsUtils.USER_TYPE_WORK); in updatePrimaryDisplayInfo()
DExternalCallNotifier.java416 if (contactInfo.lookupUri != null && contactInfo.userType != ContactsUtils.USER_TYPE_WORK) { in getPersonReference()
/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.java108 Context context, String lookupKey, @UserType long userType, @Nullable Long directoryId) { in lookUpDisplayNameAlternative() argument
110 if (lookupKey == null || userType == ContactsUtils.USER_TYPE_WORK) { in lookUpDisplayNameAlternative()
380 info.userType = in createPhoneLookupContactInfo()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java371 private void onAddUserClicked(int userType) { in onAddUserClicked() argument
374 switch (userType) { in onAddUserClicked()
496 final int userType = dialogId == DIALOG_ADD_USER in onCreateDialog() local
504 addUserNow(userType); in onCreateDialog()
667 private void addUserNow(final int userType) { in addUserNow() argument
670 mAddingUserName = userType == USER_TYPE_USER ? getString(R.string.user_new_user_name) in addUserNow()
677 if (userType == USER_TYPE_USER) { in addUserNow()
687 if (userType == USER_TYPE_USER) { in addUserNow()
/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.java154 contactInfo.userType == ContactsUtils.USER_TYPE_WORK in updateMissedCallNotification()
303 contactInfo.userType == ContactsUtils.USER_TYPE_WORK in getNotificationForCall()
DCallLogAdapter.java1058 details.contactUserType = info.userType; in loadData()
/packages/apps/Contacts/src/com/android/contacts/list/
DPhoneNumberListAdapter.java525 final long userType = ContactsUtils.determineUserType(directoryId, null); in bindWorkProfileIcon() local
530 !isExtendedDirectory(directoryId) && userType == ContactsUtils.USER_TYPE_WORK); in bindWorkProfileIcon()
DContactEntryListAdapter.java624 final long userType = ContactsUtils.determineUserType(directoryId, null); in bindWorkProfileIcon() local
625 view.setWorkProfileIconEnabled(userType == ContactsUtils.USER_TYPE_WORK); in bindWorkProfileIcon()
/packages/apps/Dialer/java/com/android/contacts/common/list/
DPhoneNumberListAdapter.java444 final long userType = ContactsUtils.determineUserType(directoryId, null); in bindWorkProfileIcon() local
449 !isExtendedDirectory(directoryId) && userType == ContactsUtils.USER_TYPE_WORK); in bindWorkProfileIcon()
DContactEntryListAdapter.java596 final long userType = ContactsUtils.determineUserType(directoryId, null); in bindWorkProfileIcon() local
597 view.setWorkProfileIconEnabled(userType == ContactsUtils.USER_TYPE_WORK); in bindWorkProfileIcon()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DRegularSearchListAdapter.java66 info.userType = in getContactInfo()
/packages/services/Telecomm/src/com/android/server/telecom/
DRingtoneFactory.java135 (contactCallerInfo.userType == CallerInfo.USER_TYPE_WORK); in isWorkContact()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java293 if (ci != null && ci.userType == CallerInfo.USER_TYPE_WORK) { in showMissedCallNotification()