Home
last modified time | relevance | path

Searched refs:isProfile (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGeneric.java944 boolean isProfile = UserManager.get(getActivity()).isManagedProfile(mUserId); in getResIdForFactoryResetProtectionWarningTitle()
945 return isProfile ? R.string.unlock_disable_frp_warning_title_profile in getResIdForFactoryResetProtectionWarningTitle()
956 boolean isProfile = UserManager.get(getActivity()).isManagedProfile(mUserId); in getResIdForFactoryResetProtectionWarningMessage()
959 if (hasFingerprints && isProfile) { in getResIdForFactoryResetProtectionWarningMessage()
962 } else if (hasFingerprints && !isProfile) { in getResIdForFactoryResetProtectionWarningMessage()
964 } else if (isProfile) { in getResIdForFactoryResetProtectionWarningMessage()
971 if (hasFingerprints && isProfile) { in getResIdForFactoryResetProtectionWarningMessage()
973 } else if (hasFingerprints && !isProfile) { in getResIdForFactoryResetProtectionWarningMessage()
975 } else if (isProfile) { in getResIdForFactoryResetProtectionWarningMessage()
984 if (hasFingerprints && isProfile) { in getResIdForFactoryResetProtectionWarningMessage()
[all …]
DConfirmLockPassword.java208 boolean isProfile = UserManager.get(getActivity()).isManagedProfile(mEffectiveUserId); in getDefaultDetails()
210 int index = ((isStrongAuthRequired ? 1 : 0) << 2) + ((isProfile ? 1 : 0) << 1) in getDefaultDetails()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DChooseLockGeneric.java933 boolean isProfile = UserManager.get(getActivity()).isManagedProfile(mUserId); in getResIdForFactoryResetProtectionWarningTitle()
934 return isProfile ? R.string.unlock_disable_frp_warning_title_profile in getResIdForFactoryResetProtectionWarningTitle()
945 boolean isProfile = UserManager.get(getActivity()).isManagedProfile(mUserId); in getResIdForFactoryResetProtectionWarningMessage()
948 if (hasFingerprints && isProfile) { in getResIdForFactoryResetProtectionWarningMessage()
951 } else if (hasFingerprints && !isProfile) { in getResIdForFactoryResetProtectionWarningMessage()
953 } else if (isProfile) { in getResIdForFactoryResetProtectionWarningMessage()
960 if (hasFingerprints && isProfile) { in getResIdForFactoryResetProtectionWarningMessage()
962 } else if (hasFingerprints && !isProfile) { in getResIdForFactoryResetProtectionWarningMessage()
964 } else if (isProfile) { in getResIdForFactoryResetProtectionWarningMessage()
973 if (hasFingerprints && isProfile) { in getResIdForFactoryResetProtectionWarningMessage()
[all …]
DConfirmLockPassword.java208 boolean isProfile = UserManager.get(getActivity()).isManagedProfile(mEffectiveUserId); in getDefaultDetails()
210 int index = ((isStrongAuthRequired ? 1 : 0) << 2) + ((isProfile ? 1 : 0) << 1) in getDefaultDetails()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java439 String saveModeExtraKey, int saveMode, boolean isProfile, in createSaveContactIntent() argument
444 return createSaveContactIntent(context, state, saveModeExtraKey, saveMode, isProfile, in createSaveContactIntent()
460 String saveModeExtraKey, int saveMode, boolean isProfile, in createSaveContactIntent() argument
467 serviceIntent.putExtra(EXTRA_SAVE_IS_PROFILE, isProfile); in createSaveContactIntent()
491 boolean isProfile = intent.getBooleanExtra(EXTRA_SAVE_IS_PROFILE, false); in saveContact()
559 if (isProfile) { in saveContact()
626 isProfile in saveContact()
633 if (isProfile) { in saveContact()
/packages/services/Telecomm/src/com/android/server/telecom/
DUserUtil.java39 public static boolean isProfile(Context context, UserHandle userHandle) { in isProfile() method in UserUtil
DCallsManager.java4314 if (UserUtil.isProfile(mContext, userHandle)) {