Searched defs:user (Results 1 - 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/users/
H A DUserUtils.java28 public static Drawable getUserIcon(Context context, UserManager um, UserInfo user, Resources res) { argument
29 if (user.iconPath == null) return null;
30 Bitmap icon = um.getUserIcon(user.id);
H A DRestrictionUtils.java55 * Returns the current user restrictions in the form of application
57 * @return list of RestrictionEntry objects with user-visible text.
59 public static ArrayList<RestrictionEntry> getRestrictions(Context context, UserHandle user) { argument
63 Bundle userRestrictions = um.getUserRestrictions(user);
79 UserHandle user) {
81 Bundle userRestrictions = um.getUserRestrictions(user);
88 Secure.LOCATION_PROVIDERS_ALLOWED, "", user.getIdentifier());
91 um.setUserRestrictions(userRestrictions, user);
78 setRestrictions(Context context, ArrayList<RestrictionEntry> entries, UserHandle user) argument
H A DUserSettings.java78 /** UserId of the user being removed */
80 /** UserId of the user that was just added */
263 UserInfo user = mUserManager.getUserInfo(UserHandle.myUserId());
264 if (user.iconPath == null || user.iconPath.equals("")) {
265 assignProfilePhoto(user);
269 profileName = user.name;
345 UserHandle user = new UserHandle(userId);
346 mUserManager.setUserRestriction(UserManager.DISALLOW_MODIFY_ACCOUNTS, true, user);
347 mUserManager.setUserRestriction(UserManager.DISALLOW_SHARE_LOCATION, true, user);
686 assignProfilePhoto(final UserInfo user) argument
700 assignDefaultPhoto(UserInfo user) argument
706 setPhotoId(Preference pref, UserInfo user) argument
760 isInitialized(UserInfo user) argument
[all...]
H A DAppRestrictionsFragment.java99 /** Key for extra passed in from calling fragment for the userId of the user being edited */
102 /** Key for extra passed in from calling fragment to indicate if this is a newly created user */
124 // Update the user's app selection right away without waiting for a pause
126 // have been scheduled during user startup.
365 Log.e(TAG, "Cannot apply application restrictions on another user!");
449 * presented to the user for toggling.
495 // Check if the app is already enabled for the target user
516 private ApplicationInfo getAppInfoForUser(String packageName, int flags, UserHandle user) { argument
519 user.getIdentifier());
594 // Get the list of apps already installed for the user
[all...]
/packages/apps/Exchange/tests/src/com/android/exchange/
H A DEasSyncServiceTests.java39 static private final String USER = "user";
97 private EasSyncService setupService(String user) { argument
99 svc.mUserName = user;
107 // Simple user name and command
120 String user = "name_with_underscore@foo%bar.com";
121 svc = setupService(user);
123 assertEquals("Basic " + Base64.encodeToString((user+":"+PASSWORD).getBytes(),
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
H A DVendorPolicyLoader.java49 private static final String GET_IMAP_ID_USER = "getImapId.user";
213 * templates are used in 4 fields -- incoming and outgoing URI and user name.
214 * @param email user-specified data used to replace template values
218 String user = emailParts[0];
220 incomingUri = expandTemplate(incomingUriTemplate, email, user);
221 incomingUsername = expandTemplate(incomingUsernameTemplate, email, user);
222 outgoingUri = expandTemplate(outgoingUriTemplate, email, user);
223 outgoingUsername = expandTemplate(outgoingUsernameTemplate, email, user);
228 * $domain, $user and $email.
230 private String expandTemplate(String template, String email, String user) { argument
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DNotificationStation.java191 public int user; field in class:NotificationStation.HistoricalNotificationInfo
210 info.user = sbn.getUserId();
211 info.icon = loadIconDrawable(info.pkg, info.user, sbn.getNotification().icon);
212 info.pkgicon = loadPackageIconDrawable(info.pkg, info.user);
233 if (info.user == UserHandle.USER_ALL
234 || info.user == currentUserId) {
H A DUtils.java491 public static boolean copyMeProfilePhoto(Context context, UserInfo user) { argument
501 int userId = user != null ? user.id : UserHandle.myUserId();
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupBasics.java64 * Prompts the user for the email address and password. Also prompts for "Use this account as
70 * If the domain is not known, or the user selects Manual setup, we invoke the
71 * AccountSetupAccountType activity where the user can begin to manually configure the account.
275 // This is never allowed in a normal user build and will exit immediately.
285 final String user = intent.getStringExtra(EXTRA_CREATE_ACCOUNT_USER);
288 if (TextUtils.isEmpty(email) || TextUtils.isEmpty(user) ||
295 forceCreateAccount(email, user, incoming, outgoing);
306 // the time the user clicks next or manual.
467 * Technically speaking, AutoDiscover is OK here, since the user clicked "Next"
477 * account and then either alerts the user, o
605 forceCreateAccount(String email, String user, String incoming, String outgoing) argument
[all...]

Completed in 197 milliseconds