Home | History | Annotate | Download | only in settings

Lines Matching refs:Profile

66 import android.provider.ContactsContract.Profile;
342 Uri contactUri = Profile.CONTENT_URI;
349 // If there's no profile photo, assign a default avatar
385 // Find the raw contact ID for the local ME profile raw contact.
388 Profile.CONTENT_RAW_CONTACTS_URI,
406 Profile
429 final Cursor profile = cr.query(Profile.CONTENT_URI,
430 new String[] {Profile.DISPLAY_NAME}, null, null, null);
431 if (profile == null) return null;
434 if (!profile.moveToFirst()) {
437 return profile.getString(0);
439 profile.close();
597 * Returns the managed profile of the current user or null if none found.
603 final UserHandle profile = userProfiles.get(i);
604 if (profile.getIdentifier() == userManager.getUserHandle()) {
607 final UserInfo userInfo = userManager.getUserInfo(profile.getIdentifier());
609 return profile;
616 * Returns true if the current profile is a managed one.
625 * Retrieves the id for the given user's managed profile.
627 * @return the managed profile id or UserHandle.USER_NULL if there is none.
640 * Returns true if the userId passed in is a managed profile.
660 * or in one that is in the same profile group, or if the user id is provided by the system.